Searched refs:RotationUtils (Results 1 – 13 of 13) sorted by relevance
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 …]
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 …]
17 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 …]
95 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 …]
27 import com.android.systemui.util.leak.RotationUtils;40 mRotation = RotationUtils.getRotation(context); in MultiListLayout()84 int newRotation = RotationUtils.getRotation(mContext); in onConfigurationChanged()
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;
29 import com.android.systemui.util.leak.RotationUtils;91 return RotationUtils.getRotation(mContext); in getCurrentRotation()
102 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) {
19 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)));
51 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()
21 public class RotationUtils { class
51 import com.android.systemui.util.leak.RotationUtils;282 if (RotationUtils.getRotation(mContext) != RotationUtils.ROTATION_NONE) { in onAttachedToWindow()