Searched refs:overrideScale (Results 1 – 1 of 1) sorted by relevance
671 final float overrideScale = 2; // 0.5x on client side. in testCompatOverrideScale() local674 doReturn(overrideScale).when(cmp).getCompatScale(anyString(), anyInt()); in testCompatOverrideScale()695 unscaledCompatFrame.scale(overrideScale); in testCompatOverrideScale()700 unscaledCompatFrame.scale(overrideScale); in testCompatOverrideScale()705 (int) ((childFrame.left - parentFrame.left) / overrideScale), in testCompatOverrideScale()706 (int) ((childFrame.top - parentFrame.top) / overrideScale)); in testCompatOverrideScale()714 verify(t).setMatrix(w.mSurfaceControl, overrideScale, 0, 0, overrideScale); in testCompatOverrideScale()726 assertEquals(winConfig.densityDpi, (int) (clientConfig.densityDpi * overrideScale)); in testCompatOverrideScale()729 unscaledClientBounds.scale(overrideScale); in testCompatOverrideScale()