Home
last modified time | relevance | path

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

/frameworks/base/native/android/
Dconfiguration.cpp118 return (config->uiMode&ResTable_config::MASK_UI_MODE_NIGHT) in AConfiguration_getUiModeNight()
215 config->uiMode = (config->uiMode&~ResTable_config::MASK_UI_MODE_NIGHT) in AConfiguration_setUiModeNight()
216 … | ((uiModeNight<<ResTable_config::SHIFT_UI_MODE_NIGHT)&ResTable_config::MASK_UI_MODE_NIGHT); in AConfiguration_setUiModeNight()
/frameworks/base/libs/androidfw/
DConfigDescription.cpp311 out->uiMode = (out->uiMode & ~ResTable_config::MASK_UI_MODE_NIGHT) | in parseUiModeNight()
316 out->uiMode = (out->uiMode & ~ResTable_config::MASK_UI_MODE_NIGHT) | in parseUiModeNight()
321 out->uiMode = (out->uiMode & ~ResTable_config::MASK_UI_MODE_NIGHT) | in parseUiModeNight()
851 (config->uiMode & ResTable_config::MASK_UI_MODE_NIGHT) != in ApplyVersionForCompatibility()
939 if ((uiMode | o.uiMode) & MASK_UI_MODE_NIGHT) { in HasHigherPrecedenceThan()
940 return !(o.uiMode & MASK_UI_MODE_NIGHT); in HasHigherPrecedenceThan()
976 !pred(uiMode & MASK_UI_MODE_NIGHT, o.uiMode & MASK_UI_MODE_NIGHT) || in ConflictsWith()
DResourceTypes.cpp2229 if (((uiMode^o.uiMode) & MASK_UI_MODE_NIGHT) != 0) { in isMoreSpecificThan()
2230 if (!(uiMode & MASK_UI_MODE_NIGHT)) return false; in isMoreSpecificThan()
2231 if (!(o.uiMode & MASK_UI_MODE_NIGHT)) return true; in isMoreSpecificThan()
2537 if (((uiMode^o.uiMode) & MASK_UI_MODE_NIGHT) != 0 in isBetterThan()
2538 && (requested->uiMode & MASK_UI_MODE_NIGHT)) { in isBetterThan()
2539 return (uiMode & MASK_UI_MODE_NIGHT); in isBetterThan()
2759 const int uiModeNight = uiMode&MASK_UI_MODE_NIGHT; in match()
2760 const int setUiModeNight = settings.uiMode&MASK_UI_MODE_NIGHT; in match()
3294 if ((uiMode&MASK_UI_MODE_NIGHT) != 0) { in toString()
3296 switch (uiMode&ResTable_config::MASK_UI_MODE_NIGHT) { in toString()
[all …]
/frameworks/base/tools/aapt/
DAaptConfig.cpp283 || (config->uiMode & ResTable_config::MASK_UI_MODE_NIGHT) in applyVersionForCompatibility()
554 (out->uiMode&~ResTable_config::MASK_UI_MODE_NIGHT) in parseUiModeNight()
559 (out->uiMode&~ResTable_config::MASK_UI_MODE_NIGHT) in parseUiModeNight()
564 (out->uiMode&~ResTable_config::MASK_UI_MODE_NIGHT) in parseUiModeNight()
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp247 out_config->uiMode = (out_config->uiMode & ~ConfigDescription::MASK_UI_MODE_NIGHT) | in DeserializeConfigFromPb()
252 out_config->uiMode = (out_config->uiMode & ~ConfigDescription::MASK_UI_MODE_NIGHT) | in DeserializeConfigFromPb()
DProtoSerialize.cpp190 switch (config.uiMode & ConfigDescription::MASK_UI_MODE_NIGHT) { in SerializeConfig()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1126 MASK_UI_MODE_NIGHT = 0x30, enumerator