Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/src/com/android/launcher3/util/
DLauncherBindableItemsContainer.java24 import com.android.launcher3.folder.FolderIcon;
61 } else if (info instanceof FolderInfo && v instanceof FolderIcon) { in updateWorkspaceItems()
62 ((FolderIcon) v).updatePreviewItems(updates::contains); in updateWorkspaceItems()
91 } else if (v instanceof FolderIcon && info instanceof FolderInfo) { in updateRestoreItems()
92 ((FolderIcon) v).updatePreviewItems(updates::contains); in updateRestoreItems()
DItemInflater.kt30 import com.android.launcher3.folder.FolderIcon
74 return FolderIcon.inflateFolderAndIcon( in inflateItem()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarHoverToolTipController.java44 import com.android.launcher3.folder.FolderIcon;
73 } else if (mHoverView instanceof FolderIcon in TaskbarHoverToolTipController()
74 && ((FolderIcon) mHoverView).mInfo.title != null) { in TaskbarHoverToolTipController()
75 mToolTipText = ((FolderIcon) mHoverView).mInfo.title.toString(); in TaskbarHoverToolTipController()
159 if (mHoverView instanceof FolderIcon && !((FolderIcon) mHoverView).getIconVisible()) { in revealHoverToolTip()
DTaskbarView.java56 import com.android.launcher3.folder.FolderIcon;
76 public class TaskbarView extends FrameLayout implements FolderIcon.FolderIconParent, Insettable,
96 private @Nullable FolderIcon mLeaveBehindFolderIcon;
367 hotseatView = FolderIcon.inflateFolderAndIcon( in updateHotseatItems()
370 ((FolderIcon) hotseatView).setTextVisible(false); in updateHotseatItems()
632 public void drawFolderLeaveBehindForIcon(FolderIcon child) { in drawFolderLeaveBehindForIcon()
638 public void clearFolderLeaveBehind(FolderIcon child) { in clearFolderLeaveBehind()
DTaskbarPopupController.java36 import com.android.launcher3.folder.FolderIcon;
117 } else if (info instanceof FolderInfo && v instanceof FolderIcon) { in updateNotificationDots()
124 ((FolderIcon) v).setDotInfo(folderDotInfo); in updateNotificationDots()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspaceLayoutManager.java26 import com.android.launcher3.folder.FolderIcon;
111 if (child instanceof FolderIcon) { in addInScreen()
112 ((FolderIcon) child).setTextVisible(false); in addInScreen()
116 if (child instanceof FolderIcon) { in addInScreen()
117 ((FolderIcon) child).setTextVisible(true); in addInScreen()
DShortcutAndWidgetContainer.java41 import com.android.launcher3.folder.FolderIcon;
47 public class ShortcutAndWidgetContainer extends ViewGroup implements FolderIcon.FolderIconParent {
308 public void drawFolderLeaveBehindForIcon(FolderIcon child) { in drawFolderLeaveBehindForIcon()
319 public void clearFolderLeaveBehind(FolderIcon child) { in clearFolderLeaveBehind()
DWorkspace.java91 import com.android.launcher3.folder.FolderIcon;
247 private FolderIcon mDragOverFolderIcon = null;
1900 if (dropOverView instanceof FolderIcon) { in willAddToExistingUserFolder()
1901 FolderIcon fi = (FolderIcon) dropOverView; in willAddToExistingUserFolder()
1941 FolderIcon fi = mLauncher.addFolder(target, container, screenId, targetCell[0], in createUserFolderIfNecessary()
1974 if (dropOverView instanceof FolderIcon) { in addToExistingFolderIfNecessary()
1975 FolderIcon fi = (FolderIcon) dropOverView; in addToExistingFolderIfNecessary()
2693 mDragOverFolderIcon = ((FolderIcon) mDragOverView);
3168 if (view instanceof FolderIcon) {
3169 ((FolderIcon) view).removeListeners();
[all …]
DLauncher.java191 import com.android.launcher3.folder.FolderIcon;
814 if (collectionIcon instanceof FolderIcon folderIcon
1471 FolderIcon folderIcon = findFolderIcon(container);
1482 public @Nullable FolderIcon findFolderIcon(final int folderIconId) {
1483 return (FolderIcon) mWorkspace.getHomescreenIconByItemId(folderIconId);
1975 public FolderIcon addFolder(CellLayout layout, int container, final int screenId, int cellX,
1983 FolderIcon newFolder = FolderIcon.inflateFolderAndIcon(R.layout.folder_icon, this, layout,
2050 if (collectionIcon instanceof FolderIcon) {
2063 if (v instanceof FolderIcon) {
2064 ((FolderIcon) v).removeListeners();
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DFolderIcon.java29 public class FolderIcon implements IconDragTarget { class
34 FolderIcon(LauncherInstrumentation launcher, UiObject2 icon) { in FolderIcon() method in FolderIcon
63 public FolderIcon getTargetIcon(Rect bounds) { in getTargetIcon()
DHomeAppIcon.java45 public FolderIcon dragToIcon(IconDragTarget target) { in dragToIcon()
55 FolderIcon result = target.getTargetIcon(dropBounds); in dragToIcon()
89 public FolderIcon getTargetIcon(Rect bounds) { in getTargetIcon()
90 for (FolderIcon folderIcon : mLauncher.getWorkspace().getFolderIcons()) { in getTargetIcon()
DIconDragTarget.java27 FolderIcon getTargetIcon(Rect bounds); in getTargetIcon()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderIcon.java95 public class FolderIcon extends FrameLayout implements FolderListener, IconLabelDotView, class
141 private static final Property<FolderIcon, Float> DOT_SCALE_PROPERTY
142 = new Property<FolderIcon, Float>(Float.TYPE, "dotScale") {
144 public Float get(FolderIcon folderIcon) {
149 public void set(FolderIcon folderIcon, Float value) {
155 public FolderIcon(Context context, AttributeSet attrs) { in FolderIcon() method in FolderIcon
160 public FolderIcon(Context context) { in FolderIcon() method in FolderIcon
172 public static <T extends Context & ActivityContext> FolderIcon inflateFolderAndIcon(int resId, in inflateFolderAndIcon()
176 FolderIcon icon = inflateIcon(resId, activityContext, group, folderInfo); in inflateFolderAndIcon()
186 public static FolderIcon inflateIcon(int resId, ActivityContext activity, in inflateIcon()
[all …]
DLauncherDelegate.java54 void init(Folder folder, FolderIcon icon) { in init()
165 void init(Folder folder, FolderIcon icon) { in init()
DPreviewItemManager.java23 import static com.android.launcher3.folder.FolderIcon.DROP_IN_ANIMATION_DURATION;
80 private final FolderIcon mIcon;
112 public PreviewItemManager(FolderIcon icon) { in PreviewItemManager()
/packages/apps/Launcher3/tests/src/com/android/launcher3/dragging/
DTaplDragTest.java36 import com.android.launcher3.tapl.FolderIcon;
74 FolderIcon folderIcon = photosIcon.dragToIcon(playStoreIcon); in testDragToFolder()
103 FolderIcon folderIcon = photosIcon.dragToIcon(playStoreIcon); in testDragOutOfFolder()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DFolderAdaptiveIcon.java40 import com.android.launcher3.folder.FolderIcon;
110 FolderIcon icon = activity.findFolderIcon(folderId); in createFolderAdaptiveIcon()
141 private static void initLayersOnUiThread(FolderIcon icon, int size, in initLayersOnUiThread()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DItemInflaterTest.kt36 import com.android.launcher3.folder.FolderIcon in <lambda>()
149 assertTrue(view is FolderIcon) in <lambda>()
168 assertTrue(view is FolderIcon) in <lambda>()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DFolderInfo.java36 import com.android.launcher3.logger.LauncherAtom.FolderIcon;
249 FolderIcon.Builder folderIcon = FolderIcon.newBuilder() in buildProto()
DAppPairInfo.kt109 val appPairIcon = LauncherAtom.FolderIcon.newBuilder().setCardinality(contents.size) in <lambda>()
/packages/apps/Launcher3/tests/src/com/android/launcher3/folder/
DPreviewItemManagerTest.kt52 private lateinit var folderIcon: FolderIcon
58 FolderIcon(ActivityContextWrapper(ApplicationProvider.getApplicationContext())) in setup()
/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/taskbar/
DTaskbarHoverToolTipControllerTest.java43 import com.android.launcher3.folder.FolderIcon;
68 @Mock private FolderIcon mHoverFolderIcon;
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java55 import com.android.launcher3.folder.FolderIcon;
268 } else if (v instanceof FolderIcon) { in getLocationBoundsForView()
269 ((FolderIcon) v).getPreviewBounds(outViewBounds); in getLocationBoundsForView()
DActivityContext.java69 import com.android.launcher3.folder.FolderIcon;
228 default @Nullable FolderIcon findFolderIcon(final int folderIconId) { in findFolderIcon()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemClickHandler.java52 import com.android.launcher3.folder.FolderIcon;
153 Folder folder = ((FolderIcon) v).getFolder(); in onClickFolderIcon()

12