Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DRotationUtils.java32 public static final int ROTATION_LANDSCAPE = 1; field in RotationUtils
39 ROTATION_LANDSCAPE,
54 return ROTATION_LANDSCAPE; in getRotation()
70 return ROTATION_LANDSCAPE; in getExactRotation()
85 case ROTATION_LANDSCAPE: in toString()
111 case ROTATION_LANDSCAPE: in getResourcesForRotation()
/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()
DGlobalActionsFlatLayout.java19 import static com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE;
47 return rotation == ROTATION_LANDSCAPE; in shouldReverseListItems()
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/statusbar/phone/
DStatusBarContentInsetsProvider.kt36 import com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE in <lambda>()
356 ROTATION_LANDSCAPE -> Rect(0, 0, sbHeight, h) in sbRect()
383 ROTATION_LANDSCAPE -> top <= 0 in touchesRightEdge()
392 ROTATION_LANDSCAPE -> bottom >= height in Rect()
401 ROTATION_LANDSCAPE -> left in Rect()
410 ROTATION_LANDSCAPE -> top in Rect()
419 ROTATION_LANDSCAPE -> bottom in Rect()
433 return this == ROTATION_LANDSCAPE || this == ROTATION_SEASCAPE in Int()
DStatusBarWindowController.java23 import static com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE;
149 .getBoundingRectForPrivacyChipForRotation(ROTATION_LANDSCAPE); in calculateStatusBarLocationsForAllRotations()
DStatusBarWindowView.java168 case RotationUtils.ROTATION_LANDSCAPE: in statusBarCornerCutoutMargins()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarContentInsetsProviderTest.kt25 import com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE
90 targetRotation = ROTATION_LANDSCAPE in testGetBoundingRectForPrivacyChipForRotation_noCutout()
152 targetRotation = ROTATION_LANDSCAPE in testCalculateInsetsForRotationWithRotatedResources_topLeftCutout()
244 targetRotation = ROTATION_LANDSCAPE in testCalculateInsetsForRotationWithRotatedResources_nonCornerCutout()
325 targetRotation = ROTATION_LANDSCAPE in testCalculateInsetsForRotationWithRotatedResources_noCutout()
357 targetRotation = ROTATION_LANDSCAPE in testCalculateInsetsForRotationWithRotatedResources_noCutout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DPrivacyDotViewController.kt41 import com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE in <lambda>()
258 if (currentRotation == ROTATION_LANDSCAPE || currentRotation == ROTATION_SEASCAPE) { in <lambda>()
373 tr -> if (rtl) ROTATION_LANDSCAPE else ROTATION_NONE in <lambda>()
375 br -> if (rtl) ROTATION_UPSIDE_DOWN else ROTATION_LANDSCAPE in <lambda>()
412 val right = contentInsetsProvider.getStatusBarContentInsetsForRotation(ROTATION_LANDSCAPE) in <lambda>()
554 val right = contentInsetsProvider.getStatusBarContentInsetsForRotation(ROTATION_LANDSCAPE) in <lambda>()
652 ROTATION_LANDSCAPE -> landscapeRect!! in contentRectForRotation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DScreenPinningRequest.java19 import static com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE;
164 rotation == ROTATION_LANDSCAPE ? (Gravity.CENTER_VERTICAL | Gravity.RIGHT) in getRequestLayoutParams()
200 } else if (rotation == ROTATION_LANDSCAPE) { in onAttachedToWindow()
239 rotation == ROTATION_LANDSCAPE ? R.layout.screen_pinning_request_land_phone in inflateView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/charging/
DWiredChargingRippleController.kt180 RotationUtils.ROTATION_LANDSCAPE -> { in layoutRipple()