/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewActivityMouseTest.java | 84 onView(withId(R.id.textview)).perform(mouseClick()); in testSelectTextByDrag() 85 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); in testSelectTextByDrag() 87 onView(withId(R.id.textview)).perform( in testSelectTextByDrag() 91 onView(withId(R.id.textview)).perform(mouseClickOnTextAtIndex(helloWorld.indexOf("w"))); in testSelectTextByDrag() 98 onView(withId(R.id.textview)).perform(mouseClick()); in testSelectTextByDrag_reverse() 99 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); in testSelectTextByDrag_reverse() 100 onView(withId(R.id.textview)).perform( in testSelectTextByDrag_reverse() 109 onView(withId(R.id.textview)).perform(mouseClick()); in testContextMenu() 110 onView(withId(R.id.textview)).perform(replaceText(text)); in testContextMenu() 114 onView(withId(R.id.textview)).perform( in testContextMenu() [all …]
|
D | TextViewActivityTest.java | 152 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(helloWorld.indexOf("world"))); in testPositionCursorAtTextAtIndex() 155 onView(withId(R.id.textview)).perform(pressKey(KeyEvent.KEYCODE_FORWARD_DEL)); in testPositionCursorAtTextAtIndex() 166 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(0)); in testPositionCursorAtTextAtIndex_arabic() 168 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(1)); in testPositionCursorAtTextAtIndex_arabic() 170 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(2)); in testPositionCursorAtTextAtIndex_arabic() 172 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(3)); in testPositionCursorAtTextAtIndex_arabic() 174 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(4)); in testPositionCursorAtTextAtIndex_arabic() 176 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(5)); in testPositionCursorAtTextAtIndex_arabic() 186 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(0)); in testPositionCursorAtTextAtIndex_devanagari() 188 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(1)); in testPositionCursorAtTextAtIndex_devanagari() [all …]
|
D | SuggestionsPopupWindowTest.java | 93 onView(withId(R.id.textview)).perform(click()); in testOnTextContextMenuItem() 94 onView(withId(R.id.textview)).perform(replaceText(text)); in testOnTextContextMenuItem() 111 onView(withId(R.id.textview)).perform(click()); in testSelectionActionMode() 112 onView(withId(R.id.textview)).perform(replaceText(text)); in testSelectionActionMode() 118 onView(withId(R.id.textview)).perform(longPressOnTextAtIndex(text.indexOf('e'))); in testSelectionActionMode() 129 onView(withId(R.id.textview)).perform(click()); in testInsertionActionMode() 130 onView(withId(R.id.textview)).perform(replaceText(text)); in testInsertionActionMode() 137 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(text.indexOf('e'))); in testInsertionActionMode() 138 onHandleView(com.android.internal.R.id.insertion_handle).perform(click()); in testInsertionActionMode() 156 onView(withId(R.id.textview)).perform(click()); in testSuggestionItems() [all …]
|
D | EditorCursorDragTest.java | 101 onView(withId(R.id.textview)).perform(replaceText(text)); in testCursorDrag_horizontal_whenTextViewContentsFitOnScreen() 106 onView(withId(R.id.textview)).perform(dragOnText(text.indexOf("llo"), text.indexOf("!"))); in testCursorDrag_horizontal_whenTextViewContentsFitOnScreen() 111 onView(withId(R.id.textview)).perform(dragOnText(text.indexOf("!"), text.indexOf("llo"))); in testCursorDrag_horizontal_whenTextViewContentsFitOnScreen() 119 onView(withId(R.id.textview)).perform(replaceText(text)); in testCursorDrag_horizontal_whenTextViewContentsLargerThanScreen() 124 onView(withId(R.id.textview)).perform(dragOnText(text.indexOf("llo"), text.indexOf("!"))); in testCursorDrag_horizontal_whenTextViewContentsLargerThanScreen() 129 onView(withId(R.id.textview)).perform(dragOnText(text.indexOf("!"), text.indexOf("llo"))); in testCursorDrag_horizontal_whenTextViewContentsLargerThanScreen() 140 onView(withId(R.id.textview)).perform(replaceText(text)); in testCursorDrag_diagonal_whenTextViewContentsFitOnScreen() 146 onView(withId(R.id.textview)).perform(dragOnText(text.indexOf("line1"), text.indexOf("2"))); in testCursorDrag_diagonal_whenTextViewContentsFitOnScreen() 152 onView(withId(R.id.textview)).perform(dragOnText(text.indexOf("line1"), text.indexOf("7"))); in testCursorDrag_diagonal_whenTextViewContentsFitOnScreen() 157 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(index)); in testCursorDrag_diagonal_whenTextViewContentsFitOnScreen() [all …]
|
D | TextViewReceiveContentTest.java | 99 onView(withId(mEditText.getId())).perform(clickOnTextAtIndex(0)); in testGetFallbackMimeTypesForAutofill() 116 onView(withId(mEditText.getId())).perform(clickOnTextAtIndex(0)); in testGetFallbackMimeTypesForAutofill_noMimeTypesInEditorInfo() 131 onView(withId(mEditText.getId())).perform(clickOnTextAtIndex(0)); in testOnReceive_fallbackToCommitContent() 154 onView(withId(mEditText.getId())).perform(clickOnTextAtIndex(0)); in testOnReceive_fallbackToCommitContent_noMimeTypesInEditorInfo() 174 onView(withId(mEditText.getId())).perform(clickOnTextAtIndex(0)); in testOnReceive_fallbackToCommitContent_sourceOtherThanAutofill()
|
/frameworks/native/libs/nativewindow/include/system/ |
D | window.h | 471 int (*perform)(struct ANativeWindow* window, member 584 return window->perform(window, NATIVE_WINDOW_SET_USAGE64, usage); in native_window_set_usage() 623 return window->perform(window, NATIVE_WINDOW_SET_CROP, crop); in native_window_set_crop() 634 return window->perform(window, NATIVE_WINDOW_SET_BUFFER_COUNT, bufferCount); in native_window_set_buffer_count() 654 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_GEOMETRY, in native_window_set_buffers_geometry() 675 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_DIMENSIONS, in native_window_set_buffers_dimensions() 700 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_USER_DIMENSIONS, in native_window_set_buffers_user_dimensions() 714 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_FORMAT, format); in native_window_set_buffers_format() 733 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_DATASPACE, in native_window_set_buffers_data_space() 751 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_SMPTE2086_METADATA, in native_window_set_buffers_smpte2086_metadata() [all …]
|
/frameworks/base/libs/hostgraphics/ |
D | ANativeWindow.cpp | 27 int res = window->perform(window, what, &value); in query64() 34 return window->perform(window, NATIVE_WINDOW_SET_CANCEL_INTERCEPTOR, interceptor, data); in ANativeWindow_setCancelBufferInterceptor() 40 return window->perform(window, NATIVE_WINDOW_SET_DEQUEUE_INTERCEPTOR, interceptor, data); in ANativeWindow_setDequeueBufferInterceptor() 46 return window->perform(window, NATIVE_WINDOW_SET_QUEUE_INTERCEPTOR, interceptor, data); in ANativeWindow_setQueueBufferInterceptor() 51 return window->perform(window, NATIVE_WINDOW_SET_PERFORM_INTERCEPTOR, interceptor, data); in ANativeWindow_setPerformInterceptor() 63 return window->perform(window, NATIVE_WINDOW_SET_DEQUEUE_TIMEOUT, timeout); in ANativeWindow_setDequeueTimeout() 71 window->perform(window, NATIVE_WINDOW_ALLOCATE_BUFFERS); in ANativeWindow_tryAllocateBuffers()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | FakeDisplayInjector.h | 62 EXPECT_CALL(*mNativeWindow, perform(NATIVE_WINDOW_SET_BUFFERS_FORMAT)); 63 EXPECT_CALL(*mNativeWindow, perform(NATIVE_WINDOW_API_CONNECT)); 64 EXPECT_CALL(*mNativeWindow, perform(NATIVE_WINDOW_SET_USAGE64)); 65 EXPECT_CALL(*mNativeWindow, perform(NATIVE_WINDOW_API_DISCONNECT)).Times(AnyNumber());
|
D | SurfaceFlinger_DisplayTransactionCommitTest.cpp | 670 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_SET_BUFFERS_FORMAT)).Times(1); in TEST_F() 671 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_API_CONNECT)).Times(1); in TEST_F() 672 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_SET_USAGE64)).Times(1); in TEST_F() 673 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_API_DISCONNECT)).Times(1); in TEST_F() 715 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_SET_BUFFERS_FORMAT)).Times(1); in TEST_F() 716 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_API_CONNECT)).Times(1); in TEST_F() 717 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_SET_USAGE64)).Times(1); in TEST_F() 718 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_API_DISCONNECT)).Times(1); in TEST_F()
|
D | DisplayTransactionTestHelpers.h | 292 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_SET_BUFFERS_FORMAT)) 294 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_API_CONNECT)) 296 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_SET_USAGE64)) 298 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_API_DISCONNECT)) 313 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_SET_BUFFERS_FORMAT)) 315 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_API_CONNECT)) 317 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_SET_USAGE64)) 319 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_API_DISCONNECT))
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | DragAction.java | 68 public MotionEvent perform( 103 public MotionEvent perform( 134 public MotionEvent perform( 169 public MotionEvent perform( 221 public MotionEvent perform( 250 public MotionEvent perform( 277 public MotionEvent perform( 314 MotionEvent downEvent = downMotion.perform(uiController, startCoordinates, precision); in sendLinearDrag() 422 MotionEvent perform(UiController uiController, float[] coordinates, float[] precision); in perform() method 451 public void perform(UiController uiController, View view) { in perform() method in DragAction
|
D | SuggestionsPopupwindowUtils.java | 95 onSuggestionsPopupItem(withText(itemLabel)).perform(new SuggestionItemClickAction()); in clickSuggestionsPopupItem() 121 public void perform(UiController uiController, View view) { in perform() method in SuggestionsPopupwindowUtils.SuggestionItemClickAction 122 mViewClickAction.perform(uiController, view); in perform()
|
D | ViewClickAction.java | 51 public void perform(UiController uiController, View view) { in perform() method in ViewClickAction 52 mGeneralClickAction.perform(uiController, view); in perform()
|
D | MouseClickAction.java | 129 public void perform(UiController uiController, View view) { in perform() method in MouseClickAction 130 mViewClickAction.perform(new MouseUiController(uiController, mButton), view); in perform()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ResolverActivityTest.java | 126 .perform(click()); in twoOptionsAndUserSelectsOne() 128 .perform(click()); in twoOptionsAndUserSelectsOne() 240 onView(withId(R.id.button_once)).perform(click()); in hasLastChosenActivity() 277 .perform(click()); in hasOtherProfileOneOption() 279 .perform(click()); in hasOtherProfileOneOption() 320 .perform(click()); in hasOtherProfileTwoOptionsAndUserSelectsOne() 321 onView(withId(R.id.button_once)).perform(click()); in hasOtherProfileTwoOptionsAndUserSelectsOne() 367 .perform(click()); in hasLastChosenActivityAndOtherProfile() 368 onView(withId(R.id.button_once)).perform(click()); in hasLastChosenActivityAndOtherProfile() 479 onView(withText(R.string.resolver_work_tab)).perform(click()); in testWorkTab_workTabUsesExpectedAdapter() [all …]
|
D | ChooserActivityTest.java | 456 .perform(click()); in twoOptionsAndUserSelectsOne() 509 onView(allOf(withText(appName), hasSibling(withText("")))).perform(click()); in fourOptionsStackedIntoOneTarget() 552 .perform(click()); in updateChooserCountsAndModelAfterUserSelection() 653 .perform(click()); in hasOtherProfileOneOption() 693 .perform(click()); in hasOtherProfileTwoOptionsAndUserSelectsOne() 731 .perform(click()); in hasLastChosenActivityAndOtherProfile() 752 onView(withIdFromRuntimeResource("chooser_copy_button")).perform(click()); in copyTextToClipboard() 782 onView(withIdFromRuntimeResource("chooser_copy_button")).perform(click()); in copyTextToClipboardLogging() 810 onView(withIdFromRuntimeResource("chooser_nearby_button")).perform(click()); in testNearbyShareLogging() 881 onView(withIdFromRuntimeResource("chooser_edit_button")).perform(click()); in testEditImageLogs() [all …]
|
/frameworks/native/libs/nativewindow/ |
D | ANativeWindow.cpp | 78 int res = window->perform(window, what, &value); in query64() 126 return window->perform(window, NATIVE_WINDOW_LOCK, outBuffer, inOutDirtyBounds); in ANativeWindow_lock() 130 return window->perform(window, NATIVE_WINDOW_UNLOCK_AND_POST); in ANativeWindow_unlockAndPost() 255 window->perform(window, NATIVE_WINDOW_ALLOCATE_BUFFERS); in ANativeWindow_tryAllocateBuffers() 426 return window->perform(window, NATIVE_WINDOW_SET_DEQUEUE_TIMEOUT, timeout); in ANativeWindow_setDequeueTimeout() 432 return window->perform(window, NATIVE_WINDOW_SET_CANCEL_INTERCEPTOR, interceptor, data); in ANativeWindow_setCancelBufferInterceptor() 438 return window->perform(window, NATIVE_WINDOW_SET_DEQUEUE_INTERCEPTOR, interceptor, data); in ANativeWindow_setDequeueBufferInterceptor() 443 return window->perform(window, NATIVE_WINDOW_SET_PERFORM_INTERCEPTOR, interceptor, data); in ANativeWindow_setPerformInterceptor() 449 return window->perform(window, NATIVE_WINDOW_SET_QUEUE_INTERCEPTOR, interceptor, data); in ANativeWindow_setQueueBufferInterceptor()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/system/window/ |
D | MockNativeWindow.h | 38 MOCK_METHOD1(perform, int(int)); 39 MOCK_METHOD2(perform, int(int, int));
|
D | MockNativeWindow.cpp | 48 return static_cast<NativeWindow*>(window)->perform(operation); in dispatch_perform() 82 ANativeWindow::perform = &dispatch_perform; in NativeWindow()
|
/frameworks/base/libs/hostgraphics/gui/ |
D | Surface.h | 32 ANativeWindow::perform = hook_perform; in mBufferProducer() 91 int result = c->perform(operation, args); in hook_perform() 121 virtual int perform(int operation, va_list args) { in perform() function
|
/frameworks/base/core/proto/android/companion/ |
D | telecom.proto | 72 // UUID representing the call to perform the control action on 74 // The control to perform
|
/frameworks/base/core/jni/ |
D | android_view_TextureView.cpp | 76 return window->perform(window, NATIVE_WINDOW_LOCK, outBuffer, inOutDirtyBounds); in native_window_lock() 80 return window->perform(window, NATIVE_WINDOW_UNLOCK_AND_POST); in native_window_unlockAndPost()
|
/frameworks/native/libs/nativewindow/include/apex/ |
D | window.h | 91 ANativeWindow_performFn perform, void* data,
|
/frameworks/base/libs/hwui/renderthread/ |
D | ReliableSurface.h | 94 static int hook_perform(ANativeWindow* window, ANativeWindow_performFn perform, void* data,
|
/frameworks/native/cmds/idlcli/vibrator/ |
D | CommandPerform.cpp | 127 auto status = hal->call(&aidl::IVibrator::perform, mEffect, mStrength, callback, in doMain() 154 hidlRet = hal->call(&V1_0::IVibrator::perform, static_cast<V1_0::Effect>(mEffect), in doMain()
|