/frameworks/base/core/java/android/view/ |
IInputFilterHost.aidl | 27 void sendInputEvent(in InputEvent event, int policyFlags);
|
IInputFilter.aidl | 31 void filterInputEvent(in InputEvent event, int policyFlags);
|
InputFilter.java | 155 final public void filterInputEvent(InputEvent event, int policyFlags) { 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) { 177 mHost.sendInputEvent(event, policyFlags); 193 * @param policyFlags The input event policy flags. 195 public void onInputEvent(InputEvent event, int policyFlags) { 196 sendInputEvent(event, policyFlags);
|
WindowManagerPolicy.java | 771 * @param policyFlags The policy flags associated with the key. 775 public int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags); 785 * @param policyFlags The policy flags associated with the motion. 789 public int interceptMotionBeforeQueueingNonInteractive(long whenNanos, int policyFlags); 801 * @param policyFlags The policy flags associated with the key. [all...] |
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
AccessibilityInputFilter.java | 143 public void onInputEvent(InputEvent event, int policyFlags) { 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) { 163 super.onInputEvent(event, policyFlags); 166 if ((policyFlags & WindowManagerPolicy.FLAG_PASS_TO_USER) == 0) { 170 super.onInputEvent(event, policyFlags); [all...] |
EventStreamTransformation.java | 66 * @param policyFlags Policy flags for the event. 68 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags);
|
TouchExplorer.java | 269 private void clear(MotionEvent event, int policyFlags) { 273 sendHoverExitAndTouchExplorationGestureEndIfNeeded(policyFlags); 278 sendUpForInjectedDownPointers(event, policyFlags); 282 sendUpForInjectedDownPointers(event, policyFlags); 320 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { 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); [all...] |
ScreenMagnifier.java | 325 int policyFlags) { 329 handleMotionEventStateDelegating(event, rawEvent, policyFlags); 332 mDetectingStateHandler.onMotionEvent(event, rawEvent, policyFlags); 335 mStateViewportDraggingHandler.onMotionEvent(event, policyFlags); 378 MotionEvent rawEvent, int policyFlags) { 421 mNext.onMotionEvent(event, rawEvent, policyFlags); 577 private void onMotionEvent(MotionEvent event, int policyFlags) { 645 final int policyFlags = message.arg1; 646 onActionTapAndHold(event, policyFlags); 660 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { [all...] |
AccessibilityManagerService.java | [all...] |
/frameworks/native/services/inputflinger/ |
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), 87 policyFlags(other.policyFlags), [all...] |
InputListener.h | 58 uint32_t policyFlags; 68 NotifyKeyArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, 85 uint32_t policyFlags; 101 NotifyMotionArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, 118 uint32_t policyFlags; 124 NotifySwitchArgs(nsecs_t eventTime, uint32_t policyFlags,
|
InputDispatcher.cpp | 310 if (mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER) { 323 if (!(mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER)) { 557 && (keyEntry->policyFlags & POLICY_FLAG_TRUSTED) 558 && (keyEntry->policyFlags & POLICY_FLAG_PASS_TO_USER); 650 uint32_t policyFlags = entry->policyFlags & 655 entry->policyFlags = policyFlags; 659 entry->deviceId, entry->source, policyFlags, 713 && (entry->policyFlags & POLICY_FLAG_TRUSTED [all...] |
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; 446 EventEntry(int32_t type, nsecs_t eventTime, uint32_t policyFlags); [all...] |
InputReader.h | [all...] |
InputReader.cpp | 177 uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState, 186 NotifyKeyArgs args(when, deviceId, source, policyFlags, 194 uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState) { 195 synthesizeButtonKey(context, action, when, deviceId, source, policyFlags, 198 synthesizeButtonKey(context, action, when, deviceId, source, policyFlags, [all...] |
/frameworks/native/services/inputflinger/tests/ |
InputDispatcher_test.cpp | 68 virtual bool filterInputEvent(const InputEvent* inputEvent, uint32_t policyFlags) { 72 virtual void interceptKeyBeforeQueueing(const KeyEvent* keyEvent, uint32_t& policyFlags) { 75 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags) { 79 const KeyEvent* keyEvent, uint32_t policyFlags) { 84 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent) { 89 uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) {
|
InputReader_test.cpp | [all...] |
/frameworks/base/services/core/jni/ |
com_android_server_input_InputManagerService.cpp | 210 uint32_t policyFlags); 216 virtual bool filterInputEvent(const InputEvent* inputEvent, uint32_t policyFlags); 218 virtual void interceptKeyBeforeQueueing(const KeyEvent* keyEvent, uint32_t& policyFlags); 219 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags); 222 const KeyEvent* keyEvent, uint32_t policyFlags); 224 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent); 268 void handleInterceptActions(jint wmActions, nsecs_t when, uint32_t& policyFlags); 551 uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) { 553 ALOGD("notifySwitch - when=%lld, switchValues=0x%08x, switchMask=0x%08x, policyFlags=0x%x", 554 when, switchValues, switchMask, policyFlags); [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
InputMonitor.java | 369 public int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags) { 370 return mService.mPolicy.interceptKeyBeforeQueueing(event, policyFlags); 377 public int interceptMotionBeforeQueueingNonInteractive(long whenNanos, int policyFlags) { 379 whenNanos, policyFlags); 386 InputWindowHandle focus, KeyEvent event, int policyFlags) { 388 return mService.mPolicy.interceptKeyBeforeDispatching(windowState, event, policyFlags); 395 InputWindowHandle focus, KeyEvent event, int policyFlags) { 397 return mService.mPolicy.dispatchUnhandledKey(windowState, event, policyFlags);
|
/frameworks/base/services/core/java/com/android/server/input/ |
InputManagerService.java | 179 int policyFlags); [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
PhoneWindowManager.java | [all...] |