Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DFocusLogic.java88 int cntY = map == null ? -1 : map[0].length; in handleKeyEvent() local
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()
301 private static int handleDpadHorizontal(int iconIdx, int cntX, int cntY, in handleDpadHorizontal() argument
312 for (int j = 0; j < cntY; j++) { in handleDpadHorizontal()
326 if ((newIconIndex = inspectMatrix(x, yPos, cntX, cntY, matrix)) != NOOP in handleDpadHorizontal()
339 for (int coeff = 1; coeff < cntY; coeff++) { in handleDpadHorizontal()
[all …]