/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | RotationUtils.java | 53 public static final int ROTATION_NONE = 0; field in RotationUtils 60 ROTATION_NONE, 80 return ROTATION_NONE; in getRotation() 98 return ROTATION_NONE; in getExactRotation() 105 case ROTATION_NONE: in toString() 129 case ROTATION_NONE: in getResourcesForRotation()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarContentInsetsProviderTest.kt | 35 import com.android.systemui.util.leak.RotationUtils.ROTATION_NONE 82 val currentRotation = ROTATION_NONE in testGetBoundingRectForPrivacyChipForRotation_noCutout() 88 var targetRotation = ROTATION_NONE in testGetBoundingRectForPrivacyChipForRotation_noCutout() 185 val currentRotation = ROTATION_NONE in testCalculateInsetsForRotationWithRotatedResources_topLeftCutout_noCameraProtection() 194 var targetRotation = ROTATION_NONE in testCalculateInsetsForRotationWithRotatedResources_topLeftCutout_noCameraProtection() 297 val currentRotation = ROTATION_NONE in testCalculateInsetsForRotationWithRotatedResources_topLeftCutout_withCameraProtection() 307 var targetRotation = ROTATION_NONE in testCalculateInsetsForRotationWithRotatedResources_topLeftCutout_withCameraProtection() 439 val currentRotation = ROTATION_NONE in Rect() 444 var targetRotation = ROTATION_NONE in Rect() 563 val currentRotation = ROTATION_NONE in testCalculateInsetsForRotationWithRotatedResources_topRightCutout_withCameraProtection() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/ |
D | GlobalActionsColumnLayoutTest.java | 63 doReturn(RotationUtils.ROTATION_NONE).when(mColumnLayout).getCurrentRotation(); in testShouldReverseListItems() 74 doReturn(RotationUtils.ROTATION_NONE).when(mColumnLayout).getCurrentRotation(); in testShouldReverseListItems() 85 doReturn(RotationUtils.ROTATION_NONE).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() 172 doReturn(RotationUtils.ROTATION_NONE).when(mColumnLayout).getCurrentRotation(); in testShouldSnapToPowerButton_vertical()
|
D | GlobalActionsGridLayoutTest.java | 60 doReturn(RotationUtils.ROTATION_NONE).when(mGridLayout).getCurrentRotation(); in testShouldSwapRowsAndColumns() 77 doReturn(RotationUtils.ROTATION_NONE).when(mGridLayout).getCurrentRotation(); in testShouldReverseListItems() 88 doReturn(RotationUtils.ROTATION_NONE).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() 125 doReturn(RotationUtils.ROTATION_NONE).when(mGridLayout).getCurrentRotation(); in testGetAnimationOffsetY()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsGridLayout.java | 20 import static com.android.systemui.util.leak.RotationUtils.ROTATION_NONE; 127 if (getCurrentRotation() == ROTATION_NONE) { in shouldSwapRowsAndColumns() 137 if (rotation == ROTATION_NONE in shouldReverseListItems() 169 if (getCurrentRotation() == ROTATION_NONE) { in getAnimationOffsetY()
|
D | GlobalActionsColumnLayout.java | 20 import static com.android.systemui.util.leak.RotationUtils.ROTATION_NONE; 56 if (rotation == ROTATION_NONE) { in shouldReverseListItems() 143 if (rotation == ROTATION_NONE) { in shouldSnapToPowerButton() 178 if (getCurrentRotation() == ROTATION_NONE) { in getAnimationOffsetX()
|
D | GlobalActionsFlatLayout.java | 20 import static com.android.systemui.util.leak.RotationUtils.ROTATION_NONE; 43 if (rotation == ROTATION_NONE) { in shouldReverseListItems()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarContentInsetsProvider.kt | 44 import com.android.systemui.util.leak.RotationUtils.ROTATION_NONE in <lambda>() 385 if (exactRotation == ROTATION_NONE || exactRotation == ROTATION_UPSIDE_DOWN) { in onStatusBarContentInsetsChanged() 618 ROTATION_NONE -> Rect(0, 0, w, sbHeight) in sbRect() 645 ROTATION_NONE -> right >= width in touchesRightEdge() 654 ROTATION_NONE -> left <= 0 in Rect() 663 ROTATION_NONE -> top in Rect() 672 ROTATION_NONE -> right in Rect() 681 ROTATION_NONE -> left in Rect() 690 ROTATION_NONE, in Rect() 702 ROTATION_NONE, in Point() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/events/ |
D | PrivacyDotViewControllerTest.kt | 39 import com.android.systemui.util.leak.RotationUtils.ROTATION_NONE in <lambda>() 217 setRotation(ROTATION_NONE) in <lambda>() 257 setRotation(ROTATION_NONE) in <lambda>() 399 whenever(it.getStatusBarContentAreaForRotation(ROTATION_NONE)) in createMockContentInsetsProvider()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/ |
D | PrivacyDotViewController.kt | 44 import com.android.systemui.util.leak.RotationUtils.ROTATION_NONE in <lambda>() 399 tr -> if (rtl) ROTATION_LANDSCAPE else ROTATION_NONE in <lambda>() 400 tl -> if (rtl) ROTATION_NONE else ROTATION_SEASCAPE in <lambda>() 438 val top = contentInsetsProvider.getStatusBarContentAreaForRotation(ROTATION_NONE) in <lambda>() 580 val top = contentInsetsProvider.getStatusBarContentAreaForRotation(ROTATION_NONE) in <lambda>() 683 ROTATION_NONE -> portraitRect!! in contentRectForRotation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/window/ |
D | StatusBarWindowController.java | 26 import static com.android.systemui.util.leak.RotationUtils.ROTATION_NONE; 262 .getBoundingRectForPrivacyChipForRotation(ROTATION_NONE, displayCutout);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | ScreenPinningRequest.java | 21 import static com.android.systemui.util.leak.RotationUtils.ROTATION_NONE; 394 return ROTATION_NONE; in getRotation()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QuickQSPanelControllerTest.kt | 190 private var rotation = RotationUtils.ROTATION_NONE
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | AuthRippleControllerTest.kt | 115 `when`(RotationUtils.getRotation(context)).thenReturn(RotationUtils.ROTATION_NONE) in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | LightRevealScrim.kt | 255 if (rotation == RotationUtils.ROTATION_NONE) { in setRevealAmountOnScrim()
|