/packages/apps/Launcher3/robolectric_tests/resources/ |
D | cache_data_updated_task_data.txt | 8 bgItem s itemType=0 title=app1-class1 intent=component=app1/class1 id=1 9 bgItem s itemType=0 title=app1-class2 intent=component=app1/class2 id=2 10 bgItem s itemType=0 title=app2-class1 intent=component=app2/class1 id=3 11 bgItem s itemType=0 title=app2-class2 intent=component=app2/class2 id=4 14 bgItem s itemType=0 status=2 title=app3-class1 intent=component=app3/class1 id=5 15 bgItem s itemType=0 status=2 title=app3-class2 intent=component=app3/class2 id=6 18 bgItem s itemType=1 title=app1-shrt intent=component=app1/class3 id=7 19 bgItem s itemType=1 title=app4-shrt intent=component=app4/class1 id=8 22 bgItem s itemType=1 status=1 title=app3-shrt intent=component=app3/class3 id=9 23 bgItem s itemType=1 status=1 title=app5-shrt intent=component=app5/class1 id=10
|
D | package_install_state_change_task_data.txt | 9 bgItem s itemType=0 title=app1-class1 intent=component=app1/class1 id=1 10 bgItem s itemType=0 title=app1-class2 intent=component=app1/class2 id=2 11 bgItem s itemType=0 title=app2-class1 intent=component=app2/class1 id=3 12 bgItem s itemType=0 title=app2-class2 intent=component=app2/class2 id=4 15 bgItem s itemType=0 status=2 title=app3-class1 intent=component=app3/class1 id=5 16 bgItem s itemType=0 status=2 title=app3-class2 intent=component=app3/class2 id=6 17 bgItem s itemType=1 status=1 title=app3-shrt intent=component=app3/class3 id=7 20 bgItem s itemType=1 status=1 title=app4-shrt intent=component=app4/class1 id=8
|
/packages/apps/Launcher3/src/com/android/launcher3/logging/ |
D | LoggerUtils.java | 130 String typeStr = getFieldName(t.itemType, ItemType.class); in getItemStr() 141 t.itemType != ItemType.TASK) { in getItemStr() 151 if (t.itemType == ItemType.TASK) { in getItemStr() 157 public static Target newItemTarget(int itemType) { in newItemTarget() argument 159 t.itemType = itemType; in newItemTarget() 172 switch (info.itemType) { in newItemTarget() 174 t.itemType = (instantAppResolver != null && info instanceof AppInfo in newItemTarget() 181 t.itemType = ItemType.SHORTCUT; in newItemTarget() 184 t.itemType = ItemType.FOLDER_ICON; in newItemTarget() 187 t.itemType = ItemType.WIDGET; in newItemTarget() [all …]
|
D | DumpTargetWrapper.java | 77 switch (info.itemType) { in newItemTarget() 79 dt.itemType = ItemType.APP_ICON; in newItemTarget() 82 dt.itemType = ItemType.UNKNOWN_ITEMTYPE; in newItemTarget() 85 dt.itemType = ItemType.WIDGET; in newItemTarget() 88 dt.itemType = ItemType.SHORTCUT; in newItemTarget() 123 String typeStr = LoggerUtils.getFieldName(t.itemType, ItemType.class); in getItemStr()
|
D | UserEventDispatcher.java | 152 event.srcTarget[0].itemType = LauncherLogProto.ItemType.TASK; in logTaskLaunchOrDismiss() 319 public void logActionOnItem(int action, int dir, int itemType) { in logActionOnItem() argument 321 itemTarget.itemType = itemType; in logActionOnItem()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ItemInfo.java | 47 public int itemType; field in ItemInfo 127 itemType = info.itemType; in copyFrom() 147 writer.put(LauncherSettings.Favorites.ITEM_TYPE, itemType) in writeToValues() 158 itemType = values.getAsInteger(LauncherSettings.Favorites.ITEM_TYPE); in readFromValues() 188 + " type=" + LauncherSettings.Favorites.itemTypeToString(itemType) in dumpProperties()
|
D | WorkspaceItemInfo.java | 91 itemType = LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT; in WorkspaceItemInfo() 115 itemType = Favorites.ITEM_TYPE_DEEP_SHORTCUT; in WorkspaceItemInfo() 182 return itemType == Favorites.ITEM_TYPE_DEEP_SHORTCUT ? in getDeepShortcutId() 189 if (cn == null && (itemType == Favorites.ITEM_TYPE_SHORTCUT in getTargetComponent()
|
D | LauncherAppWidgetInfo.java | 111 itemType = LauncherSettings.Favorites.ITEM_TYPE_CUSTOM_APPWIDGET; in LauncherAppWidgetInfo() 113 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET; in LauncherAppWidgetInfo() 127 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET; in LauncherAppWidgetInfo()
|
D | BaseDraggingActivity.java | 157 && (item.itemType == Favorites.ITEM_TYPE_SHORTCUT in startActivitySafely() 158 || item.itemType == Favorites.ITEM_TYPE_DEEP_SHORTCUT) in startActivitySafely() 199 if (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT) { in startShortcutIntentSafely()
|
D | Workspace.java | 336 boolean isWidget = itemInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET; in estimateItemSize() 408 if (dragObject.dragInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET in onDragStart() 1634 (info.itemType == ITEM_TYPE_APPLICATION || in willCreateUserFolder() 1635 info.itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT || in willCreateUserFolder() 1636 info.itemType == LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT); in willCreateUserFolder() 1916 boolean isWidget = info.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET in onDrop() 1917 || info.itemType == LauncherSettings.Favorites.ITEM_TYPE_CUSTOM_APPWIDGET; in onDrop() 2456 if (pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) { 2503 … boolean isWidget = pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET 2504 … || pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_CUSTOM_APPWIDGET; [all …]
|
D | Utilities.java | 665 if (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION) { in getFullDrawable() 671 } else if (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT) { in getFullDrawable() 689 } else if (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_FOLDER) { in getFullDrawable() 712 if (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT) { in getBadge() 728 } else if (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_FOLDER) { in getBadge()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | LoaderCursor.java | 95 public int itemType; field in LoaderCursor 127 itemType = getInt(itemTypeIndex); in moveToNext() 152 info.itemType = itemType; in loadSimpleWorkspaceItem() 177 if (itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) { in loadIcon() 239 info.itemType = itemType; in getRestoredItemInfo() 271 info.itemType = LauncherSettings.Favorites.ITEM_TYPE_APPLICATION; in getAppShortcutInfo()
|
D | GridSizeMigrationTask.java | 622 entry.itemType = c.getInt(indexItemType); 632 switch (entry.itemType) { 637 entry.weight = entry.itemType == Favorites.ITEM_TYPE_APPLICATION ? 698 entry.itemType = c.getInt(indexItemType); 707 switch (entry.itemType) { 712 entry.weight = entry.itemType == Favorites.ITEM_TYPE_APPLICATION ? 836 if (itemType == Favorites.ITEM_TYPE_APPWIDGET) { 837 if (another.itemType == Favorites.ITEM_TYPE_APPWIDGET) { 842 } else if (another.itemType == Favorites.ITEM_TYPE_APPWIDGET) {
|
D | LoaderTask.java | 351 switch (c.itemType) { in loadWorkspace() 367 if (c.itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) { in loadWorkspace() 377 c.itemType != LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) { in loadWorkspace() 467 } else if (c.itemType == in loadWorkspace() 471 } else if (c.itemType == in loadWorkspace() 577 boolean customWidget = c.itemType == in loadWorkspace() 761 && info.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION in loadWorkspace()
|
D | AddWorkspaceItemsTask.java | 70 if (item.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION || in execute() 71 item.itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) { in execute() 78 if (item.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION) { in execute()
|
/packages/apps/Launcher3/ |
D | print_db.py | 128 itemType = cell["itemType"] 129 if itemType == 0: 133 elif itemType == 1: 137 elif itemType == 2: 139 elif itemType == 4: 142 out.write("<b>unknown type: %d</b>" % itemType)
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | KeyInputHandler.java | 65 int itemType = details.getItemViewType(); in onKey() local 66 if (itemType == DocumentsAdapter.ITEM_TYPE_HEADER_MESSAGE in onKey() 67 || itemType == DocumentsAdapter.ITEM_TYPE_INFLATED_MESSAGE in onKey() 68 || itemType == DocumentsAdapter.ITEM_TYPE_SECTION_BREAK) { in onKey()
|
/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/Car/Settings/tests/robotests/src/com/android/car/settings/language/ |
D | LocalePreferenceProviderTest.java | 56 Pair(int itemType, LocaleStore.LocaleInfo localeInfo) { in Pair() argument 57 mItemType = itemType; in Pair() 162 int itemType = entry.mItemType; in prepareSuggestedLocaleAdapterMock() local 165 when(mSuggestedLocaleAdapter.getItemViewType(i)).thenReturn(itemType); in prepareSuggestedLocaleAdapterMock()
|
/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/Launcher3/go/quickstep/src/com/android/quickstep/ |
D | TaskAdapter.java | 125 int itemType = getItemViewType(position); in onBindViewHolderInternal() local 126 switch (itemType) { in onBindViewHolderInternal() 158 throw new IllegalArgumentException("No known holder for item type: " + itemType); in onBindViewHolderInternal()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderIcon.java | 221 final int itemType = item.itemType; in willAcceptItem() local 222 return ((itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION || in willAcceptItem() 223 itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT || in willAcceptItem() 224 itemType == LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT) && in willAcceptItem()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | PendingAddWidgetInfo.java | 39 itemType = LauncherSettings.Favorites.ITEM_TYPE_CUSTOM_APPWIDGET; in PendingAddWidgetInfo() 41 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET; in PendingAddWidgetInfo()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | LoaderCursorTest.java | 90 private void initCursor(int itemType, String title) { in initCursor() argument 94 .add(ITEM_TYPE, itemType) in initCursor() 144 assertEquals(ITEM_TYPE_SHORTCUT, info.itemType); in loadSimpleShortcut()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | DvrItemPresenter.java | 71 Class<T> itemType = (Class<T>) item.getClass(); in onBindViewHolder() local 72 dvrItem = itemType.cast(item); in onBindViewHolder()
|