Home
last modified time | relevance | path

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

12

/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/items/
DItemGroupTest.java60 .that(itemGroup.getItemAt(0)) in testGroup()
63 .that(itemGroup.getItemAt(1)) in testGroup()
81 .that(itemGroup.getItemAt(0)) in testRemoveChild()
84 .that(itemGroup.getItemAt(1)) in testRemoveChild()
116 .that(parentGroup.getItemAt(0)) in testNestedGroup()
119 .that(parentGroup.getItemAt(1)) in testNestedGroup()
122 .that(parentGroup.getItemAt(2)) in testNestedGroup()
125 .that(parentGroup.getItemAt(3)) in testNestedGroup()
264 .that(parentGroup.getItemAt(0)) in testEmptyChildGroup()
267 .that(parentGroup.getItemAt(1)) in testEmptyChildGroup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/clipboardoverlay/
DClipboardModelTest.kt62 assertEquals(mSampleClipData.getItemAt(0).text, model.text) in test_textClipData()
63 assertEquals(mSampleClipData.getItemAt(0).textLinks, model.textLinks) in test_textClipData()
64 assertEquals(mSampleClipData.getItemAt(0).uri, model.uri) in test_textClipData()
76 val data = ClipData(description, mSampleClipData.getItemAt(0)) in test_sensitiveExtra()
DClipboardOverlayControllerTest.java217 ClipData data = new ClipData(description, mSampleClipData.getItemAt(0)); in test_setClipData_sensitiveTextData_legacy()
282 ClipData data = new ClipData(description, mSampleClipData.getItemAt(0)); in test_setClipData_sensitiveTextData()
417 ClipData.Item item = mSampleClipData.getItemAt(0); in test_logOnClipboardActionsShown()
DIntentCreatorTest.java131 assertEquals(uri, target.getClipData().getItemAt(0).getUri()); in test_getShareIntent_image()
/frameworks/base/core/java/android/widget/
DTextViewOnReceiveContentListener.java98 itemText = clip.getItemAt(i).coerceToText(context); in onReceiveContent()
101 itemText = clip.getItemAt(i).coerceToStyledText(context); in onReceiveContent()
151 itemText = clip.getItemAt(i).coerceToText(context); in coerceToText()
154 itemText = clip.getItemAt(i).coerceToStyledText(context); in coerceToText()
299 ClipData.Item item = clip.getItemAt(i); in handleNonTextViaImeCommitContent()
337 ClipData.Item item = clip.getItemAt(i); in containsUri()
/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()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDragSession.java94 activityInfo = mInitialDragData.getItemAt(0).getActivityInfo(); in update()
98 appData = mInitialDragData.getItemAt(0).getIntent(); in update()
DDragUtils.java84 final ClipData.Item item = data.getItemAt(i); in getLaunchIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DIntentCreator.java46 Uri uri = clipData.getItemAt(0).getUri(); in getShareIntent()
59 Intent.EXTRA_TEXT, clipData.getItemAt(0).coerceToText(context).toString()); in getShareIntent()
DClipboardModel.kt76 val item = clipData.getItemAt(0)!! in fromClipData()
DEditTextActivity.java99 mEditText.setText(clip.getItemAt(0).getText().toString()); in onStart()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DAbstractItem.java42 public IItem getItemAt(int position) { in getItemAt() method in AbstractItem
DItemHierarchy.java77 IItem getItemAt(int position); in getItemAt() method
DItemGroup.java171 public IItem getItemAt(int position) { in getItemAt() method in ItemGroup
175 return item.getItemAt(subpos); in getItemAt()
DItemAdapter.java48 return itemHierarchy.getItemAt(position); in getItem()
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java815 CharSequence text = clipboard.primaryClip.getItemAt(0).getText(); in hasClipboardText()
976 clip.setItemAt(i, new ClipData.Item(clip.getItemAt(i))); in setPrimaryClipInternalLocked()
1076 CharSequence text = (clip.getItemCount() == 0) ? null : clip.getItemAt(0).getText(); in startClassificationLocked()
1162 clipboard.primaryClip.getItemAt(0).setTextLinks(links); in applyClassificationAndSendBroadcastLocked()
1171 && text.equals(clipboard.primaryClip.getItemAt(0).getText()); in hasTextLocked()
1213 checkItemOwner(data.getItemAt(i), uid); in checkDataOwner()
1263 grantItemPermission(clipboard.primaryClip.getItemAt(i), clipboard.primaryClipUid, in addActiveOwnerLocked()
1300 revokeItemPermission(clipboard.primaryClip.getItemAt(i), clipboard.primaryClipUid); in revokeUris()
1565 ClipData.Item item = data.getItemAt(0); in isText()
1578 ClipData.Item item = clipboard.primaryClip.getItemAt(0); in notifyTextClassifierLocked()
DEmulatorClipboardMonitor.java197 final CharSequence text = clip.getItemAt(0).getText(); in getClipString()
/frameworks/base/core/java/android/view/
DContentInfo.java261 boolean matched = itemPredicate.test(mClip.getItemAt(0)); in partition()
267 ClipData.Item item = mClip.getItemAt(i); in partition()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillUriGrantsManager.java90 ClipData.Item item = clip.getItemAt(i); in grantUriPermissions()
/frameworks/base/services/fakes/java/com/android/server/
DFakeClipboardService.java144 && (mPrimaryClip.getItemAt(0).getText() != null); in hasClipboardText()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/
DRecyclerItemAdapter.java73 return itemHierarchy.getItemAt(position); in getItem()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSFooterViewControllerTest.java118 assertThat(captor.getValue().getItemAt(0).getText()).isEqualTo(text); in testBuildTextCopy()
/frameworks/base/core/java/android/content/
DClipboardManager.java346 return clip.getItemAt(0).coerceToText(mContext); in getText()
/frameworks/base/services/core/java/com/android/server/wm/
DSession.java442 if (data.getItemAt(i).getIntent() == null) { in validateAndResolveDragMimeTypeExtras()
452 final ClipData.Item item = data.getItemAt(i); in validateAndResolveDragMimeTypeExtras()
478 final ClipData.Item item = data.getItemAt(i); in validateAndResolveDragMimeTypeExtras()
508 final ClipData.Item item = data.getItemAt(i); in validateAndResolveDragMimeTypeExtras()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DGrantedUriPermissions.java108 curPerms = grantItem(clip.getItemAt(i), sourceUid, targetPackage, targetUserId, in grantClip()

12