Home
last modified time | relevance | path

Searched refs:FolderIcon (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspaceLayoutManager.java23 import com.android.launcher3.folder.FolderIcon;
93 if (child instanceof FolderIcon) { in addInScreen()
94 ((FolderIcon) child).setTextVisible(false); in addInScreen()
98 if (child instanceof FolderIcon) { in addInScreen()
99 ((FolderIcon) child).setTextVisible(true); in addInScreen()
DWorkspace.java80 import com.android.launcher3.folder.FolderIcon;
206 private FolderIcon mDragOverFolderIcon = null;
1641 if (dropOverView instanceof FolderIcon) { in willAddToExistingUserFolder()
1642 FolderIcon fi = (FolderIcon) dropOverView; in willAddToExistingUserFolder()
1682 FolderIcon fi = mLauncher.addFolder(target, container, screenId, targetCell[0], in createUserFolderIfNecessary()
1716 if (dropOverView instanceof FolderIcon) { in addToExistingFolderIfNecessary()
1717 FolderIcon fi = (FolderIcon) dropOverView; in addToExistingFolderIfNecessary()
2308 mDragOverFolderIcon = ((FolderIcon) dragOverView);
2503 … view = FolderIcon.inflateFolderAndIcon(R.layout.folder_icon, mLauncher, cellLayout,
2790 if (view instanceof FolderIcon) { in removeFolderListeners()
[all …]
DLauncher.java113 import com.android.launcher3.folder.FolderIcon;
624 if (folderIcon instanceof FolderIcon && folderIcon.getTag() instanceof FolderInfo) { in invalidateParent()
1254 FolderIcon folderIcon = findFolderIcon(container); in completeAddShortcut()
1264 public FolderIcon findFolderIcon(final int folderIconId) { in findFolderIcon()
1265 return (FolderIcon) mWorkspace.getHomescreenIconByItemId(folderIconId); in findFolderIcon()
1713 public FolderIcon addFolder(CellLayout layout, int container, final int screenId, int cellX, in addFolder()
1721 FolderIcon newFolder = FolderIcon.inflateFolderAndIcon(R.layout.folder_icon, this, layout, in addFolder()
1751 if (folderIcon instanceof FolderIcon) { in removeItem()
1761 if (v instanceof FolderIcon) { in removeItem()
1762 ((FolderIcon) v).removeListeners(); in removeItem()
[all …]
DBubbleTextView.java50 import com.android.launcher3.folder.FolderIcon;
475 Object tag = getParent() instanceof FolderIcon ? ((View) getParent()).getTag() : getTag(); in shouldTextBeVisible()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderIcon.java91 public class FolderIcon extends FrameLayout implements FolderListener, IconLabelDotView, class
136 private static final Property<FolderIcon, Float> DOT_SCALE_PROPERTY
137 = new Property<FolderIcon, Float>(Float.TYPE, "dotScale") {
139 public Float get(FolderIcon folderIcon) {
144 public void set(FolderIcon folderIcon, Float value) {
150 public FolderIcon(Context context, AttributeSet attrs) { in FolderIcon() method in FolderIcon
155 public FolderIcon(Context context) { in FolderIcon() method in FolderIcon
167 public static FolderIcon inflateFolderAndIcon(int resId, Launcher launcher, ViewGroup group, in inflateFolderAndIcon()
172 FolderIcon icon = inflateIcon(resId, launcher, group, folderInfo); in inflateFolderAndIcon()
181 public static FolderIcon inflateIcon(int resId, ActivityContext activity, ViewGroup group, in inflateIcon()
[all …]
DPreviewItemManager.java23 import static com.android.launcher3.folder.FolderIcon.DROP_IN_ANIMATION_DURATION;
69 private final FolderIcon mIcon;
94 public PreviewItemManager(FolderIcon icon) { in PreviewItemManager()
DFolder.java167 @Thunk FolderIcon mFolderIcon;
376 public FolderIcon getFolderIcon() { in getFolderIcon()
384 public void setFolderIcon(FolderIcon icon) { in setFolderIcon()
526 if (child instanceof FolderIcon) ++folderCount; in shouldUseHardwareLayerForAnimation()
DFolderAnimationManager.java68 private FolderIcon mFolderIcon;
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DFolderAdaptiveIcon.java36 import com.android.launcher3.folder.FolderIcon;
80 FolderIcon icon = launcher.findFolderIcon(folderId); in createFolderAdaptiveIcon()
90 private static FolderAdaptiveIcon createDrawableOnUiThread(FolderIcon icon, in createDrawableOnUiThread()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemClickHandler.java48 import com.android.launcher3.folder.FolderIcon;
93 if (v instanceof FolderIcon) { in onClick()
112 Folder folder = ((FolderIcon) v).getFolder(); in onClickFolderIcon()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java57 import com.android.launcher3.folder.FolderIcon;
245 } else if (v instanceof FolderIcon) { in getLocationBoundsForView()
246 ((FolderIcon) v).getPreviewBounds(iconBounds); in getLocationBoundsForView()
638 } else if (!(originalView instanceof FolderIcon)) { in createFadeAnimation()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/
DStatsLogCompatManager.java36 import com.android.launcher3.logger.LauncherAtom.FolderIcon;
285 FolderIcon.Builder folderIconBuilder = (FolderIcon.Builder) itemInfoBuilder in applyOverwrites()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/ui/
DLauncherUIScrollTest.java37 import com.android.launcher3.folder.FolderIcon;
150 launcher.getWorkspace().getFirstMatch((i, v) -> v instanceof FolderIcon).performClick(); in testFolderPageScroll()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java66 import com.android.launcher3.folder.FolderIcon;
337 FolderIcon folderIcon = FolderIcon.inflateIcon(R.layout.folder_icon, this, mWorkspace, in inflateAndAddFolder()
/packages/apps/Launcher3/protos/
Dlauncher_atom.proto29 FolderIcon folder_icon = 9;
153 message FolderIcon { message
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DFolderInfo.java213 .setFolderIcon(LauncherAtom.FolderIcon.newBuilder().setCardinality(contents.size())) in buildProto()