Home
last modified time | relevance | path

Searched refs:currentPageTaskViewId (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/util/
DTaskGridNavHelperTest.kt38 assertThat(getNextGridPage(currentPageTaskViewId = 1, DOWN, delta = 1)).isEqualTo(2) in equalLengthRows_noFocused_onTop_pressDown_goesToBottom()
48 assertThat(getNextGridPage(currentPageTaskViewId = 1, UP, delta = 1)).isEqualTo(2) in equalLengthRows_noFocused_onTop_pressUp_goesToBottom()
59 assertThat(getNextGridPage(currentPageTaskViewId = 2, DOWN, delta = 1)).isEqualTo(1) in equalLengthRows_noFocused_onBottom_pressDown_goesToTop()
69 assertThat(getNextGridPage(currentPageTaskViewId = 2, UP, delta = 1)).isEqualTo(1) in equalLengthRows_noFocused_onBottom_pressUp_goesToTop()
79 assertThat(getNextGridPage(currentPageTaskViewId = 1, LEFT, delta = 1)).isEqualTo(3) in equalLengthRows_noFocused_onTop_pressLeft_goesLeft()
89 assertThat(getNextGridPage(currentPageTaskViewId = 2, LEFT, delta = 1)).isEqualTo(4) in equalLengthRows_noFocused_onBottom_pressLeft_goesLeft()
99 assertThat(getNextGridPage(currentPageTaskViewId = 3, RIGHT, delta = -1)).isEqualTo(1) in equalLengthRows_noFocused_onTop_secondItem_pressRight_goesRight()
109 assertThat(getNextGridPage(currentPageTaskViewId = 4, RIGHT, delta = -1)).isEqualTo(2) in equalLengthRows_noFocused_onBottom_secondItem_pressRight_goesRight()
121 assertThat(getNextGridPage(currentPageTaskViewId = 1, RIGHT, delta = -1)) in equalLengthRows_noFocused_onTop_pressRight_cycleToClearAll()
134 assertThat(getNextGridPage(currentPageTaskViewId = 2, RIGHT, delta = -1)) in equalLengthRows_noFocused_onBottom_pressRight_cycleToClearAll()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DTaskGridNavHelper.kt56 currentPageTaskViewId: Int, in getNextGridPage()
61 val inTop = topRowIds.contains(currentPageTaskViewId) in getNextGridPage()
63 if (inTop) topRowIds.indexOf(currentPageTaskViewId) in getNextGridPage()
64 else bottomRowIds.indexOf(currentPageTaskViewId) in getNextGridPage()
82 val inOriginalTop = topIds.contains(currentPageTaskViewId) in getNextGridPage()
93 if (topRowIds.contains(currentPageTaskViewId)) { in getNextGridPage()
107 else -> currentPageTaskViewId in getNextGridPage()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DRecentsView.java4659 int currentPageTaskViewId; in getNextPageInternal() local
4663 currentPageTaskViewId = currentPageTaskView.getTaskViewId(); in getNextPageInternal()
4665 currentPageTaskViewId = TaskGridNavHelper.CLEAR_ALL_PLACEHOLDER_ID; in getNextPageInternal()
4667 currentPageTaskViewId = TaskGridNavHelper.ADD_DESK_PLACEHOLDER_ID; in getNextPageInternal()
4673 taskGridNavHelper.getNextGridPage(currentPageTaskViewId, delta, direction, cycle); in getNextPageInternal()