/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | RotationUtils.java | 54 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/ |
D | GlobalActionsColumnLayout.java | 19 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()
|
D | GlobalActionsFlatLayout.java | 19 import static com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE; 47 return rotation == ROTATION_LANDSCAPE; in shouldReverseListItems()
|
D | GlobalActionsGridLayout.java | 19 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/ |
D | GlobalActionsGridLayoutTest.java | 63 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()
|
D | GlobalActionsColumnLayoutTest.java | 60 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/ |
D | PrivacyDotViewControllerTest.kt | 38 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/ |
D | StatusBarContentInsetsProvider.kt | 43 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/ |
D | StatusBarContentInsetsProviderTest.kt | 34 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/ |
D | PrivacyDotViewController.kt | 43 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/ |
D | ScreenPinningRequest.java | 20 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/ |
D | QuickQSPanelControllerTest.kt | 142 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/ |
D | StatusBarWindowController.java | 25 import static com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE; 264 .getBoundingRectForPrivacyChipForRotation(ROTATION_LANDSCAPE, displayCutout);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QuickQSPanelController.java | 92 boolean isLandscape = rotation == RotationUtils.ROTATION_LANDSCAPE in updateMediaExpansion()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | LightRevealScrim.kt | 264 } else if (rotation == RotationUtils.ROTATION_LANDSCAPE) { in setRevealAmountOnScrim()
|