Home
last modified time | relevance | path

Searched refs:addItem (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DGridSizeMigrationTaskV2Test.java104 mModelHelper.addItem(APP_ICON, 0, HOTSEAT, 0, 0, testPackage1, 1, TMP_CONTENT_URI), in testMigration()
105 mModelHelper.addItem(SHORTCUT, 1, HOTSEAT, 0, 0, testPackage2, 2, TMP_CONTENT_URI), in testMigration()
107 mModelHelper.addItem(SHORTCUT, 3, HOTSEAT, 0, 0, testPackage3, 3, TMP_CONTENT_URI), in testMigration()
108 mModelHelper.addItem(APP_ICON, 4, HOTSEAT, 0, 0, testPackage4, 4, TMP_CONTENT_URI), in testMigration()
110 mModelHelper.addItem(APP_ICON, 0, DESKTOP, 2, 2, testPackage5, 5, TMP_CONTENT_URI); in testMigration()
111 mModelHelper.addItem(APP_ICON, 0, DESKTOP, 2, 3, testPackage6, 6, TMP_CONTENT_URI); in testMigration()
112 mModelHelper.addItem(APP_ICON, 0, DESKTOP, 4, 1, testPackage8, 8, TMP_CONTENT_URI); in testMigration()
113 mModelHelper.addItem(APP_ICON, 0, DESKTOP, 4, 2, testPackage9, 9, TMP_CONTENT_URI); in testMigration()
114 mModelHelper.addItem(APP_ICON, 0, DESKTOP, 4, 3, testPackage10, 10, TMP_CONTENT_URI); in testMigration()
118 mModelHelper.addItem(SHORTCUT, 1, HOTSEAT, 0, 0, testPackage2), in testMigration()
[all …]
DGridSizeMigrationTaskTest.java60 mModelHelper.addItem(APP_ICON, 0, HOTSEAT, 0, 0), in testHotseatMigration_apps_dropped()
61 mModelHelper.addItem(SHORTCUT, 1, HOTSEAT, 0, 0), in testHotseatMigration_apps_dropped()
63 mModelHelper.addItem(SHORTCUT, 3, HOTSEAT, 0, 0), in testHotseatMigration_apps_dropped()
64 mModelHelper.addItem(APP_ICON, 4, HOTSEAT, 0, 0), in testHotseatMigration_apps_dropped()
77 mModelHelper.addItem(APP_ICON, 0, HOTSEAT, 0, 0), in testHotseatMigration_shortcuts_dropped()
78 mModelHelper.addItem(30, 1, HOTSEAT, 0, 0), in testHotseatMigration_shortcuts_dropped()
80 mModelHelper.addItem(SHORTCUT, 3, HOTSEAT, 0, 0), in testHotseatMigration_shortcuts_dropped()
81 mModelHelper.addItem(10, 4, HOTSEAT, 0, 0), in testHotseatMigration_shortcuts_dropped()
DGridBackupTableTest.java104 mModelHelper.addItem(1, 2, DESKTOP, 1, 1); in backupTableRemovedOnAdd()
DAddWorkspaceItemsTaskTest.java184 bgDataModel.addItem(mTargetContext, info, false); in writeWorkspaceWithHoles()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/builders/
DPreferenceSliceBuilderImpl.java647 b.addItem(mTitleItem); in apply()
650 b.addItem(mSubtitleItem); in apply()
653 b.addItem(mUriItem); in apply()
656 b.addItem(mKeyItem); in apply()
659 b.addItem(mIconNeedsToBeProcessedItem); in apply()
662 b.addItem(mButtonStyleItem); in apply()
665 b.addItem(mIsEnabledItem); in apply()
668 b.addItem(mIsSelectableItem); in apply()
671 b.addItem(mRadioGroupItem); in apply()
674 b.addItem(mInfoTextItem); in apply()
[all …]
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/util/
DLauncherModelHelper.java184 bgDataModel.addItem(targetContext, in initializeData()
238 public int addItem(int type, int screen, int container, int x, int y) { in addItem() method in LauncherModelHelper
239 return addItem(type, screen, container, x, y, mDefaultProfileId, TEST_PACKAGE); in addItem()
242 public int addItem(int type, int screen, int container, int x, int y, long profileId) { in addItem() method in LauncherModelHelper
243 return addItem(type, screen, container, x, y, profileId, TEST_PACKAGE); in addItem()
246 public int addItem(int type, int screen, int container, int x, int y, String packageName) { in addItem() method in LauncherModelHelper
247 return addItem(type, screen, container, x, y, mDefaultProfileId, packageName); in addItem()
250 public int addItem(int type, int screen, int container, int x, int y, String packageName, in addItem() method in LauncherModelHelper
252 addItem(type, screen, container, x, y, mDefaultProfileId, packageName, id, contentUri); in addItem()
261 public int addItem(int type, int screen, int container, int x, int y, long profileId, in addItem() method in LauncherModelHelper
[all …]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDebug.java89 addItem(items, mActivity.getString(R.string.calendar_info_error), ""); in doInBackground()
131 addItem(items, displayName, text); in doInBackground()
137 addItem(items, mActivity.getString(R.string.calendar_info_error), e.toString()); in doInBackground()
145 addItem(items, mActivity.getString(R.string.calendar_info_no_calendars), ""); in doInBackground()
186 protected void addItem(List<Map<String, String>> items, String title, String text) { in addItem() method in CalendarDebug
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DTimeClustering.java202 mCurrCluster.addItem(currentItem); in compute()
211 mCurrCluster.addItem(currentItem); in compute()
226 mCurrCluster.addItem(currentItem); in compute()
255 partitionedCluster.addItem(currClusterItems.get(j)); in splitAndAddCurrentCluster()
260 partitionedCluster.addItem(currClusterItems.get(j)); in splitAndAddCurrentCluster()
313 prevCluster.addItem(currClusterItems.get(i)); in mergeAndAddCurrentCluster()
361 public void addItem(SmallItem item) { in addItem() method in Cluster
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DMenuManager.java82 group.addItem(new KeyboardShortcutInfo( in updateKeyboardShortcutsMenu()
85 group.addItem(new KeyboardShortcutInfo( in updateKeyboardShortcutsMenu()
88 group.addItem(new KeyboardShortcutInfo( in updateKeyboardShortcutsMenu()
91 group.addItem(new KeyboardShortcutInfo( in updateKeyboardShortcutsMenu()
94 group.addItem(new KeyboardShortcutInfo( in updateKeyboardShortcutsMenu()
97 group.addItem(new KeyboardShortcutInfo( in updateKeyboardShortcutsMenu()
DQuickViewIntentBuilder.java142 clipData.addItem(item); in build()
/packages/apps/Car/Media/src/com/android/car/media/browse/
DBrowseAdapter.java226 void addItem(MediaItemMetadata item, in addItem() method in BrowseAdapter.ItemsBuilder
284 itemsBuilder.addItem(item, getBrowsableViewType(mParentMediaItem), in generateViewData()
287 itemsBuilder.addItem(item, getPlayableViewType(mParentMediaItem), in generateViewData()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSelectionMenu.java39 mPopupList.addItem(R.id.action_select_all, in SelectionMenu()
DPopupList.java78 public void addItem(int id, String title) { in addItem() method in PopupList
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderIcon.java268 public void addItem(WorkspaceItemInfo item) { in addItem() method in FolderIcon
306 addItem(destInfo); in performCreateAnimation()
429 addItem(item); in onDrop()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieItem.java74 public void addItem(PieItem item) { in addItem() method in PieItem
DPieRenderer.java188 public void addItem(PieItem item) { in addItem() method in PieRenderer
/packages/apps/DeskClock/src/com/android/deskclock/
DItemAdapter.kt186 fun addItem(position: Int, itemHolder: T): ItemAdapter<T> { in addItem() method
/packages/apps/Gallery/src/com/android/camera/
DGalleryPicker.java418 mAdapter.addItem(item); in updateItem()
879 public void addItem(Item item) {
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupMembersFragment.java342 public void addItem(String item, boolean primaryFlag) { in addItem() method in GroupMembersFragment.ContactDataHelperClass
403 contact.addItem(itemId, isPrimary); in sendToGroup()
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DRuntimeDocumentClipper.java328 clip.addItem(clipItems.get(i)); in createClipData()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderCursor.java404 dataModel.addItem(mContext, info, false); in checkAndAddItem()
DBgDataModel.java217 public synchronized void addItem(Context context, ItemInfo item, boolean newItem) { in addItem() method in BgDataModel
DModelWriter.java246 mBgDataModel.addItem(mContext, item, true); in addItemToDatabase()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DActionHandler.java416 clipData.addItem(new ClipData.Item(uris[i])); in onPickFinished()
/packages/apps/Messaging/src/com/android/messaging/ui/
DUIIntentsImpl.java116 clipData.addItem(new ClipData.Item(uri)); in getConversationActivityIntent()

12