Searched refs:NUM_ITEMS_IN_PREVIEW (Results 1 - 6 of 6) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
H A DFolderIcon.java60 private static final int NUM_ITEMS_IN_PREVIEW = 3; field in class:FolderIcon
396 float finalAlpha = index < NUM_ITEMS_IN_PREVIEW ? 0.5f : 0f;
476 mParams = computePreviewItemDrawingParams(Math.min(NUM_ITEMS_IN_PREVIEW, index), mParams);
490 index = NUM_ITEMS_IN_PREVIEW - index - 1;
491 float r = (index * 1.0f) / (NUM_ITEMS_IN_PREVIEW - 1);
553 int nItemsInPreview = Math.min(items.size(), NUM_ITEMS_IN_PREVIEW);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DFolderIcon.java63 public static final int NUM_ITEMS_IN_PREVIEW = 3; field in class:FolderIcon
458 float finalAlpha = index < NUM_ITEMS_IN_PREVIEW ? 0.5f : 0f;
537 mParams = computePreviewItemDrawingParams(Math.min(NUM_ITEMS_IN_PREVIEW, index), mParams);
551 index = NUM_ITEMS_IN_PREVIEW - index - 1;
552 float r = (index * 1.0f) / (NUM_ITEMS_IN_PREVIEW - 1);
623 int nItemsInPreview = Math.min(items.size(), NUM_ITEMS_IN_PREVIEW);
H A DShortcutInfo.java283 return usingLowResIcon && container >= 0 && rank >= FolderIcon.NUM_ITEMS_IN_PREVIEW;
H A DBubbleTextView.java543 if ((info.rank < FolderIcon.NUM_ITEMS_IN_PREVIEW) && (info.container >= 0)) {
H A DFolderPagedView.java333 if (rank < FolderIcon.NUM_ITEMS_IN_PREVIEW && v instanceof BubbleTextView) {
H A DLauncherModel.java1981 c.getInt(rankIndex) >= FolderIcon.NUM_ITEMS_IN_PREVIEW;
2293 if (pos >= FolderIcon.NUM_ITEMS_IN_PREVIEW) {

Completed in 434 milliseconds