/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | SortedArrayAdapter.java | 77 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/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
D | BindWidgetTest.java | 107 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/services/Telephony/testapps/ImsTestService/src/com/android/phone/testapps/imstestapp/ |
D | TestImsConfigImpl.java | 28 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/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/ |
D | AppFilterItemTest.java | 39 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/providers/MediaProvider/src/com/android/providers/media/photopicker/data/ |
D | Selection.java | 70 public void addSelectedItem(Item item) { in addSelectedItem() 71 mSelectedItems.put(item.getContentUri(), item); in addSelectedItem() local 79 public void setSelectedItem(Item item) { in setSelectedItem() 81 mSelectedItems.put(item.getContentUri(), item); in setSelectedItem() local 91 public void removeSelectedItem(Item item) { in removeSelectedItem() 110 public boolean isItemSelected(Item item) { in isItemSelected() 150 public void prepareItemForPreviewOnLongPress(Item item) { in prepareItemForPreviewOnLongPress()
|
/packages/apps/DeskClock/src/com/android/deskclock/settings/ |
D | SimpleMenuPreference.kt | 77 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/ |
D | SlicePreferencesUtil.java | 71 static Preference getPreference(SliceItem item, ContextThemeWrapper contextThemeWrapper, in getPreference() 311 final SliceItem item = items.get(i); in extract() local 368 private static CharSequence getKey(SliceItem item) { in getKey() 373 private static CharSequence getRadioGroup(SliceItem item) { in getRadioGroup() 386 SliceItem item = contentItem.getSliceItem(); in getScreenTitleItem() local 397 SliceItem item = contentItem.getSliceItem(); in getRedirectSlice() local 408 SliceItem item = contentItem.getSliceItem(); in getFocusedPreferenceItem() local 419 SliceItem item = contentItem.getSliceItem(); in getEmbeddedItem() local 516 private static boolean hasEndIcon(SliceItem item) { in hasEndIcon() 542 static CharSequence getText(SliceItem item) { in getText() [all …]
|
/packages/apps/Gallery2/src/com/android/photos/shims/ |
D | LoaderCompatShim.java | 26 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()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/ |
D | ImageLoader.java | 76 public void loadPhotoThumbnail(@NonNull Item item, @NonNull ImageView imageView) { in loadPhotoThumbnail() 95 public void loadImagePreview(@NonNull Item item, @NonNull ImageView imageView) { in loadImagePreview() 118 private void loadAnimatedWebpPreview(@NonNull Item item, @NonNull ImageView imageView) { in loadAnimatedWebpPreview() 141 public void loadImageFromVideoForPreview(@NonNull Item item, @NonNull ImageView imageView) { in loadImageFromVideoForPreview() 150 private ObjectKey getGlideSignature(Item item, String prefix) { in getGlideSignature()
|
/packages/services/Car/car-lib/src/com/android/car/internal/util/ |
D | Parcelling.java | 48 void parcel(T item, Parcel dest, int parcelFlags); in parcel() 107 public void parcel(@Nullable String item, Parcel dest, int parcelFlags) { in parcel() 120 public void parcel(String[] item, Parcel dest, int parcelFlags) { in parcel() 140 public void parcel(List<String> item, Parcel dest, int parcelFlags) { in parcel() 159 public void parcel(Map<String, String> item, Parcel dest, int parcelFlags) { in parcel() argument 176 public void parcel(Set<String> item, Parcel dest, int parcelFlags) { in parcel() 203 public void parcel(Set<String> item, Parcel dest, int parcelFlags) { in parcel() 230 public void parcel(ArraySet<String> item, Parcel dest, int parcelFlags) { in parcel() 257 public void parcel(@Nullable Boolean item, Parcel dest, int parcelFlags) { in parcel() 288 public void parcel(Pattern item, Parcel dest, int parcelFlags) { in parcel() [all …]
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | AlbumSetFragment.java | 96 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()
|
D | PhotoSetFragment.java | 74 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()
|
D | AlbumFragment.java | 108 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()
|
D | MultiChoiceManager.java | 54 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 205 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { in onActionItemClicked() 226 private void singleItemAction(Object item, int actionItemId) { in singleItemAction()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpItemTest.java | 96 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/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ |
D | AccessibilityTest.java | 58 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/modules/Bluetooth/system/packet/avrcp/ |
D | get_folder_items.cc | 64 for (const auto& item : items_) { in size() local 89 for (const auto& item : items_) { in Serialize() local 96 bool GetFolderItemsResponseBuilder::AddMediaPlayer(MediaPlayerItem item) { in AddMediaPlayer() 105 bool GetFolderItemsResponseBuilder::AddSong(MediaElementItem item) { in AddSong() 114 bool GetFolderItemsResponseBuilder::AddFolder(FolderItem item) { in AddFolder() 125 const MediaListItem& item) { in PushMediaListItem() 141 const MediaPlayerItem& item) { in PushMediaPlayerItem() 184 const std::shared_ptr<::bluetooth::Packet>& pkt, const FolderItem& item) { in PushFolderItem() 202 const MediaElementItem& item) { in PushMediaElementItem()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | ModelWriter.java | 102 ItemInfo item, int container, int screenId, int cellX, int cellY) { in updateItemInfoProps() 122 public void addOrMoveItemInDatabase(ItemInfo item, in addOrMoveItemInDatabase() 133 private void checkItemInfoLocked(int itemId, ItemInfo item, StackTraceElement[] stackTrace) { in checkItemInfoLocked() 173 public void moveItemInDatabase(final ItemInfo item, in moveItemInDatabase() 197 ItemInfo item = items.get(i); in moveItemsInDatabase() local 215 public void modifyItemInDatabase(final ItemInfo item, in modifyItemInDatabase() 236 public void updateItemInDatabase(ItemInfo item) { in updateItemInDatabase() 245 private void notifyItemModified(ItemInfo item) { in notifyItemModified() 253 public void addItemToDatabase(final ItemInfo item, in addItemToDatabase() 283 public void deleteItemFromDatabase(ItemInfo item, @Nullable final String reason) { in deleteItemFromDatabase() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | Menus.java | 31 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/ |
D | DeleteDropTarget.java | 98 private void setTextBasedOnDragSource(ItemInfo item) { in setTextBasedOnDragSource() 108 private boolean canRemove(ItemInfo item) { in canRemove() 115 private void setControlTypeBasedOnDragSource(ItemInfo item) { in setControlTypeBasedOnDragSource() 132 ItemInfo item = d.dragInfo; in completeDrop() local 161 public void onAccessibilityDrop(View view, ItemInfo item) { in onAccessibilityDrop()
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | PhotoSetLoader.java | 84 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/Launcher3/src/com/android/launcher3/accessibility/ |
D | BaseAccessibilityDelegate.java | 54 public View item; field in BaseAccessibilityDelegate.DragInfo 70 ItemInfo item = (ItemInfo) host.getTag(); in onInitializeAccessibilityNodeInfo() local 86 protected abstract void getSupportedActions(View host, ItemInfo item, List<LauncherAction> out); in getSupportedActions() 99 protected boolean itemSupportsAccessibleDrag(ItemInfo item) { in itemSupportsAccessibleDrag() 119 View host, ItemInfo item, int action, boolean fromKeyboard); in performAction() 160 protected abstract boolean beginAccessibleDrag(View item, ItemInfo info, boolean fromKeyboard); in beginAccessibleDrag()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/model/ |
D | ItemTest.java | 59 final Item item = new Item(cursor, UserId.CURRENT_USER); in testConstructor() local 88 final Item item = new Item(cursor, userId); in testConstructor_differentUser() local 113 final Item item = generateItem(id, mimeType, dateTaken, generationModified, duration); in testIsImage() local 130 final Item item = generateItem(id, mimeType, dateTaken, generationModified, duration); in testIsVideo() local 147 final Item item = generateSpecialFormatItem(id, mimeType, dateTaken, generationModified, in testIsMotionPhoto() local 195 final Item item = generateSpecialFormatItem(id, mimeType, dateTaken, generationModified, in testIsGifDoesNotUseMimeType() local 210 final Item item = Item.createDateItem(dateTaken); in testCreateDateItem() local 264 Item item = generateItem(id, "image/jpeg", dateTaken, generationModified, duration); in testGetContentDescription() local 296 Item item = generateItem(id, "video", dateTaken, generationModified, -1); in testGetDurationText() local
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PhotoDataAdapter.java | 159 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/modules/Connectivity/nearby/service/java/com/android/server/nearby/fastpair/cache/ |
D | FastPairCacheManager.java | 80 public boolean saveDiscoveryItem(DiscoveryItem item) { in saveDiscoveryItem() 129 Cache.StoredDiscoveryItem item = Cache.StoredDiscoveryItem.parseFrom(res); in getStoredDiscoveryItem() local 163 Cache.StoredDiscoveryItem item = Cache.StoredDiscoveryItem.parseFrom(res); in getAllSavedStoreDiscoveryItem() local 209 Cache.StoredFastPairItem item = Cache.StoredFastPairItem.parseFrom(res); in getStoredFastPairItemFromMacAddress() local 272 Cache.StoredFastPairItem item = Cache.StoredFastPairItem.parseFrom(res); in getAllSavedStoredFastPairItem() local
|