Home
last modified time | relevance | path

Searched refs:panelCount (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java314 int panelCount = getPanelCount(); in getLeftmostVisiblePageForIndex() local
315 return pageIndex - pageIndex % panelCount; in getLeftmostVisiblePageForIndex()
342 int panelCount = getPanelCount(); in getPageIndices() local
344 for (int page = pageIndex; page < pageIndex + panelCount && page < pageCount; page++) { in getPageIndices()
354 int panelCount = getPanelCount(); in getNeighbourPageIndices() local
360 nextPage = currentPage - panelCount; in getNeighbourPageIndices()
362 nextPage = currentPage + panelCount; in getNeighbourPageIndices()
818 int panelCount = getPanelCount(); in getPageScrolls() local
834 && (panelCount <= 1 || i == getLeftmostVisiblePageForIndex(i))) { in getPageScrolls()
841 int lastPanel = mIsRtl ? 0 : panelCount - 1; in getPageScrolls()
[all …]
DWorkspace.java785 int panelCount = getPanelCount(); in convertFinalScreenToEmptyScreenIfNecessary() local
786 if (hasExtraEmptyScreens() || mScreenOrder.size() < panelCount) { in convertFinalScreenToEmptyScreenIfNecessary()
795 for (int pageIndex = pageCount - panelCount; pageIndex < pageCount; pageIndex++) { in convertFinalScreenToEmptyScreenIfNecessary()
2256 int panelCount = getPanelCount();
2257 for (int page = nextPage; page < nextPage + panelCount; page++) {
3529 int panelCount = getPanelCount();
3530 int currentPage = (page / panelCount) + 1;
3531 int totalPages = nScreens / panelCount + nScreens % panelCount;
DCellLayout.java1187 int panelCount = mCellLayoutContainer.getPanelCount(); in getItemMoveDescription() local
1189 if (panelCount > 1) { in getItemMoveDescription()
1191 col += (pageIndex % panelCount) * mCountX; in getItemMoveDescription()