Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DFocusLogic.java83 public static int handleKeyEvent(int keyCode, int [][] map, int iconIdx, int pageIndex, in handleKeyEvent() argument
92 cntX, cntY, iconIdx, pageIndex, pageCount)); in handleKeyEvent()
98 newIndex = handleDpadHorizontal(iconIdx, cntX, cntY, map, -1 /*increment*/, isRtl); in handleKeyEvent()
106 newIndex = handleDpadHorizontal(iconIdx, cntX, cntY, map, 1 /*increment*/, isRtl); in handleKeyEvent()
114 newIndex = handleDpadVertical(iconIdx, cntX, cntY, map, 1 /*increment*/); in handleKeyEvent()
117 newIndex = handleDpadVertical(iconIdx, cntX, cntY, map, -1 /*increment*/); in handleKeyEvent()
137 iconIdx, getStringIndex(newIndex))); in handleKeyEvent()
320 private static int handleDpadHorizontal(int iconIdx, int cntX, int cntY, in handleDpadHorizontal() argument
332 if (matrix[i][j] == iconIdx) { in handleDpadHorizontal()
340 xPos, yPos, iconIdx)); in handleDpadHorizontal()
[all …]