Lines Matching defs:pageIndex

110             final int pageIndex = pagedView.indexOfChild(cellLayout);
116 int newIconIndex = FocusLogic.handleKeyEvent(keyCode, matrix, iconIndex, pageIndex,
128 newParent = getCellLayoutChildrenForIndex(pagedView, pageIndex - 1);
131 pagedView.snapToPage(pageIndex - 1);
139 newParent = getCellLayoutChildrenForIndex(pagedView, pageIndex - 1);
141 pagedView.snapToPage(pageIndex - 1);
146 newParent = getCellLayoutChildrenForIndex(pagedView, pageIndex - 1);
148 pagedView.snapToPage(pageIndex - 1);
153 newParent = getCellLayoutChildrenForIndex(pagedView, pageIndex + 1);
155 pagedView.snapToPage(pageIndex + 1);
161 newParent = getCellLayoutChildrenForIndex(pagedView, pageIndex + 1);
163 pagedView.snapToPage(pageIndex + 1);
222 int pageIndex = workspace.getNextPage();
228 final CellLayout iconLayout = (CellLayout) workspace.getChildAt(pageIndex);
261 int newIconIndex = FocusLogic.handleKeyEvent(keyCode, matrix, iconIndex, pageIndex,
267 parent = getCellLayoutChildrenForIndex(workspace, pageIndex + 1);
271 workspace.snapToPage(pageIndex + 1);
274 parent = getCellLayoutChildrenForIndex(workspace, pageIndex - 1);
278 workspace.snapToPage(pageIndex - 1);
281 parent = getCellLayoutChildrenForIndex(workspace, pageIndex - 1);
285 workspace.snapToPage(pageIndex - 1);
290 workspace.snapToPage(pageIndex - 1);
292 CellLayout prevPage = (CellLayout) workspace.getPageAt(pageIndex - 1);
296 workspace.getPageAt(pageIndex - 1).requestFocus();
302 workspace.snapToPage(pageIndex + 1);
304 CellLayout nextPage = (CellLayout) workspace.getPageAt(pageIndex + 1);
308 workspace.getPageAt(pageIndex + 1).requestFocus();
354 final int pageIndex = workspace.indexOfChild(iconLayout);
374 int newIconIndex = FocusLogic.handleKeyEvent(keyCode, matrix, iconIndex, pageIndex,
378 CellLayout workspaceLayout = (CellLayout) workspace.getChildAt(pageIndex);
387 int newPageIndex = pageIndex - 1;
389 newPageIndex = pageIndex + 1;
400 newIcon = handleNextPageFirstItem(workspace, hotseatLayout, pageIndex,
403 newIcon = handlePreviousPageLastItem(workspace, hotseatLayout, pageIndex,
411 workspaceLayout = (CellLayout) workspace.getChildAt(pageIndex - 1);
416 workspace.snapToPage(pageIndex - 1);
420 newIcon = handlePreviousPageLastItem(workspace, hotseatLayout, pageIndex, isRtl);
423 newIcon = handleNextPageFirstItem(workspace, hotseatLayout, pageIndex, isRtl);
427 newPageIndex = pageIndex + 1;
429 newPageIndex = pageIndex - 1;
439 newIcon = handleNextPageFirstItem(workspace, hotseatLayout, pageIndex,
442 newIcon = handlePreviousPageLastItem(workspace, hotseatLayout, pageIndex,
520 int pageIndex, boolean isRtl) {
521 if (pageIndex - 1 < 0) {
524 CellLayout workspaceLayout = (CellLayout) workspace.getChildAt(pageIndex - 1);
529 workspace.snapToPage(pageIndex - 1);
535 int pageIndex, boolean isRtl) {
536 if (pageIndex + 1 >= workspace.getPageCount()) {
539 CellLayout workspaceLayout = (CellLayout) workspace.getChildAt(pageIndex + 1);
544 workspace.snapToPage(pageIndex + 1);