Home
last modified time | relevance | path

Searched refs:startingHeight (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileViewImpl.kt905 val startingHeight = initialLongPressProperties?.height?.toInt() ?: 0 in <lambda>() constant
907 val deltaH = finalLongPressProperties?.height?.minus(startingHeight)?.toInt() ?: 0 in <lambda>()
938 val startingHeight = initialLongPressProperties?.height?.toInt() ?: 0 in <lambda>() constant
940 val deltaH = (newHeight - startingHeight) / 2 in <lambda>()
1020 fun initializeLongPressProperties(startingHeight: Int, startingWidth: Int) { in <lambda>()
1023 height = startingHeight.toFloat(), in <lambda>()
1036 height = LONG_PRESS_EFFECT_HEIGHT_SCALE * startingHeight, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationControllerWindowlessMagnifierTest.java828 final int startingHeight = (int) (windowBounds.height() * 0.8); in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased() local
837 mWindowMagnificationController.setWindowSize(startingWidth, startingHeight); in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased()
863 assertEquals(startingHeight, actualWindowHeight.get()); in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased()
870 final int startingHeight = (int) (windowBounds.height() * 0.8); in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased() local
879 mWindowMagnificationController.setWindowSize(startingWidth, startingHeight); in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased()
902 (int) ((startingHeight - 2 * mirrorSurfaceMargin) * (1 + changeWindowSizeAmount)) in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased()
912 final int startingHeight = windowBounds.height(); in windowWidthIsMax_noIncreaseWindowWidthA11yAction() local
917 mWindowMagnificationController.setWindowSize(startingWidth, startingHeight); in windowWidthIsMax_noIncreaseWindowWidthA11yAction()
932 final int startingHeight = windowBounds.height(); in windowHeightIsMax_noIncreaseWindowHeightA11yAction() local
937 mWindowMagnificationController.setWindowSize(startingWidth, startingHeight); in windowHeightIsMax_noIncreaseWindowHeightA11yAction()
DWindowMagnificationControllerTest.java808 final int startingHeight = (int) (windowBounds.height() * 0.8); in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased() local
817 mWindowMagnificationController.setWindowSize(startingWidth, startingHeight); in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased()
841 assertEquals(startingHeight, actualWindowHeight.get()); in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased()
848 final int startingHeight = (int) (windowBounds.height() * 0.8); in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased() local
857 mWindowMagnificationController.setWindowSize(startingWidth, startingHeight); in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased()
878 (int) ((startingHeight - 2 * mirrorSurfaceMargin) * (1 + changeWindowSizeAmount)) in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased()
888 final int startingHeight = windowBounds.height(); in windowWidthIsMax_noIncreaseWindowWidthA11yAction() local
893 mWindowMagnificationController.setWindowSize(startingWidth, startingHeight); in windowWidthIsMax_noIncreaseWindowWidthA11yAction()
908 final int startingHeight = windowBounds.height(); in windowHeightIsMax_noIncreaseWindowHeightA11yAction() local
913 mWindowMagnificationController.setWindowSize(startingWidth, startingHeight); in windowHeightIsMax_noIncreaseWindowHeightA11yAction()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileViewImplTest.kt476 val startingHeight = 50 in onPrepareForLaunch_paddingForLaunchAnimationIsConfigured() constant
478 val deltaHeight = (QSTileViewImpl.LONG_PRESS_EFFECT_HEIGHT_SCALE - 1f) * startingHeight in onPrepareForLaunch_paddingForLaunchAnimationIsConfigured()
481 tileView.initializeLongPressProperties(startingHeight, startingWidth) in onPrepareForLaunch_paddingForLaunchAnimationIsConfigured()