Home
last modified time | relevance | path

Searched refs:ROTATION_LANDSCAPE (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsColumnLayout.java19 import static com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE;
60 return rotation == ROTATION_LANDSCAPE; in shouldReverseListItems()
86 case (ROTATION_LANDSCAPE): in snapToPowerButton()
107 case (ROTATION_LANDSCAPE): in centerAlongEdge()
187 case ROTATION_LANDSCAPE: in getAnimationOffsetY()
DGlobalActionsGridLayout.java19 import static com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE;
158 case ROTATION_LANDSCAPE: in getAnimationOffsetX()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsGridLayoutTest.java63 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mGridLayout).getCurrentRotation(); in testShouldSwapRowsAndColumns()
74 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mGridLayout).getCurrentRotation(); in testShouldReverseListItems()
85 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mGridLayout).getCurrentRotation(); in testShouldReverseListItems()
97 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mGridLayout).getCurrentRotation(); in testShouldReverseSublists()
114 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mGridLayout).getCurrentRotation(); in testGetAnimationOffsetX()
128 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mGridLayout).getCurrentRotation(); in testGetAnimationOffsetY()
DGlobalActionsColumnLayoutTest.java60 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mColumnLayout).getCurrentRotation(); in testShouldReverseListItems()
71 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mColumnLayout).getCurrentRotation(); in testShouldReverseListItems()
88 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mColumnLayout).getCurrentRotation(); in testGetAnimationOffsetX()
102 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mColumnLayout).getCurrentRotation(); in testGetAnimationOffsetY()
188 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mColumnLayout).getCurrentRotation(); in testShouldSnapToPowerButton_horizontal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DRotationUtils.java24 public static final int ROTATION_LANDSCAPE = 1; field in RotationUtils
33 return ROTATION_LANDSCAPE; in getRotation()
46 return ROTATION_LANDSCAPE; in getExactRotation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java17 import static com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE;
121 if (mRotation == ROTATION_LANDSCAPE) { in updateEdgeMargin()
133 if (mRotation == ROTATION_LANDSCAPE) { in updateEdgeMargin()
200 if (from == ROTATION_LANDSCAPE || to == ROTATION_SEASCAPE) { in rotate()
210 } else if (from == ROTATION_LANDSCAPE) { in rotate()
496 case RotationUtils.ROTATION_LANDSCAPE: in updatePaddingAndGravityIfTooTall()
562 case RotationUtils.ROTATION_LANDSCAPE: in getAnimationOffsetY()
DScreenDecorations.java280 case RotationUtils.ROTATION_LANDSCAPE: in setAssistHintVisible()
555 } else if (mRotation == RotationUtils.ROTATION_LANDSCAPE) { in updateViews()
594 } else if (mRotation == RotationUtils.ROTATION_LANDSCAPE) { in updateAssistantHandleViews()
1080 return rotation == RotationUtils.ROTATION_LANDSCAPE || rotation == in isLandscape()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DScreenPinningRequest.java19 import static com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE;
151 rotation == ROTATION_LANDSCAPE ? (Gravity.CENTER_VERTICAL | Gravity.RIGHT) in getRequestLayoutParams()
185 } else if (rotation == ROTATION_LANDSCAPE) { in onAttachedToWindow()
224 rotation == ROTATION_LANDSCAPE ? R.layout.screen_pinning_request_land_phone in inflateView()