Home
last modified time | relevance | path

Searched defs:items (Results 1 – 25 of 77) sorted by relevance

1234

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DOverflowMenuAdapter.java49 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in getCount() local
58 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in getItem() local
88 final ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in findExpandedIndex() local
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenu.java129 final ArrayList<ActionMenuItem> items = mItems; in findItemIndex() local
149 final ArrayList<ActionMenuItem> items = mItems; in hasVisibleItems() local
164 final ArrayList<ActionMenuItem> items = mItems; in findItemWithShortcut() local
205 final ArrayList<ActionMenuItem> items = mItems; in removeGroup() local
224 final ArrayList<ActionMenuItem> items = mItems; in setGroupCheckable() local
237 final ArrayList<ActionMenuItem> items = mItems; in setGroupEnabled() local
249 final ArrayList<ActionMenuItem> items = mItems; in setGroupVisible() local
DMenuAdapter.java52 ArrayList<MenuItemImpl> items = mOverflowOnly ? in getCount() local
65 ArrayList<MenuItemImpl> items = mOverflowOnly ? in getItem() local
95 final ArrayList<MenuItemImpl> items = mAdapterMenu.getNonActionItems(); in findExpandedIndex() local
DListMenuPresenter.java231 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in getCount() local
240 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in getItem() local
267 final ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in findExpandedIndex() local
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuAdapter.java61 ArrayList<MenuItemImpl> items = mOverflowOnly ? in getCount() local
75 ArrayList<MenuItemImpl> items = mOverflowOnly ? in getItem() local
107 final ArrayList<MenuItemImpl> items = mAdapterMenu.getNonActionItems(); in findExpandedIndex() local
DListMenuPresenter.java239 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in getCount() local
249 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in getItem() local
278 final ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); in findExpandedIndex() local
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DGridWidgetTest.java1811 int[] items = new int[1000]; in testScrollAndInsert() local
1865 int[] items = new int[1000]; in testScrollAndInsertBeforeVisibleItem() local
1997 int[] items = new int[100]; in testPendingSmoothScrollAndRemove() local
2488 int[] items = new int[300]; in testNonFocusableLoseInFastLayout() local
2931 int[] items = new int[100]; in testSmoothscrollerInterrupted() local
2963 int[] items = new int[100]; in testSmoothscrollerCancelled() local
2999 int[] items = new int[2]; in testSetNumRowsAndAddItem() local
3033 int[] items = new int[100]; in testRequestLayoutBugInLayout() local
3065 int[] items = new int[2]; in testChangeLayoutInChild() local
3100 int[] items = new int[200]; in testWrapContent() local
[all …]
DGridActivity.java270 int[] items = removeItems(index1, 1, false); in moveItem() local
298 void attachToNewAdapter(int[] items) { in attachToNewAdapter()
312 void addItems(int index, int[] items) { in addItems()
316 void addItems(int index, int[] items, boolean notify) { in addItems()
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/
DOpReorderTest.java312 List<Item> items = new ArrayList<Item>(itemCount); in process() local
343 private void assertRecycledOpsAreNotReused(List<Item> items) { in assertRecycledOpsAreNotReused()
360 private void assertHasTheSameItems(List<Item> items, in assertHasTheSameItems()
375 private void assertListsIdentical(List<Item> items, List<Item> clones) { in assertListsIdentical()
383 private void apply(List<Item> items, List<UpdateOp> updateOps) { in apply()
618 private String toString(List<Item> items) { in toString()
/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/
DInputMethodSubtypeSwitchingControllerTest.java54 private static void addDummyImeSubtypeListItems(List<ImeSubtypeListItem> items, in addDummyImeSubtypeListItems()
120 final List<ImeSubtypeListItem> items = new ArrayList<>(); in createEnabledImeSubtypes() local
136 final List<ImeSubtypeListItem> items = new ArrayList<>(); in createDisabledImeSubtypes() local
334 final List<ImeSubtypeListItem> items = new ArrayList<>(); in testImeSubtypeListItem() local
364 final List<ImeSubtypeListItem> items = Arrays.asList( in testImeSubtypeListComparator() local
/frameworks/base/core/java/android/view/
DKeyboardShortcutGroup.java43 @NonNull List<KeyboardShortcutInfo> items) { in KeyboardShortcutGroup()
62 @NonNull List<KeyboardShortcutInfo> items, boolean isSystemGroup) { in KeyboardShortcutGroup()
/frameworks/support/compat/tests/java/android/support/v4/app/
DJobIntentServiceTest.java285 TestIntentItem[] items = new TestIntentItem[] { in testEnqueueOne() local
306 TestIntentItem[] items = new TestIntentItem[] { in testEnqueueMultiple() local
330 TestIntentItem[] items = new TestIntentItem[] { in testEnqueueSubWork() local
/frameworks/base/core/tests/coretests/src/android/widget/
DListViewTest.java46 List<String> items = Lists.newArrayList("hello"); in testRequestLayout() local
76 List<String> items = Lists.newArrayList("hello"); in testNoSelectableItems() local
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/
DSortedListTest.java278 Item[] items = new Item[count]; in createItems() local
289 private static Item[] shuffle(Item[] items) { in shuffle()
468 Item[] items = new Item[maxUniqueId * maxGeneration]; in testAddAllWithDuplicates() local
534 Item[] items = new Item[3]; in testAddAllStableSort() local
611 Item[] items = createItems(1, 5, 2); in testModificationFromCallbackThrows() local
/frameworks/native/cmds/installd/
DCacheTracker.h59 std::vector<std::shared_ptr<CacheItem>> items; variable
/frameworks/base/core/java/com/android/internal/util/
DCollectionUtils.java150 public static <T> boolean any(@Nullable List<T> items, in any()
159 public static @Nullable <T> T find(@Nullable List<T> items, in find()
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
DSortedList.java150 public void addAll(T[] items, boolean mayModifyInput) { in addAll()
172 public void addAll(T... items) { in addAll()
183 public void addAll(Collection<T> items) { in addAll()
223 private int deduplicate(T[] items) { in deduplicate()
266 private int findSameItem(T item, T[] items, int from, int to) { in findSameItem()
/frameworks/av/media/libmedia/
DIResourceManagerService.cpp39 static void writeToParcel(Parcel *data, const Vector<T> &items) { in writeToParcel()
49 static void readFromParcel(const Parcel &data, Vector<T> *items) { in readFromParcel()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DTileListTest.java140 private TileList.Tile<Integer> createTile(int startPosition, int... items) { in createTile()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseLocaleTest.java69 ArrayList<String> items = new ArrayList<String>(); in query() local
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/util/
DSortedListActivity.java77 public SortedListAdapter(LayoutInflater layoutInflater, Item... items) { in SortedListAdapter()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DMenu.java31 public List<Item> items; field in Menu
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestBasic.java35 …private String[] items = {"This is a very very very very very very very very very very very long I… field in BiDiTestBasic
/frameworks/base/core/java/android/metrics/
DLogMaker.java56 public LogMaker(Object[] items) { in LogMaker()
409 public void deserialize(Object[] items) { in deserialize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDetailItems.java131 public void setItems(Item[] items) { in setItems()
145 private void handleSetItems(Item[] items) { in handleSetItems()

1234