Home
last modified time | relevance | path

Searched refs:rawEvent (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DNativeDaemonEvent.java42 String rawEvent, String logMessage, FileDescriptor[] fdList) { in NativeDaemonEvent() argument
46 mRawEvent = rawEvent; in NativeDaemonEvent()
137 public static NativeDaemonEvent parseRawEvent(String rawEvent, FileDescriptor[] fdList) { in parseRawEvent() argument
138 final String[] parsed = rawEvent.split(" "); in parseRawEvent()
166 String logMessage = rawEvent; in parseRawEvent()
172 final String message = rawEvent.substring(skiplength); in parseRawEvent()
174 return new NativeDaemonEvent(cmdNumber, code, message, rawEvent, logMessage, fdList); in parseRawEvent()
206 public static String[] unescapeArgs(String rawEvent) { in unescapeArgs() argument
210 final int length = rawEvent.length(); in unescapeArgs()
215 if (DEBUG_ROUTINE) Slog.e(LOGTAG, "parsing '" + rawEvent + "'"); in unescapeArgs()
[all …]
DNativeDaemonConnector.java228 final String rawEvent = new String( in listenToSocket() local
234 NativeDaemonEvent.parseRawEvent(rawEvent, fdList); in listenToSocket()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationGestureHandler.java204 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() argument
208 onMotionEventInternal(event, rawEvent, policyFlags); in onMotionEvent()
214 onMotionEventInternal(event, rawEvent, policyFlags); in onMotionEvent()
218 private void onMotionEventInternal(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEventInternal() argument
223 dispatchTransformedEvent(event, rawEvent, policyFlags); in onMotionEventInternal()
227 handleEventWith(mCurrentState, event, rawEvent, policyFlags); in onMotionEventInternal()
231 MotionEvent event, MotionEvent rawEvent, int policyFlags) { in handleEventWith() argument
236 stateHandler.onMotionEvent(event, rawEvent, policyFlags); in handleEventWith()
283 private void dispatchTransformedEvent(MotionEvent event, MotionEvent rawEvent, in dispatchTransformedEvent() argument
288 super.onMotionEvent(event, rawEvent, policyFlags); in dispatchTransformedEvent()
[all …]
DAccessibilityGestureDetector.java270 public boolean onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() argument
273 final float x = rawEvent.getX(); in onMotionEvent()
274 final float y = rawEvent.getY(); in onMotionEvent()
275 final long time = rawEvent.getEventTime(); in onMotionEvent()
278 switch (rawEvent.getActionMasked()) { in onMotionEvent()
329 return mListener.onGestureCancelled(rawEvent, policyFlags); in onMotionEvent()
345 return finishDoubleTap(rawEvent, policyFlags); in onMotionEvent()
353 return recognizeGesture(rawEvent, policyFlags); in onMotionEvent()
362 if (rawEvent.getPointerCount() == 2) { in onMotionEvent()
378 return finishDoubleTap(rawEvent, policyFlags); in onMotionEvent()
[all …]
DEventStreamTransformation.java68 default void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() argument
71 next.onMotionEvent(event, rawEvent, policyFlags); in onMotionEvent()
DMotionEventInjector.java113 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() argument
124 sendMotionEventToNext(event, rawEvent, policyFlags); in onMotionEvent()
289 private void sendMotionEventToNext(MotionEvent event, MotionEvent rawEvent, in sendMotionEventToNext() argument
292 super.onMotionEvent(event, rawEvent, policyFlags); in sendMotionEventToNext()
DTouchExplorer.java276 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() argument
278 super.onMotionEvent(event, rawEvent, policyFlags); in onMotionEvent()
288 mReceivedPointerTracker.onMotionEvent(rawEvent); in onMotionEvent()
290 if (mGestureDetector.onMotionEvent(event, rawEvent, policyFlags)) { in onMotionEvent()
302 handleMotionEventStateTouchExploring(event, rawEvent, policyFlags); in onMotionEvent()
502 private void handleMotionEventStateTouchExploring(MotionEvent event, MotionEvent rawEvent, in handleMotionEventStateTouchExploring() argument
587 pointerId) - rawEvent.getX(pointerIndex); in handleMotionEventStateTouchExploring()
589 pointerId) - rawEvent.getY(pointerIndex); in handleMotionEventStateTouchExploring()
DAutoclickController.java72 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() argument
87 super.onMotionEvent(event, rawEvent, policyFlags); in onMotionEvent()
DAccessibilityInputFilter.java306 public void onMotionEvent(MotionEvent transformedEvent, MotionEvent rawEvent, in onMotionEvent() argument
/frameworks/native/services/inputflinger/
DInputReader.cpp351 for (const RawEvent* rawEvent = rawEvents; count;) { in processEventsLocked() local
352 int32_t type = rawEvent->type; in processEventsLocked()
355 int32_t deviceId = rawEvent->deviceId; in processEventsLocked()
357 if (rawEvent[batchSize].type >= EventHubInterface::FIRST_SYNTHETIC_EVENT in processEventsLocked()
358 || rawEvent[batchSize].deviceId != deviceId) { in processEventsLocked()
366 processEventsForDeviceLocked(deviceId, rawEvent, batchSize); in processEventsLocked()
368 switch (rawEvent->type) { in processEventsLocked()
370 addDeviceLocked(rawEvent->when, rawEvent->deviceId); in processEventsLocked()
373 removeDeviceLocked(rawEvent->when, rawEvent->deviceId); in processEventsLocked()
376 handleConfigurationChangedLocked(rawEvent->when); in processEventsLocked()
[all …]
DInputReader.h355 void process(const RawEvent* rawEvent);
380 void process(const RawEvent* rawEvent);
402 void process(const RawEvent* rawEvent);
433 void process(const RawEvent* rawEvent);
641 void process(const RawEvent* rawEvent);
714 void process(const RawEvent* rawEvent);
764 virtual void process(const RawEvent* rawEvent) = 0;
805 virtual void process(const RawEvent* rawEvent);
826 virtual void process(const RawEvent* rawEvent);
858 virtual void process(const RawEvent* rawEvent);
[all …]
/frameworks/av/media/libmedia/
DJetPlayer.cpp315 EAS_U32 rawEvent; in fireEventsFromJetQueue() local
316 while (JET_GetEvent(mEasData, &rawEvent, NULL)) { in fireEventsFromJetQueue()
319 rawEvent, in fireEventsFromJetQueue()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityInputFilterTest.java95 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() argument
DTouchExplorerTest.java86 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onMotionEvent() argument
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp958 virtual void process(const RawEvent* rawEvent) { in process() argument
959 mLastEvent = *rawEvent; in process()