Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DRotationUtils.java54 public static final int ROTATION_LANDSCAPE = 1; field in RotationUtils
61 ROTATION_LANDSCAPE,
76 return ROTATION_LANDSCAPE; in getRotation()
92 return ROTATION_LANDSCAPE; in getExactRotation()
107 case ROTATION_LANDSCAPE: in toString()
133 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/multivalentTests/src/com/android/systemui/statusbar/events/
DPrivacyDotViewControllerTest.kt38 import com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE in <lambda>()
227 setRotation(ROTATION_LANDSCAPE) in <lambda>()
268 setRotation(ROTATION_LANDSCAPE) in <lambda>()
306 setRotation(ROTATION_LANDSCAPE) // Bottom right used in landscape in <lambda>()
328 setRotation(ROTATION_LANDSCAPE) // Bottom right used in landscape in <lambda>()
401 whenever(it.getStatusBarContentAreaForRotation(ROTATION_LANDSCAPE)) in createMockContentInsetsProvider()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarContentInsetsProvider.kt43 import com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE in <lambda>()
619 ROTATION_LANDSCAPE -> Rect(0, 0, sbHeight, h) in sbRect()
646 ROTATION_LANDSCAPE -> top <= 0 in touchesRightEdge()
655 ROTATION_LANDSCAPE -> bottom >= height in Rect()
664 ROTATION_LANDSCAPE -> left in Rect()
673 ROTATION_LANDSCAPE -> top in Rect()
682 ROTATION_LANDSCAPE -> bottom in Rect()
697 return this == ROTATION_LANDSCAPE || this == ROTATION_SEASCAPE in Int()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/
DStatusBarContentInsetsProviderTest.kt34 import com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE
125 targetRotation = ROTATION_LANDSCAPE in testGetBoundingRectForPrivacyChipForRotation_noCutout()
215 targetRotation = ROTATION_LANDSCAPE in testCalculateInsetsForRotationWithRotatedResources_topLeftCutout_noCameraProtection()
328 targetRotation = ROTATION_LANDSCAPE in testCalculateInsetsForRotationWithRotatedResources_topLeftCutout_withCameraProtection()
471 targetRotation = ROTATION_LANDSCAPE in Rect()
592 targetRotation = ROTATION_LANDSCAPE in testCalculateInsetsForRotationWithRotatedResources_topRightCutout_withCameraProtection()
764 targetRotation = ROTATION_LANDSCAPE in testCalculateInsetsForRotationWithRotatedResources_nonCornerCutout()
867 targetRotation = ROTATION_LANDSCAPE in testCalculateInsetsForRotationWithRotatedResources_noCutout()
907 targetRotation = ROTATION_LANDSCAPE in testCalculateInsetsForRotationWithRotatedResources_noCutout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DPrivacyDotViewController.kt43 import com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE in <lambda>()
270 if (currentRotation == ROTATION_LANDSCAPE || currentRotation == ROTATION_SEASCAPE) { in <lambda>()
399 tr -> if (rtl) ROTATION_LANDSCAPE else ROTATION_NONE in <lambda>()
401 br -> if (rtl) ROTATION_UPSIDE_DOWN else ROTATION_LANDSCAPE in <lambda>()
439 val right = contentInsetsProvider.getStatusBarContentAreaForRotation(ROTATION_LANDSCAPE) in <lambda>()
581 val right = contentInsetsProvider.getStatusBarContentAreaForRotation(ROTATION_LANDSCAPE) in <lambda>()
684 ROTATION_LANDSCAPE -> landscapeRect!! in contentRectForRotation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DScreenPinningRequest.java20 import static com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE;
193 rotation == ROTATION_LANDSCAPE ? (Gravity.CENTER_VERTICAL | Gravity.RIGHT) in getRequestLayoutParams()
226 } else if (rotation == ROTATION_LANDSCAPE) { in onAttachedToWindow()
265 rotation == ROTATION_LANDSCAPE ? R.layout.screen_pinning_request_land_phone in inflateView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQuickQSPanelControllerTest.kt142 controller.setRotation(RotationUtils.ROTATION_LANDSCAPE) in mediaExpansion_afterConfigChange_inLandscape_collapsedInLandscapeTrue_updatesToCollapsed()
154 controller.setRotation(RotationUtils.ROTATION_LANDSCAPE) in mediaExpansion_afterConfigChange_landscape_collapsedInLandscapeFalse_remainsExpanded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/window/
DStatusBarWindowController.java25 import static com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE;
264 .getBoundingRectForPrivacyChipForRotation(ROTATION_LANDSCAPE, displayCutout);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickQSPanelController.java92 boolean isLandscape = rotation == RotationUtils.ROTATION_LANDSCAPE in updateMediaExpansion()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DLightRevealScrim.kt264 } else if (rotation == RotationUtils.ROTATION_LANDSCAPE) { in setRevealAmountOnScrim()