/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/ |
D | GlobalActionsGridLayoutTest.java | 33 import com.android.systemui.util.leak.RotationUtils; 60 doReturn(RotationUtils.ROTATION_NONE).when(mGridLayout).getCurrentRotation(); in testShouldSwapRowsAndColumns() 63 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mGridLayout).getCurrentRotation(); in testShouldSwapRowsAndColumns() 66 doReturn(RotationUtils.ROTATION_SEASCAPE).when(mGridLayout).getCurrentRotation(); in testShouldSwapRowsAndColumns() 74 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mGridLayout).getCurrentRotation(); in testShouldReverseListItems() 77 doReturn(RotationUtils.ROTATION_NONE).when(mGridLayout).getCurrentRotation(); in testShouldReverseListItems() 80 doReturn(RotationUtils.ROTATION_SEASCAPE).when(mGridLayout).getCurrentRotation(); in testShouldReverseListItems() 85 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mGridLayout).getCurrentRotation(); in testShouldReverseListItems() 88 doReturn(RotationUtils.ROTATION_NONE).when(mGridLayout).getCurrentRotation(); in testShouldReverseListItems() 91 doReturn(RotationUtils.ROTATION_SEASCAPE).when(mGridLayout).getCurrentRotation(); in testShouldReverseListItems() [all …]
|
D | GlobalActionsColumnLayoutTest.java | 35 import com.android.systemui.util.leak.RotationUtils; 60 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mColumnLayout).getCurrentRotation(); in testShouldReverseListItems() 63 doReturn(RotationUtils.ROTATION_NONE).when(mColumnLayout).getCurrentRotation(); in testShouldReverseListItems() 66 doReturn(RotationUtils.ROTATION_SEASCAPE).when(mColumnLayout).getCurrentRotation(); in testShouldReverseListItems() 71 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mColumnLayout).getCurrentRotation(); in testShouldReverseListItems() 74 doReturn(RotationUtils.ROTATION_NONE).when(mColumnLayout).getCurrentRotation(); in testShouldReverseListItems() 77 doReturn(RotationUtils.ROTATION_SEASCAPE).when(mColumnLayout).getCurrentRotation(); in testShouldReverseListItems() 85 doReturn(RotationUtils.ROTATION_NONE).when(mColumnLayout).getCurrentRotation(); in testGetAnimationOffsetX() 88 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mColumnLayout).getCurrentRotation(); in testGetAnimationOffsetX() 91 doReturn(RotationUtils.ROTATION_SEASCAPE).when(mColumnLayout).getCurrentRotation(); in testGetAnimationOffsetX() [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | RotationUtilsTest.java | 19 import static android.util.RotationUtils.rotateBounds; 20 import static android.util.RotationUtils.rotatePoint; 21 import static android.util.RotationUtils.rotatePointF; 111 RotationUtils.reverseRotationDirectionAroundZAxis(ROTATION_270)); in testReverseRotationDirectionAroundZAxis() 113 RotationUtils.reverseRotationDirectionAroundZAxis(ROTATION_90)); in testReverseRotationDirectionAroundZAxis() 115 RotationUtils.reverseRotationDirectionAroundZAxis(ROTATION_0)); in testReverseRotationDirectionAroundZAxis() 117 RotationUtils.reverseRotationDirectionAroundZAxis(ROTATION_180)); in testReverseRotationDirectionAroundZAxis() 120 RotationUtils.reverseRotationDirectionAroundZAxis(-1)); in testReverseRotationDirectionAroundZAxis()
|
/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/ |
D | CounterRotator.java | 20 import android.util.RotationUtils; 53 RotationUtils.rotateSurface(t, mSurface, rotateDelta); in setup() 62 RotationUtils.rotatePoint(tmpPt, rotateDelta, (int) parentW, (int) parentH); in setup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QuickQSPanelController.java | 38 import com.android.systemui.util.leak.RotationUtils; 92 boolean isLandscape = rotation == RotationUtils.ROTATION_LANDSCAPE in updateMediaExpansion() 93 || rotation == RotationUtils.ROTATION_SEASCAPE; in updateMediaExpansion() 104 return RotationUtils.getRotation(getContext()); in getRotation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | MultiListLayout.java | 27 import com.android.systemui.util.leak.RotationUtils; 40 mRotation = RotationUtils.getRotation(context); in MultiListLayout() 87 int newRotation = RotationUtils.getRotation(mContext); in onConfigurationChanged()
|
D | SysUICutoutProvider.kt | 21 import android.util.RotationUtils 71 RotationUtils.rotateBounds( in calculateCameraProtectionBoundsForRotation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsFlatLayout.java | 19 import static com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE; 20 import static com.android.systemui.util.leak.RotationUtils.ROTATION_NONE; 21 import static com.android.systemui.util.leak.RotationUtils.ROTATION_SEASCAPE;
|
D | GlobalActionsGridLayout.java | 19 import static com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE; 20 import static com.android.systemui.util.leak.RotationUtils.ROTATION_NONE; 21 import static com.android.systemui.util.leak.RotationUtils.ROTATION_SEASCAPE;
|
D | GlobalActionsColumnLayout.java | 19 import static com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE; 20 import static com.android.systemui.util.leak.RotationUtils.ROTATION_NONE; 21 import static com.android.systemui.util.leak.RotationUtils.ROTATION_SEASCAPE;
|
D | GlobalActionsLayout.java | 29 import com.android.systemui.util.leak.RotationUtils; 111 return RotationUtils.getRotation(mContext); in getCurrentRotation()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
D | CounterRotatorHelper.java | 23 import android.util.RotationUtils; 48 final int rotationDelta = RotationUtils.deltaRotation( in handleClosingChanges() 93 RotationUtils.rotateBounds(rotatedBounds, mLastDisplayBounds, mLastRotationDelta); in getEndBoundsInStartRotation()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QuickQSPanelControllerTest.kt | 36 import com.android.systemui.util.leak.RotationUtils 142 controller.setRotation(RotationUtils.ROTATION_LANDSCAPE) in mediaExpansion_afterConfigChange_inLandscape_collapsedInLandscapeTrue_updatesToCollapsed() 154 controller.setRotation(RotationUtils.ROTATION_LANDSCAPE) in mediaExpansion_afterConfigChange_landscape_collapsedInLandscapeFalse_remainsExpanded() 190 private var rotation = RotationUtils.ROTATION_NONE
|
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/ |
D | UdfpsUtils.java | 24 import android.util.RotationUtils; 231 RotationUtils.rotatePoint( in getPortraitTouch() 233 RotationUtils.deltaRotation(rot, Surface.ROTATION_0), in getPortraitTouch()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/util/ |
D | ExtensionHelper.java | 27 import android.util.RotationUtils; 80 RotationUtils.rotateBounds(inOutRect, baseDisplayWidth, baseDisplayHeight, rotation); in rotateRectToDisplayRotation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | LightRevealScrim.kt | 25 import com.android.systemui.util.leak.RotationUtils 26 import com.android.systemui.util.leak.RotationUtils.Rotation 254 @Rotation val rotation = RotationUtils.getRotation(scrim.getContext()) in setRevealAmountOnScrim() 255 if (rotation == RotationUtils.ROTATION_NONE) { in setRevealAmountOnScrim() 264 } else if (rotation == RotationUtils.ROTATION_LANDSCAPE) { in setRevealAmountOnScrim()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/ |
D | PrivacyDotViewController.kt | 42 import com.android.systemui.util.leak.RotationUtils in <lambda>() 43 import com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE in <lambda>() 44 import com.android.systemui.util.leak.RotationUtils.ROTATION_NONE in <lambda>() 45 import com.android.systemui.util.leak.RotationUtils.ROTATION_SEASCAPE in <lambda>() 46 import com.android.systemui.util.leak.RotationUtils.ROTATION_UPSIDE_DOWN in <lambda>() 47 import com.android.systemui.util.leak.RotationUtils.Rotation in <lambda>() 266 val currentRotation = RotationUtils.getExactRotation(tl.context) in <lambda>() 428 val currentRotation = RotationUtils.getExactRotation(tl.context) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/udfps/ |
D | SinglePointerTouchProcessor.kt | 20 import android.util.RotationUtils 177 RotationUtils.rotatePointF( in rotateToNaturalOrientation() 179 RotationUtils.deltaRotation(rot, Surface.ROTATION_0), in rotateToNaturalOrientation()
|
/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>() 44 import com.android.systemui.util.leak.RotationUtils.ROTATION_NONE in <lambda>() 45 import com.android.systemui.util.leak.RotationUtils.ROTATION_SEASCAPE in <lambda>() 46 import com.android.systemui.util.leak.RotationUtils.ROTATION_UPSIDE_DOWN in <lambda>() 47 import com.android.systemui.util.leak.RotationUtils.Rotation in <lambda>() 48 import com.android.systemui.util.leak.RotationUtils.getExactRotation in <lambda>() 49 import com.android.systemui.util.leak.RotationUtils.getResourcesForRotation in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/ |
D | CutoutDecorProviderFactoryTest.kt | 22 import android.util.RotationUtils in <lambda>() 83 val insets = RotationUtils.rotateInsets(safeInsets, rotation) in <lambda>() 88 RotationUtils.rotateBounds( in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/window/ |
D | StatusBarWindowController.java | 25 import static com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE; 26 import static com.android.systemui.util.leak.RotationUtils.ROTATION_NONE; 27 import static com.android.systemui.util.leak.RotationUtils.ROTATION_SEASCAPE; 28 import static com.android.systemui.util.leak.RotationUtils.ROTATION_UPSIDE_DOWN;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PinnedTaskController.java | 33 import android.util.RotationUtils; 288 final int rotationDelta = RotationUtils.deltaRotation(oldRotation, newRotation); in startSeamlessRotationIfNeeded() 292 final int rotationBackDelta = RotationUtils.deltaRotation(newRotation, oldRotation); in startSeamlessRotationIfNeeded() 293 final Rect displayCutoutInsets = RotationUtils.rotateInsets( in startSeamlessRotationIfNeeded()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | ScreenPinningRequest.java | 20 import static com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE; 21 import static com.android.systemui.util.leak.RotationUtils.ROTATION_NONE; 22 import static com.android.systemui.util.leak.RotationUtils.ROTATION_SEASCAPE; 66 import com.android.systemui.util.leak.RotationUtils; 397 return RotationUtils.getRotation(context); in getRotation()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | AuthRippleControllerTest.kt | 44 import com.android.systemui.util.leak.RotationUtils 111 .mockStatic(RotationUtils::class.java) in setUp() 115 `when`(RotationUtils.getRotation(context)).thenReturn(RotationUtils.ROTATION_NONE) in setUp()
|
/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>() 39 import com.android.systemui.util.leak.RotationUtils.ROTATION_NONE in <lambda>() 40 import com.android.systemui.util.leak.RotationUtils.ROTATION_SEASCAPE in <lambda>() 41 import com.android.systemui.util.leak.RotationUtils.ROTATION_UPSIDE_DOWN in <lambda>()
|