Home
last modified time | relevance | path

Searched refs:getPageAt (Results 1 – 12 of 12) 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/
DFolderPagedView.java148 getPageAt(i).setGridSize(mGridCountX, mGridCountY); in setupContentDimensions()
205 getPageAt(pageNo).addViewToCellLayout( in addViewForRank()
225 public CellLayout getPageAt(int index) { in getPageAt() method in FolderPagedView
231 getPageAt(i).removeView(view); in removeCellLayoutView()
236 return getPageAt(getNextPage()); in getCurrentCellLayout()
267 getPageAt(i).removeView(v); in removeItem()
363 (getPageAt(0).getDesiredWidth() + getPaddingLeft() + getPaddingRight()) : 0; in getDesiredWidth()
368 (getPageAt(0).getDesiredHeight() + getPaddingTop() + getPaddingBottom()) : 0; in getDesiredHeight()
377 return getPageAt(lastPageIndex).getShortcutsAndWidgets().getChildCount() in getItemCount()
386 CellLayout page = getPageAt(pageIndex); in findNearestArea()
[all …]
DPagedView.java386 mPageSwitchListener.onPageSwitch(getPageAt(mCurrentPage), mCurrentPage); in setPageSwitchListener()
408 public View getPageAt(int index) { in getPageAt() method in PagedView
497 mPageSwitchListener.onPageSwitch(getPageAt(getNextPage()), getNextPage()); in notifyPageSwitchListener()
549 getPageAt(i).setOnLongClickListener(l); in setOnLongClickListener()
790 final View child = getPageAt(i); in onMeasure()
868 final View child = getPageAt(i); in onLayout()
894 nextLp = (LayoutParams) getPageAt(next).getLayoutParams(); in onLayout()
1047 int offset = getPageAt(index).getLeft() - getViewportOffsetX(); in getChildOffset()
1069 View currPage = getPageAt(i); in getVisiblePages()
1135 final View v = getPageAt(i); in dispatchDraw()
[all …]
DFocusHelper.java299 CellLayout prevPage = (CellLayout) workspace.getPageAt(pageIndex - 1); in handleHotseatButtonKeyEvent()
303 workspace.getPageAt(pageIndex - 1).requestFocus(); in handleHotseatButtonKeyEvent()
311 CellLayout nextPage = (CellLayout) workspace.getPageAt(pageIndex + 1); in handleHotseatButtonKeyEvent()
315 workspace.getPageAt(pageIndex + 1).requestFocus(); in handleHotseatButtonKeyEvent()
DFolder.java289 … mContent.getPageAt(i).enableAccessibleDrag(enable, CellLayout.FOLDER_ACCESSIBILITY_DRAG); in enableAccessibleDrag()
1081 int cellIconGap = (mContent.getPageAt(0).getCellWidth() in onMeasure()
DWorkspace.java1942 final CellLayout layout = (CellLayout) getPageAt(i); in enableHwLayersOnVisiblePages()
2132 updateAccessibilityFlags((CellLayout) getPageAt(i), i); in updateAccessibilityFlags()
3014 mDropToLayout = (CellLayout) getPageAt(getNextPage());
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java408 CellLayout layout = (CellLayout) workspace.getPageAt(screenIndex); in findSpaceOnWorkspace()
414 layout = (CellLayout) workspace.getPageAt(screenIndex); in findSpaceOnWorkspace()