Home
last modified time | relevance | path

Searched refs:MASK_UI_MODE_NIGHT (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/native/android/
Dconfiguration.cpp109 return (config->uiMode&ResTable_config::MASK_UI_MODE_NIGHT) in AConfiguration_getUiModeNight()
201 config->uiMode = (config->uiMode&~ResTable_config::MASK_UI_MODE_NIGHT) in AConfiguration_setUiModeNight()
202 … | ((uiModeNight<<ResTable_config::SHIFT_UI_MODE_NIGHT)&ResTable_config::MASK_UI_MODE_NIGHT); in AConfiguration_setUiModeNight()
/frameworks/base/tools/aapt/
DAaptConfig.cpp252 || (config->uiMode & ResTable_config::MASK_UI_MODE_NIGHT) in applyVersionForCompatibility()
459 (out->uiMode&~ResTable_config::MASK_UI_MODE_NIGHT) in parseUiModeNight()
464 (out->uiMode&~ResTable_config::MASK_UI_MODE_NIGHT) in parseUiModeNight()
469 (out->uiMode&~ResTable_config::MASK_UI_MODE_NIGHT) in parseUiModeNight()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp2021 if (((uiMode^o.uiMode) & MASK_UI_MODE_NIGHT) != 0) { in isMoreSpecificThan()
2022 if (!(uiMode & MASK_UI_MODE_NIGHT)) return false; in isMoreSpecificThan()
2023 if (!(o.uiMode & MASK_UI_MODE_NIGHT)) return true; in isMoreSpecificThan()
2205 if (((uiMode^o.uiMode) & MASK_UI_MODE_NIGHT) != 0 in isBetterThan()
2206 && (requested->uiMode & MASK_UI_MODE_NIGHT)) { in isBetterThan()
2207 return (uiMode & MASK_UI_MODE_NIGHT); in isBetterThan()
2398 const int uiModeNight = uiMode&MASK_UI_MODE_NIGHT; in match()
2399 const int setUiModeNight = settings.uiMode&MASK_UI_MODE_NIGHT; in match()
2683 if ((uiMode&MASK_UI_MODE_NIGHT) != 0) { in toString()
2685 switch (uiMode&ResTable_config::MASK_UI_MODE_NIGHT) { in toString()
[all …]
/frameworks/base/include/androidfw/
DResourceTypes.h1101 MASK_UI_MODE_NIGHT = 0x30, enumerator