Home
last modified time | relevance | path

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

123

/aosp12/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestActivity.java90 private void addItem(List<Map<String, Object>> data, String name, in addItem() method in BiDiTestActivity
102 addItem(result, "Basic", BiDiTestBasic.class, R.id.basic); in getTests()
104 addItem(result, "Canvas2", BiDiTestCanvas2.class, R.id.canvas2); in getTests()
106 addItem(result, "TextView LTR", BiDiTestTextViewLtr.class, R.id.textview_ltr); in getTests()
107 addItem(result, "TextView RTL", BiDiTestTextViewRtl.class, R.id.textview_rtl); in getTests()
120 addItem(result, "Grid LTR", BiDiTestGridLayoutLtr.class, R.id.grid_layout_ltr); in getTests()
121 addItem(result, "Grid RTL", BiDiTestGridLayoutRtl.class, R.id.grid_layout_rtl); in getTests()
126 addItem(result, "Frame LTR", BiDiTestFrameLayoutLtr.class, R.id.frame_layout_ltr); in getTests()
141 addItem(result, "Padding", BiDiTestViewPadding.class, R.id.view_padding); in getTests()
149 addItem(result, "Gallery LTR", BiDiTestGalleryLtr.class, R.id.gallery_ltr); in getTests()
[all …]
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DPersisterQueueTests.java95 mTarget.addItem(mFactory.createItem(), false); in testProcessOneItem()
119 mTarget.addItem(mFactory.createItem(), true); in testProcessOneItem_Flush()
143 mTarget.addItem(mFactory.createItem(), false); in testProcessTwoItems()
144 mTarget.addItem(mFactory.createItem(), false); in testProcessTwoItems()
171 mTarget.addItem(mFactory.createItem(), false); in testProcessTwoItems_OneAfterAnother()
190 mTarget.addItem(mFactory.createItem(), false); in testProcessTwoItems_OneAfterAnother()
231 mTarget.addItem(item, false); in testFindLastItemReturnMatchedItem()
267 mTarget.addItem(scheduledItem, false); in testUpdateLastOrAddItemUpdatesMatchedItem()
283 mTarget.addItem(scheduledItem, false); in testUpdateLastOrAddItemUpdatesAddItemWhenNoMatch()
310 mTarget.addItem(mFactory.createItem(), false); in testFlushWaitSynchronously()
[all …]
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
H A DGridSizeMigrationTaskV2Test.java114 mModelHelper.addItem(APP_ICON, 0, HOTSEAT, 0, 0, testPackage1, 1, TMP_CONTENT_URI), in testMigration()
115 mModelHelper.addItem(SHORTCUT, 1, HOTSEAT, 0, 0, testPackage2, 2, TMP_CONTENT_URI), in testMigration()
117 mModelHelper.addItem(SHORTCUT, 3, HOTSEAT, 0, 0, testPackage3, 3, TMP_CONTENT_URI), in testMigration()
118 mModelHelper.addItem(APP_ICON, 4, HOTSEAT, 0, 0, testPackage4, 4, TMP_CONTENT_URI), in testMigration()
120 mModelHelper.addItem(APP_ICON, 0, DESKTOP, 2, 2, testPackage5, 5, TMP_CONTENT_URI); in testMigration()
121 mModelHelper.addItem(APP_ICON, 0, DESKTOP, 2, 3, testPackage6, 6, TMP_CONTENT_URI); in testMigration()
122 mModelHelper.addItem(APP_ICON, 0, DESKTOP, 4, 1, testPackage8, 8, TMP_CONTENT_URI); in testMigration()
123 mModelHelper.addItem(APP_ICON, 0, DESKTOP, 4, 2, testPackage9, 9, TMP_CONTENT_URI); in testMigration()
124 mModelHelper.addItem(APP_ICON, 0, DESKTOP, 4, 3, testPackage10, 10, TMP_CONTENT_URI); in testMigration()
128 mModelHelper.addItem(SHORTCUT, 1, HOTSEAT, 0, 0, testPackage2), in testMigration()
[all …]
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
H A DListGridLayoutTest.java288 mListGridLayout.addItem(item1); in testAddItem()
289 mListGridLayout.addItem(item2); in testAddItem()
290 mListGridLayout.addItem(item3); in testAddItem()
291 mListGridLayout.addItem(item4); in testAddItem()
297 mListGridLayout.addItem(item1); in testAddItem()
312 mListGridLayout.addItem(item1); in testAddItem_reverseItems()
313 mListGridLayout.addItem(item2); in testAddItem_reverseItems()
314 mListGridLayout.addItem(item3); in testAddItem_reverseItems()
326 mListGridLayout.addItem(item1); in testAddItem_reverseItems()
327 mListGridLayout.addItem(item2); in testAddItem_reverseItems()
[all …]
/aosp12/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/builders/
H A 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()
665 b.addItem(mIsEnabledItem); in apply()
671 b.addItem(mRadioGroupItem); in apply()
674 b.addItem(mInfoTextItem); in apply()
677 b.addItem(mInfoImageItem); in apply()
680 b.addItem(mActionIdItem); in apply()
683 b.addItem(mPageIdItem); in apply()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/location/gnss/
H A DGnssMetrics.java120 mLocationFailureStatistics.addItem(1.0); in logReceivedLocationStatus()
121 mLocationFailureReportsStatistics.addItem(1.0); in logReceivedLocationStatus()
124 mLocationFailureStatistics.addItem(0.0); in logReceivedLocationStatus()
125 mLocationFailureReportsStatistics.addItem(0.0); in logReceivedLocationStatus()
137 mLocationFailureStatistics.addItem(1.0); in logMissedReports()
138 mLocationFailureReportsStatistics.addItem(1.0); in logMissedReports()
155 mPositionAccuracyMeterStatistics.addItem(positionAccuracyMeters); in logPositionAccuracyMeters()
186 mTopFourAverageCn0Statistics.addItem(top4AvgCn0); in logCn0()
188 mTopFourAverageCn0DbmHzReportsStatistics.addItem(top4AvgCn0 * 1000); in logCn0()
249 mTopFourAverageCn0StatisticsL5.addItem(top4AvgCn0); in logCn0L5()
[all …]
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
H A DLauncherModelHelper.java248 bgDataModel.addItem(sandboxContext, in initializeData()
302 public int addItem(int type, int screen, int container, int x, int y) { in addItem() method in LauncherModelHelper
303 return addItem(type, screen, container, x, y, defaultProfileId, TEST_PACKAGE); in addItem()
306 public int addItem(int type, int screen, int container, int x, int y, long profileId) { in addItem() method in LauncherModelHelper
307 return addItem(type, screen, container, x, y, profileId, TEST_PACKAGE); in addItem()
311 return addItem(type, screen, container, x, y, defaultProfileId, packageName); in addItem()
325 public int addItem(int type, int screen, int container, int x, int y, long profileId, in addItem() method in LauncherModelHelper
330 addItem(type, screen, container, x, y, profileId, packageName, id, CONTENT_URI); in addItem()
334 public void addItem(int type, int screen, int container, int x, int y, long profileId, in addItem() method in LauncherModelHelper
355 addItem(APP_ICON, 0, id, 0, 0, profileId); in addItem()
[all …]
/aosp12/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A 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
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A 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
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/files/
H A 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()
/aosp12/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DHwTests.java98 addItem(myData, nextLabel, activityIntent( in getData()
103 addItem(myData, nextLabel, browseIntent(prefix.equals("") ? in getData()
138 protected void addItem(List<Map<String, Object>> data, String name, Intent intent) { in addItem() method in HwTests
/aosp12/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
H A DVectorDrawableTest.java97 addItem(myData, nextLabel, activityIntent( in getData()
102 addItem(myData, nextLabel, browseIntent(prefix.equals("") ? in getData()
137 protected void addItem(List<Map<String, Object>> data, String name, Intent intent) { in addItem() method in VectorDrawableTest
/aosp12/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DMainActivity.java128 addItem(myData, nextLabel, activityIntent( in getData()
133 addItem(myData, nextLabel, browseIntent(prefix.equals("") ? in getData()
168 protected void addItem(List<Map<String, Object>> data, String name, Intent intent) { in addItem() method in MainActivity
/aosp12/packages/apps/Car/Media/src/com/android/car/media/browse/
H A 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()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DPersisterQueue.java108 synchronized void addItem(WriteQueueItem item, boolean flush) { in addItem() method in PersisterQueue
140 addItem(item, flush); in updateLastOrAddItem()
H A DPackageConfigPersister.java205 mPersisterQueue.addItem(new WriteProcessItem(writeRecord), false /* flush */); in updateFromImpl()
268 mPersisterQueue.addItem(new DeletePackageItem(userId, packageName), in removePackage()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DLockscreenFragment.java233 mChildren.forEach(child -> adapter.addItem(this, child)); in toggleExpando()
292 public void addItem(Item item) { in addItem() method in LockscreenFragment.Adapter
303 public void addItem(Item parent, Item child) { in addItem() method in LockscreenFragment.Adapter
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DSelectionMenu.java39 mPopupList.addItem(R.id.action_select_all, in SelectionMenu()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyboardShortcuts.java401 systemGroup.addItem(new KeyboardShortcutInfo( in getSystemShortcuts()
405 systemGroup.addItem(new KeyboardShortcutInfo( in getSystemShortcuts()
409 systemGroup.addItem(new KeyboardShortcutInfo( in getSystemShortcuts()
413 systemGroup.addItem(new KeyboardShortcutInfo( in getSystemShortcuts()
418 systemGroup.addItem(new KeyboardShortcutInfo( in getSystemShortcuts()
423 systemGroup.addItem(new KeyboardShortcutInfo( in getSystemShortcuts()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/model/
H A DBgDataModel.java219 public synchronized void addItem(Context context, ItemInfo item, boolean newItem) { in addItem() method in BgDataModel
220 addItem(context, item, newItem, null); in addItem()
223 public synchronized void addItem( in addItem() method in BgDataModel
/aosp12/frameworks/base/core/java/android/view/
H A DKeyboardShortcutGroup.java112 public void addItem(KeyboardShortcutInfo item) { in addItem() method in KeyboardShortcutGroup
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
H A DListGridLayout.java115 public void addItem(View item) { in addItem() method in ListGridLayout
H A DGlobalActionsGridLayout.java93 list.addItem(v); in addToListView()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
H A DPieItem.java74 public void addItem(PieItem item) { in addItem() method in PieItem
/aosp12/frameworks/base/core/java/android/content/
H A DClipData.java966 public void addItem(Item item) { in addItem() method in ClipData
984 public void addItem(ContentResolver resolver, Item item) { in addItem() method in ClipData
985 addItem(item); in addItem()

123