Home
last modified time | relevance | path

Searched refs:ItemInfo (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DItemInfo.java30 class ItemInfo { class
99 ItemInfo() { in ItemInfo() method in ItemInfo
102 ItemInfo(ItemInfo info) { in ItemInfo() method in ItemInfo
DLauncherModel.java100 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 …]
DInstallShortcutReceiver.java135 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()
DWorkspace.java352 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 …]
DApplicationInfo.java33 class ApplicationInfo extends ItemInfo {
75 this.container = ItemInfo.NO_ID; in ApplicationInfo()
DLauncherAppWidgetInfo.java26 class LauncherAppWidgetInfo extends ItemInfo {
DFolder.java519 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()
DFolderIcon.java281 private boolean willAcceptItem(ItemInfo item) { in willAcceptItem()
289 final ItemInfo item = (ItemInfo) dragInfo; in acceptDrop()
299 if (!willAcceptItem((ItemInfo) dragInfo)) return; in onDragEnter()
DFolderInfo.java26 class FolderInfo extends ItemInfo {
DPendingAddItemInfo.java28 class PendingAddItemInfo extends ItemInfo {
DShortcutInfo.java30 class ShortcutInfo extends ItemInfo {
DLauncher.java216 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 …]
DDeleteDropTarget.java220 ItemInfo item = (ItemInfo) d.dragInfo; in completeDrop()
DCellLayout.java1049 final ItemInfo info = (ItemInfo) child.getTag(); in animateChildToPosition()
2140 ItemInfo info = (ItemInfo) child.getTag(); in commitTempPlacement()
2712 public void calculateSpans(ItemInfo info) { in calculateSpans()
DDragLayer.java411 public void addResizeFrame(ItemInfo itemInfo, LauncherAppWidgetHostView widget, in addResizeFrame()
DAppsCustomizePagedView.java921 ItemInfo itemInfo = (ItemInfo) d.dragInfo; in onDropCompleted()
DLauncherProvider.java604 data = ItemInfo.flattenBitmap(bitmap); in normalizeIcons()