Home
last modified time | relevance | path

Searched refs:newIconIndex (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/util/
DFocusLogic.java325 int newIconIndex = NOOP; in handleDpadHorizontal() local
345 if ((newIconIndex = inspectMatrix(x, yPos, cntX, cntY, matrix)) != NOOP in handleDpadHorizontal()
346 && newIconIndex != ALL_APPS_COLUMN) { in handleDpadHorizontal()
347 return newIconIndex; in handleDpadHorizontal()
370 newIconIndex = inspectMatrix(x, nextYPos1 + offset1, cntX, cntY, matrix); in handleDpadHorizontal()
371 if (newIconIndex != NOOP) { in handleDpadHorizontal()
372 return newIconIndex; in handleDpadHorizontal()
375 newIconIndex = inspectMatrix(x, nextYPos2 + offset2, cntX, cntY, matrix); in handleDpadHorizontal()
376 if (newIconIndex != NOOP) { in handleDpadHorizontal()
377 return newIconIndex; in handleDpadHorizontal()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DFocusHelper.java113 int newIconIndex = FocusLogic.handleKeyEvent(keyCode, matrix, iconIndex, pageIndex, in onKey() local
115 if (newIconIndex == FocusLogic.NOOP) { in onKey()
122 switch (newIconIndex) { in onKey()
130 ((newIconIndex == FocusLogic.PREVIOUS_PAGE_LEFT_COLUMN) in onKey()
162 newParent, v, newIconIndex); in onKey()
172 child = itemContainer.getChildAt(newIconIndex); in onKey()
268 int newIconIndex = FocusLogic.handleKeyEvent(keyCode, matrix, iconIndex, pageIndex, in handleHotseatButtonKeyEvent() local
272 switch (newIconIndex) { in handleHotseatButtonKeyEvent()
319 if (parent == iconParent && newIconIndex >= iconParent.getChildCount()) { in handleHotseatButtonKeyEvent()
320 newIconIndex -= iconParent.getChildCount(); in handleHotseatButtonKeyEvent()
[all …]