summaryrefslogtreecommitdiff
path: root/ndk/platforms
diff options
context:
space:
mode:
authorLars Greiss <kufikugel@googlemail.com>2013-12-14 02:58:55 +0100
committerLorDClockaN <davor@losinj.com>2015-09-28 16:32:05 +0200
commit5b11ff692c053dcb59ed60050fe9279e4cc3adba (patch)
tree090fe327fecb100ff113bec8180d0902a76d67a5 /ndk/platforms
parent6ddd064764deee9968dba06dce8fe791e8e8e150 (diff)
development: TRDS 5.0 (3/4)HEADlp5.1
Change-Id: I33c814d2dac05154e840fb01a7009ad15451234e
Diffstat (limited to 'ndk/platforms')
-rw-r--r--ndk/platforms/android-9/include/android/configuration.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/ndk/platforms/android-9/include/android/configuration.h b/ndk/platforms/android-9/include/android/configuration.h
index 99e8f9711..3165cdd67 100644
--- a/ndk/platforms/android-9/include/android/configuration.h
+++ b/ndk/platforms/android-9/include/android/configuration.h
@@ -73,6 +73,11 @@ enum {
ACONFIGURATION_SCREENLONG_NO = 0x1,
ACONFIGURATION_SCREENLONG_YES = 0x2,
+ ACONFIGURATION_UI_THEME_MODE_ANY = 0x0000,
+ ACONFIGURATION_UI_THEME_MODE_NORMAL = 0x0001,
+ ACONFIGURATION_UI_THEME_MODE_HOLO_DARK = 0x0002,
+ ACONFIGURATION_UI_THEME_MODE_HOLO_LIGHT = 0x0003,
+
ACONFIGURATION_UI_MODE_TYPE_ANY = 0x00,
ACONFIGURATION_UI_MODE_TYPE_NORMAL = 0x01,
ACONFIGURATION_UI_MODE_TYPE_DESK = 0x02,
@@ -94,6 +99,7 @@ enum {
ACONFIGURATION_SCREEN_SIZE = 0x0200,
ACONFIGURATION_VERSION = 0x0400,
ACONFIGURATION_SCREEN_LAYOUT = 0x0800,
+ ACONFIGURATION_UI_THEME_MODE = 0x0900,
ACONFIGURATION_UI_MODE = 0x1000,
};
@@ -266,6 +272,16 @@ int32_t AConfiguration_getScreenLong(AConfiguration* config);
void AConfiguration_setScreenLong(AConfiguration* config, int32_t screenLong);
/**
+ * Return the current ACONFIGURATION_UI_THEME_MODE_* set in the configuration.
+ */
+int32_t AConfiguration_getUiThemeMode(AConfiguration* config);
+
+/**
+ * Set the current theme UI mode in the configuration.
+ */
+void AConfiguration_setUiThemeMode(AConfiguration* config, int32_t uiThemeMode);
+
+/**
* Return the current ACONFIGURATION_UI_MODE_TYPE_* set in the configuration.
*/
int32_t AConfiguration_getUiModeType(AConfiguration* config);