summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2015-05-18 15:19:30 -0700
committerAdam Lesinski <adamlesinski@google.com>2015-05-18 15:19:30 -0700
commit5f1dfc11b431df7d64e9e568a84c5f0f7e5dd660 (patch)
tree37825b0b2abd25df0ad425cfed4e3a1211d277e1 /include
parentf37f29b97f75b5a768f852b8145b34d3be6ba1b6 (diff)
parent217a04bab40ef5b99d5581878d903a6e6aa8b547 (diff)
downloadframeworks_native-5f1dfc11b431df7d64e9e568a84c5f0f7e5dd660.zip
frameworks_native-5f1dfc11b431df7d64e9e568a84c5f0f7e5dd660.tar.gz
frameworks_native-5f1dfc11b431df7d64e9e568a84c5f0f7e5dd660.tar.bz2
Merge commit '217a04ba' into manualmerge
Change-Id: I526cf2be7949fa52ce0f70f9a1f671669140679a
Diffstat (limited to 'include')
-rw-r--r--include/android/configuration.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/android/configuration.h b/include/android/configuration.h
index 287865e..81f71a9 100644
--- a/include/android/configuration.h
+++ b/include/android/configuration.h
@@ -261,6 +261,10 @@ enum {
*/
ACONFIGURATION_SCREENLONG_YES = 0x2,
+ ACONFIGURATION_SCREENROUND_ANY = 0x00,
+ ACONFIGURATION_SCREENROUND_NO = 0x1,
+ ACONFIGURATION_SCREENROUND_YES = 0x2,
+
/** UI mode: not specified. */
ACONFIGURATION_UI_MODE_TYPE_ANY = 0x00,
/**
@@ -418,6 +422,7 @@ enum {
* configuration.
*/
ACONFIGURATION_LAYOUTDIR = 0x4000,
+ ACONFIGURATION_SCREEN_ROUND = 0x8000,
/**
* Constant used to to represent MNC (Mobile Network Code) zero.
* 0 cannot be used, since it is used to represent an undefined MNC.
@@ -594,6 +599,16 @@ int32_t AConfiguration_getScreenLong(AConfiguration* config);
void AConfiguration_setScreenLong(AConfiguration* config, int32_t screenLong);
/**
+ * Return the current ACONFIGURATION_SCREENROUND_* set in the configuration.
+ */
+int32_t AConfiguration_getScreenRound(AConfiguration* config);
+
+/**
+ * Set the current screen round in the configuration.
+ */
+void AConfiguration_setScreenRound(AConfiguration* config, int32_t screenRound);
+
+/**
* Return the current ACONFIGURATION_UI_MODE_TYPE_* set in the configuration.
*/
int32_t AConfiguration_getUiModeType(AConfiguration* config);