Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
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()
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 …]
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()
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/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java17 import static com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE;
18 import static com.android.systemui.util.leak.RotationUtils.ROTATION_NONE;
19 import static com.android.systemui.util.leak.RotationUtils.ROTATION_SEASCAPE;
37 import com.android.systemui.util.leak.RotationUtils;
181 int rotation = RotationUtils.getRotation(getContext()); in updateRotation()
495 switch (RotationUtils.getRotation(getContext())) { in updatePaddingAndGravityIfTooTall()
496 case RotationUtils.ROTATION_LANDSCAPE: in updatePaddingAndGravityIfTooTall()
503 case RotationUtils.ROTATION_SEASCAPE: in updatePaddingAndGravityIfTooTall()
553 if (RotationUtils.getRotation(mContext) == ROTATION_NONE) { in getAnimationOffsetX()
561 switch (RotationUtils.getRotation(getContext())) { in getAnimationOffsetY()
[all …]
DScreenDecorations.java95 import com.android.systemui.util.leak.RotationUtils;
304 case RotationUtils.ROTATION_NONE: in setAssistHintVisible()
308 case RotationUtils.ROTATION_LANDSCAPE: in setAssistHintVisible()
312 case RotationUtils.ROTATION_SEASCAPE: in setAssistHintVisible()
316 case RotationUtils.ROTATION_UPSIDE_DOWN: in setAssistHintVisible()
352 mRotation = RotationUtils.getExactRotation(mContext); in startOnScreenDecorationsThread()
375 final int newRotation = RotationUtils.getExactRotation(mContext); in startOnScreenDecorationsThread()
541 int newRotation = RotationUtils.getExactRotation(mContext); in updateOrientation()
601 if (mRotation == RotationUtils.ROTATION_NONE) { in updateViews()
606 } else if (mRotation == RotationUtils.ROTATION_LANDSCAPE) { in updateViews()
[all …]
DMultiListLayout.java27 import com.android.systemui.util.leak.RotationUtils;
40 mRotation = RotationUtils.getRotation(context); in MultiListLayout()
84 int newRotation = RotationUtils.getRotation(mContext); in onConfigurationChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
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;
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;
DGlobalActionsLayout.java29 import com.android.systemui.util.leak.RotationUtils;
91 return RotationUtils.getRotation(mContext); in getCurrentRotation()
DGlobalActionsDialog.java102 import com.android.systemui.util.leak.RotationUtils;
1550 int rotation = RotationUtils.getRotation(mContext);
1552 if (rotation != RotationUtils.ROTATION_NONE) {
1565 mContext, false, RotationUtils.ROTATION_NONE));
1579 mContext, true, RotationUtils.ROTATION_NONE));
1635 int rotation = RotationUtils.getRotation(context);
1637 || (shouldUsePanel() && rotation == RotationUtils.ROTATION_NONE);
1638 if (rotation == RotationUtils.ROTATION_SEASCAPE) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DScreenPinningRequest.java19 import static com.android.systemui.util.leak.RotationUtils.ROTATION_LANDSCAPE;
20 import static com.android.systemui.util.leak.RotationUtils.ROTATION_SEASCAPE;
55 import com.android.systemui.util.leak.RotationUtils;
176 int rotation = RotationUtils.getRotation(mContext); in onAttachedToWindow()
321 inflateView(RotationUtils.getRotation(mContext)); in onConfigurationChanged()
328 … mLayout.setLayoutParams(getRequestLayoutParams(RotationUtils.getRotation(mContext)));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarView.java51 import com.android.systemui.util.leak.RotationUtils;
164 mRotationOrientation = RotationUtils.getExactRotation(mContext); in updateOrientationAndCutout()
391 return cornerCutoutMargins(cutout, display, RotationUtils.ROTATION_NONE, -1); in cornerCutoutMargins()
402 if (rotationOrientation != RotationUtils.ROTATION_NONE) { in cornerCutoutMargins()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DRotationUtils.java21 public class RotationUtils { class
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DBiometricDialogView.java51 import com.android.systemui.util.leak.RotationUtils;
282 if (RotationUtils.getRotation(mContext) != RotationUtils.ROTATION_NONE) { in onAttachedToWindow()