Searched refs:getCurrentRotation (Results 1 – 11 of 11) 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()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 …]
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()91 doReturn(RotationUtils.ROTATION_SEASCAPE).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 …]
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()
63 int nElementsWrap = (getCurrentRotation() == ROTATION_NONE) ? mMaxColumns : mMaxRows; in onUpdateList()65 if (getCurrentRotation() != ROTATION_NONE && nChildren > mMaxRows) { in onUpdateList()
42 int rotation = getCurrentRotation(); in shouldReverseListItems()
110 protected int getCurrentRotation() { in getCurrentRotation() method in GlobalActionsLayout
176 request.mRemoteRequest.getCurrentRotation(), in onSuccess()197 request.mRemoteRequest.getCurrentRotation(), errorCodeToProto(error), in onFailure()
104 logRotationStats(request.getProposedRotation(), request.getCurrentRotation(), in resolveRotationLocked()
125 public @Surface.Rotation int getCurrentRotation() { in getCurrentRotation() method in RotationResolutionRequest
10290 method public int getCurrentRotation();