Home | History | Annotate | Download | only in launcher2

Lines Matching refs:pageIndex

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