Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
H A 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()
88 doReturn(RotationUtils.ROTATION_NONE).when(mGridLayout).getCurrentRotation(); in testShouldReverseListItems()
91 doReturn(RotationUtils.ROTATION_SEASCAPE).when(mGridLayout).getCurrentRotation(); in testShouldReverseListItems()
100 doReturn(RotationUtils.ROTATION_NONE).when(mGridLayout).getCurrentRotation(); in testShouldReverseSublists()
111 doReturn(RotationUtils.ROTATION_NONE).when(mGridLayout).getCurrentRotation(); in testGetAnimationOffsetX()
[all …]
H A 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()
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()
91 doReturn(RotationUtils.ROTATION_SEASCAPE).when(mColumnLayout).getCurrentRotation(); in testGetAnimationOffsetX()
99 doReturn(RotationUtils.ROTATION_NONE).when(mColumnLayout).getCurrentRotation(); in testGetAnimationOffsetY()
111 doReturn(RotationUtils.ROTATION_NONE).when(mColumnLayout).getCurrentRotation(); in testSnapToPowerButton_portrait()
121 doReturn(RotationUtils.ROTATION_NONE).when(mColumnLayout).getCurrentRotation(); in testCenterAlongEdge_portrait()
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
H A 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()
H A 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()
H A DGlobalActionsLayoutLite.java63 int nElementsWrap = (getCurrentRotation() == ROTATION_NONE) ? mMaxColumns : mMaxRows; in onUpdateList()
65 if (getCurrentRotation() != ROTATION_NONE && nChildren > mMaxRows) { in onUpdateList()
H A DGlobalActionsFlatLayout.java42 int rotation = getCurrentRotation(); in shouldReverseListItems()
H A DGlobalActionsLayout.java110 protected int getCurrentRotation() { in getCurrentRotation() method in GlobalActionsLayout
/aosp12/frameworks/base/services/core/java/com/android/server/rotationresolver/
H A DRemoteRotationResolverService.java176 request.mRemoteRequest.getCurrentRotation(), in onSuccess()
197 request.mRemoteRequest.getCurrentRotation(), errorCodeToProto(error), in onFailure()
H A DRotationResolverManagerPerUserService.java104 logRotationStats(request.getProposedRotation(), request.getCurrentRotation(), in resolveRotationLocked()
/aosp12/frameworks/base/core/java/android/service/rotationresolver/
H A DRotationResolutionRequest.java125 public @Surface.Rotation int getCurrentRotation() { in getCurrentRotation() method in RotationResolutionRequest
/aosp12/frameworks/base/core/api/
H A Dsystem-current.txt10290 method public int getCurrentRotation();