/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherModel.java | 150 static final LongArrayMap<ItemInfo> sBgItemsIdMap = new LongArrayMap<>(); 155 static final ArrayList<ItemInfo> sBgWorkspaceItems = new ArrayList<ItemInfo>(); 182 public void bindItems(ArrayList<ItemInfo> shortcuts, int start, int end, in bindItems() 191 ArrayList<ItemInfo> addNotAnimated, in bindAppsAdded() 192 ArrayList<ItemInfo> addAnimated, in bindAppsAdded() 198 public void bindRestoreItemsChange(HashSet<ItemInfo> updates); in bindRestoreItemsChange() 212 public boolean filterItem(ItemInfo parent, ItemInfo info, ComponentName cn); in filterItem() 277 final HashSet<ItemInfo> updates = new HashSet<>(); in setPackageState() 284 for (ItemInfo info : sBgItemsIdMap) { in setPackageState() 338 for (ItemInfo info : sBgItemsIdMap) { in updateSessionDisplayInfo() [all …]
|
D | ItemInfo.java | 32 public class ItemInfo { class 124 public ItemInfo() { in ItemInfo() method in ItemInfo 128 ItemInfo(ItemInfo info) { in ItemInfo() method in ItemInfo 134 public void copyFrom(ItemInfo info) { in copyFrom()
|
D | Workspace.java | 361 public int[] estimateItemSize(ItemInfo itemInfo, boolean springLoaded) { in estimateItemSize() 1031 ItemInfo info = (ItemInfo) child.getTag(); in addInScreen() 2429 if (child.getTag() == null || !(child.getTag() instanceof ItemInfo)) { in beginDragShared() 2477 if (child.getTag() == null || !(child.getTag() instanceof ItemInfo)) { in beginExternalDragShared() 2527 final ItemInfo dragInfo = (ItemInfo) d.dragInfo; in acceptDrop() 2544 if (mCreateUserFolderOnDrop && willCreateUserFolder((ItemInfo) d.dragInfo, in acceptDrop() 2549 if (mAddToExistingFolderOnDrop && willAddToExistingUserFolder((ItemInfo) d.dragInfo, in acceptDrop() 2586 boolean willCreateUserFolder(ItemInfo info, CellLayout target, int[] targetCell, in willCreateUserFolder() 2593 boolean willCreateUserFolder(ItemInfo info, View dropOverView, boolean considerTimeout) { in willCreateUserFolder() 2777 ItemInfo item = (ItemInfo) d.dragInfo; in onDrop() [all …]
|
D | Folder.java | 693 final ItemInfo item = (ItemInfo) d.dragInfo; in acceptDrop() 957 ArrayList<ItemInfo> items = new ArrayList<ItemInfo>(); in updateItemLocationsInDatabaseBatch() 960 ItemInfo info = (ItemInfo) v.getTag(); in updateItemLocationsInDatabaseBatch() 972 ItemInfo info = (ItemInfo) v.getTag(); in addItemLocationsInDatabase() 1338 public boolean evaluate(ItemInfo info, View view, View parent) { in getViewForInfo() 1357 public boolean evaluate(ItemInfo info, View view, View parent) { 1446 public static final Comparator<ItemInfo> ITEM_POS_COMPARATOR = new Comparator<ItemInfo>() { 1449 public int compare(ItemInfo lhs, ItemInfo rhs) {
|
D | DeleteDropTarget.java | 61 ItemInfo item = (ItemInfo) d.dragInfo; in completeDrop() 70 public static void removeWorkspaceOrFolderItem(Launcher launcher, ItemInfo item, View view) { in removeWorkspaceOrFolderItem()
|
D | LauncherAppWidgetHostView.java | 223 if (getTag() instanceof ItemInfo) { in onKeyUp() 224 ItemInfo item = (ItemInfo) getTag(); in onKeyUp()
|
D | InfoDropTarget.java | 54 if (info instanceof ItemInfo) { in startDetailsActivityForInfo() 55 user = ((ItemInfo) info).user; in startDetailsActivityForInfo()
|
D | Launcher.java | 245 @Thunk ItemInfo mPendingAddInfo = new ItemInfo(); 652 public int getViewIdForItem(ItemInfo info) { in getViewIdForItem() 817 if (resultCode == RESULT_OK && mPendingAddInfo.container != ItemInfo.NO_ID) { in handleActivityResult() 872 appWidgetId, ItemInfo info) { in preparePendingAddArgs() 1308 if (pendingAddContainer != ItemInfo.NO_ID && pendingAddScreen > -1) { in restoreState() 1554 ItemInfo info = mPendingAddInfo; in completeAddAppWidget() 1617 mPendingAddInfo.container == ItemInfo.NO_ID) { 1961 if (mPendingAddInfo.container != ItemInfo.NO_ID && mPendingAddInfo.screenId > -1 && in onSaveInstanceState() 2195 mPendingAddInfo.container = ItemInfo.NO_ID; in resetAddInfo() 2203 void addAppWidgetFromDropImpl(final int appWidgetId, final ItemInfo info, final in addAppWidgetFromDropImpl() [all …]
|
D | FolderIcon.java | 118 @Thunk ItemInfo mDragInfo; 326 private boolean willAcceptItem(ItemInfo item) { in willAcceptItem() 334 final ItemInfo item = (ItemInfo) dragInfo; in acceptDrop() 343 if (mFolder.isDestroyed() || !willAcceptItem((ItemInfo) dragInfo)) return; in onDragEnter() 359 mDragInfo = (ItemInfo) dragInfo; in onDragEnter()
|
D | UninstallDropTarget.java | 84 final UserHandleCompat user = ((ItemInfo) d.dragInfo).user; in completeDrop() 104 final UserHandleCompat user = ((ItemInfo) info).user; in startUninstallActivity()
|
D | AppInfo.java | 37 public class AppInfo extends ItemInfo { 91 this.container = ItemInfo.NO_ID; in AppInfo()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | LauncherModel.java | 127 static final HashMap<Long, ItemInfo> sBgItemsIdMap = new HashMap<Long, ItemInfo>(); 132 static final ArrayList<ItemInfo> sBgWorkspaceItems = new ArrayList<ItemInfo>(); 161 public void bindItems(ArrayList<ItemInfo> shortcuts, int start, int end); in bindItems() 245 final ArrayList<ItemInfo> tmpWorkspaceItems = new ArrayList<ItemInfo>(); in unbindWorkspaceItemsOnMainThread() 246 final ArrayList<ItemInfo> tmpAppWidgets = new ArrayList<ItemInfo>(); in unbindWorkspaceItemsOnMainThread() 254 for (ItemInfo item : tmpWorkspaceItems) { in unbindWorkspaceItemsOnMainThread() 257 for (ItemInfo item : tmpAppWidgets) { in unbindWorkspaceItemsOnMainThread() 269 static void addOrMoveItemInDatabase(Context context, ItemInfo item, long container, in addOrMoveItemInDatabase() 271 if (item.container == ItemInfo.NO_ID) { in addOrMoveItemInDatabase() 281 final long itemId, final ItemInfo item, StackTraceElement[] stackTrace) { in checkItemInfoLocked() [all …]
|
D | ItemInfo.java | 33 class ItemInfo { class 120 ItemInfo() { in ItemInfo() method in ItemInfo 124 ItemInfo(ItemInfo info) { in ItemInfo() method in ItemInfo
|
D | Workspace.java | 357 ItemInfo itemInfo, boolean springLoaded) { in estimateItemSize() 375 public Rect estimateItemPosition(CellLayout cl, ItemInfo pendingInfo, in estimateItemPosition() 1992 final ItemInfo dragInfo = (ItemInfo) d.dragInfo; 2009 if (willCreateUserFolder((ItemInfo) d.dragInfo, dropTargetLayout, 2013 if (willAddToExistingUserFolder((ItemInfo) d.dragInfo, dropTargetLayout, 2044 boolean willCreateUserFolder(ItemInfo info, CellLayout target, int[] targetCell, float 2228 ItemInfo item = (ItemInfo) d.dragInfo; 2260 final ItemInfo info = (ItemInfo) cell.getTag(); 2334 final ItemInfo info = (ItemInfo) cell.getTag(); 2763 ItemInfo item = (ItemInfo) d.dragInfo; [all …]
|
D | InstallShortcutReceiver.java | 90 byte[] iconByteArray = ItemInfo.flattenBitmap(info.icon); in addToInstallQueue() 250 final ArrayList<ItemInfo> items = LauncherModel.getItemsInLocalCoordinates(context); in processInstallShortcut() 278 private static boolean installShortcut(Context context, Intent data, ArrayList<ItemInfo> items, in installShortcut() 336 private static boolean findEmptyCell(Context context, ArrayList<ItemInfo> items, int[] xy, in findEmptyCell() 342 ItemInfo item = null; in findEmptyCell()
|
D | ApplicationInfo.java | 35 class ApplicationInfo extends ItemInfo { 71 this.container = ItemInfo.NO_ID; in ApplicationInfo()
|
D | InfoDropTarget.java | 86 if (d.dragInfo instanceof ItemInfo) { in acceptDrop() 87 user = ((ItemInfo) d.dragInfo).user; in acceptDrop()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | AppNameComparator.java | 21 import com.android.launcher3.ItemInfo; 34 private final AbstractUserComparator<ItemInfo> mAppInfoComparator; 39 mAppInfoComparator = new AbstractUserComparator<ItemInfo>(context) { in AppNameComparator() 42 public final int compare(ItemInfo a, ItemInfo b) { in AppNameComparator() 70 public Comparator<ItemInfo> getAppInfoComparator() { in getAppInfoComparator()
|
D | PackageItemInfo.java | 21 import com.android.launcher3.ItemInfo; 28 public class PackageItemInfo extends ItemInfo {
|
D | AbstractUserComparator.java | 20 import com.android.launcher3.ItemInfo; 29 public abstract class AbstractUserComparator<T extends ItemInfo> implements Comparator<T> {
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | WorkspaceAccessibilityHelper.java | 26 import com.android.launcher3.ItemInfo; 99 ItemInfo info = (ItemInfo) child.getTag(); in intersectsValidDropTarget() 119 ItemInfo info = (ItemInfo) child.getTag(); in getConfirmationForIconDrop() 149 ItemInfo info = (ItemInfo) overChild.getTag(); in getDescriptionForDropOver()
|
D | LauncherAccessibilityDelegate.java | 28 import com.android.launcher3.ItemInfo; 64 public ItemInfo info; 96 if (!(host.getTag() instanceof ItemInfo)) return; in onInitializeAccessibilityNodeInfo() 97 ItemInfo item = (ItemInfo) host.getTag(); in onInitializeAccessibilityNodeInfo() 130 if ((host.getTag() instanceof ItemInfo) in performAccessibilityAction() 131 && performAction(host, (ItemInfo) host.getTag(), action)) { in performAccessibilityAction() 137 public boolean performAction(final View host, final ItemInfo item, int action) { in performAction() 161 ArrayList<ItemInfo> itemList = new ArrayList<>(); in performAction() 193 ArrayList<ItemInfo> itemList = new ArrayList<>(); in performAction() 337 public void beginAccessibleDrag(View item, ItemInfo info) { in beginAccessibleDrag() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ManagedProfileHeuristic.java | 29 import com.android.launcher3.ItemInfo; 207 ArrayList<ItemInfo> itemList = new ArrayList<ItemInfo>(1); in finalizeWorkFolder() 220 for (ItemInfo info : mWorkFolderApps) { in saveWorkFolderShortcuts() 353 prefs.edit().putLong(folderIdKey, ItemInfo.NO_ID).apply(); in markExistingUsersForNoFolderCreation()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetCell.java | 35 import com.android.launcher3.ItemInfo; 204 ItemInfo info = (ItemInfo) getTag(); in getActualItemWidth()
|
D | WidgetsContainerView.java | 39 import com.android.launcher3.ItemInfo; 297 ItemInfo itemInfo = (ItemInfo) d.dragInfo; in onDropCompleted()
|