Searched refs:onReceiveContent (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewReceiveContentTest.java | 136 when(mReceiver.onReceiveContent(any(), any())).thenReturn(null); in testPerformReceiveContent() 159 when(mReceiver.onReceiveContent(any(), any())).thenReturn(null); in testOnReceiveContent() 160 assertThat(view.onReceiveContent(samplePayloadGif)).isEqualTo(samplePayloadGif); in testOnReceiveContent() 180 when(mReceiver.onReceiveContent(any(), any())).thenReturn(null); in testOnDragEvent_withOnReceiveContentListener() 195 verify(mReceiver).onReceiveContent(same(view), contentEq(clip, SOURCE_DRAG_AND_DROP, 0)); in testOnDragEvent_withOnReceiveContentListener() 203 when(mReceiver.onReceiveContent(same(view), any(ContentInfo.class))).thenAnswer( in testOnDragEvent_withOnReceiveContentListener_noneOfTheContentAccepted() 215 verify(mReceiver).onReceiveContent(same(view), contentEq(clip, SOURCE_DRAG_AND_DROP, 0)); in testOnDragEvent_withOnReceiveContentListener_noneOfTheContentAccepted() 223 when(mReceiver.onReceiveContent(same(view), any(ContentInfo.class))).thenReturn( in testOnDragEvent_withOnReceiveContentListener_someOfTheContentAccepted() 235 verify(mReceiver).onReceiveContent(same(view), contentEq(clip, SOURCE_DRAG_AND_DROP, 0)); in testOnDragEvent_withOnReceiveContentListener_someOfTheContentAccepted()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewReceiveContentTest.java | 119 when(mMockReceiver.onReceiveContent(any(), any())).thenReturn(null); in before() 398 verify(mMockReceiver, times(1)).onReceiveContent( in testPaste_customReceiver() 421 verify(mMockReceiver, times(1)).onReceiveContent( in testPaste_customReceiver_unsupportedMimeType() 462 verify(mMockReceiver, times(1)).onReceiveContent( in testPasteAsPlainText_customReceiver() 492 verify(mMockReceiver, times(1)).onReceiveContent( in testImeCommitContent_customReceiver() 510 verify(mMockReceiver, times(1)).onReceiveContent( in testImeCommitContent_customReceiver_unsupportedMimeType() 529 verify(mMockReceiver, times(1)).onReceiveContent( in testImeCommitContent_customReceiver_oldTargetSdk() 548 verify(mMockReceiver, times(1)).onReceiveContent( in testImeCommitContent_linkUri() 566 verify(mMockReceiver, times(1)).onReceiveContent( in testImeCommitContent_opts() 585 verify(mMockReceiver, times(1)).onReceiveContent( in testImeCommitContent_linkUriAndOpts() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/ |
D | InlineAugmentedContentTest.java | 254 public ContentInfo onReceiveContent(View view, ContentInfo payload) {
|
/cts/tests/framework/base/windowmanager/dndtargetapp/src/android/server/wm/dndtargetapp/ |
D | DropTarget.java | 350 public ContentInfo onReceiveContent(View view, ContentInfo payload) { in onReceiveContent() method in DropTarget.UriReadOnReceiveContentListener
|
/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/ |
D | DropTarget.java | 353 public ContentInfo onReceiveContent(View view, ContentInfo payload) { in onReceiveContent() method in DropTarget.UriReadOnReceiveContentListener
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 51995 …method @Nullable public android.view.ContentInfo onReceiveContent(@NonNull android.view.View, @Non… 52913 …method @Nullable public android.view.ContentInfo onReceiveContent(@NonNull android.view.ContentInf…
|