Home
last modified time | relevance | path

Searched refs:perform (Results 1 – 25 of 221) sorted by relevance

123456789

/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityMouseTest.java84 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 …]
DTextViewActivityTest.java152 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 …]
DSuggestionsPopupWindowTest.java93 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 …]
DEditorCursorDragTest.java101 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 …]
DTextViewReceiveContentTest.java99 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/
Dwindow.h471 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/
DANativeWindow.cpp27 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/
DFakeDisplayInjector.h62 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());
DSurfaceFlinger_DisplayTransactionCommitTest.cpp670 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()
DDisplayTransactionTestHelpers.h292 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/
DDragAction.java68 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
DSuggestionsPopupwindowUtils.java95 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()
DViewClickAction.java51 public void perform(UiController uiController, View view) { in perform() method in ViewClickAction
52 mGeneralClickAction.perform(uiController, view); in perform()
DMouseClickAction.java129 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/
DResolverActivityTest.java126 .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 …]
DChooserActivityTest.java456 .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/
DANativeWindow.cpp78 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/
DMockNativeWindow.h38 MOCK_METHOD1(perform, int(int));
39 MOCK_METHOD2(perform, int(int, int));
DMockNativeWindow.cpp48 return static_cast<NativeWindow*>(window)->perform(operation); in dispatch_perform()
82 ANativeWindow::perform = &dispatch_perform; in NativeWindow()
/frameworks/base/libs/hostgraphics/gui/
DSurface.h32 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/
Dtelecom.proto72 // UUID representing the call to perform the control action on
74 // The control to perform
/frameworks/base/core/jni/
Dandroid_view_TextureView.cpp76 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/
Dwindow.h91 ANativeWindow_performFn perform, void* data,
/frameworks/base/libs/hwui/renderthread/
DReliableSurface.h94 static int hook_perform(ANativeWindow* window, ANativeWindow_performFn perform, void* data,
/frameworks/native/cmds/idlcli/vibrator/
DCommandPerform.cpp127 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()

123456789