Searched refs:RotationUtils (Results 1 – 12 of 12) 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 …]
89 import com.android.systemui.util.leak.RotationUtils;276 case RotationUtils.ROTATION_NONE: in setAssistHintVisible()280 case RotationUtils.ROTATION_LANDSCAPE: in setAssistHintVisible()284 case RotationUtils.ROTATION_SEASCAPE: in setAssistHintVisible()288 case RotationUtils.ROTATION_UPSIDE_DOWN: in setAssistHintVisible()324 mRotation = RotationUtils.getExactRotation(mContext); in startOnScreenDecorationsThread()344 final int newRotation = RotationUtils.getExactRotation(mContext); in startOnScreenDecorationsThread()497 int newRotation = RotationUtils.getExactRotation(mContext); in updateOrientation()550 if (mRotation == RotationUtils.ROTATION_NONE) { in updateViews()555 } 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()
101 import com.android.systemui.util.leak.RotationUtils;1556 int rotation = RotationUtils.getRotation(mContext);1558 if (rotation != RotationUtils.ROTATION_NONE) {1571 mContext, false, RotationUtils.ROTATION_NONE));1585 mContext, true, RotationUtils.ROTATION_NONE));1641 int rotation = RotationUtils.getRotation(context);1643 || (shouldUsePanel() && rotation == RotationUtils.ROTATION_NONE);1644 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)));
21 public class RotationUtils { class
47 import com.android.systemui.util.leak.RotationUtils;266 if (RotationUtils.getRotation(mContext) != RotationUtils.ROTATION_NONE) { in onAttachedToWindow()