Searched refs:motionEvent (Results 1 – 8 of 8) sorted by relevance
/development/tools/winscope/src/parsers/input/perfetto/ |
D | parser_motion_event_test.ts | 64 const motionEvent = assertDefined(entry.getChildByName('motionEvent')); constant 66 expect(motionEvent?.getChildByName('eventId')?.getValue()).toEqual( 69 expect(motionEvent?.getChildByName('action')?.formattedValue()).toEqual( 72 expect(motionEvent?.getChildByName('source')?.formattedValue()).toEqual( 75 expect(motionEvent?.getChildByName('flags')?.formattedValue()).toEqual( 78 expect(motionEvent?.getChildByName('deviceId')?.getValue()).toEqual(4); 79 expect(motionEvent?.getChildByName('displayId')?.getValue()).toEqual(0); 81 motionEvent?.getChildByName('classification')?.formattedValue(), 83 expect(motionEvent?.getChildByName('cursorPositionX')?.getValue()).toEqual( 86 expect(motionEvent?.getChildByName('cursorPositionY')?.getValue()).toEqual( [all …]
|
D | parser_motion_event.ts | 59 const motionEvent = await this.getMotionEventProto(index); constant 61 motionEvent, 62 windowDispatchEvents: await this.getDispatchEvents(motionEvent.eventId),
|
/development/samples/VirtualDeviceManager/host/src/com/example/android/vdmdemo/host/ |
D | RemoteDisplay.java | 463 RemoteMotionEvent motionEvent = event.getTouchEvent(); 466 .setPointerId(motionEvent.getPointerId()) 467 .setAction(getVirtualTouchEventAction(motionEvent.getAction())) 468 .setPressure(motionEvent.getPressure() * 255f) 469 .setToolType(getVirtualTouchEventToolType(motionEvent.getAction())) 470 .setX(motionEvent.getX()) 471 .setY(motionEvent.getY()) 475 private static VirtualTouchEvent motionEventToVirtualTouchEvent(MotionEvent motionEvent) { 477 .setEventTimeNanos((long) (motionEvent.getEventTime() * 1e6)) 479 .setAction(getVirtualTouchEventAction(motionEvent.getAction())) [all …]
|
/development/samples/browseable/ElevationBasic/src/com.example.android.elevationbasic/ |
D | ElevationBasicFragment.java | 54 public boolean onTouch(View view, MotionEvent motionEvent) { in onCreateView() 55 int action = motionEvent.getActionMasked(); in onCreateView()
|
/development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/ |
D | BasicGestureDetectFragment.java | 59 public boolean onTouch(View view, MotionEvent motionEvent) { in onActivityCreated() 60 gd.onTouchEvent(motionEvent); in onActivityCreated()
|
/development/samples/devbytes/ui/ImmersiveMode/src/main/java/com/example/android/immersive/ |
D | ImmersiveActivity.java | 68 public boolean onTouch(View view, MotionEvent motionEvent) { in onCreate() 69 return clickDetector.onTouchEvent(motionEvent); in onCreate()
|
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/ |
D | CardFlip.java | 139 public boolean onSingleTapUp(MotionEvent motionEvent) { 140 int stack = getStack(motionEvent); 146 public boolean onFling(MotionEvent motionEvent, MotionEvent motionEvent2, float v, 148 int stack = getStack(motionEvent);
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeySourceScriptTest.kt | 45 val motionEvent = receiveEvent(script, MonkeyEvent.EVENT_TYPE_TOUCH) as MonkeyMotionEvent in assertTouchEvent() constant 46 assertEquals(action, motionEvent.action) in assertTouchEvent()
|