Home
last modified time | relevance | path

Searched refs:FolderInfo (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DWorkspaceAccessibilityHelper.java27 import com.android.launcher3.model.data.FolderInfo;
100 if (info instanceof AppInfo || info instanceof FolderInfo || in intersectsValidDropTarget()
123 } else if (info instanceof FolderInfo) { in getConfirmationForIconDrop()
147 } else if (info instanceof FolderInfo) { in getDescriptionForDropOver()
150 FolderInfo folder = (FolderInfo) info; in getDescriptionForDropOver()
DLauncherAccessibilityDelegate.java39 import com.android.launcher3.model.data.FolderInfo;
194 || (item instanceof FolderInfo); in itemSupportsAccessibleDrag()
430 if (info instanceof FolderInfo) { in beginAccessibleDrag()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatEduController.java32 import com.android.launcher3.model.data.FolderInfo;
88 ArrayDeque<FolderInfo> folders = new ArrayDeque<>(); in migrateToFolder()
97 folders.add((FolderInfo) info); in migrateToFolder()
107 FolderInfo folderInfo = new FolderInfo(); in migrateToFolder()
125 private int placeFoldersInWorkspace(ArrayDeque<FolderInfo> folders) { in placeFoldersInWorkspace()
141 FolderInfo info = folders.poll(); in placeFoldersInWorkspace()
155 FolderInfo folderInfo; in placeFoldersInWorkspace()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DFirstScreenBroadcast.java35 import com.android.launcher3.model.data.FolderInfo;
106 if (info instanceof FolderInfo) { in sendBroadcastToInstaller()
107 FolderInfo folderInfo = (FolderInfo) info; in sendBroadcastToInstaller()
DBgDataModel.java39 import com.android.launcher3.model.data.FolderInfo;
97 public final IntSparseArrayMap<FolderInfo> folders = new IntSparseArrayMap<>();
221 folders.put(item.id, (FolderInfo) item); in addItem()
335 public synchronized FolderInfo findOrMakeFolder(int id) { in findOrMakeFolder()
337 FolderInfo folderInfo = folders.get(id); in findOrMakeFolder()
340 folderInfo = new FolderInfo(); in findOrMakeFolder()
DAddWorkspaceItemsTask.java33 import com.android.launcher3.model.data.FolderInfo;
111 if (item instanceof WorkspaceItemInfo || item instanceof FolderInfo || in execute()
DLoaderTask.java74 import com.android.launcher3.model.data.FolderInfo;
631 FolderInfo folderInfo = mBgDataModel.findOrMakeFolder(c.id); in loadWorkspace()
827 for (FolderInfo folder : mBgDataModel.folders) { in loadWorkspace()
974 FolderInfo info = mBgDataModel.folders.valueAt(i); in loadFolderNames()
DModelWriter.java39 import com.android.launcher3.model.data.FolderInfo;
291 public void deleteFolderAndContentsFromDatabase(final FolderInfo info) { in deleteFolderAndContentsFromDatabase()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DFolderInfo.java53 public class FolderInfo extends ItemInfo { class
111 public FolderInfo() { in FolderInfo() method in FolderInfo
211 public LauncherAtom.ItemInfo buildProto(FolderInfo fInfo) { in buildProto()
267 FolderInfo folderInfo = new FolderInfo(); in makeShallowCopy()
DSearchActionItemInfo.java125 public ItemInfo buildProto(FolderInfo fInfo) { in buildProto()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderNameProvider.java31 import com.android.launcher3.model.data.FolderInfo;
58 protected IntSparseArrayMap<FolderInfo> mFolderInfos;
75 IntSparseArrayMap<FolderInfo> folderInfos) { in newInstance()
89 private void load(List<AppInfo> appInfos, IntSparseArrayMap<FolderInfo> folderInfos) { in load()
DFolder.java91 import com.android.launcher3.model.data.FolderInfo;
92 import com.android.launcher3.model.data.FolderInfo.FolderListener;
177 public FolderInfo mInfo;
474 public FolderInfo getInfo() { in getInfo()
478 void bind(FolderInfo info) { in bind()
692 if (mContent.getPageCount() > 1 && !mInfo.hasOption(FolderInfo.FLAG_MULTI_PAGE_ANIMATION)) { in animateOpen()
716 mInfo.setOption(FolderInfo.FLAG_MULTI_PAGE_ANIMATION, true, in animateOpen()
1056 mInfo.setOption(FolderInfo.FLAG_MULTI_PAGE_ANIMATION, false, in onDropCompleted()
1336 mInfo.setOption(FolderInfo.FLAG_MULTI_PAGE_ANIMATION, true, in onDrop()
DFolderIcon.java72 import com.android.launcher3.model.data.FolderInfo;
73 import com.android.launcher3.model.data.FolderInfo.FolderListener;
74 import com.android.launcher3.model.data.FolderInfo.LabelState;
97 public FolderInfo mInfo;
171 T activityContext, ViewGroup group, FolderInfo folderInfo) { in inflateFolderAndIcon()
182 FolderInfo folderInfo) { in inflateIcon()
DFolderGridOrganizer.java24 import com.android.launcher3.model.data.FolderInfo;
57 public FolderGridOrganizer setFolderInfo(FolderInfo info) { in setFolderInfo()
DLauncherDelegate.java37 import com.android.launcher3.model.data.FolderInfo;
102 FolderInfo info = folder.mInfo; in replaceFolderWithFinalItem()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DDefaultLayoutProviderTest.java33 import com.android.launcher3.model.data.FolderInfo;
89 assertEquals(3, ((FolderInfo) info).contents.size()); in testCustomProfileLoaded_with_folder()
104 assertEquals(3, ((FolderInfo) info).contents.size()); in testCustomProfileLoaded_with_folder_custom_title()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarView.java44 import com.android.launcher3.model.data.FolderInfo;
173 } else if (hotseatItemInfo instanceof FolderInfo) { in updateHotseatItems()
188 FolderInfo folderInfo = (FolderInfo) hotseatItemInfo; in updateHotseatItems()
DTaskbarActivityContext.java60 import com.android.launcher3.model.data.FolderInfo;
256 } else if (tag instanceof FolderInfo) { in onTaskbarIconClicked()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingAddWidgetInfo.java25 import com.android.launcher3.model.data.FolderInfo;
70 public LauncherAtom.ItemInfo buildProto(FolderInfo folderInfo) { in buildProto()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java89 import com.android.launcher3.model.data.FolderInfo;
2571 (FolderInfo) info);
2971 if (info instanceof FolderInfo) {
2972 FolderInfo folderInfo = (FolderInfo) info;
2989 if (info instanceof FolderInfo) {
2990 FolderInfo folderInfo = (FolderInfo) info;
3089 FolderInfo folderInfo = (FolderInfo) info; in removeItemsByMatcher()
3158 } else if (info instanceof FolderInfo && v instanceof FolderIcon) { in updateShortcuts()
3183 } else if (info instanceof FolderInfo && v instanceof FolderIcon) { in updateNotificationDots()
3184 FolderInfo fi = (FolderInfo) info; in updateNotificationDots()
[all …]
DDeleteDropTarget.java32 import com.android.launcher3.model.data.FolderInfo;
77 || (info instanceof FolderInfo); in supportsAccessibilityDrop()
DLauncher.java145 import com.android.launcher3.model.data.FolderInfo;
656 if (folderIcon instanceof FolderIcon && folderIcon.getTag() instanceof FolderInfo) { in invalidateParent()
658 .setFolderInfo((FolderInfo) folderIcon.getTag()) in invalidateParent()
1303 FolderInfo folderInfo = (FolderInfo) folderIcon.getTag(); in completeAddShortcut()
1828 final FolderInfo folderInfo = new FolderInfo(); in addFolder()
1890 ((FolderInfo) folderIcon.getTag()).remove((WorkspaceItemInfo) itemInfo, true); in removeItem()
1897 } else if (itemInfo instanceof FolderInfo) { in removeItem()
1898 final FolderInfo folderInfo = (FolderInfo) itemInfo; in removeItem()
2253 (FolderInfo) item); in bindItems()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DQuickstepModelDelegate.java53 import com.android.launcher3.model.data.FolderInfo;
153 FolderInfo parent = info.container > 0 in modelLoadComplete()
154 ? (FolderInfo) itemsIdMap.get(info.container) : null; in modelLoadComplete()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java77 import com.android.launcher3.model.data.FolderInfo;
343 private void inflateAndAddFolder(FolderInfo info) {
433 inflateAndAddFolder((FolderInfo) itemInfo);
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemClickHandler.java51 import com.android.launcher3.model.data.FolderInfo;
90 } else if (tag instanceof FolderInfo) { in onClick()

12