Searched refs:startingWidth (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileViewImpl.kt | 906 val startingWidth = initialLongPressProperties?.width?.toInt() ?: 0 in <lambda>() constant 908 val deltaW = finalLongPressProperties?.width?.minus(startingWidth)?.toInt() ?: 0 in <lambda>() 939 val startingWidth = initialLongPressProperties?.width?.toInt() ?: 0 in <lambda>() constant 941 val deltaW = (newWidth - startingWidth) / 2 in <lambda>() 1020 fun initializeLongPressProperties(startingHeight: Int, startingWidth: Int) { in <lambda>() 1024 width = startingWidth.toFloat(), in <lambda>() 1037 width = LONG_PRESS_EFFECT_WIDTH_SCALE * startingWidth, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | WindowMagnificationControllerWindowlessMagnifierTest.java | 827 final int startingWidth = (int) (windowBounds.width() * 0.8); in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased() local 837 mWindowMagnificationController.setWindowSize(startingWidth, startingHeight); in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased() 860 (int) ((startingWidth - 2 * mirrorSurfaceMargin) * (1 + changeWindowSizeAmount)) in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased() 869 final int startingWidth = (int) (windowBounds.width() * 0.8); in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased() local 879 mWindowMagnificationController.setWindowSize(startingWidth, startingHeight); in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased() 904 assertEquals(startingWidth, actualWindowWidth.get()); in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased() 911 final int startingWidth = windowBounds.width(); in windowWidthIsMax_noIncreaseWindowWidthA11yAction() local 917 mWindowMagnificationController.setWindowSize(startingWidth, startingHeight); in windowWidthIsMax_noIncreaseWindowWidthA11yAction() 931 final int startingWidth = windowBounds.width(); in windowHeightIsMax_noIncreaseWindowHeightA11yAction() local 937 mWindowMagnificationController.setWindowSize(startingWidth, startingHeight); in windowHeightIsMax_noIncreaseWindowHeightA11yAction()
|
D | WindowMagnificationControllerTest.java | 807 final int startingWidth = (int) (windowBounds.width() * 0.8); in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased() local 817 mWindowMagnificationController.setWindowSize(startingWidth, startingHeight); in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased() 838 (int) ((startingWidth - 2 * mirrorSurfaceMargin) * (1 + changeWindowSizeAmount)) in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased() 847 final int startingWidth = (int) (windowBounds.width() * 0.8); in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased() local 857 mWindowMagnificationController.setWindowSize(startingWidth, startingHeight); in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased() 880 assertEquals(startingWidth, actualWindowWidth.get()); in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased() 887 final int startingWidth = windowBounds.width(); in windowWidthIsMax_noIncreaseWindowWidthA11yAction() local 893 mWindowMagnificationController.setWindowSize(startingWidth, startingHeight); in windowWidthIsMax_noIncreaseWindowWidthA11yAction() 907 final int startingWidth = windowBounds.width(); in windowHeightIsMax_noIncreaseWindowHeightA11yAction() local 913 mWindowMagnificationController.setWindowSize(startingWidth, startingHeight); in windowHeightIsMax_noIncreaseWindowHeightA11yAction()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
D | QSTileViewImplTest.kt | 475 val startingWidth = 100 in onPrepareForLaunch_paddingForLaunchAnimationIsConfigured() constant 477 val deltaWidth = (QSTileViewImpl.LONG_PRESS_EFFECT_WIDTH_SCALE - 1f) * startingWidth in onPrepareForLaunch_paddingForLaunchAnimationIsConfigured() 481 tileView.initializeLongPressProperties(startingHeight, startingWidth) in onPrepareForLaunch_paddingForLaunchAnimationIsConfigured()
|