/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherModel.java | 132 static final HashMap<Long, ItemInfo> sBgItemsIdMap = new HashMap<Long, ItemInfo>(); 137 static final ArrayList<ItemInfo> sBgWorkspaceItems = new ArrayList<ItemInfo>(); 163 public void bindItems(ArrayList<ItemInfo> shortcuts, int start, int end, in bindItems() 172 ArrayList<ItemInfo> addNotAnimated, in bindAppsAdded() 173 ArrayList<ItemInfo> addAnimated, in bindAppsAdded() 186 public boolean filterItem(ItemInfo parent, ItemInfo info, ComponentName cn); in filterItem() 234 static boolean findNextAvailableIconSpaceInScreen(ArrayList<ItemInfo> items, int[] xy, in findNextAvailableIconSpaceInScreen() 244 final ItemInfo item = items.get(i); in findNextAvailableIconSpaceInScreen() 277 final ArrayList<ItemInfo> items = LauncherModel.getItemsInLocalCoordinates(context); in findNextAvailableIconSpace() 308 ItemInfo a = iter.next(); in addAppsToAllApps() [all …]
|
D | Workspace.java | 355 ItemInfo itemInfo, boolean springLoaded) { in estimateItemSize() 375 public Rect estimateItemPosition(CellLayout cl, ItemInfo pendingInfo, in estimateItemPosition() 1011 ItemInfo info = (ItemInfo) child.getTag(); in addInScreen() 2640 if (child.getTag() == null || !(child.getTag() instanceof ItemInfo)) { in beginDragShared() 2704 final ItemInfo dragInfo = (ItemInfo) d.dragInfo; in acceptDrop() 2721 if (mCreateUserFolderOnDrop && willCreateUserFolder((ItemInfo) d.dragInfo, in acceptDrop() 2726 if (mAddToExistingFolderOnDrop && willAddToExistingUserFolder((ItemInfo) d.dragInfo, in acceptDrop() 2763 boolean willCreateUserFolder(ItemInfo info, CellLayout target, int[] targetCell, float in willCreateUserFolder() 2949 ItemInfo item = (ItemInfo) d.dragInfo; in onDrop() 2981 final ItemInfo info = (ItemInfo) cell.getTag(); in onDrop() [all …]
|
D | Folder.java | 546 final ItemInfo item = (ItemInfo) d.dragInfo; in acceptDrop() 859 ItemInfo info = (ItemInfo) v.getTag(); in updateItemLocationsInDatabase() 867 ArrayList<ItemInfo> items = new ArrayList<ItemInfo>(); in updateItemLocationsInDatabaseBatch() 870 ItemInfo info = (ItemInfo) v.getTag(); in updateItemLocationsInDatabaseBatch() 881 ItemInfo info = (ItemInfo) v.getTag(); in addItemLocationsInDatabase() 1065 ItemInfo info = (ItemInfo) v.getTag(); in arrangeChildren()
|
D | ItemInfo.java | 30 public class ItemInfo { class 105 ItemInfo() { in ItemInfo() method in ItemInfo 108 ItemInfo(ItemInfo info) { in ItemInfo() method in ItemInfo
|
D | Launcher.java | 244 private ItemInfo mPendingAddInfo = new ItemInfo(); 723 public int getViewIdForItem(ItemInfo info) { in getViewIdForItem() 851 if (resultCode == RESULT_OK && mPendingAddInfo.container != ItemInfo.NO_ID) { in onActivityResult() 1190 if (pendingAddContainer != ItemInfo.NO_ID && pendingAddScreen > -1) { in restoreState() 1388 info.container = ItemInfo.NO_ID; in completeAddApplication() 1583 if (mAppsCustomizeTabHost != null && mPendingAddInfo.container == ItemInfo.NO_ID) { 1892 if (mPendingAddInfo.container != ItemInfo.NO_ID && mPendingAddInfo.screenId > -1 && in onSaveInstanceState() 2086 mPendingAddInfo.container = ItemInfo.NO_ID; in resetAddInfo() 2094 void addAppWidgetImpl(final int appWidgetId, final ItemInfo info, in addAppWidgetImpl() 2099 void addAppWidgetImpl(final int appWidgetId, final ItemInfo info, in addAppWidgetImpl() [all …]
|
D | FolderIcon.java | 113 private ItemInfo mDragInfo; 319 private boolean willAcceptItem(ItemInfo item) { in willAcceptItem() 327 final ItemInfo item = (ItemInfo) dragInfo; in acceptDrop() 336 if (mFolder.isDestroyed() || !willAcceptItem((ItemInfo) dragInfo)) return; in onDragEnter() 347 mDragInfo = (ItemInfo) dragInfo; in onDragEnter()
|
D | DeleteDropTarget.java | 142 if (info instanceof ItemInfo) { in willAcceptDrop() 143 ItemInfo item = (ItemInfo) info; in willAcceptDrop() 276 ItemInfo item = (ItemInfo) d.dragInfo; in completeDrop()
|
D | InstallShortcutReceiver.java | 91 byte[] iconByteArray = ItemInfo.flattenBitmap(info.icon); in addToInstallQueue() 266 ArrayList<ItemInfo> addShortcuts = new ArrayList<ItemInfo>(); in flushInstallQueue()
|
D | AppInfo.java | 34 class AppInfo extends ItemInfo { 79 this.container = ItemInfo.NO_ID; in AppInfo()
|
D | CellLayout.java | 1097 final ItemInfo info = (ItemInfo) child.getTag(); in animateChildToPosition() 2417 ItemInfo info = (ItemInfo) child.getTag(); in commitTempPlacement() 3053 public void calculateSpans(ItemInfo info) { in calculateSpans()
|
D | LauncherAppWidgetInfo.java | 26 class LauncherAppWidgetInfo extends ItemInfo {
|
D | FolderInfo.java | 26 class FolderInfo extends ItemInfo {
|
D | PendingAddItemInfo.java | 29 class PendingAddItemInfo extends ItemInfo {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | LauncherModel.java | 125 static final HashMap<Long, ItemInfo> sBgItemsIdMap = new HashMap<Long, ItemInfo>(); 130 static final ArrayList<ItemInfo> sBgWorkspaceItems = new ArrayList<ItemInfo>(); 155 public void bindItems(ArrayList<ItemInfo> shortcuts, int start, int end); in bindItems() 235 final ArrayList<ItemInfo> tmpWorkspaceItems = new ArrayList<ItemInfo>(); in unbindWorkspaceItemsOnMainThread() 236 final ArrayList<ItemInfo> tmpAppWidgets = new ArrayList<ItemInfo>(); in unbindWorkspaceItemsOnMainThread() 244 for (ItemInfo item : tmpWorkspaceItems) { in unbindWorkspaceItemsOnMainThread() 247 for (ItemInfo item : tmpAppWidgets) { in unbindWorkspaceItemsOnMainThread() 259 static void addOrMoveItemInDatabase(Context context, ItemInfo item, long container, in addOrMoveItemInDatabase() 261 if (item.container == ItemInfo.NO_ID) { in addOrMoveItemInDatabase() 271 final long itemId, final ItemInfo item, StackTraceElement[] stackTrace) { in checkItemInfoLocked() [all …]
|
D | Workspace.java | 356 ItemInfo itemInfo, boolean springLoaded) { in estimateItemSize() 374 public Rect estimateItemPosition(CellLayout cl, ItemInfo pendingInfo, in estimateItemPosition() 1991 final ItemInfo dragInfo = (ItemInfo) d.dragInfo; 2008 if (willCreateUserFolder((ItemInfo) d.dragInfo, dropTargetLayout, 2012 if (willAddToExistingUserFolder((ItemInfo) d.dragInfo, dropTargetLayout, 2043 boolean willCreateUserFolder(ItemInfo info, CellLayout target, int[] targetCell, float 2227 ItemInfo item = (ItemInfo) d.dragInfo; 2259 final ItemInfo info = (ItemInfo) cell.getTag(); 2333 final ItemInfo info = (ItemInfo) cell.getTag(); 2762 ItemInfo item = (ItemInfo) d.dragInfo; [all …]
|
D | ItemInfo.java | 30 class ItemInfo { class 105 ItemInfo() { in ItemInfo() method in ItemInfo 108 ItemInfo(ItemInfo info) { in ItemInfo() method in ItemInfo
|
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 | Folder.java | 503 final ItemInfo item = (ItemInfo) d.dragInfo; in acceptDrop() 738 ItemInfo info = (ItemInfo) v.getTag(); in updateItemLocationsInDatabase() 894 ItemInfo info = (ItemInfo) v.getTag(); in arrangeChildren()
|
D | Launcher.java | 226 private ItemInfo mPendingAddInfo = new ItemInfo(); 674 if (resultCode == RESULT_OK && mPendingAddInfo.container != ItemInfo.NO_ID) { in onActivityResult() 952 if (pendingAddContainer != ItemInfo.NO_ID && pendingAddScreen > -1) { in restoreState() 1090 info.container = ItemInfo.NO_ID; in completeAddApplication() 1284 if (mAppsCustomizeTabHost != null && mPendingAddInfo.container == ItemInfo.NO_ID) { 1544 if (mPendingAddInfo.container != ItemInfo.NO_ID && mPendingAddInfo.screen > -1 && in onSaveInstanceState() 1767 mPendingAddInfo.container = ItemInfo.NO_ID; in resetAddInfo() 1775 void addAppWidgetImpl(final int appWidgetId, ItemInfo info, AppWidgetHostView boundWidget, in addAppWidgetImpl() 3039 void addExternalItemToScreen(ItemInfo itemInfo, final CellLayout layout) { in addExternalItemToScreen() 3424 public void bindItems(final ArrayList<ItemInfo> shortcuts, final int start, final int end) { in bindItems() [all …]
|
D | FolderIcon.java | 292 private boolean willAcceptItem(ItemInfo item) { in willAcceptItem() 300 final ItemInfo item = (ItemInfo) dragInfo; in acceptDrop() 309 if (mFolder.isDestroyed() || !willAcceptItem((ItemInfo) dragInfo)) return; in onDragEnter()
|
D | ApplicationInfo.java | 33 class ApplicationInfo extends ItemInfo { 70 this.container = ItemInfo.NO_ID; in ApplicationInfo()
|
D | DeleteDropTarget.java | 219 ItemInfo item = (ItemInfo) d.dragInfo; in completeDrop()
|
D | CellLayout.java | 1105 final ItemInfo info = (ItemInfo) child.getTag(); in animateChildToPosition() 2410 ItemInfo info = (ItemInfo) child.getTag(); in commitTempPlacement() 3023 public void calculateSpans(ItemInfo info) { in calculateSpans()
|
D | LauncherAppWidgetInfo.java | 26 class LauncherAppWidgetInfo extends ItemInfo {
|
D | FolderInfo.java | 26 class FolderInfo extends ItemInfo {
|