Home
last modified time | relevance | path

Searched refs:MAX_NUM_ITEMS_IN_PREVIEW (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderIconPreviewVerifier.java24 import static com.android.launcher3.folder.ClippedFolderIconLayoutRule.MAX_NUM_ITEMS_IN_PREVIEW;
58 mDisplayingUpperLeftQuadrant = numItemsInFolder > MAX_NUM_ITEMS_IN_PREVIEW; in setFolderInfo()
87 return rank < MAX_NUM_ITEMS_IN_PREVIEW; in isItemInPreview()
DClippedFolderIconLayoutRule.java5 public static final int MAX_NUM_ITEMS_IN_PREVIEW = 4; field in ClippedFolderIconLayoutRule
47 } else if (index >= MAX_NUM_ITEMS_IN_PREVIEW) { in computePreviewItemDrawingParams()
117 MIN_NUM_ITEMS_IN_PREVIEW) / (MAX_NUM_ITEMS_IN_PREVIEW - MIN_NUM_ITEMS_IN_PREVIEW)); in getPosition()
DFolderIcon.java19 import static com.android.launcher3.folder.ClippedFolderIconLayoutRule.MAX_NUM_ITEMS_IN_PREVIEW;
326 int numItemsInPreview = Math.min(MAX_NUM_ITEMS_IN_PREVIEW, index + 1); in onDrop()
328 if (itemReturnedOnFailedDrop || index >= MAX_NUM_ITEMS_IN_PREVIEW) { in onDrop()
363 float finalAlpha = index < MAX_NUM_ITEMS_IN_PREVIEW ? 0.5f : 0f; in onDrop()
452 Math.min(MAX_NUM_ITEMS_IN_PREVIEW, index), curNumItems, mTmpParams);
559 if (itemsToDisplay.size() == MAX_NUM_ITEMS_IN_PREVIEW) {
DFolderAnimationManager.java21 import static com.android.launcher3.folder.ClippedFolderIconLayoutRule.MAX_NUM_ITEMS_IN_PREVIEW;
240 ? numItemsInPreview : MAX_NUM_ITEMS_IN_PREVIEW; in addPreviewItemAnimators()
289 if (mFolder.getItemCount() > MAX_NUM_ITEMS_IN_PREVIEW) { in addPreviewItemAnimators()
339 if (mFolder.getItemCount() > MAX_NUM_ITEMS_IN_PREVIEW) { in getPreviewItemInterpolator()
DPreviewItemManager.java21 import static com.android.launcher3.folder.ClippedFolderIconLayoutRule.MAX_NUM_ITEMS_IN_PREVIEW;
193 index = index + Math.max(mFirstPageParams.size() - MAX_NUM_ITEMS_IN_PREVIEW, 0); in hidePreviewItem()
214 int numItemsInFirstPagePreview = page == 0 ? items.size() : MAX_NUM_ITEMS_IN_PREVIEW;