Home
last modified time | relevance | path

Searched refs:RotationUtils (Results 1 – 25 of 36) sorted by relevance

12

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
H A DGlobalActionsGridLayoutTest.java33 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()
77 doReturn(RotationUtils.ROTATION_NONE).when(mGridLayout).getCurrentRotation(); in testShouldReverseListItems()
80 doReturn(RotationUtils.ROTATION_SEASCAPE).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()
100 doReturn(RotationUtils.ROTATION_NONE).when(mGridLayout).getCurrentRotation(); in testShouldReverseSublists()
111 doReturn(RotationUtils.ROTATION_NONE).when(mGridLayout).getCurrentRotation(); in testGetAnimationOffsetX()
[all …]
H A DGlobalActionsColumnLayoutTest.java35 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()
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()
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()
[all …]
/aosp12/frameworks/base/core/java/com/android/internal/policy/
H A DSystemBarUtils.java22 import android.util.RotationUtils;
67 insets = RotationUtils.rotateInsets( in getStatusBarHeightForRotation()
68 insets, RotationUtils.deltaRotation(rotation, targetRot)); in getStatusBarHeightForRotation()
71 waterfallInsets = RotationUtils.rotateInsets( in getStatusBarHeightForRotation()
72 waterfallInsets, RotationUtils.deltaRotation(rotation, targetRot)); in getStatusBarHeightForRotation()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/charging/
H A DWiredChargingRippleController.kt37 import com.android.systemui.util.leak.RotationUtils
175 rippleView.origin = when (RotationUtils.getRotation(context)) {
176 RotationUtils.ROTATION_LANDSCAPE -> {
179 RotationUtils.ROTATION_UPSIDE_DOWN -> {
182 RotationUtils.ROTATION_SEASCAPE -> {
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DMultiListLayout.java27 import com.android.systemui.util.leak.RotationUtils;
40 mRotation = RotationUtils.getRotation(context); in MultiListLayout()
87 int newRotation = RotationUtils.getRotation(mContext); in onConfigurationChanged()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
H A DGlobalActionsFlatLayout.java19 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;
H A DGlobalActionsGridLayout.java19 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;
H A DGlobalActionsColumnLayout.java19 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;
H A DGlobalActionsLayout.java29 import com.android.systemui.util.leak.RotationUtils;
111 return RotationUtils.getRotation(mContext); in getCurrentRotation()
H A DGlobalActionsLayoutLite.java19 import static com.android.systemui.util.leak.RotationUtils.ROTATION_NONE;
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarContentInsetsProvider.kt36 import com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE
37 import com.android.systemui.util.leak.RotationUtils.ROTATION_NONE
38 import com.android.systemui.util.leak.RotationUtils.ROTATION_SEASCAPE
39 import com.android.systemui.util.leak.RotationUtils.ROTATION_UPSIDE_DOWN
40 import com.android.systemui.util.leak.RotationUtils.Rotation
41 import com.android.systemui.util.leak.RotationUtils.getExactRotation
42 import com.android.systemui.util.leak.RotationUtils.getResourcesForRotation
H A DPhoneStatusBarView.java41 import com.android.systemui.util.leak.RotationUtils;
131 int newRotation = RotationUtils.getExactRotation(mContext); in updateOrientationAndCutout()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DStatusBarContentInsetsProviderTest.kt28 import com.android.systemui.util.leak.RotationUtils
29 import com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE
30 import com.android.systemui.util.leak.RotationUtils.ROTATION_NONE
31 import com.android.systemui.util.leak.RotationUtils.ROTATION_SEASCAPE
32 import com.android.systemui.util.leak.RotationUtils.ROTATION_UPSIDE_DOWN
33 import com.android.systemui.util.leak.RotationUtils.Rotation
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DAuthRippleController.kt48 import com.android.systemui.util.leak.RotationUtils
216 fingerprintSensorLocation = when (RotationUtils.getRotation(sysuiContext)) {
217 RotationUtils.ROTATION_LANDSCAPE -> {
222 RotationUtils.ROTATION_UPSIDE_DOWN -> {
225 RotationUtils.ROTATION_SEASCAPE -> {
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
H A DPrivacyDotViewController.kt39 import com.android.systemui.util.leak.RotationUtils
40 import com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE
41 import com.android.systemui.util.leak.RotationUtils.ROTATION_NONE
42 import com.android.systemui.util.leak.RotationUtils.ROTATION_SEASCAPE
43 import com.android.systemui.util.leak.RotationUtils.ROTATION_UPSIDE_DOWN
44 import com.android.systemui.util.leak.RotationUtils.Rotation
236 val currentRotation = RotationUtils.getExactRotation(tl.context)
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/window/
H A DStatusBarWindowController.java25 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;
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
H A DAuthRippleControllerTest.kt38 import com.android.systemui.util.leak.RotationUtils
84 .mockStatic(RotationUtils::class.java)
88 `when`(RotationUtils.getRotation(context)).thenReturn(RotationUtils.ROTATION_NONE)
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DScreenPinningRequest.java20 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;
60 import com.android.systemui.util.leak.RotationUtils;
358 return RotationUtils.getRotation(context); in getRotation()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DPinnedTaskController.java35 import android.util.RotationUtils;
289 final int rotationDelta = RotationUtils.deltaRotation(oldRotation, newRotation); in startSeamlessRotationIfNeeded()
293 final int rotationBackDelta = RotationUtils.deltaRotation(newRotation, oldRotation); in startSeamlessRotationIfNeeded()
294 final Rect displayCutoutInsets = RotationUtils.rotateInsets( in startSeamlessRotationIfNeeded()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/hidedisplaycutout/
H A DHideDisplayCutoutOrganizer.java27 import android.util.RotationUtils;
199 ? RotationUtils.rotateInsets(insets, 4 /* total number of rotation */ - mRotation) in getDisplayCutoutInsetsOfNaturalOrientation()
252 mCurrentCutoutInsets = RotationUtils.rotateInsets(mDefaultCutoutInsets, mRotation); in updateBoundsAndOffsets()
/aosp12/frameworks/base/core/tests/coretests/src/android/util/
H A DRotationUtilsTest.java19 import static android.util.RotationUtils.rotateBounds;
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
H A DRotationUtils.java29 public class RotationUtils { class
/aosp12/frameworks/base/core/java/android/util/
H A DRotationUtils.java35 public class RotationUtils { class
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
H A DDisplayLayout.java25 import static android.util.RotationUtils.rotateBounds;
26 import static android.util.RotationUtils.rotateInsets;
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
H A DPipAnimationControllerTest.java19 import static android.util.RotationUtils.rotateBounds;

12