Searched refs:currentPage (Results 1 – 10 of 10) sorted by relevance
340 void setCurrentPage(int currentPage) { in setCurrentPage() argument351 mCurrentPage = Math.max(0, Math.min(currentPage, getPageCount() - 1)); in setCurrentPage()955 final View currentPage = getPageAt(mCurrentPage); in requestDisallowInterceptTouchEvent() local956 currentPage.cancelLongPress(); in requestDisallowInterceptTouchEvent()1134 final View currentPage = getPageAt(mCurrentPage); in cancelCurrentPageLongPress() local1135 if (currentPage != null) { in cancelCurrentPageLongPress()1136 currentPage.cancelLongPress(); in cancelCurrentPageLongPress()1646 int currentPage = -1; field in PagedView.SavedState1654 currentPage = in.readInt(); in SavedState()1660 out.writeInt(currentPage); in writeToParcel()[all …]
299 int currentPage = getCurrentPage(); in getMiddleComponentIndexOnCurrentPage() local300 if (currentPage < mNumAppsPages) { in getMiddleComponentIndexOnCurrentPage()301 PagedViewCellLayout layout = (PagedViewCellLayout) getPageAt(currentPage); in getMiddleComponentIndexOnCurrentPage()306 i = (currentPage * numItemsPerPage) + (childCount / 2); in getMiddleComponentIndexOnCurrentPage()310 PagedViewGridLayout layout = (PagedViewGridLayout) getPageAt(currentPage); in getMiddleComponentIndexOnCurrentPage()315 ((currentPage - mNumAppsPages) * numItemsPerPage) + (childCount / 2); in getMiddleComponentIndexOnCurrentPage()974 private void updateCurrentTab(int currentPage) { in updateCurrentTab() argument979 if (currentPage >= mNumAppsPages && in updateCurrentTab()982 } else if (currentPage < mNumAppsPages && in updateCurrentTab()
153 final View currentPage = getPageAt(mCurrentPage); in determineDraggingStart() local154 if (currentPage != null) { in determineDraggingStart()155 currentPage.cancelLongPress(); in determineDraggingStart()
809 int currentPage = mLauncher.getWorkspace().getCurrentPage(); in centerAboutIcon() local812 mLauncher.getWorkspace().setFinalScrollForPageChange(currentPage); in centerAboutIcon()814 CellLayout currentLayout = (CellLayout) mLauncher.getWorkspace().getChildAt(currentPage); in centerAboutIcon()819 mLauncher.getWorkspace().resetFinalScrollForPageChange(currentPage); in centerAboutIcon()
661 final CellLayout currentPage = (CellLayout) getChildAt(mCurrentPage); in onInterceptTouchEvent() local662 if (!currentPage.lastDownOnOccupiedCell()) { in onInterceptTouchEvent()
558 void setCurrentPage(int currentPage) { in setCurrentPage() argument568 mCurrentPage = validateNewPage(currentPage); in setCurrentPage()1339 final View currentPage = getPageAt(mCurrentPage); in requestDisallowInterceptTouchEvent() local1340 currentPage.cancelLongPress(); in requestDisallowInterceptTouchEvent()1541 final View currentPage = getPageAt(mCurrentPage); in cancelCurrentPageLongPress() local1542 if (currentPage != null) { in cancelCurrentPageLongPress()1543 currentPage.cancelLongPress(); in cancelCurrentPageLongPress()2353 int currentPage = -1; field in PagedView.SavedState2361 currentPage = in.readInt(); in SavedState()2367 out.writeInt(currentPage); in writeToParcel()[all …]
157 final View currentPage = getPageAt(mCurrentPage); in determineDraggingStart() local158 if (currentPage != null) { in determineDraggingStart()159 currentPage.cancelLongPress(); in determineDraggingStart()
280 int currentPage = getCurrentPage(); in getMiddleComponentIndexOnCurrentPage() local282 AppsCustomizeCellLayout layout = (AppsCustomizeCellLayout) getPageAt(currentPage); in getMiddleComponentIndexOnCurrentPage()287 i = (currentPage * numItemsPerPage) + (childCount / 2); in getMiddleComponentIndexOnCurrentPage()291 PagedViewGridLayout layout = (PagedViewGridLayout) getPageAt(currentPage); in getMiddleComponentIndexOnCurrentPage()296 (currentPage * numItemsPerPage) + (childCount / 2); in getMiddleComponentIndexOnCurrentPage()
1008 int currentPage = mLauncher.getWorkspace().getNextPage(); in centerAboutIcon() local1011 mLauncher.getWorkspace().setFinalScrollForPageChange(currentPage); in centerAboutIcon()1013 CellLayout currentLayout = (CellLayout) mLauncher.getWorkspace().getChildAt(currentPage); in centerAboutIcon()1018 mLauncher.getWorkspace().resetFinalScrollForPageChange(currentPage); in centerAboutIcon()
919 int currentPage = getNextPage(); in stripEmptyScreens() local940 if (indexOfChild(cl) < currentPage) { in stripEmptyScreens()958 setCurrentPage(currentPage - pageShift); in stripEmptyScreens()1118 final CellLayout currentPage = (CellLayout) getChildAt(mCurrentPage); in onInterceptTouchEvent() local1119 if (currentPage != null && !currentPage.lastDownOnOccupiedCell()) { in onInterceptTouchEvent()