Searched refs:getCurrentRotation (Results 1 – 6 of 6) sorted by relevance
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()97 doReturn(RotationUtils.ROTATION_LANDSCAPE).when(mGridLayout).getCurrentRotation(); in testShouldReverseSublists()[all …]
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()99 doReturn(RotationUtils.ROTATION_NONE).when(mColumnLayout).getCurrentRotation(); in testGetAnimationOffsetY()[all …]
55 int rotation = getCurrentRotation(); in shouldReverseListItems()85 switch (getCurrentRotation()) { in snapToPowerButton()106 switch (getCurrentRotation()) { in centerAlongEdge()142 int rotation = getCurrentRotation(); in shouldSnapToPowerButton()178 if (getCurrentRotation() == ROTATION_NONE) { in getAnimationOffsetX()186 switch (getCurrentRotation()) { in getAnimationOffsetY()
115 if (getCurrentRotation() == ROTATION_SEASCAPE) { in shouldReverseSublists()127 if (getCurrentRotation() == ROTATION_NONE) { in shouldSwapRowsAndColumns()135 int rotation = getCurrentRotation(); in shouldReverseListItems()157 switch (getCurrentRotation()) { in getAnimationOffsetX()169 if (getCurrentRotation() == ROTATION_NONE) { in getAnimationOffsetY()
90 protected int getCurrentRotation() { in getCurrentRotation() method in GlobalActionsLayout
42 private static int getCurrentRotation() { in getCurrentRotation() method in WindowUtils51 int currentDisplayRotation = getCurrentRotation(); in getDisplayBounds()71 int currentDisplayRotation = getCurrentRotation(); in getAppPosition()