diff options
author | 2015-03-27 17:15:43 -0700 | |
---|---|---|
committer | 2015-05-12 14:39:28 -0700 | |
commit | bf6d5e012cd9b15568c2351831f3349cf564bf18 (patch) | |
tree | 1ec5602d1ea0b5c3ee971df8f55bb5cf667fbd35 /include/android/rect.h | |
parent | 38d7f7550f5848b33b2e0a2048687fc22f708fda (diff) |
frameworks/native: document native types and enums
Change-Id: Id94b610f27b87426abb30e13484cbd16990aa995
Diffstat (limited to 'include/android/rect.h')
-rw-r--r-- | include/android/rect.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/android/rect.h b/include/android/rect.h index bcd42a99ec..80741c0442 100644 --- a/include/android/rect.h +++ b/include/android/rect.h @@ -14,6 +14,14 @@ * limitations under the License. */ +/** + * @addtogroup NativeActivity Native Activity + * @{ + */ + +/** + * @file rect.h + */ #ifndef ANDROID_RECT_H #define ANDROID_RECT_H @@ -24,13 +32,24 @@ extern "C" { #endif +/** + * {@link ARect} is a struct that represents a rectangular window area. + * + * It is used with {@link + * ANativeActivityCallbacks::onContentRectChanged} event callback and + * ANativeWindow_lock() function. + */ typedef struct ARect { #ifdef __cplusplus typedef int32_t value_type; #endif + /** left position */ int32_t left; + /** top position */ int32_t top; + /** left position */ int32_t right; + /** bottom position */ int32_t bottom; } ARect; @@ -39,3 +58,5 @@ typedef struct ARect { #endif #endif // ANDROID_RECT_H + +/** @} */ |