Home
last modified time | relevance | path

Searched refs:getItemAt (Results 1 – 25 of 39) 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/src/com/android/systemui/clipboardoverlay/
DIntentCreator.java44 if (clipData.getItemAt(0).getUri() != null) { in getShareIntent()
46 clipData.getItemAt(0).getUri(), clipData.getDescription().getMimeType(0)); in getShareIntent()
47 shareIntent.putExtra(Intent.EXTRA_STREAM, clipData.getItemAt(0).getUri()); in getShareIntent()
51 Intent.EXTRA_TEXT, clipData.getItemAt(0).coerceToText(context).toString()); in getShareIntent()
DClipboardOverlayController.java412 } else if (!TextUtils.isEmpty(clipData.getItemAt(0).getText())) { in setClipDataLegacy()
413 ClipData.Item item = clipData.getItemAt(0); in setClipDataLegacy()
417 classifyText(clipData.getItemAt(0), clipSource); in setClipDataLegacy()
428 } else if (clipData.getItemAt(0).getUri() != null) { in setClipDataLegacy()
429 if (tryShowEditableImage(clipData.getItemAt(0).getUri(), isSensitive)) { in setClipDataLegacy()
DClipboardModel.kt76 val item = clipData.getItemAt(0)!! in fromClipData()
DEditTextActivity.java75 mEditText.setText(clip.getItemAt(0).getText()); in onStart()
/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.java190 ClipData data = new ClipData(description, mSampleClipData.getItemAt(0)); in test_setClipData_sensitiveTextData_legacy()
293 ClipData.Item item = mSampleClipData.getItemAt(0); in test_logOnClipboardActionsShown_legacy()
356 ClipData data = new ClipData(description, mSampleClipData.getItemAt(0)); in test_setClipData_sensitiveTextData()
448 ClipData.Item item = mSampleClipData.getItemAt(0); in test_logOnClipboardActionsShown()
/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()
DItemTest.java156 assertSame("getItemAt should return itself", item, item.getItemAt(0)); in testHierarchyImplementation()
/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.java578 CharSequence text = clipboard.primaryClip.getItemAt(0).getText(); in hasClipboardText()
714 clip.setItemAt(i, new ClipData.Item(clip.getItemAt(i))); in setPrimaryClipInternalLocked()
809 CharSequence text = (clip.getItemCount() == 0) ? null : clip.getItemAt(0).getText(); in startClassificationLocked()
890 clipboard.primaryClip.getItemAt(0).setTextLinks(links); in applyClassificationAndSendBroadcastLocked()
899 && text.equals(clipboard.primaryClip.getItemAt(0).getText()); in hasTextLocked()
941 checkItemOwner(data.getItemAt(i), uid); in checkDataOwner()
997 grantItemPermission(clipboard.primaryClip.getItemAt(i), clipboard.primaryClipUid, in addActiveOwnerLocked()
1034 revokeItemPermission(clipboard.primaryClip.getItemAt(i), clipboard.primaryClipUid); in revokeUris()
1215 ClipData.Item item = data.getItemAt(0); in isText()
1228 ClipData.Item item = clipboard.primaryClip.getItemAt(0); in notifyTextClassifierLocked()
DEmulatorClipboardMonitor.java187 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/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDragAndDropEventLogger.java59 final ClipData.Item item = data.getItemAt(0); in logStart()
DDragAndDropPolicy.java323 final ActivityInfo info = mInitialDragData.getItemAt(0).getActivityInfo(); in update()
326 dragData = mInitialDragData.getItemAt(0).getIntent(); in update()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillUriGrantsManager.java90 ClipData.Item item = clip.getItemAt(i); in grantUriPermissions()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSFooterViewControllerTest.java110 assertThat(captor.getValue().getItemAt(0).getText()).isEqualTo(text); in testBuildTextCopy()
/frameworks/base/core/java/android/content/
DClipboardManager.java285 return clip.getItemAt(0).coerceToText(mContext); in getText()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/
DRecyclerItemAdapter.java73 return itemHierarchy.getItemAt(position); in getItem()
/frameworks/base/services/core/java/com/android/server/wm/
DSession.java395 if (data.getItemAt(i).getIntent() == null) { in validateAndResolveDragMimeTypeExtras()
405 final ClipData.Item item = data.getItemAt(i); in validateAndResolveDragMimeTypeExtras()
431 final ClipData.Item item = data.getItemAt(i); in validateAndResolveDragMimeTypeExtras()
461 final ClipData.Item item = data.getItemAt(i); in validateAndResolveDragMimeTypeExtras()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DGrantedUriPermissions.java107 curPerms = grantItem(clip.getItemAt(i), sourceUid, targetPackage, targetUserId, in grantClip()

12