Searched refs:ItemInfo (Results 1 – 17 of 17) sorted by relevance
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | ItemInfo.java | 30 class ItemInfo { class 99 ItemInfo() { in ItemInfo() method in ItemInfo 102 ItemInfo(ItemInfo info) { in ItemInfo() method in ItemInfo
|
D | LauncherModel.java | 100 static final HashMap<Long, ItemInfo> sItemsIdMap = new HashMap<Long, ItemInfo>(); 105 static final ArrayList<ItemInfo> sWorkspaceItems = new ArrayList<ItemInfo>(); 131 public void bindItems(ArrayList<ItemInfo> shortcuts, int start, int end); in bindItems() 176 private ArrayList<ItemInfo> unbindWorkspaceItemsOnMainThread() { in unbindWorkspaceItemsOnMainThread() 179 final ArrayList<ItemInfo> workspaceItems = new ArrayList<ItemInfo>(sWorkspaceItems); in unbindWorkspaceItemsOnMainThread() 180 final ArrayList<ItemInfo> appWidgets = new ArrayList<ItemInfo>(sAppWidgets); in unbindWorkspaceItemsOnMainThread() 184 for (ItemInfo item : workspaceItems) { in unbindWorkspaceItemsOnMainThread() 187 for (ItemInfo item : appWidgets) { in unbindWorkspaceItemsOnMainThread() 200 static void addOrMoveItemInDatabase(Context context, ItemInfo item, long container, in addOrMoveItemInDatabase() 202 if (item.container == ItemInfo.NO_ID) { in addOrMoveItemInDatabase() [all …]
|
D | InstallShortcutReceiver.java | 135 final ArrayList<ItemInfo> items = LauncherModel.getItemsInLocalCoordinates(context); in processInstallShortcut() 163 private static boolean installShortcut(Context context, Intent data, ArrayList<ItemInfo> items, in installShortcut() 225 private static boolean findEmptyCell(Context context, ArrayList<ItemInfo> items, int[] xy, in findEmptyCell() 231 ItemInfo item = null; in findEmptyCell()
|
D | Workspace.java | 352 ItemInfo itemInfo, boolean springLoaded) { in estimateItemSize() 370 public Rect estimateItemPosition(CellLayout cl, ItemInfo pendingInfo, in estimateItemPosition() 1967 final ItemInfo dragInfo = (ItemInfo) d.dragInfo; 1984 if (willCreateUserFolder((ItemInfo) d.dragInfo, dropTargetLayout, 1988 if (willAddToExistingUserFolder((ItemInfo) d.dragInfo, dropTargetLayout, 2019 boolean willCreateUserFolder(ItemInfo info, CellLayout target, int[] targetCell, float 2203 ItemInfo item = (ItemInfo) d.dragInfo; 2232 final ItemInfo info = (ItemInfo) cell.getTag(); 2306 final ItemInfo info = (ItemInfo) cell.getTag(); 2735 ItemInfo item = (ItemInfo) d.dragInfo; [all …]
|
D | ApplicationInfo.java | 33 class ApplicationInfo extends ItemInfo { 75 this.container = ItemInfo.NO_ID; in ApplicationInfo()
|
D | LauncherAppWidgetInfo.java | 26 class LauncherAppWidgetInfo extends ItemInfo {
|
D | Folder.java | 519 final ItemInfo item = (ItemInfo) d.dragInfo; in acceptDrop() 747 ItemInfo info = (ItemInfo) v.getTag(); in updateItemLocationsInDatabase() 903 ItemInfo info = (ItemInfo) v.getTag(); in arrangeChildren() 948 ItemInfo finalItem = null; in replaceFolderWithFinalItem()
|
D | FolderIcon.java | 281 private boolean willAcceptItem(ItemInfo item) { in willAcceptItem() 289 final ItemInfo item = (ItemInfo) dragInfo; in acceptDrop() 299 if (!willAcceptItem((ItemInfo) dragInfo)) return; in onDragEnter()
|
D | FolderInfo.java | 26 class FolderInfo extends ItemInfo {
|
D | PendingAddItemInfo.java | 28 class PendingAddItemInfo extends ItemInfo {
|
D | ShortcutInfo.java | 30 class ShortcutInfo extends ItemInfo {
|
D | Launcher.java | 216 private ItemInfo mPendingAddInfo = new ItemInfo(); 609 if (resultCode == RESULT_OK && mPendingAddInfo.container != ItemInfo.NO_ID) { in onActivityResult() 832 if (pendingAddContainer != ItemInfo.NO_ID && pendingAddScreen > -1) { in restoreState() 982 info.container = ItemInfo.NO_ID; in completeAddApplication() 1175 if (mAppsCustomizeTabHost != null && mPendingAddInfo.container == ItemInfo.NO_ID) { 1390 if (mPendingAddInfo.container != ItemInfo.NO_ID && mPendingAddInfo.screen > -1 && in onSaveInstanceState() 1569 mPendingAddInfo.container = ItemInfo.NO_ID; in resetAddInfo() 1577 void addAppWidgetImpl(final int appWidgetId, ItemInfo info, AppWidgetHostView boundWidget, in addAppWidgetImpl() 2825 void addExternalItemToScreen(ItemInfo itemInfo, final CellLayout layout) { in addExternalItemToScreen() 3175 public void bindItems(ArrayList<ItemInfo> shortcuts, int start, int end) { in bindItems() [all …]
|
D | DeleteDropTarget.java | 220 ItemInfo item = (ItemInfo) d.dragInfo; in completeDrop()
|
D | CellLayout.java | 1049 final ItemInfo info = (ItemInfo) child.getTag(); in animateChildToPosition() 2140 ItemInfo info = (ItemInfo) child.getTag(); in commitTempPlacement() 2712 public void calculateSpans(ItemInfo info) { in calculateSpans()
|
D | DragLayer.java | 411 public void addResizeFrame(ItemInfo itemInfo, LauncherAppWidgetHostView widget, in addResizeFrame()
|
D | AppsCustomizePagedView.java | 921 ItemInfo itemInfo = (ItemInfo) d.dragInfo; in onDropCompleted()
|
D | LauncherProvider.java | 604 data = ItemInfo.flattenBitmap(bitmap); in normalizeIcons()
|