Home
last modified time | relevance | path

Searched refs:mirrorSurfaceMargin (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationControllerWindowlessMagnifierTest.java659 final int mirrorSurfaceMargin = mResources.getDimensionPixelSize( in onScreenSizeAndDensityChanged_enabled_restoreSavedMagnifierWindow() local
662 assertTrue(params.width == (windowFrameSize + 2 * mirrorSurfaceMargin)); in onScreenSizeAndDensityChanged_enabled_restoreSavedMagnifierWindow()
663 assertTrue(params.height == (windowFrameSize + 2 * mirrorSurfaceMargin)); in onScreenSizeAndDensityChanged_enabled_restoreSavedMagnifierWindow()
855 final int mirrorSurfaceMargin = mResources.getDimensionPixelSize( in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased() local
860 (int) ((startingWidth - 2 * mirrorSurfaceMargin) * (1 + changeWindowSizeAmount)) in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased()
861 + 2 * mirrorSurfaceMargin; in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased()
897 final int mirrorSurfaceMargin = mResources.getDimensionPixelSize( in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased() local
902 (int) ((startingHeight - 2 * mirrorSurfaceMargin) * (1 + changeWindowSizeAmount)) in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased()
903 + 2 * mirrorSurfaceMargin; in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased()
978 final int mirrorSurfaceMargin = mResources.getDimensionPixelSize( in windowWidthIsNotMin_performA11yActionDecreaseWidth_windowWidthDecreased() local
[all …]
DWindowMagnificationControllerTest.java642 final int mirrorSurfaceMargin = mResources.getDimensionPixelSize( in onScreenSizeAndDensityChanged_enabled_restoreSavedMagnifierWindow() local
645 assertTrue(params.width == (windowFrameSize + 2 * mirrorSurfaceMargin)); in onScreenSizeAndDensityChanged_enabled_restoreSavedMagnifierWindow()
646 assertTrue(params.height == (windowFrameSize + 2 * mirrorSurfaceMargin)); in onScreenSizeAndDensityChanged_enabled_restoreSavedMagnifierWindow()
833 final int mirrorSurfaceMargin = mResources.getDimensionPixelSize( in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased() local
838 (int) ((startingWidth - 2 * mirrorSurfaceMargin) * (1 + changeWindowSizeAmount)) in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased()
839 + 2 * mirrorSurfaceMargin; in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased()
873 final int mirrorSurfaceMargin = mResources.getDimensionPixelSize( in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased() local
878 (int) ((startingHeight - 2 * mirrorSurfaceMargin) * (1 + changeWindowSizeAmount)) in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased()
879 + 2 * mirrorSurfaceMargin; in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased()
952 final int mirrorSurfaceMargin = mResources.getDimensionPixelSize( in windowWidthIsNotMin_performA11yActionDecreaseWidth_windowWidthDecreased() local
[all …]
DWindowMagnificationAnimationControllerTest.java582 final int mirrorSurfaceMargin = mContext.getResources().getDimensionPixelSize( in enableWindowMagnificationWithOffset_windowlessFlagOn_expectedValues() local
588 defaultMagnificationWindowSize - 2 * mirrorSurfaceMargin; in enableWindowMagnificationWithOffset_windowlessFlagOn_expectedValues()