Home
last modified time | relevance | path

Searched refs:getCurrentRotation (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsGridLayoutTest.java60 doReturn(RotationUtils.ROTATION_NONE).when(mGridLayout).getCurrentRotation(); in testShouldSwapRowsAndColumns()
63 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mGridLayout).getCurrentRotation(); in testShouldSwapRowsAndColumns()
66 doReturn(RotationUtils.ROTATION_SEASCAPE).when(mGridLayout).getCurrentRotation(); in testShouldSwapRowsAndColumns()
74 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mGridLayout).getCurrentRotation(); in testShouldReverseListItems()
77 doReturn(RotationUtils.ROTATION_NONE).when(mGridLayout).getCurrentRotation(); in testShouldReverseListItems()
80 doReturn(RotationUtils.ROTATION_SEASCAPE).when(mGridLayout).getCurrentRotation(); in testShouldReverseListItems()
85 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mGridLayout).getCurrentRotation(); in testShouldReverseListItems()
88 doReturn(RotationUtils.ROTATION_NONE).when(mGridLayout).getCurrentRotation(); in testShouldReverseListItems()
91 doReturn(RotationUtils.ROTATION_SEASCAPE).when(mGridLayout).getCurrentRotation(); in testShouldReverseListItems()
97 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mGridLayout).getCurrentRotation(); in testShouldReverseSublists()
[all …]
DGlobalActionsColumnLayoutTest.java60 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mColumnLayout).getCurrentRotation(); in testShouldReverseListItems()
63 doReturn(RotationUtils.ROTATION_NONE).when(mColumnLayout).getCurrentRotation(); in testShouldReverseListItems()
66 doReturn(RotationUtils.ROTATION_SEASCAPE).when(mColumnLayout).getCurrentRotation(); in testShouldReverseListItems()
71 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mColumnLayout).getCurrentRotation(); in testShouldReverseListItems()
74 doReturn(RotationUtils.ROTATION_NONE).when(mColumnLayout).getCurrentRotation(); in testShouldReverseListItems()
77 doReturn(RotationUtils.ROTATION_SEASCAPE).when(mColumnLayout).getCurrentRotation(); in testShouldReverseListItems()
85 doReturn(RotationUtils.ROTATION_NONE).when(mColumnLayout).getCurrentRotation(); in testGetAnimationOffsetX()
88 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mColumnLayout).getCurrentRotation(); in testGetAnimationOffsetX()
91 doReturn(RotationUtils.ROTATION_SEASCAPE).when(mColumnLayout).getCurrentRotation(); in testGetAnimationOffsetX()
99 doReturn(RotationUtils.ROTATION_NONE).when(mColumnLayout).getCurrentRotation(); in testGetAnimationOffsetY()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsColumnLayout.java55 int rotation = getCurrentRotation(); in shouldReverseListItems()
85 switch (getCurrentRotation()) { in snapToPowerButton()
106 switch (getCurrentRotation()) { in centerAlongEdge()
142 int rotation = getCurrentRotation(); in shouldSnapToPowerButton()
178 if (getCurrentRotation() == ROTATION_NONE) { in getAnimationOffsetX()
186 switch (getCurrentRotation()) { in getAnimationOffsetY()
DGlobalActionsGridLayout.java115 if (getCurrentRotation() == ROTATION_SEASCAPE) { in shouldReverseSublists()
127 if (getCurrentRotation() == ROTATION_NONE) { in shouldSwapRowsAndColumns()
135 int rotation = getCurrentRotation(); in shouldReverseListItems()
157 switch (getCurrentRotation()) { in getAnimationOffsetX()
169 if (getCurrentRotation() == ROTATION_NONE) { in getAnimationOffsetY()
DGlobalActionsLayout.java90 protected int getCurrentRotation() { in getCurrentRotation() method in GlobalActionsLayout
/frameworks/base/tests/FlickerTests/lib/src/com/android/server/wm/flicker/
DWindowUtils.java42 private static int getCurrentRotation() { in getCurrentRotation() method in WindowUtils
51 int currentDisplayRotation = getCurrentRotation(); in getDisplayBounds()
71 int currentDisplayRotation = getCurrentRotation(); in getAppPosition()