Searched refs:fontScale (Results 1 – 14 of 14) sorted by relevance
65 assertThat(activity.resources.configuration.fontScale).isWithin(0.02f).of(2f) in <lambda>()83 assertThat(activity.resources.configuration.fontScale).isWithin(0.02f).of(2f) in <lambda>()104 assertThat(activity.resources.configuration.fontScale).isWithin(0.02f).of(2f) in <lambda>()122 assertThat(activity.resources.configuration.fontScale).isWithin(0.02f).of(2f) in <lambda>()137 assertThat(activity.resources.configuration.fontScale).isWithin(0.02f).of(2f) in <lambda>()154 assertThat(activity.resources.configuration.fontScale).isWithin(0.02f).of(2f) in <lambda>()169 assertThat(activity.resources.configuration.fontScale).isWithin(0.02f).of(2f) in <lambda>()184 assertThat(activity.resources.configuration.fontScale).isWithin(0.02f).of(2f) in <lambda>()200 private fun setSystemFontScale(fontScale: Float) { in <lambda>()205 fontScale in <lambda>()[all …]
230 float fontScale = Settings.System.getFloat( in testAccessVisiblePosition() local232 if (fontScale < 1) { in testAccessVisiblePosition()233 fontScale = 1; in testAccessVisiblePosition()236 int bottom = (int) (LAYOUT_HEIGHT * density * fontScale); in testAccessVisiblePosition()
60 final float fontScale = getResources().getConfiguration().fontScale; in dumpFontSize() local62 Log.i(getTag(), "fontPixelSize=" + fontPixelSize + ", fontScale=" + fontScale); in dumpFontSize() local
262 final float fontScale = 0.85f; in testChangeFontScale() local264 fontScaleSession.set(fontScale); in testChangeFontScale()280 () -> scaledPixelsToPixels(EXPECTED_FONT_SIZE_SP, fontScale, densityDpi) in testChangeFontScale()323 private static int scaledPixelsToPixels(float sp, float fontScale, int densityDpi) { in scaledPixelsToPixels() argument325 float f = densityDpi * (1.0f / DEFAULT_DENSITY) * fontScale * sp; in scaledPixelsToPixels()327 + ", fontScale=" + fontScale + ", sp=" + sp in scaledPixelsToPixels()
248 config.fontScale, resConfig.configuration.fontScale, Float.MIN_VALUE*5); in checkResourceConfig()
320 final float originalFontScale = mContext.getResources().getConfiguration().fontScale; in testAppRelaunchSetsWaitResultDelayData()324 originalFontScale != mContext.getResources().getConfiguration().fontScale); in testAppRelaunchSetsWaitResultDelayData()
92 config.fontScale = 1.2f; in testRegisterComponentCallbacksOnActivity()118 config.fontScale = 1.2f; in testRegisterComponentCallbacksOnContextWrapper()145 config.fontScale = 1.2f; in testRegisterComponentCallbacksOnContextWithoutOverriding()
95 float store = cfg.fontScale; in testSystemSettings()129 cfg.fontScale = 1.2f; in testSystemSettings()133 assertEquals(1.2f, cfg.fontScale, 0.001); in testSystemSettings()149 cfg.fontScale = store; in testSystemSettings()
55 mConfig.fontScale = 2; in makeConfiguration()195 cfg1.fontScale = 2; in testCompareTo()196 cfg2.fontScale = 3; in testCompareTo()198 cfg1.fontScale = 3; in testCompareTo()199 cfg2.fontScale = 2; in testCompareTo()208 cfg1.fontScale = 2; in testGenerateDiff()209 cfg2.fontScale = 3; in testGenerateDiff()399 config.fontScale = 2; in testDiff()489 assertEquals(1.0f, config.fontScale); in testSetToDefaults()519 assertEquals(0.0f, config.fontScale); in testUnset()[all …]
286 assertTrue(cfg.fontScale != 5); in testUpdateConfiguration()288 cfg.fontScale = 5; in testUpdateConfiguration()290 assertEquals(5.0f, res.getConfiguration().fontScale, 0.001f); in testUpdateConfiguration()
185 expectedFontScale == callbacks.mConfiguration.fontScale); in testWindowContextGlobalConfigChanges()286 assertThat(service.mConfiguration.fontScale).isEqualTo(expectedFontScale); in testWidowProviderServiceGlobalConfigChanges()292 .that(service.getResources().getConfiguration().fontScale) in testWidowProviderServiceGlobalConfigChanges()
103 config.fontScale = 1.0f; in onCreate()
META-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
13870 field public float fontScale;