/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | EventStreamTransformation.java | 66 * @param policyFlags Policy flags for the event. 68 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags); argument
|
H A D | AccessibilityInputFilter.java | 143 public void onInputEvent(InputEvent event, int policyFlags) { argument 145 Slog.d(TAG, "Received event: " + event + ", policyFlags=0x" 146 + Integer.toHexString(policyFlags)); 151 onMotionEvent(motionEvent, policyFlags); 155 onKeyEvent(keyEvent, policyFlags); 157 super.onInputEvent(event, policyFlags); 161 private void onMotionEvent(MotionEvent event, int policyFlags) { argument 163 super.onInputEvent(event, policyFlags); 166 if ((policyFlags & WindowManagerPolicy.FLAG_PASS_TO_USER) == 0) { 170 super.onInputEvent(event, policyFlags); 209 onKeyEvent(KeyEvent event, int policyFlags) argument 235 batchMotionEvent(MotionEvent event, int policyFlags) argument 275 handleMotionEvent(MotionEvent event, int policyFlags) argument 290 onMotionEvent(MotionEvent transformedEvent, MotionEvent rawEvent, int policyFlags) argument 381 public int policyFlags; field in class:AccessibilityInputFilter.MotionEventHolder 386 obtain(MotionEvent event, int policyFlags) argument [all...] |
H A D | TouchExplorer.java | 269 private void clear(MotionEvent event, int policyFlags) { argument 273 sendHoverExitAndTouchExplorationGestureEndIfNeeded(policyFlags); 278 sendUpForInjectedDownPointers(event, policyFlags); 282 sendUpForInjectedDownPointers(event, policyFlags); 320 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { argument 322 Slog.d(LOG_TAG, "Received event: " + event + ", policyFlags=0x" 323 + Integer.toHexString(policyFlags)); 331 handleMotionEventStateTouchExploring(event, rawEvent, policyFlags); 334 handleMotionEventStateDragging(event, policyFlags); 337 handleMotionEventStateDelegating(event, policyFlags); 394 handleMotionEventStateTouchExploring(MotionEvent event, MotionEvent rawEvent, int policyFlags) argument 652 handleMotionEventStateDragging(MotionEvent event, int policyFlags) argument 745 handleMotionEventStateDelegating(MotionEvent event, int policyFlags) argument 782 handleMotionEventGestureDetecting(MotionEvent event, int policyFlags) argument 872 sendDownForAllNotInjectedPointers(MotionEvent prototype, int policyFlags) argument 895 sendHoverExitAndTouchExplorationGestureEndIfNeeded(int policyFlags) argument 912 sendTouchExplorationGestureStartAndHoverEnterIfNeeded(int policyFlags) argument 928 sendUpForInjectedDownPointers(MotionEvent prototype, int policyFlags) argument 951 sendActionDownAndUp(MotionEvent prototype, int policyFlags, boolean targetAccessibilityFocus) argument 970 sendMotionEvent(MotionEvent prototype, int action, int pointerIdBits, int policyFlags) argument 1091 onMotionEvent(MotionEvent event, int policyFlags) argument 1144 onDoubleTap(MotionEvent secondTapUp, int policyFlags) argument 1302 post(MotionEvent prototype, int policyFlags) argument 1365 post(MotionEvent event, boolean touchExplorationInProgress, int pointerIdBits, int policyFlags) argument 1443 post(MotionEvent prototype, int pointerIdBits, int policyFlags) argument [all...] |
H A D | ScreenMagnifier.java | 327 int policyFlags) { 331 handleMotionEventStateDelegating(event, rawEvent, policyFlags); 334 mDetectingStateHandler.onMotionEvent(event, rawEvent, policyFlags); 337 mStateViewportDraggingHandler.onMotionEvent(event, policyFlags); 380 MotionEvent rawEvent, int policyFlags) { 423 mNext.onMotionEvent(event, rawEvent, policyFlags); 584 private void onMotionEvent(MotionEvent event, int policyFlags) { argument 652 final int policyFlags = message.arg1; 653 onActionTapAndHold(event, policyFlags); 667 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { argument 326 onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) argument 379 handleMotionEventStateDelegating(MotionEvent event, MotionEvent rawEvent, int policyFlags) argument 774 cacheDelayedMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) argument 834 onActionTap(MotionEvent up, int policyFlags) argument 846 onActionTapAndHold(MotionEvent down, int policyFlags) argument 897 obtain(MotionEvent event, MotionEvent rawEvent, int policyFlags) argument 915 initialize(MotionEvent event, MotionEvent rawEvent, int policyFlags) argument [all...] |
H A D | AccessibilityManagerService.java | 753 boolean notifyKeyEvent(KeyEvent event, int policyFlags) { argument 756 boolean handled = notifyKeyEventLocked(localClone, policyFlags, false); 758 handled = notifyKeyEventLocked(localClone, policyFlags, true); 911 private boolean notifyKeyEventLocked(KeyEvent event, int policyFlags, boolean isDefault) { argument 929 service.notifyKeyEvent(event, policyFlags); 1776 final int policyFlags = msg.arg1; 1779 mInputFilter.sendInputEvent(event, policyFlags); 1864 private PendingEvent obtainPendingEventLocked(KeyEvent event, int policyFlags, int sequence) { argument 1870 pendingEvent.policyFlags = policyFlags; 2791 notifyKeyEvent(KeyEvent event, int policyFlags) argument 2816 notifyKeyEventInternal(KeyEvent event, int policyFlags) argument 2987 notifyKeyEvent(KeyEvent event, int policyFlags) argument 3030 addPendingEventLocked(KeyEvent event, int policyFlags) argument 3068 sendKeyEventToInputFilter(KeyEvent event, int policyFlags) argument 3096 int policyFlags; field in class:AccessibilityManagerService.PendingEvent [all...] |
/frameworks/base/core/java/android/view/ |
H A D | InputFilter.java | 155 final public void filterInputEvent(InputEvent event, int policyFlags) { argument 156 mH.obtainMessage(MSG_INPUT_EVENT, policyFlags, 0, event).sendToTarget(); 163 * @param policyFlags The input event policy flags. 165 public void sendInputEvent(InputEvent event, int policyFlags) { argument 177 mHost.sendInputEvent(event, policyFlags); 193 * @param policyFlags The input event policy flags. 195 public void onInputEvent(InputEvent event, int policyFlags) { argument 196 sendInputEvent(event, policyFlags);
|
H A D | WindowManagerPolicy.java | 791 * @param policyFlags The policy flags associated with the key. 795 public int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags); argument 805 * @param policyFlags The policy flags associated with the motion. 809 public int interceptMotionBeforeQueueingNonInteractive(long whenNanos, int policyFlags); argument 821 * @param policyFlags The policy flags associated with the key. 827 public long interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags); argument 839 * @param policyFlags The policy flags associated with the key. 843 public KeyEvent dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags); argument
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | InputMonitor.java | 356 public int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags) { argument 357 return mService.mPolicy.interceptKeyBeforeQueueing(event, policyFlags); 364 public int interceptMotionBeforeQueueingNonInteractive(long whenNanos, int policyFlags) { argument 366 whenNanos, policyFlags); 373 InputWindowHandle focus, KeyEvent event, int policyFlags) { 375 return mService.mPolicy.interceptKeyBeforeDispatching(windowState, event, policyFlags); 382 InputWindowHandle focus, KeyEvent event, int policyFlags) { 384 return mService.mPolicy.dispatchUnhandledKey(windowState, event, policyFlags); 372 interceptKeyBeforeDispatching( InputWindowHandle focus, KeyEvent event, int policyFlags) argument 381 dispatchUnhandledKey( InputWindowHandle focus, KeyEvent event, int policyFlags) argument
|
/frameworks/native/services/inputflinger/ |
H A D | InputListener.cpp | 46 uint32_t policyFlags, 49 eventTime(eventTime), deviceId(deviceId), source(source), policyFlags(policyFlags), 56 policyFlags(other.policyFlags), 70 uint32_t policyFlags, 75 eventTime(eventTime), deviceId(deviceId), source(source), policyFlags(policyFlags), 88 policyFlags(other.policyFlags), 45 NotifyKeyArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState, nsecs_t downTime) argument 69 NotifyMotionArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t actionButton, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, int32_t displayId, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, float xPrecision, float yPrecision, nsecs_t downTime) argument 106 NotifySwitchArgs(nsecs_t eventTime, uint32_t policyFlags, uint32_t switchValues, uint32_t switchMask) argument [all...] |
H A D | InputListener.h | 58 uint32_t policyFlags; member in struct:android::NotifyKeyArgs 68 NotifyKeyArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, 85 uint32_t policyFlags; member in struct:android::NotifyMotionArgs 102 NotifyMotionArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, 120 uint32_t policyFlags; member in struct:android::NotifySwitchArgs 126 NotifySwitchArgs(nsecs_t eventTime, uint32_t policyFlags,
|
H A D | InputDispatcher.h | 219 virtual bool filterInputEvent(const InputEvent* inputEvent, uint32_t policyFlags) = 0; 228 virtual void interceptKeyBeforeQueueing(const KeyEvent* keyEvent, uint32_t& policyFlags) = 0; 237 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags) = 0; 241 const KeyEvent* keyEvent, uint32_t policyFlags) = 0; 246 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent) = 0; 251 uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) = 0; 299 uint32_t policyFlags) = 0; 383 uint32_t policyFlags); 434 uint32_t policyFlags; member in struct:android::InputDispatcher::EventEntry 446 EventEntry(int32_t type, nsecs_t eventTime, uint32_t policyFlags); 757 uint32_t policyFlags; member in struct:android::InputDispatcher::InputState::KeyMemento 772 uint32_t policyFlags; member in struct:android::InputDispatcher::InputState::MotionMemento [all...] |
H A D | InputDispatcher.cpp | 314 if (mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER) { 327 if (!(mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER)) { 564 && (keyEntry->policyFlags & POLICY_FLAG_TRUSTED) 565 && (keyEntry->policyFlags & POLICY_FLAG_PASS_TO_USER); 657 uint32_t policyFlags = entry->policyFlags & local 662 entry->policyFlags = policyFlags; 666 entry->deviceId, entry->source, policyFlags, 720 && (entry->policyFlags 2371 uint32_t policyFlags = args->policyFlags; local 2485 uint32_t policyFlags = args->policyFlags; local 2541 uint32_t policyFlags = args->policyFlags; local 2566 injectInputEvent(const InputEvent* event, int32_t displayId, int32_t injectorPid, int32_t injectorUid, int32_t syncMode, int32_t timeoutMillis, uint32_t policyFlags) argument 3841 EventEntry(int32_t type, nsecs_t eventTime, uint32_t policyFlags) argument 3900 KeyEntry(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState, int32_t repeatCount, nsecs_t downTime) argument 3935 MotionEntry(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t actionButton, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, float xPrecision, float yPrecision, nsecs_t downTime, int32_t displayId, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, float xOffset, float yOffset) argument [all...] |
H A D | InputReader.cpp | 192 uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState, 201 NotifyKeyArgs args(when, deviceId, source, policyFlags, 209 uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState) { 210 synthesizeButtonKey(context, action, when, deviceId, source, policyFlags, 213 synthesizeButtonKey(context, action, when, deviceId, source, policyFlags, 2212 int32_t scanCode, uint32_t policyFlags) { 2227 if ((policyFlags & POLICY_FLAG_VIRTUAL) 2232 if (policyFlags & POLICY_FLAG_GESTURE) { 2275 policyFlags |= POLICY_FLAG_WAKE; 2279 policyFlags | 190 synthesizeButtonKey(InputReaderContext* context, int32_t action, nsecs_t when, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState, int32_t buttonState, int32_t keyCode) argument 207 synthesizeButtonKeys(InputReaderContext* context, int32_t action, nsecs_t when, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState) argument 2211 processKey(nsecs_t when, bool down, int32_t keyCode, int32_t scanCode, uint32_t policyFlags) argument 2615 uint32_t policyFlags = 0; local 2622 policyFlags, lastButtonState, currentButtonState); local 2701 policyFlags, lastButtonState, currentButtonState); local 4005 uint32_t policyFlags = 0; local 4034 policyFlags, mLastCookedState.buttonState, mCurrentCookedState.buttonState); local 4106 policyFlags, mLastCookedState.buttonState, mCurrentCookedState.buttonState); local 4212 consumeRawTouches(nsecs_t when, uint32_t policyFlags) argument 4313 dispatchVirtualKey(nsecs_t when, uint32_t policyFlags, int32_t keyEventAction, int32_t keyEventFlags) argument 4326 abortTouches(nsecs_t when, uint32_t policyFlags) argument 4342 dispatchTouches(nsecs_t when, uint32_t policyFlags) argument 4429 dispatchHoverExit(nsecs_t when, uint32_t policyFlags) argument 4445 dispatchHoverEnterAndMove(nsecs_t when, uint32_t policyFlags) argument 4471 dispatchButtonRelease(nsecs_t when, uint32_t policyFlags) argument 4489 dispatchButtonPress(nsecs_t when, uint32_t policyFlags) argument 4775 dispatchPointerUsage(nsecs_t when, uint32_t policyFlags, PointerUsage pointerUsage) argument 4797 abortPointerUsage(nsecs_t when, uint32_t policyFlags) argument 4815 dispatchPointerGestures(nsecs_t when, uint32_t policyFlags, bool isTimeout) argument 5024 abortPointerGestures(nsecs_t when, uint32_t policyFlags) argument 5815 dispatchPointerStylus(nsecs_t when, uint32_t policyFlags) argument 5846 abortPointerStylus(nsecs_t when, uint32_t policyFlags) argument 5850 dispatchPointerMouse(nsecs_t when, uint32_t policyFlags) argument 5899 abortPointerMouse(nsecs_t when, uint32_t policyFlags) argument 5905 dispatchPointerSimple(nsecs_t when, uint32_t policyFlags, bool down, bool hovering) argument 6027 abortPointerSimple(nsecs_t when, uint32_t policyFlags) argument 6034 dispatchMotion(nsecs_t when, uint32_t policyFlags, uint32_t source, int32_t action, int32_t actionButton, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, const PointerProperties* properties, const PointerCoords* coords, const uint32_t* idToIndex, BitSet32 idBits, int32_t changedId, float xPrecision, float yPrecision, nsecs_t downTime) argument 6988 uint32_t policyFlags = 0; local [all...] |
/frameworks/base/services/core/java/com/android/server/input/ |
H A D | InputManagerService.java | 179 int policyFlags); 1437 final boolean filterInputEvent(InputEvent event, int policyFlags) { argument 1441 mInputFilter.filterInputEvent(event, policyFlags); 1453 private int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags) { argument 1454 return mWindowManagerCallbacks.interceptKeyBeforeQueueing(event, policyFlags); 1458 private int interceptMotionBeforeQueueingNonInteractive(long whenNanos, int policyFlags) { argument 1460 whenNanos, policyFlags); 1465 KeyEvent event, int policyFlags) { 1466 return mWindowManagerCallbacks.interceptKeyBeforeDispatching(focus, event, policyFlags); 1471 KeyEvent event, int policyFlags) { 177 nativeInjectInputEvent(long ptr, InputEvent event, int displayId, int injectorPid, int injectorUid, int syncMode, int timeoutMillis, int policyFlags) argument 1464 interceptKeyBeforeDispatching(InputWindowHandle focus, KeyEvent event, int policyFlags) argument 1470 dispatchUnhandledKey(InputWindowHandle focus, KeyEvent event, int policyFlags) argument 1620 interceptKeyBeforeQueueing(KeyEvent event, int policyFlags) argument 1622 interceptMotionBeforeQueueingNonInteractive(long whenNanos, int policyFlags) argument 1624 interceptKeyBeforeDispatching(InputWindowHandle focus, KeyEvent event, int policyFlags) argument 1627 dispatchUnhandledKey(InputWindowHandle focus, KeyEvent event, int policyFlags) argument 1682 sendInputEvent(InputEvent event, int policyFlags) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_input_InputManagerService.cpp | 218 uint32_t policyFlags); 224 virtual bool filterInputEvent(const InputEvent* inputEvent, uint32_t policyFlags); 226 virtual void interceptKeyBeforeQueueing(const KeyEvent* keyEvent, uint32_t& policyFlags); 227 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags); 230 const KeyEvent* keyEvent, uint32_t policyFlags); 232 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent); 276 void handleInterceptActions(jint wmActions, nsecs_t when, uint32_t& policyFlags); 575 uint32_t switchValues, uint32_t switchMask, uint32_t /* policyFlags */) { 577 ALOGD("notifySwitch - when=%lld, switchValues=0x%08x, switchMask=0x%08x, policyFlags=0x%x", 578 when, switchValues, switchMask, policyFlags); 819 filterInputEvent(const InputEvent* inputEvent, uint32_t policyFlags) argument 851 interceptKeyBeforeQueueing(const KeyEvent* keyEvent, uint32_t& policyFlags) argument 888 interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags) argument 920 handleInterceptActions(jint wmActions, nsecs_t when, uint32_t& policyFlags) argument 931 interceptKeyBeforeDispatching( const sp<InputWindowHandle>& inputWindowHandle, const KeyEvent* keyEvent, uint32_t policyFlags) argument 967 dispatchUnhandledKey(const sp<InputWindowHandle>& inputWindowHandle, const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent) argument 1200 nativeInjectInputEvent(JNIEnv* env, jclass , jlong ptr, jobject inputEventObj, jint displayId, jint injectorPid, jint injectorUid, jint syncMode, jint timeoutMillis, jint policyFlags) argument [all...] |
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | PhoneWindowManager.java | 2626 public long interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags) { argument 3017 public KeyEvent dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags) { argument 3026 + ", policyFlags=" + policyFlags); 3059 if (!interceptFallback(win, fallbackEvent, policyFlags)) { 3083 private boolean interceptFallback(WindowState win, KeyEvent fallbackEvent, int policyFlags) { argument 3084 int actions = interceptKeyBeforeQueueing(fallbackEvent, policyFlags); 3087 win, fallbackEvent, policyFlags); 4862 public int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags) { argument 4868 final boolean interactive = (policyFlags 5209 interceptMotionBeforeQueueingNonInteractive(long whenNanos, int policyFlags) argument [all...] |