Home
last modified time | relevance | path

Searched refs:perform (Results 1 – 25 of 207) 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.java134 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); in testTypedTextIsOnScreen()
141 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); in testPositionCursorAtTextAtIndex()
142 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(helloWorld.indexOf("world"))); in testPositionCursorAtTextAtIndex()
145 onView(withId(R.id.textview)).perform(pressKey(KeyEvent.KEYCODE_FORWARD_DEL)); in testPositionCursorAtTextAtIndex()
154 onView(withId(R.id.textview)).perform(replaceText(text)); in testPositionCursorAtTextAtIndex_arabic()
156 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(0)); in testPositionCursorAtTextAtIndex_arabic()
158 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(1)); in testPositionCursorAtTextAtIndex_arabic()
160 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(2)); in testPositionCursorAtTextAtIndex_arabic()
162 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(3)); in testPositionCursorAtTextAtIndex_arabic()
164 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(4)); in testPositionCursorAtTextAtIndex_arabic()
[all …]
DSuggestionsPopupWindowTest.java95 onView(withId(R.id.textview)).perform(click()); in testOnTextContextMenuItem()
96 onView(withId(R.id.textview)).perform(replaceText(text)); in testOnTextContextMenuItem()
113 onView(withId(R.id.textview)).perform(click()); in testSelectionActionMode()
114 onView(withId(R.id.textview)).perform(replaceText(text)); in testSelectionActionMode()
120 onView(withId(R.id.textview)).perform(longPressOnTextAtIndex(text.indexOf('e'))); in testSelectionActionMode()
135 onView(withId(R.id.textview)).perform(click()); in testInsertionActionMode()
136 onView(withId(R.id.textview)).perform(replaceText(text)); in testInsertionActionMode()
142 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(text.indexOf('e'))); in testInsertionActionMode()
143 onHandleView(com.android.internal.R.id.insertion_handle).perform(click()); in testInsertionActionMode()
164 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.h468 int (*perform)(struct ANativeWindow* window, member
581 return window->perform(window, NATIVE_WINDOW_SET_USAGE64, usage); in native_window_set_usage()
620 return window->perform(window, NATIVE_WINDOW_SET_CROP, crop); in native_window_set_crop()
631 return window->perform(window, NATIVE_WINDOW_SET_BUFFER_COUNT, bufferCount); in native_window_set_buffer_count()
651 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_GEOMETRY, in native_window_set_buffers_geometry()
672 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_DIMENSIONS, in native_window_set_buffers_dimensions()
697 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_USER_DIMENSIONS, in native_window_set_buffers_user_dimensions()
711 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_FORMAT, format); in native_window_set_buffers_format()
730 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_DATASPACE, in native_window_set_buffers_data_space()
748 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_SMPTE2086_METADATA, in native_window_set_buffers_smpte2086_metadata()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverActivityTest.java113 .perform(click()); in twoOptionsAndUserSelectsOne()
115 .perform(click()); in twoOptionsAndUserSelectsOne()
221 onView(withId(R.id.button_once)).perform(click()); in hasLastChosenActivity()
255 .perform(click()); in hasOtherProfileOneOption()
257 .perform(click()); in hasOtherProfileOneOption()
297 .perform(click()); in hasOtherProfileTwoOptionsAndUserSelectsOne()
298 onView(withId(R.id.button_once)).perform(click()); in hasOtherProfileTwoOptionsAndUserSelectsOne()
343 .perform(click()); in hasLastChosenActivityAndOtherProfile()
344 onView(withId(R.id.button_once)).perform(click()); in hasLastChosenActivityAndOtherProfile()
451 onView(withText(R.string.resolver_work_tab)).perform(click()); in testWorkTab_workTabUsesExpectedAdapter()
[all …]
DChooserActivityTest.java296 .perform(click()); in twoOptionsAndUserSelectsOne()
342 onView(allOf(withText(appName), hasSibling(withText("")))).perform(click()); in fourOptionsStackedIntoOneTarget()
375 .perform(click()); in updateChooserCountsAndModelAfterUserSelection()
459 .perform(click()); in hasOtherProfileOneOption()
498 .perform(click()); in hasOtherProfileTwoOptionsAndUserSelectsOne()
535 .perform(click()); in hasLastChosenActivityAndOtherProfile()
555 onView(withId(R.id.chooser_copy_button)).perform(click()); in copyTextToClipboard()
585 onView(withId(R.id.chooser_copy_button)).perform(click()); in copyTextToClipboardLogging()
613 onView(withId(R.id.chooser_nearby_button)).perform(click()); in testNearbyShareLogging()
667 onView(withId(R.id.chooser_edit_button)).perform(click()); in testEditImageLogs()
[all …]
/frameworks/native/libs/nativewindow/
DANativeWindow.cpp38 int res = window->perform(window, what, &value); in query64()
107 return window->perform(window, NATIVE_WINDOW_LOCK, outBuffer, inOutDirtyBounds); in ANativeWindow_lock()
111 return window->perform(window, NATIVE_WINDOW_UNLOCK_AND_POST); in ANativeWindow_unlockAndPost()
170 window->perform(window, NATIVE_WINDOW_ALLOCATE_BUFFERS); in ANativeWindow_tryAllocateBuffers()
319 return window->perform(window, NATIVE_WINDOW_SET_DEQUEUE_TIMEOUT, timeout); in ANativeWindow_setDequeueTimeout()
325 return window->perform(window, NATIVE_WINDOW_SET_CANCEL_INTERCEPTOR, interceptor, data); in ANativeWindow_setCancelBufferInterceptor()
331 return window->perform(window, NATIVE_WINDOW_SET_DEQUEUE_INTERCEPTOR, interceptor, data); in ANativeWindow_setDequeueBufferInterceptor()
336 return window->perform(window, NATIVE_WINDOW_SET_PERFORM_INTERCEPTOR, interceptor, data); in ANativeWindow_setPerformInterceptor()
342 return window->perform(window, NATIVE_WINDOW_SET_QUEUE_INTERCEPTOR, interceptor, data); in ANativeWindow_setQueueBufferInterceptor()
/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
DFloatingToolbarEspressoUtils.java109 .perform(click()); in toggleOverflow()
110 onView(isRoot()).perform(SLEEP); in toggleOverflow()
114 onView(isRoot()).perform(SLEEP); in sleepForFloatingToolbarPopup()
239 onFloatingToolBarItem(withText(itemLabel)).perform(click()); in clickFloatingToolbarItem()
259 public void perform(UiController uiController, View view) {
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/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/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp137 EXPECT_CALL(*mNativeWindow, perform(NATIVE_WINDOW_SET_BUFFERS_FORMAT)); in injectDefaultInternalDisplay()
138 EXPECT_CALL(*mNativeWindow, perform(NATIVE_WINDOW_API_CONNECT)); in injectDefaultInternalDisplay()
139 EXPECT_CALL(*mNativeWindow, perform(NATIVE_WINDOW_SET_USAGE64)); in injectDefaultInternalDisplay()
140 EXPECT_CALL(*mNativeWindow, perform(NATIVE_WINDOW_API_DISCONNECT)).Times(AnyNumber()); in injectDefaultInternalDisplay()
DSurfaceFlinger_HandleTransactionLockedTest.cpp657 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_SET_BUFFERS_FORMAT)).Times(1); in TEST_F()
658 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_API_CONNECT)).Times(1); in TEST_F()
659 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_SET_USAGE64)).Times(1); in TEST_F()
660 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_API_DISCONNECT)).Times(1); in TEST_F()
702 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_SET_BUFFERS_FORMAT)).Times(1); in TEST_F()
703 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_API_CONNECT)).Times(1); in TEST_F()
704 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_SET_USAGE64)).Times(1); in TEST_F()
705 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_API_DISCONNECT)).Times(1); in TEST_F()
DDisplayTransactionTestHelpers.h295 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_SET_BUFFERS_FORMAT))
297 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_API_CONNECT))
299 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_SET_USAGE64))
301 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_API_DISCONNECT))
316 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_SET_BUFFERS_FORMAT))
318 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_API_CONNECT))
320 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_SET_USAGE64))
322 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_API_DISCONNECT))
/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/base/libs/hostgraphics/gui/
DSurface.h31 ANativeWindow::perform = hook_perform;
/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()
/frameworks/base/libs/hwui/renderthread/
DReliableSurface.h90 static int hook_perform(ANativeWindow* window, ANativeWindow_performFn perform, void* data,
/frameworks/native/libs/nativewindow/include/apex/
Dwindow.h104 ANativeWindow_performFn perform, void* data,
/frameworks/native/services/vibratorservice/test/
DVibratorHalWrapperHidlV1_0Test.cpp55 MOCK_METHOD(hardware::Return<void>, perform,
257 perform(Eq(V1_0::Effect::CLICK), Eq(V1_0::EffectStrength::LIGHT), _)) in TEST_F()
268 perform(Eq(V1_0::Effect::CLICK), Eq(V1_0::EffectStrength::MEDIUM), _)) in TEST_F()
276 perform(Eq(V1_0::Effect::CLICK), Eq(V1_0::EffectStrength::STRONG), _)) in TEST_F()

123456789