Searched refs:numItemsPerPage (Results 1 – 1 of 1) sorted by relevance
303 int numItemsPerPage = mCellCountX * mCellCountY; in getMiddleComponentIndexOnCurrentPage() local306 i = (currentPage * numItemsPerPage) + (childCount / 2); in getMiddleComponentIndexOnCurrentPage()311 int numItemsPerPage = mWidgetCountX * mWidgetCountY; in getMiddleComponentIndexOnCurrentPage() local315 ((currentPage - mNumAppsPages) * numItemsPerPage) + (childCount / 2); in getMiddleComponentIndexOnCurrentPage()336 int numItemsPerPage = mCellCountX * mCellCountY; in getPageForComponent() local337 return (index / numItemsPerPage); in getPageForComponent()339 int numItemsPerPage = mWidgetCountX * mWidgetCountY; in getPageForComponent() local340 return mNumAppsPages + ((index - mApps.size()) / numItemsPerPage); in getPageForComponent()1167 int numItemsPerPage = mWidgetCountX * mWidgetCountY; in syncWidgetPageItems() local1179 int offset = (page - mNumAppsPages) * numItemsPerPage; in syncWidgetPageItems()[all …]