Home
last modified time | relevance | path

Searched refs:getItemAt (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DTileListTest.java46 assertThat(mTileList.getItemAt(3), nullValue()); in emptyGet()
47 assertThat(mTileList.getItemAt(100), nullValue()); in emptyGet()
51 public void getItemAt() { in getItemAt() method in TileListTest
53 assertThat(mTileList.getItemAt(0), is(1)); in getItemAt()
54 assertThat(mTileList.getItemAt(1), is(2)); in getItemAt()
55 assertThat(mTileList.getItemAt(2), is(3)); in getItemAt()
56 assertThat(mTileList.getItemAt(3), nullValue()); in getItemAt()
88 assertThat(mTileList.getItemAt(0), is(1)); in addShortTileAndGet()
89 assertThat(mTileList.getItemAt(1), nullValue()); in addShortTileAndGet()
90 assertThat(mTileList.getItemAt(2), nullValue()); in addShortTileAndGet()
[all …]
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/items/
DItemGroupTest.java66 assertSame("Item at position 0 should be child1", CHILD_1, mItemGroup.getItemAt(0)); in testGroup()
67 assertSame("Item at position 1 should be child2", CHILD_2, mItemGroup.getItemAt(1)); in testGroup()
83 assertSame("Item at position 0 should be child1", CHILD_1, mItemGroup.getItemAt(0)); in testRemoveChild()
84 assertSame("Item at position 1 should be child3", CHILD_3, mItemGroup.getItemAt(1)); in testRemoveChild()
114 assertSame("Position 0 should be child 1", CHILD_1, parentGroup.getItemAt(0)); in testNestedGroup()
115 assertSame("Position 1 should be child 2", CHILD_2, parentGroup.getItemAt(1)); in testNestedGroup()
116 assertSame("Position 2 should be child 3", CHILD_3, parentGroup.getItemAt(2)); in testNestedGroup()
117 assertSame("Position 3 should be child 4", CHILD_4, parentGroup.getItemAt(3)); in testNestedGroup()
254 assertSame("Position 0 should be child 1", CHILD_1, parentGroup.getItemAt(0)); in testEmptyChildGroup()
255 assertSame("Position 1 should be child 2", CHILD_2, parentGroup.getItemAt(1)); in testEmptyChildGroup()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DItemInflaterTest.java52 Item child0 = (Item) itemGroup.getItemAt(0); in testInflate()
53 Item child1 = (Item) itemGroup.getItemAt(1); in testInflate()
DItemTest.java157 assertSame("getItemAt should return itself", item, item.getItemAt(0)); in testHierarchyImplementation()
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java251 if (clip.getItemAt(0).getText() != null && in setPrimaryClip()
254 clip.getItemAt(0).getText().toString()); in setPrimaryClip()
288 clip.setItemAt(i, new ClipData.Item(clip.getItemAt(i))); in setPrimaryClip()
363 CharSequence text = clipboard.primaryClip.getItemAt(0).getText(); in hasClipboardText()
465 checkItemOwnerLocked(data.getItemAt(i), uid); in checkDataOwnerLocked()
514 grantItemLocked(clipboard.primaryClip.getItemAt(i), pkg, UserHandle.getUserId(uid)); in addActiveOwnerLocked()
551 revokeItemLocked(clipboard.primaryClip.getItemAt(i)); in revokeUris()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DAbstractItem.java42 public IItem getItemAt(int position) { in getItemAt() method in AbstractItem
DItemHierarchy.java89 IItem getItemAt(int position); in getItemAt() method
DItemGroup.java181 public IItem getItemAt(int position) { in getItemAt() method in ItemGroup
185 return item.getItemAt(subpos); in getItemAt()
DItemAdapter.java48 return mItemHierarchy.getItemAt(position); in getItem()
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
DTileList.java39 public T getItemAt(int pos) { in getItemAt() method in TileList
DAsyncListUtil.java154 T item = mTileList.getItemAt(position); in getItem()
/frameworks/base/core/java/android/content/
DClipboardManager.java183 return clip.getItemAt(0).coerceToText(mContext); in getText()
DClipData.java908 public Item getItemAt(int index) { in getItemAt() method in ClipData
1052 ClipData.Item item = getItemAt(i); in collectUris()
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/items/
DRecyclerItemAdapter.java62 return mItemHierarchy.getItemAt(position); in getItem()
/frameworks/support/compat/api20/android/support/v4/app/
DRemoteInputCompatApi20.java165 return clipData.getItemAt(0).getIntent(); in getClipDataIntentFromIntent()
/frameworks/base/services/core/java/com/android/server/job/
DGrantedUriPermissions.java105 curPerms = grantItem(am, clip.getItemAt(i), sourceUid, targetPackage, targetUserId, in grantClip()
/frameworks/support/compat/jellybean/android/support/v4/app/
DRemoteInputCompatJellybean.java208 return clipData.getItemAt(0).getIntent(); in getClipDataIntentFromIntent()
/frameworks/base/core/java/android/app/
DRemoteInput.java462 return clipData.getItemAt(0).getIntent(); in getClipDataIntentFromIntent()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseRecyclerViewInstrumentationTest.java823 return getItemAt(position).mType; in getItemViewType()
871 public Item getItemAt(int position) { in getItemAt() method in BaseRecyclerViewInstrumentationTest.TestAdapter
DGridLayoutManagerTest.java619 if (maxId[0] > 0 && mAdapter.getItemAt(position).mId > maxId[0]) { in movingAGroupOffScreenForAddedItems()
631 maxId[0] = mAdapter.getItemAt(mAdapter.getItemCount() - 1).mId; in movingAGroupOffScreenForAddedItems()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java369 grantClipDataItemPermission(data.getItemAt(i), mode, srcUid, destUid, destPkg); in grantClipDataPermissions()
/frameworks/base/core/java/android/widget/
DTextView.java11118 final CharSequence text = clipData.getItemAt(0).getText(); in canPasteAsPlainText()
11162 paste = clip.getItemAt(i).coerceToStyledText(getContext()); in paste()
11165 final CharSequence text = clip.getItemAt(i).coerceToText(getContext()); in paste()
DEditor.java2496 Item item = clipData.getItemAt(i); in onDrop()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java2941 final CharSequence pastedItem = clip.getItemAt(i).getText(); in handlePasteClip()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java8891 Uri uri = clip.getItemAt(i).getUri(); in checkGrantUriPermissionFromIntentLocked()
8903 Intent clipIntent = clip.getItemAt(i).getIntent(); in checkGrantUriPermissionFromIntentLocked()

12