/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/ |
D | CarUiListItemTest.java | 102 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/ |
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/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/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/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/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()
|
D | MediaItemsLoader.java | 144 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/ |
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 | 72 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/ |
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/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 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/ |
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 | 93 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/ |
D | CachingWidgetPreviewLoader.java | 49 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/ |
D | ModelWriter.java | 86 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/ |
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/Bluetooth/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/Launcher3/src/com/android/launcher3/keyboard/ |
D | ItemFocusIndicatorHelper.java | 166 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/ |
D | sampler.cpp | 35 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/ |
D | KeyInputHandler.java | 98 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/ |
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/apps/Settings/src/com/android/settings/sim/ |
D | ChooseSimActivity.java | 151 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
|