Home
last modified time | relevance | path

Searched defs:item (Results 1 – 25 of 524) sorted by relevance

12345678910>>...21

/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/
DCarUiListItemTest.java102 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in testItemVisibility_withTitle() local
119 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in testItemVisibility_withBody() local
140 CarUiListItem item = new CarUiHeaderListItem(title, body); in testHeaderItemVisibility() local
159 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in testItemDisabled() local
174 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in testItemActivated() local
189 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.CHEVRON); in testItemVisibility_withChevron() local
206 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in testItemVisibility_withTitle_withBodyAndIcon() local
229 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.CHECK_BOX); in testItem_withCheckbox() local
263 CarUiContentListItem item = new CarUiCheckBoxListItem(); in testItem_withCheckboxListItem() local
294 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.SWITCH); in testItem_withSwitch() local
[all …]
/packages/apps/TV/src/com/android/tv/dvr/ui/
DSortedArrayAdapter.java77 public final void add(Object item) { in add()
92 public final void add(T item, boolean insertToEnd) { in add()
114 public int addExtraItem(T item) { in addExtraItem()
123 public boolean remove(Object item) { in remove()
128 public boolean removeWithId(T item) { in removeWithId()
146 public void replace(int position, Object item) { in replace()
167 public final void change(T item) { in change()
181 public final boolean contains(T item) { in contains()
196 protected abstract long getId(T item); in getId()
198 private int indexWithId(T item) { in indexWithId()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/
DAppFilterItemTest.java39 final AppFilterItem item = AppFilterRegistry.getInstance().get(FILTER_APPS_USAGE_ACCESS); in equals_sameContent_true() local
55 final AppFilterItem item = AppFilterRegistry.getInstance().get(FILTER_APPS_USAGE_ACCESS); in compare_sameContent_return0() local
68 final AppFilterItem item = AppFilterRegistry.getInstance().get(FILTER_APPS_USAGE_ACCESS); in compare_toNull_return1() local
74 final AppFilterItem item = AppFilterRegistry.getInstance().get(FILTER_APPS_USAGE_ACCESS); in compare_differentFilter_returnFilterDiff() local
84 final AppFilterItem item = AppFilterRegistry.getInstance().get(FILTER_APPS_USAGE_ACCESS); in hash_differentItem_differentHash() local
/packages/services/Telephony/testapps/ImsTestService/src/com/android/phone/testapps/imstestapp/
DTestImsConfigImpl.java28 public int item; field in TestImsConfigImpl.ConfigItem
32 public ConfigItem(int item, int value) { in ConfigItem()
37 public ConfigItem(int item, String value) { in ConfigItem()
71 public int setConfig(int item, int value) { in setConfig()
77 public int setConfig(int item, String value) { in setConfig()
83 public int getConfigInt(int item) { in getConfigInt()
89 public String getConfigString(int item) { in getConfigString()
93 public void setConfigValue(int item, int value) { in setConfigValue()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DBindWidgetTest.java107 LauncherAppWidgetInfo item = createWidgetInfo(info, getTargetContext(), true); in testBindNormalWidget_withConfig() local
116 LauncherAppWidgetInfo item = createWidgetInfo(info, getTargetContext(), true); in testBindNormalWidget_withoutConfig() local
125 LauncherAppWidgetInfo item = createWidgetInfo(info, getTargetContext(), false); in testUnboundWidget_removed() local
146 LauncherAppWidgetInfo item = createWidgetInfo(info, getTargetContext(), false); in testPendingWidget_autoRestored() local
159 LauncherAppWidgetInfo item = createWidgetInfo(info, getTargetContext(), false); in testPendingWidget_withConfigScreen() local
200 LauncherAppWidgetInfo item = getInvalidWidgetInfo(); in testPendingWidget_notRestored_removed() local
218 LauncherAppWidgetInfo item = getInvalidWidgetInfo(); in testPendingWidget_notRestored_brokenInstall() local
241 LauncherAppWidgetInfo item = getInvalidWidgetInfo(); in testPendingWidget_notRestored_activeInstall() local
304 LauncherAppWidgetInfo item = new LauncherAppWidgetInfo(10, in getInvalidWidgetInfo() local
/packages/apps/Gallery2/src/com/android/photos/shims/
DLoaderCompatShim.java26 Drawable drawableForItem(T item, Drawable recycle); in drawableForItem()
27 Uri uriForItem(T item); in uriForItem()
28 ArrayList<Uri> urisForSubItems(T item); in urisForSubItems()
30 Object getPathForItem(T item); in getPathForItem()
DMediaItemsLoader.java144 public Drawable drawableForItem(Cursor item, Drawable recycle) { in drawableForItem()
161 public Uri uriForItem(Cursor item) { in uriForItem()
168 public ArrayList<Uri> urisForSubItems(Cursor item) { in urisForSubItems()
181 public Object getPathForItem(Cursor item) { in getPathForItem()
/packages/apps/DeskClock/src/com/android/deskclock/settings/
DSimpleMenuPreference.kt77 val item: CharSequence? = getItem(0) in restoreOriginalOrder() constant
83 val item: CharSequence? = getItem(position) in swapSelectedToFront() constant
91 val item: CharSequence? = getItem(position) in setSelectedPosition() constant
114 val item = array[0] in restoreOriginalOrder() constant
120 val item = array[position] in swapSelectedToFront() constant
130 val item = array[position] in setSelectedPosition() constant
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/
DSlicePreferencesUtil.java72 static Preference getPreference(SliceItem item, ContextThemeWrapper contextThemeWrapper, in getPreference()
301 final SliceItem item = items.get(i); in extract() local
355 private static CharSequence getKey(SliceItem item) { in getKey()
360 private static CharSequence getRadioGroup(SliceItem item) { in getRadioGroup()
373 SliceItem item = contentItem.getSliceItem(); in getScreenTitleItem() local
384 SliceItem item = contentItem.getSliceItem(); in getRedirectSlice() local
395 SliceItem item = contentItem.getSliceItem(); in getFocusedPreferenceItem() local
406 SliceItem item = contentItem.getSliceItem(); in getEmbeddedItem() local
506 static CharSequence getText(SliceItem item) { in getText()
533 static int getPageId(SliceItem item) { in getPageId()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DAccessibilityTest.java58 View item = Views.createTestView(true); in test_announceSelected() local
65 View item = Views.createTestView(true); in testNullItemDetails_NoActionClick() local
83 View item = Views.createTestView(true); in test_routesAccessibilityClicks() local
92 View item = Views.createTestView(true); in test_routesAccessibilityLongClicks() local
/packages/apps/Gallery2/src/com/android/photos/
DAlbumSetFragment.java96 Cursor item = (Cursor) getItemAtPosition(position); in onGridItemClick() local
107 public int getItemMediaType(Object item) { in getItemMediaType()
112 public int getItemSupportedOperations(Object item) { in getItemSupportedOperations()
117 public ArrayList<Uri> getSubItemUrisForItem(Object item) { in getSubItemUrisForItem()
127 public Uri getItemUri(Object item) { in getItemUri()
132 public Object getPathForItem(Object item) { in getPathForItem()
DPhotoSetFragment.java74 Cursor item = (Cursor) getItemAtPosition(position); in onGridItemClick() local
102 public int getItemMediaType(Object item) { in getItemMediaType()
107 public int getItemSupportedOperations(Object item) { in getItemSupportedOperations()
113 public ArrayList<Uri> getSubItemUrisForItem(Object item) { in getSubItemUrisForItem()
125 public Uri getItemUri(Object item) { in getItemUri()
130 public Object getPathForItem(Object item) { in getPathForItem()
DAlbumFragment.java108 Cursor item = (Cursor) getItemAtPosition(position); in onGridItemClick() local
137 public int getItemMediaType(Object item) { in getItemMediaType()
142 public int getItemSupportedOperations(Object item) { in getItemSupportedOperations()
148 public ArrayList<Uri> getSubItemUrisForItem(Object item) { in getSubItemUrisForItem()
160 public Uri getItemUri(Object item) { in getItemUri()
165 public Object getPathForItem(Object item) { in getPathForItem()
DMultiChoiceManager.java54 public int getItemMediaType(Object item); in getItemMediaType()
55 public int getItemSupportedOperations(Object item); in getItemSupportedOperations()
56 public ArrayList<Uri> getSubItemUrisForItem(Object item); in getSubItemUrisForItem()
57 public Uri getItemUri(Object item); in getItemUri()
97 private String getItemMimetype(Object item) { in getItemMimetype()
112 Object item = mDelegate.getItemAtPosition(position); in onItemCheckedStateChanged() local
207 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { in onActionItemClicked()
229 private void singleItemAction(Object item, int actionItemId) { in singleItemAction()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DMenus.java31 MenuItem item = menu.getItem(i); in disableHiddenItems() local
44 public static void setEnabledAndVisible(MenuItem item, boolean enabled) { in setEnabledAndVisible()
49 private static boolean contains(MenuItem[] exclusions, MenuItem item) { in contains()
/packages/apps/Launcher3/src/com/android/launcher3/
DDeleteDropTarget.java93 private void setTextBasedOnDragSource(ItemInfo item) { in setTextBasedOnDragSource()
103 private boolean canRemove(ItemInfo item) { in canRemove()
110 private void setControlTypeBasedOnDragSource(ItemInfo item) { in setControlTypeBasedOnDragSource()
128 ItemInfo item = d.dragInfo; in completeDrop() local
147 public void onAccessibilityDrop(View view, ItemInfo item) { in onAccessibilityDrop()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DCachingWidgetPreviewLoader.java49 public boolean isPreviewLoaded(@NonNull WidgetItem item, @NonNull Size previewSize) { in isPreviewLoaded()
55 public Bitmap getPreview(@NonNull WidgetItem item, @NonNull Size previewSize) { in getPreview()
65 private CacheResult getCacheResult(@NonNull WidgetItem item, @NonNull Size previewSize) { in getCacheResult()
81 private CacheResult putCacheResult( in putCacheResult()
105 private void removeCacheResult(@NonNull WidgetItem item, @NonNull Size previewSize) { in removeCacheResult()
123 @NonNull BaseActivity activity, @NonNull WidgetItem item, @NonNull Size previewSize, in loadPreview()
286 private static ComponentKey toComponentKey(@NonNull WidgetItem item) { in toComponentKey()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DModelWriter.java86 ItemInfo item, int container, int screenId, int cellX, int cellY) { in updateItemInfoProps()
104 public void addOrMoveItemInDatabase(ItemInfo item, in addOrMoveItemInDatabase()
115 private void checkItemInfoLocked(int itemId, ItemInfo item, StackTraceElement[] stackTrace) { in checkItemInfoLocked()
155 public void moveItemInDatabase(final ItemInfo item, in moveItemInDatabase()
176 ItemInfo item = items.get(i); in moveItemsInDatabase() local
194 public void modifyItemInDatabase(final ItemInfo item, in modifyItemInDatabase()
214 public void updateItemInDatabase(ItemInfo item) { in updateItemInDatabase()
226 public void addItemToDatabase(final ItemInfo item, in addItemToDatabase()
255 public void deleteItemFromDatabase(ItemInfo item) { in deleteItemFromDatabase()
372 UpdateItemRunnable(ItemInfo item, Supplier<ContentWriter> writer) { in UpdateItemRunnable()
[all …]
/packages/apps/Gallery2/src/com/android/photos/data/
DPhotoSetLoader.java84 public Drawable drawableForItem(Cursor item, Drawable recycle) { in drawableForItem()
97 public Uri uriForItem(Cursor item) { in uriForItem()
102 public ArrayList<Uri> urisForSubItems(Cursor item) { in urisForSubItems()
112 public Object getPathForItem(Cursor item) { in getPathForItem()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpItemTest.java96 AvrcpItem item = builder.build(); in buildAvrcpItem() local
148 AvrcpItem item = builder.build(); in buildAvrcpItemFromAvrcpAttributes() local
208 AvrcpItem item = builder.build(); in buildAvrcpItemFromAvrcpAttributesWithBadIds_badIdsIgnored() local
260 AvrcpItem item = builder.build(); in buildAvrcpItemFromAvrcpAttributes_imageHandleTooShort() local
312 AvrcpItem item = builder.build(); in buildAvrcpItemFromAvrcpAttributes_imageHandleEmpty() local
364 AvrcpItem item = builder.build(); in buildAvrcpItemFromAvrcpAttributes_imageHandleNull() local
416 AvrcpItem item = builder.build(); in buildAvrcpItemFromAvrcpAttributes_imageHandleNotDigits() local
441 AvrcpItem item = builder.build(); in updateCoverArtLocation() local
478 AvrcpItem item = builder.build(); in avrcpMediaItem_toMediaMetadata() local
532 AvrcpItem item = builder.build(); in avrcpFolderItem_toMediaMetadata() local
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DItemFocusIndicatorHelper.java166 protected boolean shouldDraw(T item) { in shouldDraw()
170 protected void changeFocus(T item, boolean hasFocus) { in changeFocus()
216 protected void setCurrentItem(T item) { in setCurrentItem()
225 public abstract void viewToRect(T item, Rect outRect); in viewToRect()
232 ViewSetListener(T item, boolean callOnCancel) { in ViewSetListener()
/packages/modules/StatsD/lib/libkll/
Dsampler.cpp35 void KllSampler::Add(const int64_t item) { in Add()
45 void KllSampler::AddWithWeight(int64_t item, int weight) { in AddWithWeight()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DKeyInputHandler.java98 private boolean shouldExtendSelection(DocumentItemDetails item, KeyEvent event) { in shouldExtendSelection()
107 public abstract boolean isInteractiveItem(T item, KeyEvent e); in isInteractiveItem()
108 public abstract boolean onItemActivated(T item, KeyEvent e); in onItemActivated()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoDataAdapter.java159 public void onPhotoChanged(int index, Path item); in onPhotoChanged()
230 MediaItem item = getItemInternal(index); in getVersion() local
236 MediaItem item = getItemInternal(index); in getPath() local
400 MediaItem item = mData[index % DATA_CACHE_SIZE]; in updateCurrentIndex() local
451 MediaItem item = getItem(index); in getScreenNail() local
469 MediaItem item = getItem(mCurrentIndex + offset); in getImageSize() local
481 MediaItem item = getItem(mCurrentIndex + offset); in getImageRotation() local
508 MediaItem item = getItem(mCurrentIndex + offset); in isVideo() local
516 MediaItem item = getItem(mCurrentIndex + offset); in isDeletable() local
585 MediaItem item = getMediaItem(0); in setCurrentPhoto() local
[all …]
/packages/apps/Settings/src/com/android/settings/sim/
DChooseSimActivity.java151 public void onItemSelected(IItem item) { in onItemSelected()
215 Item item = (Item) mItemGroup.getItemAt(mSelectedItemIndex); in onStateChange() local
234 Item item = new DisableableItem(); in displaySubscriptions() local
261 Item item = new DisableableItem(); in displaySubscriptions() local
298 Item item = (Item) mItemGroup.getItemAt(itemIndex); in handleEnableRemovableSimError() local

12345678910>>...21