/packages/apps/Launcher2/ |
D | print_db.py | 95 itemType = cell["itemType"] 96 if itemType == 0: 100 elif itemType == 1: 104 elif itemType == 2: 106 elif itemType == 3: 108 elif itemType == 4: 110 elif itemType == 1000: 112 elif itemType == 1001: 114 elif itemType == 1002: 117 out.write("<b>unknown type: %d</b>" % itemType)
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationContainer.java | 222 int itemType; field in ConversationContainer.OverlayView 224 public OverlayView(View view, int itemType) { in OverlayView() argument 226 this.itemType = itemType; in OverlayView() 688 mScrapViews.add(overlay.itemType, overlay.view); in detachOverlay() 848 final int itemType = mOverlayAdapter.getItemViewType(adapterIndex); in addOverlayView() local 849 final View convertView = mScrapViews.poll(itemType); in addOverlayView() 852 mOverlayViews.put(adapterIndex, new OverlayView(view, itemType)); in addOverlayView() 1009 index, overlayView.itemType, overlayView.view); in removeViewAtAdapterIndex()
|
/packages/apps/Launcher3/ |
D | print_db.py | 126 itemType = cell["itemType"] 127 if itemType == 0: 131 elif itemType == 1: 135 elif itemType == 2: 137 elif itemType == 4: 140 out.write("<b>unknown type: %d</b>" % itemType)
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ItemInfo.java | 55 public int itemType; field in ItemInfo 139 itemType = info.itemType; in copyFrom() 157 values.put(LauncherSettings.BaseLauncherColumns.ITEM_TYPE, itemType); in onAddToDatabase() 212 return "Item(id=" + this.id + " type=" + this.itemType + " container=" + this.container in toString()
|
D | DeleteDropTarget.java | 105 switch (addInfo.itemType) { in isAllAppsWidget() 148 if (item.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET || in willAcceptDrop() 149 item.itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) { in willAcceptDrop() 154 item.itemType == LauncherSettings.Favorites.ITEM_TYPE_FOLDER) { in willAcceptDrop() 159 item.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION && in willAcceptDrop() 165 if (item.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION && in willAcceptDrop()
|
D | LauncherProvider.java | 1235 Integer itemType = values.getAsInteger(LauncherSettings.Favorites.ITEM_TYPE); in initializeExternalAdd() local 1236 if (itemType != null && in initializeExternalAdd() 1237 itemType.intValue() == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET && in initializeExternalAdd() 1410 final int itemType = c.getInt(itemTypeIndex); in migrateLauncher2Shortcuts() local 1411 if (itemType != Favorites.ITEM_TYPE_APPLICATION in migrateLauncher2Shortcuts() 1412 && itemType != Favorites.ITEM_TYPE_SHORTCUT in migrateLauncher2Shortcuts() 1413 && itemType != Favorites.ITEM_TYPE_FOLDER) { in migrateLauncher2Shortcuts() 1448 if (itemType != Favorites.ITEM_TYPE_FOLDER) { in migrateLauncher2Shortcuts() 1506 values.put(LauncherSettings.Favorites.ITEM_TYPE, itemType); in migrateLauncher2Shortcuts() 1529 if (itemType != Favorites.ITEM_TYPE_FOLDER) { in migrateLauncher2Shortcuts()
|
D | PendingAddItemInfo.java | 67 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET; in PendingAddWidgetInfo() 95 itemType = copy.itemType; in PendingAddWidgetInfo()
|
D | LauncherModel.java | 585 modelShortcut.itemType == shortcut.itemType && in checkItemInfoLocked() 700 switch (modelItem.itemType) { in updateItemArrays() 918 item.itemType = c.getInt(itemTypeIndex); in getItemsInLocalCoordinates() 1014 switch (item.itemType) { in addItemToDatabase() 1097 switch (item.itemType) { in deleteItemsFromDatabase() 1937 int itemType = c.getInt(itemTypeIndex); in loadWorkspace() local 1941 switch (itemType) { in loadWorkspace() 2074 } else if (itemType == in loadWorkspace() 3166 … && si.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION) { 3361 info.itemType = LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT; [all …]
|
D | FolderIcon.java | 324 final int itemType = item.itemType; in willAcceptItem() local 325 return ((itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION || in willAcceptItem() 326 itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) && in willAcceptItem()
|
D | FolderInfo.java | 45 itemType = LauncherSettings.Favorites.ITEM_TYPE_FOLDER; in FolderInfo() 119 return "FolderInfo(id=" + this.id + " type=" + this.itemType in toString()
|
D | Workspace.java | 2960 (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION || in willCreateUserFolder() 2961 info.itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT); in willCreateUserFolder() 3231 if (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET) { in onDrop() 3910 if (pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) { 3953 switch (pendingInfo.itemType) { 3967 pendingInfo.itemType); 3971 View finalView = pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET 3981 if (pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET && 3991 switch (info.itemType) { 4006 throw new IllegalStateException("Unknown item type: " + info.itemType); [all …]
|
D | LauncherBackupHelper.java | 782 favorite.itemType = c.getInt(ITEM_TYPE_INDEX); in packFavorite() 783 if (favorite.itemType == Favorites.ITEM_TYPE_APPWIDGET) { in packFavorite() 822 values.put(Favorites.ITEM_TYPE, favorite.itemType); in unpackFavorite() 831 if (favorite.itemType == Favorites.ITEM_TYPE_APPWIDGET) { in unpackFavorite()
|
D | AppInfo.java | 65 itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_SHORTCUT; in AppInfo() 117 + " type=" + this.itemType + " container=" + this.container in toString()
|
D | ShortcutInfo.java | 131 itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_SHORTCUT; in ShortcutInfo() 224 + " type=" + this.itemType + " container=" + this.container + " screen=" + screenId in toString()
|
D | Folder.java | 624 final int itemType = item.itemType; in acceptDrop() local 625 return ((itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION || in acceptDrop() 626 itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) && in acceptDrop()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | ItemInfo.java | 53 int itemType; field in ItemInfo 131 itemType = info.itemType; in ItemInfo() 168 values.put(LauncherSettings.BaseLauncherColumns.ITEM_TYPE, itemType); in onAddToDatabase() 219 return "Item(id=" + this.id + " type=" + this.itemType + " container=" + this.container in toString()
|
D | LauncherModel.java | 291 modelShortcut.itemType == shortcut.itemType && in checkItemInfoLocked() 370 switch (modelItem.itemType) { in updateItemInDatabaseHelper() 545 item.itemType = c.getInt(itemTypeIndex); in getItemsInLocalCoordinates() 648 switch (item.itemType) { in addItemToDatabase() 724 switch (item.itemType) { in deleteItemFromDatabase() 1341 int itemType = c.getInt(itemTypeIndex); in loadWorkspace() local 1343 switch (itemType) { in loadWorkspace() 1360 if (itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION) { in loadWorkspace() 2251 info.itemType = LauncherSettings.Favorites.ITEM_TYPE_APPLICATION; in getShortcutInfo() 2282 info.itemType = LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT; in getShortcutInfo()
|
D | PendingAddItemInfo.java | 61 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET; in PendingAddWidgetInfo() 77 itemType = copy.itemType; in PendingAddWidgetInfo()
|
D | ShortcutInfo.java | 62 itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_SHORTCUT; in ShortcutInfo() 117 itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_APPLICATION; in setActivity() 153 + " type=" + this.itemType + " container=" + this.container + " screen=" + screen in toString()
|
D | Workspace.java | 2067 (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION || 2068 info.itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT); 2335 if (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET) { 3041 if (pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) { 3079 switch (pendingInfo.itemType) { 3093 pendingInfo.itemType); 3097 View finalView = pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET 3107 if (pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET && 3117 switch (info.itemType) { 3132 throw new IllegalStateException("Unknown item type: " + info.itemType); [all …]
|
D | FolderIcon.java | 293 final int itemType = item.itemType; in willAcceptItem() local 294 return ((itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION || in willAcceptItem() 295 itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) && in willAcceptItem()
|
D | Folder.java | 504 final int itemType = item.itemType; in acceptDrop() local 505 return ((itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION || in acceptDrop() 506 itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) && in acceptDrop()
|
D | ApplicationInfo.java | 61 itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_SHORTCUT; in ApplicationInfo() 87 itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_APPLICATION; in ApplicationInfo()
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | SelectionManager.java | 78 int itemType, int itemSupportedOperations, boolean selected) { in onItemSelectedStateChanged() argument 104 if (itemType == FileColumns.MEDIA_TYPE_IMAGE) { in onItemSelectedStateChanged() 106 } else if (itemType == FileColumns.MEDIA_TYPE_VIDEO) { in onItemSelectedStateChanged()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | FolderListFragment.java | 611 final @DrawerItem.DrawerItemType int itemType = drawerItem.getType(); in viewFolderOrChangeAccount() local 612 if (itemType == DrawerItem.VIEW_ACCOUNT) { in viewFolderOrChangeAccount() 616 } else if (itemType == DrawerItem.VIEW_FOLDER) { in viewFolderOrChangeAccount() 623 } else if (itemType == DrawerItem.VIEW_FOOTER_HELP || in viewFolderOrChangeAccount() 624 itemType == DrawerItem.VIEW_FOOTER_SETTINGS) { in viewFolderOrChangeAccount()
|