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;68 mDisplayingUpperLeftQuadrant = contentSize > MAX_NUM_ITEMS_IN_PREVIEW; in setContentSize()167 if (result.size() == MAX_NUM_ITEMS_IN_PREVIEW) { in previewItemsForPage()194 return rank < MAX_NUM_ITEMS_IN_PREVIEW; in isItemInPreview()
5 public static final int MAX_NUM_ITEMS_IN_PREVIEW = 4; field in ClippedFolderIconLayoutRule47 } 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()
19 import static com.android.launcher3.folder.ClippedFolderIconLayoutRule.MAX_NUM_ITEMS_IN_PREVIEW;325 int numItemsInPreview = Math.min(MAX_NUM_ITEMS_IN_PREVIEW, index + 1); in onDrop()327 if (itemReturnedOnFailedDrop || index >= MAX_NUM_ITEMS_IN_PREVIEW) { in onDrop()361 float finalAlpha = index < MAX_NUM_ITEMS_IN_PREVIEW ? 0.5f : 0f; in onDrop()470 Math.min(MAX_NUM_ITEMS_IN_PREVIEW, index), curNumItems, mTmpParams); in getLocalCenterForIndex()
21 import static com.android.launcher3.folder.ClippedFolderIconLayoutRule.MAX_NUM_ITEMS_IN_PREVIEW;297 ? numItemsInPreview : MAX_NUM_ITEMS_IN_PREVIEW; in addPreviewItemAnimators()346 if (mFolder.getItemCount() > MAX_NUM_ITEMS_IN_PREVIEW) { in addPreviewItemAnimators()396 if (mFolder.getItemCount() > MAX_NUM_ITEMS_IN_PREVIEW) { in getPreviewItemInterpolator()
21 import static com.android.launcher3.folder.ClippedFolderIconLayoutRule.MAX_NUM_ITEMS_IN_PREVIEW;219 index = index + Math.max(mFirstPageParams.size() - MAX_NUM_ITEMS_IN_PREVIEW, 0); in hidePreviewItem()240 int numItemsInFirstPagePreview = page == 0 ? items.size() : MAX_NUM_ITEMS_IN_PREVIEW;