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/
DGridSizeMigrationTaskTest.java49 addItem(APP_ICON, 0, HOTSEAT, 0, 0), in testHotseatMigration_apps_dropped()
50 addItem(SHORTCUT, 1, HOTSEAT, 0, 0), in testHotseatMigration_apps_dropped()
52 addItem(SHORTCUT, 3, HOTSEAT, 0, 0), in testHotseatMigration_apps_dropped()
53 addItem(APP_ICON, 4, HOTSEAT, 0, 0), in testHotseatMigration_apps_dropped()
66 addItem(APP_ICON, 0, HOTSEAT, 0, 0), in testHotseatMigration_shortcuts_dropped()
67 addItem(30, 1, HOTSEAT, 0, 0), in testHotseatMigration_shortcuts_dropped()
69 addItem(SHORTCUT, 3, HOTSEAT, 0, 0), in testHotseatMigration_shortcuts_dropped()
70 addItem(10, 4, HOTSEAT, 0, 0), in testHotseatMigration_shortcuts_dropped()
DBaseGridChangesTestCase.java49 public int addItem(int type, int screen, int container, int x, int y) { in addItem() method in BaseGridChangesTestCase
72 addItem(APP_ICON, 0, id, 0, 0); in addItem()
113 ids[i][y][x] = addItem(typeArray[i][y][x], screenId, DESKTOP, x, y); in createGrid()
DGridBackupTableTest.java84 addItem(1, 2, DESKTOP, 1, 1); in backupTableRemovedOnAdd()
DAddWorkspaceItemsTaskTest.java160 bgDataModel.addItem(targetContext, info, false); in setupWorkspaceWithHoles()
DBaseModelUpdateTaskTestCase.java136 bgDataModel.addItem(targetContext, in initializeData()
/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.java76 group.addItem(new KeyboardShortcutInfo( in updateKeyboardShortcutsMenu()
79 group.addItem(new KeyboardShortcutInfo( in updateKeyboardShortcutsMenu()
82 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()
DQuickViewIntentBuilder.java139 clipData.addItem(item); in build()
/packages/apps/Car/Media/src/com/android/car/media/browse/
DBrowseAdapter.java229 void addItem(MediaItemMetadata item,
287 itemsBuilder.addItem(item, getBrowsableViewType(mParentMediaItem),
290 itemsBuilder.addItem(item, getPlayableViewType(mParentMediaItem),
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderIcon.java237 public void addItem(WorkspaceItemInfo item) { in addItem() method in FolderIcon
274 addItem(destInfo); in performCreateAnimation()
386 addItem(item); in onDrop()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DPrivateVolumeSettings.java242 addItem(otherUsers, /* titleRes */ 0, userInfo.name, userInfo.id); in update()
247 addItem(screen, R.string.storage_detail_cached, null, UserHandle.USER_NULL); in update()
292 addItem(category, itemsToAdd[i], null, userId); in addDetailItems()
296 private void addItem(PreferenceGroup group, int titleRes, CharSequence title, int userId) { in addItem() method in PrivateVolumeSettings
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeSettings.java242 addItem(otherUsers, /* titleRes */ 0, userInfo.name, userInfo.id); in update()
247 addItem(screen, R.string.storage_detail_cached, null, UserHandle.USER_NULL); in update()
292 addItem(category, itemsToAdd[i], null, userId); in addDetailItems()
296 private void addItem(PreferenceGroup group, int titleRes, CharSequence title, int userId) { in addItem() method in PrivateVolumeSettings
/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/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/Gallery/src/com/android/camera/
DGalleryPicker.java418 mAdapter.addItem(item); in updateItem()
879 public void addItem(Item item) {
/packages/apps/DeskClock/src/com/android/deskclock/
DItemAdapter.java203 public ItemAdapter addItem(int position, @NonNull T itemHolder) { in addItem() method in ItemAdapter
/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/DocumentsUI/src/com/android/documentsui/picker/
DActionHandler.java437 clipData.addItem(new ClipData.Item(uris[i])); in onPickFinished()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderCursor.java384 dataModel.addItem(mContext, info, false); in checkAndAddItem()
DBgDataModel.java307 public synchronized void addItem(Context context, ItemInfo item, boolean newItem) { in addItem() method in BgDataModel
DModelWriter.java245 mBgDataModel.addItem(mContext, item, true); in addItemToDatabase()

12