Searched refs:MAX_NUM_ITEMS_IN_PREVIEW (Results 1 – 5 of 5) sorted by relevance
19 import static com.android.launcher3.folder.ClippedFolderIconLayoutRule.MAX_NUM_ITEMS_IN_PREVIEW;70 mDisplayingUpperLeftQuadrant = contentSize > MAX_NUM_ITEMS_IN_PREVIEW; in setContentSize()170 if (result.size() == MAX_NUM_ITEMS_IN_PREVIEW) { in previewItemsForPage()197 return rank < MAX_NUM_ITEMS_IN_PREVIEW; in isItemInPreview()
5 public static final int MAX_NUM_ITEMS_IN_PREVIEW = 4; field in ClippedFolderIconLayoutRule48 } 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()
21 import static com.android.launcher3.folder.ClippedFolderIconLayoutRule.MAX_NUM_ITEMS_IN_PREVIEW;360 int numItemsInPreview = Math.min(MAX_NUM_ITEMS_IN_PREVIEW, index + 1); in onDrop()362 if (itemReturnedOnFailedDrop || index >= MAX_NUM_ITEMS_IN_PREVIEW) { in onDrop()396 float finalAlpha = index < MAX_NUM_ITEMS_IN_PREVIEW ? 1f : 0f; in onDrop()563 Math.min(MAX_NUM_ITEMS_IN_PREVIEW, index), curNumItems, mTmpParams); in getLocalCenterForIndex()819 if (size < MAX_NUM_ITEMS_IN_PREVIEW) { in getAccessiblityTitle()823 MAX_NUM_ITEMS_IN_PREVIEW); in getAccessiblityTitle()
23 import static com.android.launcher3.folder.ClippedFolderIconLayoutRule.MAX_NUM_ITEMS_IN_PREVIEW;376 ? numItemsInPreview : MAX_NUM_ITEMS_IN_PREVIEW; in addPreviewItemAnimators()428 if (mFolder.getItemCount() > MAX_NUM_ITEMS_IN_PREVIEW) { in addPreviewItemAnimators()478 return mFolder.getItemCount() > MAX_NUM_ITEMS_IN_PREVIEW; in isLargeFolder()
22 import static com.android.launcher3.folder.ClippedFolderIconLayoutRule.MAX_NUM_ITEMS_IN_PREVIEW;259 index = index + Math.max(mFirstPageParams.size() - MAX_NUM_ITEMS_IN_PREVIEW, 0);279 int numItemsInFirstPagePreview = page == 0 ? items.size() : MAX_NUM_ITEMS_IN_PREVIEW;