Lines Matching defs:pageIndex
96 final int pageIndex = ((PagedView) container).indexToPage(container.indexOfChild(parentLayout));
117 if (pageIndex > 0) {
118 newParent = getAppsCustomizePage(container, pageIndex - 1);
120 container.snapToPage(pageIndex - 1);
139 if (pageIndex < (pageCount - 1)) {
140 newParent = getAppsCustomizePage(container, pageIndex + 1);
142 container.snapToPage(pageIndex + 1);
183 if (pageIndex > 0) {
184 newParent = getAppsCustomizePage(container, pageIndex - 1);
186 container.snapToPage(pageIndex - 1);
204 if (pageIndex < (pageCount - 1)) {
205 newParent = getAppsCustomizePage(container, pageIndex + 1);
207 container.snapToPage(pageIndex + 1);
285 int pageIndex = workspace.getCurrentPage();
286 CellLayout topLayout = (CellLayout) workspace.getChildAt(pageIndex);
426 int pageIndex = workspace.indexOfChild(layout);
441 if (pageIndex > 0) {
442 parent = getCellLayoutChildrenForIndex(workspace, pageIndex - 1);
449 workspace.snapToPage(pageIndex - 1);
465 if (pageIndex < (pageCount - 1)) {
466 parent = getCellLayoutChildrenForIndex(workspace, pageIndex + 1);
472 workspace.snapToPage(pageIndex + 1);
511 if (pageIndex > 0) {
512 parent = getCellLayoutChildrenForIndex(workspace, pageIndex - 1);
518 workspace.snapToPage(pageIndex - 1);
535 if (pageIndex < (pageCount - 1)) {
536 parent = getCellLayoutChildrenForIndex(workspace, pageIndex + 1);
542 workspace.snapToPage(pageIndex + 1);