Home
last modified time | relevance | path

Searched refs:setSource (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DMagnificationGestureHandlerTest.java71 downEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in onMotionEvent_isFromScreen_onMotionEventInternal()
85 downEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in onMotionEvent_downEvent_handleInteractionStart()
99 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in onMotionEvent_upEvent_handleInteractionEnd()
113 cancelEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in onMotionEvent_cancelEvent_handleInteractionEnd()
DWindowMagnificationGestureHandlerTest.java328 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in send()
/frameworks/base/core/tests/coretests/src/android/view/
DMotionEventTest.java97 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testCalculatesCursorPositionForTouchscreenEvents()
107 event.setSource(InputDevice.SOURCE_MOUSE); in testCalculatesCursorPositionForSimpleMouseEvents()
118 event.setSource(InputDevice.SOURCE_MOUSE); in testCalculatesCursorPositionForSimpleMouseEventsWithOffset()
184 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testEventRotation()
237 event.setSource(InputDevice.SOURCE_JOYSTICK); in testLocationOffsetOnlyAppliedToNonPointerSources()
/frameworks/base/core/java/android/app/cloudsearch/
DSearchResponse.java73 public void setSource(@NonNull String source) { in setSource() method in SearchResponse
138 public Builder setSource(@NonNull String source) { in setSource() method in SearchResponse.Builder
/frameworks/compile/mclinker/unittests/
DStaticResolverTest.cpp71 new_sym->setSource(true); in TEST_F()
72 old_sym->setSource(true); in TEST_F()
98 new_sym->setSource(true); in TEST_F()
99 old_sym->setSource(true); in TEST_F()
125 new_sym->setSource(true); in TEST_F()
126 old_sym->setSource(true); in TEST_F()
172 new_sym->setSource(true); in TEST_F()
173 old_sym->setSource(true); in TEST_F()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityCacheTest.java501 event.setSource(getMockViewWithA11yAndWindowIds(PARENT_VIEW_ID, WINDOW_ID_1)); in subTreeChangeEvent_clearsNodeAndChild()
520 event.setSource(getMockViewWithA11yAndWindowIds(PARENT_VIEW_ID, WINDOW_ID_1)); in subTreeChangeEventFromUncachedNode_clearsNodeInCache()
534 event.setSource(getMockViewWithA11yAndWindowIds(PARENT_VIEW_ID, WINDOW_ID_1)); in scrollEvent_clearsNodeAndChild()
597 event.setSource(getMockViewWithA11yAndWindowIds(SINGLE_VIEW_ID, WINDOW_ID_1)); in nodeSourceOfA11yFocusEvent_getsRefreshed()
614 event.setSource(getMockViewWithA11yAndWindowIds(OTHER_VIEW_ID, WINDOW_ID_1)); in nodeWithA11yFocusWhenAnotherNodeGetsFocus_getsRemoved()
631 event.setSource(getMockViewWithA11yAndWindowIds(SINGLE_VIEW_ID, WINDOW_ID_1)); in nodeWithA11yFocusClearsIt_refreshes()
739 event.setSource(getMockViewWithA11yAndWindowIds(SINGLE_VIEW_ID, WINDOW_ID_1)); in nodeSourceOfInputFocusEvent_getsRefreshed()
756 event.setSource(getMockViewWithA11yAndWindowIds(OTHER_VIEW_ID, WINDOW_ID_1)); in nodeWithInputFocusWhenAnotherNodeGetsFocus_getsRemoved()
911 event.setSource(getMockViewWithA11yAndWindowIds(SINGLE_VIEW_ID, WINDOW_ID_1)); in assertNodeIsRefreshedWithEventType()
1028 info.setSource(getMockViewWithA11yAndWindowIds(1, 1)); in clearSubtreeWithNode_nodeInCacheInvalidated()
[all …]
/frameworks/compile/mclinker/lib/LD/
DNamePool.cpp44 (*result)->setSource(pIsDyn); in createSymbol()
81 new_symbol->setSource(pIsDyn); in insertSymbol()
DResolveInfo.cpp80 void ResolveInfo::setSource(bool pIsDyn) { in setSource() function in mcld::ResolveInfo
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DRequestUtils.java50 public ContentBuilder setSource(String source) { in setSource() method in RequestUtils.ContentBuilder
/frameworks/base/core/tests/coretests/src/android/widget/
DEditorTouchStateTest.java191 event1.setSource(InputDevice.SOURCE_MOUSE); in testUpdate_tripleClick_mouse()
198 event2.setSource(InputDevice.SOURCE_MOUSE); in testUpdate_tripleClick_mouse()
205 event3.setSource(InputDevice.SOURCE_MOUSE); in testUpdate_tripleClick_mouse()
213 event4.setSource(InputDevice.SOURCE_MOUSE); in testUpdate_tripleClick_mouse()
221 event5.setSource(InputDevice.SOURCE_MOUSE); in testUpdate_tripleClick_mouse()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerController.java118 bob.setSource(source); in setContent()
128 bob.setSource(source); in setNextContent()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityRecord.java135 public void setSource(@Nullable View source) { in setSource() method in AccessibilityRecord
136 setSource(source, AccessibilityNodeProvider.HOST_VIEW_ID); in setSource()
153 public void setSource(@Nullable View root, int virtualDescendantId) { in setSource() method in AccessibilityRecord
/frameworks/base/core/java/android/view/
DInputEvent.java84 public abstract void setSource(int source); in setSource() method in InputEvent
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskLaunchParamsModifierTests.java156 assertEquals(RESULT_CONTINUE, new CalculateRequestBuilder().setSource(source).calculate()); in testUsesSourcesDisplayAreaIfSet()
176 new CalculateRequestBuilder().setSource(source).setOptions(options).calculate()); in testUsesOptionsDisplayIdIfSet()
197 new CalculateRequestBuilder().setSource(source).setOptions(options).calculate()); in testUsesOptionsDisplayAreaTokenIfSet()
217 .setSource(source) in testUsesSourcesDisplayAreaIdPriorToTaskIfSet()
255 .setSource(source) in testUsesNoDisplaySourceHandoverDisplayIdIfSet()
278 .setSource(source) in testUsesNoDisplaySourceHandoverDisplayAreaIdIfSet()
609 new CalculateRequestBuilder().setSource(source).calculate()); in testInheritsFreeformModeFromSourceOnFullscreenDisplay()
991 new CalculateRequestBuilder().setSource(source).setOptions(options).calculate()); in testRespectsLaunchBoundsWithFreeformSourceOnFullscreenDisplay()
1425 new CalculateRequestBuilder().setSource(source).setOptions(options).calculate()); in testCascadesToSourceSizeForFreeform()
1453 new CalculateRequestBuilder().setSource(source).setOptions(options).calculate()); in testCascadesToSourceSizeForFreeformRespectingMinAspectRatio()
[all …]
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DUtil.java59 record.setSource(view); in announceForAccessibility()
/frameworks/av/cmds/stagefright/
DAudioPlayer.h53 void setSource(const sp<MediaSource> &source);
Daudioloop.cpp170 player->setSource(decoder); in main()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DMouseUiController.java70 event.setSource(InputDevice.SOURCE_MOUSE); in injectMotionEvent()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DInteractionController.java309 event.setSource(InputDevice.SOURCE_TOUCHSCREEN);
320 event.setSource(InputDevice.SOURCE_TOUCHSCREEN);
332 event.setSource(InputDevice.SOURCE_TOUCHSCREEN);
/frameworks/base/core/java/com/android/internal/widget/
DExploreByTouchHelper.java344 event.setSource(mView, virtualViewId); in createEventForChild()
470 node.setSource(mView, virtualViewId); in createNodeForChild()
/frameworks/base/core/java/android/app/
DDirectAction.java64 public void setSource(int taskId, IBinder activityId) { in setSource() method in DirectAction
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyConfig.h75 void setSource(const std::string& file) { in setSource() function
/frameworks/compile/mclinker/include/mcld/LD/
DResolveInfo.h94 void setSource(bool pIsDyn);
/frameworks/base/core/java/android/widget/
DNumberPicker.java2063 event.setSource(NumberPicker.this, in updateInputTextView()
2720 event.setSource(NumberPicker.this, VIRTUAL_VIEW_ID_INPUT); in sendAccessibilityEventForVirtualText()
2733 event.setSource(NumberPicker.this, virtualViewId); in sendAccessibilityEventForVirtualButton()
2775 info.setSource(NumberPicker.this, VIRTUAL_VIEW_ID_INPUT); in createAccessibiltyNodeInfoForInputText()
2800 info.setSource(NumberPicker.this, virtualViewId); in createAccessibilityNodeInfoForVirtualButton()
2835 info.setSource(NumberPicker.this); in createAccessibilityNodeInfoForNumberPicker()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java168 mClickDownEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in setUp()
172 mClickUpEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in setUp()
177 mHoverMoveEvent.setSource(InputDevice.SOURCE_MOUSE); in setUp()
285 mouseEvent.setSource(InputDevice.SOURCE_MOUSE); in testInjectEvents_withRealMouseGestureUnderway_shouldContinueRealAndPassInjected()

123