Searched refs:UI_MODE_NIGHT_MASK (Results 1 – 4 of 4) sorted by relevance
30 import static android.content.res.Configuration.UI_MODE_NIGHT_MASK;167 assertThat(configuration.uiMode & UI_MODE_NIGHT_MASK).isEqualTo(UI_MODE_NIGHT_NO); in applyQualifiers_shouldAddDefaults()236 assertThat(configuration.uiMode & UI_MODE_NIGHT_MASK).isEqualTo(UI_MODE_NIGHT_YES); in applyQualifiers_shouldHonorSpecifiedQualifiers()
453 return configuration.uiMode & Configuration.UI_MODE_NIGHT_MASK; in getUiModeNight()457 configuration.uiMode = (configuration.uiMode & ~Configuration.UI_MODE_NIGHT_MASK) | value; in setUiModeNight()
213 switch (config.uiMode & Configuration.UI_MODE_NIGHT_MASK) { in resourceQualifierString()
504 static final int UI_MODE_NIGHT_MASK = 0x30; field in ResTable_config729 return uiMode & UI_MODE_NIGHT_MASK; in uiModeNight()733 uiMode = (uiMode & ~UI_MODE_NIGHT_MASK) | value; in uiModeNight()