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.java84 public static int handleKeyEvent(int keyCode, int [][] map, int iconIdx, int pageIndex, in handleKeyEvent() argument
93 cntX, cntY, iconIdx, pageIndex, pageCount)); in handleKeyEvent()
99 newIndex = handleDpadHorizontal(iconIdx, cntX, cntY, map, -1 /*increment*/, isRtl); in handleKeyEvent()
107 newIndex = handleDpadHorizontal(iconIdx, cntX, cntY, map, 1 /*increment*/, isRtl); in handleKeyEvent()
115 newIndex = handleDpadVertical(iconIdx, cntX, cntY, map, 1 /*increment*/); in handleKeyEvent()
118 newIndex = handleDpadVertical(iconIdx, cntX, cntY, map, -1 /*increment*/); in handleKeyEvent()
138 iconIdx, getStringIndex(newIndex))); in handleKeyEvent()
301 private static int handleDpadHorizontal(int iconIdx, int cntX, int cntY, in handleDpadHorizontal() argument
313 if (matrix[i][j] == iconIdx) { in handleDpadHorizontal()
321 xPos, yPos, iconIdx)); in handleDpadHorizontal()
[all …]