Home
last modified time | relevance | path

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

/packages/apps/Launcher2/src/com/android/launcher2/
DPagedView.java255 mPageSwitchListener.onPageSwitch(getPageAt(mCurrentPage), mCurrentPage); in setPageSwitchListener()
293 View getPageAt(int index) { in getPageAt() method in PagedView
360 mPageSwitchListener.onPageSwitch(getPageAt(mCurrentPage), mCurrentPage); in notifyPageSwitchListener()
400 getPageAt(i).setOnLongClickListener(l); in setOnLongClickListener()
528 final View child = getPageAt(i); in onMeasure()
600 View page = (View) getPageAt(i); in scrollToNewPageWithoutMovingPages()
618 final View child = getPageAt(i); in setLayoutScale()
629 final View child = getPageAt(i); in setLayoutScale()
660 final View child = getPageAt(i); in onLayout()
751 offset += getScaledMeasuredWidth(getPageAt(i)) + mPageSpacing; in getChildOffset()
[all …]
DAppsCustomizePagedView.java301 PagedViewCellLayout layout = (PagedViewCellLayout) getPageAt(currentPage); in getMiddleComponentIndexOnCurrentPage()
310 PagedViewGridLayout layout = (PagedViewGridLayout) getPageAt(currentPage); in getMiddleComponentIndexOnCurrentPage()
921 View v = getPageAt(i); in clearAllWidgetPages()
939 View v = getPageAt(task.page); in cancelAllTasks()
1023 PagedViewCellLayout layout = (PagedViewCellLayout) getPageAt(page); in syncAppsPageItems()
1185 final PagedViewGridLayout layout = (PagedViewGridLayout) getPageAt(page); in syncWidgetPageItems()
1304 PagedViewGridLayout layout = (PagedViewGridLayout) getPageAt(page); in onSyncWidgetPageItems()
1362 View getPageAt(int index) { in getPageAt() method in AppsCustomizePagedView
1378 View v = getPageAt(i); in screenScrolled()
1478 final View layout = (View) getPageAt(i);
[all …]
DPagedViewWithDraggableItems.java153 final View currentPage = getPageAt(mCurrentPage); in determineDraggingStart()
DAppsCustomizeTabHost.java231 visiblePages.add(mAppsCustomizePane.getPageAt(i)); in onTabChanged()
DWorkspace.java754 ((CellLayout) getPageAt(i)).setShortcutAndWidgetAlpha(1f); in onPageBeginMoving()
1415 final CellLayout layout = (CellLayout) getPageAt(i);
1421 final CellLayout layout = (CellLayout) getPageAt(i);
2452 mDropToLayout = (CellLayout) getPageAt(getNextPage());
DFocusHelper.java122 ViewGroup page = (ViewGroup) ((PagedView) container).getPageAt(index); in getAppsCustomizePage()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java174 getPageAt(i).setGridSize(mGridCountX, mGridCountY); in setupContentDimensions()
242 getPageAt(pageNo).addViewToCellLayout( in addViewForRank()
263 public CellLayout getPageAt(int index) { in getPageAt() method in FolderPagedView
268 return getPageAt(getNextPage()); in getCurrentCellLayout()
298 getPageAt(i).removeView(v); in removeItem()
402 (getPageAt(0).getDesiredWidth() + getPaddingLeft() + getPaddingRight()) : 0; in getDesiredWidth()
407 (getPageAt(0).getDesiredHeight() + getPaddingTop() + getPaddingBottom()) : 0; in getDesiredHeight()
416 return getPageAt(lastPageIndex).getShortcutsAndWidgets().getChildCount() in getItemCount()
425 CellLayout page = getPageAt(pageIndex); in findNearestArea()
469 CellLayout page = getPageAt(k); in iterateOverItems()
[all …]
DFolderAnimationManager.java257 ShortcutAndWidgetContainer cwc = mContent.getPageAt(0).getShortcutsAndWidgets(); in addPreviewItemAnimators()
DFolder.java1210 int cellIconGap = (mContent.getPageAt(0).getCellWidth() in onMeasure()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java340 public View getPageAt(int index) { in getPageAt() method in PagedView
474 getPageAt(i).setOnLongClickListener(l); in setOnLongClickListener()
726 final View child = getPageAt(i); in onMeasure()
805 final View child = getPageAt(i); in onLayout()
829 nextLp = (LayoutParams) getPageAt(next).getLayoutParams(); in onLayout()
972 int offset = getPageAt(index).getLeft() - getViewportOffsetX(); in getChildOffset()
1000 View v = getPageAt(focusablePage); in onRequestFocusInDescendants()
1042 getPageAt(mCurrentPage).addFocusables(views, direction, focusableMode); in addFocusables()
1046 getPageAt(mCurrentPage - 1).addFocusables(views, direction, focusableMode); in addFocusables()
1050 getPageAt(mCurrentPage + 1).addFocusables(views, direction, focusableMode); in addFocusables()
[all …]
DFocusHelper.java292 CellLayout prevPage = (CellLayout) workspace.getPageAt(pageIndex - 1); in handleHotseatButtonKeyEvent()
296 workspace.getPageAt(pageIndex - 1).requestFocus(); in handleHotseatButtonKeyEvent()
304 CellLayout nextPage = (CellLayout) workspace.getPageAt(pageIndex + 1); in handleHotseatButtonKeyEvent()
308 workspace.getPageAt(pageIndex + 1).requestFocus(); in handleHotseatButtonKeyEvent()
DWorkspace.java462 CellLayout page = (CellLayout) getPageAt(pageIndex); in onDragStart()
1804 final View child = getPageAt(i); in enableHwLayersOnVisiblePages()
1832 final CellLayout layout = (CellLayout) getPageAt(i); in enableHwLayersOnVisiblePages()
2022 updateAccessibilityFlags((CellLayout) getPageAt(i), i); in updateAccessibilityFlags()
DLauncher.java3918 ViewGroup layout = ((CellLayout) mWorkspace.getPageAt(i)).getShortcutsAndWidgets();
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java411 CellLayout layout = (CellLayout) workspace.getPageAt(screenIndex); in findSpaceOnWorkspace()
417 layout = (CellLayout) workspace.getPageAt(screenIndex); in findSpaceOnWorkspace()