Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspaceLayoutManager.java23 import com.android.launcher3.folder.FolderIcon;
90 if (child instanceof FolderIcon) { in addInScreen()
91 ((FolderIcon) child).setTextVisible(false); in addInScreen()
95 if (child instanceof FolderIcon) { in addInScreen()
96 ((FolderIcon) child).setTextVisible(true); in addInScreen()
DWorkspace.java79 import com.android.launcher3.folder.FolderIcon;
202 private FolderIcon mDragOverFolderIcon = null;
1508 } else if (child instanceof FolderIcon) { in beginDragShared()
1668 if (dropOverView instanceof FolderIcon) { in willAddToExistingUserFolder()
1669 FolderIcon fi = (FolderIcon) dropOverView; in willAddToExistingUserFolder()
1708 FolderIcon fi = in createUserFolderIfNecessary()
1742 if (dropOverView instanceof FolderIcon) { in addToExistingFolderIfNecessary()
1743 FolderIcon fi = (FolderIcon) dropOverView; in addToExistingFolderIfNecessary()
2335 mDragOverFolderIcon = ((FolderIcon) dragOverView);
2557 view = FolderIcon.fromXml(R.layout.folder_icon, mLauncher, cellLayout,
[all …]
DLauncher.java99 import com.android.launcher3.folder.FolderIcon;
620 if (folderIcon instanceof FolderIcon && folderIcon.getTag() instanceof FolderInfo) { in invalidateParent()
1238 FolderIcon folderIcon = findFolderIcon(container); in completeAddShortcut()
1248 public FolderIcon findFolderIcon(final int folderIconId) { in findFolderIcon()
1249 return (FolderIcon) mWorkspace.getHomescreenIconByItemId(folderIconId); in findFolderIcon()
1695 FolderIcon addFolder(CellLayout layout, int container, final int screenId, int cellX, in addFolder()
1704 FolderIcon newFolder = FolderIcon.fromXml(R.layout.folder_icon, this, layout, folderInfo); in addFolder()
1723 if (folderIcon instanceof FolderIcon) { in removeItem()
1733 if (v instanceof FolderIcon) { in removeItem()
1734 ((FolderIcon) v).removeListeners(); in removeItem()
[all …]
DBubbleTextView.java47 import com.android.launcher3.folder.FolderIcon;
497 Object tag = getParent() instanceof FolderIcon ? ((View) getParent()).getTag() : getTag(); in shouldTextBeVisible()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderIcon.java80 public class FolderIcon extends FrameLayout implements FolderListener, IconLabelDotView { class
123 private static final Property<FolderIcon, Float> DOT_SCALE_PROPERTY
124 = new Property<FolderIcon, Float>(Float.TYPE, "dotScale") {
126 public Float get(FolderIcon folderIcon) {
131 public void set(FolderIcon folderIcon, Float value) {
137 public FolderIcon(Context context, AttributeSet attrs) { in FolderIcon() method in FolderIcon
142 public FolderIcon(Context context) { in FolderIcon() method in FolderIcon
156 public static FolderIcon fromXml(int resId, Launcher launcher, ViewGroup group, in fromXml()
167 FolderIcon icon = (FolderIcon) LayoutInflater.from(group.getContext()) in fromXml()
DPreviewItemManager.java22 import static com.android.launcher3.folder.FolderIcon.DROP_IN_ANIMATION_DURATION;
68 private final FolderIcon mIcon;
94 public PreviewItemManager(FolderIcon icon) { in PreviewItemManager()
DFolder.java148 @Thunk FolderIcon mFolderIcon;
348 public FolderIcon getFolderIcon() { in getFolderIcon()
356 public void setFolderIcon(FolderIcon icon) { in setFolderIcon()
481 if (child instanceof FolderIcon) ++folderCount; in shouldUseHardwareLayerForAnimation()
DFolderAnimationManager.java68 private FolderIcon mFolderIcon;
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DDragPreviewProvider.java37 import com.android.launcher3.folder.FolderIcon;
100 if (mView instanceof FolderIcon) { in drawDragView()
103 if (((FolderIcon) mView).getTextVisible()) { in drawDragView()
104 ((FolderIcon) mView).setTextVisible(false); in drawDragView()
115 ((FolderIcon) mView).setTextVisible(true); in drawDragView()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DFolderAdaptiveIcon.java37 import com.android.launcher3.folder.FolderIcon;
90 FolderIcon icon = launcher.findFolderIcon(folderId); in createFolderAdaptiveIcon()
102 private static FolderAdaptiveIcon createDrawableOnUiThread(FolderIcon icon, in createDrawableOnUiThread()
DDragLayer.java55 import com.android.launcher3.folder.FolderIcon;
295 } else if (child instanceof FolderIcon) { in animateViewIntoPosition()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java68 import com.android.launcher3.folder.FolderIcon;
366 } else if (v instanceof FolderIcon) { in getLocationBoundsForView()
367 ((FolderIcon) v).getPreviewBounds(iconBounds); in getLocationBoundsForView()
414 boolean isFolderIcon = originalView instanceof FolderIcon; in getIconResult()
502 ((FolderIcon) originalView).getPreviewBounds(sTmpRect); in setIcon()
503 float bgStroke = ((FolderIcon) originalView).getBackgroundStrokeWidth(); in setIcon()
850 } else if (!(originalView instanceof FolderIcon)) { in createFadeAnimation()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemClickHandler.java57 import com.android.launcher3.folder.FolderIcon;
91 if (v instanceof FolderIcon) { in onClick()
110 Folder folder = ((FolderIcon) v).getFolder(); in onClickFolderIcon()