Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationControllerWindowlessMagnifierTest.java829 final float changeWindowSizeAmount = mContext.getResources().getFraction( in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased() local
860 (int) ((startingWidth - 2 * mirrorSurfaceMargin) * (1 + changeWindowSizeAmount)) in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased()
871 final float changeWindowSizeAmount = mContext.getResources().getFraction( in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased() local
902 (int) ((startingHeight - 2 * mirrorSurfaceMargin) * (1 + changeWindowSizeAmount)) in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased()
953 final float changeWindowSizeAmount = mContext.getResources().getFraction( in windowWidthIsNotMin_performA11yActionDecreaseWidth_windowWidthDecreased() local
983 (int) ((startingSize - 2 * mirrorSurfaceMargin) * (1 - changeWindowSizeAmount)) in windowWidthIsNotMin_performA11yActionDecreaseWidth_windowWidthDecreased()
994 final float changeWindowSizeAmount = mContext.getResources().getFraction( in windowHeightIsNotMin_performA11yActionDecreaseHeight_windowHeightDecreased() local
1025 (int) ((startingSize - 2 * mirrorSurfaceMargin) * (1 - changeWindowSizeAmount)) in windowHeightIsNotMin_performA11yActionDecreaseHeight_windowHeightDecreased()
DWindowMagnificationControllerTest.java809 final float changeWindowSizeAmount = mContext.getResources().getFraction( in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased() local
838 (int) ((startingWidth - 2 * mirrorSurfaceMargin) * (1 + changeWindowSizeAmount)) in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased()
849 final float changeWindowSizeAmount = mContext.getResources().getFraction( in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased() local
878 (int) ((startingHeight - 2 * mirrorSurfaceMargin) * (1 + changeWindowSizeAmount)) in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased()
929 final float changeWindowSizeAmount = mContext.getResources().getFraction( in windowWidthIsNotMin_performA11yActionDecreaseWidth_windowWidthDecreased() local
957 (int) ((startingSize - 2 * mirrorSurfaceMargin) * (1 - changeWindowSizeAmount)) in windowWidthIsNotMin_performA11yActionDecreaseWidth_windowWidthDecreased()
968 final float changeWindowSizeAmount = mContext.getResources().getFraction( in windowHeightIsNotMin_performA11yActionDecreaseHeight_windowHeightDecreased() local
997 (int) ((startingSize - 2 * mirrorSurfaceMargin) * (1 - changeWindowSizeAmount)) in windowHeightIsNotMin_performA11yActionDecreaseHeight_windowHeightDecreased()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationController.java1840 final float changeWindowSizeAmount = mContext.getResources().getFraction( in performA11yAction() local
1868 (int) (mMagnificationFrame.width() * (1 + changeWindowSizeAmount)); in performA11yAction()
1872 (int) (mMagnificationFrame.height() * (1 + changeWindowSizeAmount)); in performA11yAction()
1876 (int) (mMagnificationFrame.width() * (1 - changeWindowSizeAmount)); in performA11yAction()
1880 (int) (mMagnificationFrame.height() * (1 - changeWindowSizeAmount)); in performA11yAction()