Searched refs:uiMode (Results 1 – 11 of 11) sorted by relevance
143 int uiMode = 0; in createConfig() local155 uiMode = UnsignedBytes.toInt(buffer.get()); in createConfig()182 sdkVersion, minorVersion, screenLayout, uiMode, smallestScreenWidthDp, screenWidthDp, in createConfig()637 screenWidth, screenHeight, sdkVersion, minorVersion, screenLayout, uiMode, in withSdkVersion()645 int uiMode, int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in ResTable_config() argument664 this.uiMode = uiMode; in ResTable_config()718 public int uiMode; field in ResTable_config721 return uiMode & UI_MODE_TYPE_MASK; in uiModeType()725 uiMode = (uiMode & ~UI_MODE_TYPE_MASK) | value; in uiModeType()729 return uiMode & UI_MODE_NIGHT_MASK; in uiModeNight()[all …]
624 out.uiMode = (out.uiMode & ~ResTable_config.MASK_UI_MODE_TYPE) | in parseUiModeType()630 out.uiMode = (out.uiMode & ~ResTable_config.MASK_UI_MODE_TYPE) | in parseUiModeType()636 out.uiMode = (out.uiMode & ~ResTable_config.MASK_UI_MODE_TYPE) | in parseUiModeType()642 out.uiMode = (out.uiMode & ~ResTable_config.MASK_UI_MODE_TYPE) | in parseUiModeType()648 out.uiMode = (out.uiMode & ~ResTable_config.MASK_UI_MODE_TYPE) | in parseUiModeType()654 out.uiMode = (out.uiMode & ~ResTable_config.MASK_UI_MODE_TYPE) | in parseUiModeType()660 out.uiMode = (out.uiMode & ~ResTable_config.MASK_UI_MODE_TYPE) | in parseUiModeType()672 out.uiMode = (out.uiMode & ~ResTable_config.MASK_UI_MODE_NIGHT) | in parseUiModeNight()678 out.uiMode = (out.uiMode & ~ResTable_config.MASK_UI_MODE_NIGHT) | in parseUiModeNight()684 out.uiMode = (out.uiMode & ~ResTable_config.MASK_UI_MODE_NIGHT) | in parseUiModeNight()[all …]
193 configuration.uiMode = uiModeType | uiModeNight; in applyToConfiguration()445 return configuration.uiMode & Configuration.UI_MODE_TYPE_MASK; in getUiModeType()449 configuration.uiMode = (configuration.uiMode & ~Configuration.UI_MODE_TYPE_MASK) | value; in setUiModeType()453 return configuration.uiMode & Configuration.UI_MODE_NIGHT_MASK; in getUiModeNight()457 configuration.uiMode = (configuration.uiMode & ~Configuration.UI_MODE_NIGHT_MASK) | value; in setUiModeNight()
189 switch (config.uiMode & Configuration.UI_MODE_TYPE_MASK) { in resourceQualifierString()213 switch (config.uiMode & Configuration.UI_MODE_NIGHT_MASK) { in resourceQualifierString()
184 assertThat(config.uiMode).isEqualTo(UI_MODE_TYPE_CAR); in parse_uiModeType_car()190 assertThat(config.uiMode).isEqualTo(UI_MODE_TYPE_TELEVISION); in parse_uiModeType_television()196 assertThat(config.uiMode).isEqualTo(UI_MODE_TYPE_APPLIANCE); in parse_uiModeType_appliance()202 assertThat(config.uiMode).isEqualTo(UI_MODE_TYPE_WATCH); in parse_uiModeType_watch()208 assertThat(config.uiMode).isEqualTo(UI_MODE_NIGHT_YES); in parse_uiModeNight_night()214 assertThat(config.uiMode).isEqualTo(UI_MODE_NIGHT_NO); in parse_uiModeNight_notnight()
132 int uiMode; field in ResTableConfigTest.ResTableConfigBuilder144 …screenHeight, sdkVersion, minorVersion, screenLayout, uiMode, smallestScreenWidthDp, screenWidthDp… in build()
166 assertThat(configuration.uiMode & UI_MODE_TYPE_MASK).isEqualTo(UI_MODE_TYPE_NORMAL); in applyQualifiers_shouldAddDefaults()167 assertThat(configuration.uiMode & UI_MODE_NIGHT_MASK).isEqualTo(UI_MODE_NIGHT_NO); in applyQualifiers_shouldAddDefaults()235 assertThat(configuration.uiMode & UI_MODE_TYPE_MASK).isEqualTo(UI_MODE_TYPE_APPLIANCE); in applyQualifiers_shouldHonorSpecifiedQualifiers()236 assertThat(configuration.uiMode & UI_MODE_NIGHT_MASK).isEqualTo(UI_MODE_NIGHT_YES); in applyQualifiers_shouldHonorSpecifiedQualifiers()
136 int screenLayout, int uiMode, int sdkVersion) { in setConfiguration() argument141 screenLayout, uiMode, 0, sdkVersion); in setConfiguration()149 int screenLayout, int uiMode, int colorMode, int sdkVersion) { in setConfiguration() argument178 config.uiMode = uiMode; in setConfiguration()
674 int screenLayout, int uiMode, int sdkVersion) { in setConfiguration() argument679 screenLayout, uiMode, 0, sdkVersion); in setConfiguration()687 int screenLayout, int uiMode, int colorMode, int majorVersion) { in setConfiguration() argument710 config.uiMode = uiMode; in setConfiguration()
586 configuration.uiMode = (byte) (ui_mode); in nativeSetConfiguration()
582 configuration.uiMode = (byte) (ui_mode); in nativeSetConfiguration()