Lines Matching refs:pageIndex
142 final int pageIndex = ((PagedView) container).indexToPage(container.indexOfChild(parent)); in handlePagedViewGridLayoutWidgetKeyEvent() local
163 if (pageIndex > 0) { in handlePagedViewGridLayoutWidgetKeyEvent()
164 newParent = getAppsCustomizePage(container, pageIndex - 1); in handlePagedViewGridLayoutWidgetKeyEvent()
180 if (pageIndex < (pageCount - 1)) { in handlePagedViewGridLayoutWidgetKeyEvent()
181 newParent = getAppsCustomizePage(container, pageIndex + 1); in handlePagedViewGridLayoutWidgetKeyEvent()
228 if (pageIndex > 0) { in handlePagedViewGridLayoutWidgetKeyEvent()
229 newParent = getAppsCustomizePage(container, pageIndex - 1); in handlePagedViewGridLayoutWidgetKeyEvent()
244 if (pageIndex < (pageCount - 1)) { in handlePagedViewGridLayoutWidgetKeyEvent()
245 newParent = getAppsCustomizePage(container, pageIndex + 1); in handlePagedViewGridLayoutWidgetKeyEvent()
302 … final int pageIndex = ((PagedView) container).indexToPage(container.indexOfChild(parentLayout)); in handleAppsCustomizeKeyEvent() local
322 if (pageIndex > 0) { in handleAppsCustomizeKeyEvent()
323 newParent = getAppsCustomizePage(container, pageIndex - 1); in handleAppsCustomizeKeyEvent()
325 container.snapToPage(pageIndex - 1); in handleAppsCustomizeKeyEvent()
340 if (pageIndex < (pageCount - 1)) { in handleAppsCustomizeKeyEvent()
341 newParent = getAppsCustomizePage(container, pageIndex + 1); in handleAppsCustomizeKeyEvent()
343 container.snapToPage(pageIndex + 1); in handleAppsCustomizeKeyEvent()
387 if (pageIndex > 0) { in handleAppsCustomizeKeyEvent()
388 newParent = getAppsCustomizePage(container, pageIndex - 1); in handleAppsCustomizeKeyEvent()
390 container.snapToPage(pageIndex - 1); in handleAppsCustomizeKeyEvent()
404 if (pageIndex < (pageCount - 1)) { in handleAppsCustomizeKeyEvent()
405 newParent = getAppsCustomizePage(container, pageIndex + 1); in handleAppsCustomizeKeyEvent()
407 container.snapToPage(pageIndex + 1); in handleAppsCustomizeKeyEvent()
499 final int pageIndex = workspace.getCurrentPage(); in handleHotseatButtonKeyEvent() local
515 workspace.snapToPage(pageIndex - 1); in handleHotseatButtonKeyEvent()
526 workspace.snapToPage(pageIndex + 1); in handleHotseatButtonKeyEvent()
534 final CellLayout layout = (CellLayout) workspace.getChildAt(pageIndex); in handleHotseatButtonKeyEvent()
671 int pageIndex = workspace.indexOfChild(layout); in handleIconKeyEvent() local
685 if (pageIndex > 0) { in handleIconKeyEvent()
686 parent = getCellLayoutChildrenForIndex(workspace, pageIndex - 1); in handleIconKeyEvent()
693 workspace.snapToPage(pageIndex - 1); in handleIconKeyEvent()
707 if (pageIndex < (pageCount - 1)) { in handleIconKeyEvent()
708 parent = getCellLayoutChildrenForIndex(workspace, pageIndex + 1); in handleIconKeyEvent()
714 workspace.snapToPage(pageIndex + 1); in handleIconKeyEvent()
749 if (pageIndex > 0) { in handleIconKeyEvent()
750 parent = getCellLayoutChildrenForIndex(workspace, pageIndex - 1); in handleIconKeyEvent()
756 workspace.snapToPage(pageIndex - 1); in handleIconKeyEvent()
771 if (pageIndex < (pageCount - 1)) { in handleIconKeyEvent()
772 parent = getCellLayoutChildrenForIndex(workspace, pageIndex + 1); in handleIconKeyEvent()
778 workspace.snapToPage(pageIndex + 1); in handleIconKeyEvent()