/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 | 735 * @param policyFlags The policy flags associated with the key. 741 public int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags, boolean isScreenOn); 750 * @param policyFlags The policy flags associated with the motion. 755 public int interceptMotionBeforeQueueingWhenScreenOff(int policyFlags); 767 * @param policyFlags The policy flags associated with the key. 773 public long interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags); 785 * @param policyFlags The policy flags associated with the key. 789 public KeyEvent dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags); [all...] |
/frameworks/base/services/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 | 265 private void clear(MotionEvent event, int policyFlags) { 269 sendHoverExitAndTouchExplorationGestureEndIfNeeded(policyFlags); 274 sendUpForInjectedDownPointers(event, policyFlags); 278 sendUpForInjectedDownPointers(event, policyFlags); 316 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { 318 Slog.d(LOG_TAG, "Received event: " + event + ", policyFlags=0x" 319 + Integer.toHexString(policyFlags)); 327 handleMotionEventStateTouchExploring(event, rawEvent, policyFlags); 330 handleMotionEventStateDragging(event, policyFlags); 333 handleMotionEventStateDelegating(event, policyFlags); [all...] |
ScreenMagnifier.java | 332 int policyFlags) { 336 handleMotionEventStateDelegating(event, rawEvent, policyFlags); 339 mDetectingStateHandler.onMotionEvent(event, rawEvent, policyFlags); 342 mStateViewportDraggingHandler.onMotionEvent(event, policyFlags); 389 MotionEvent rawEvent, int policyFlags) { 432 mNext.onMotionEvent(event, rawEvent, policyFlags); 587 private void onMotionEvent(MotionEvent event, int policyFlags) { 655 final int policyFlags = message.arg1; 656 onActionTapAndHold(event, policyFlags); 670 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { [all...] |
AccessibilityManagerService.java | 674 boolean notifyKeyEvent(KeyEvent event, int policyFlags) { 677 boolean handled = notifyKeyEventLocked(localClone, policyFlags, false); 679 handled = notifyKeyEventLocked(localClone, policyFlags, true); [all...] |
/frameworks/base/services/input/ |
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 | 305 if (mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER) { 318 if (!(mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER)) { 549 && (keyEntry->policyFlags & POLICY_FLAG_TRUSTED) 550 && (keyEntry->policyFlags & POLICY_FLAG_PASS_TO_USER); 641 uint32_t policyFlags = (entry->policyFlags & POLICY_FLAG_RAW_MASK) 646 entry->policyFlags = policyFlags; 650 entry->deviceId, entry->source, policyFlags, 704 && (entry->policyFlags & POLICY_FLAG_TRUSTED [all...] |
InputDispatcher.h | 221 virtual bool filterInputEvent(const InputEvent* inputEvent, uint32_t policyFlags) = 0; 230 virtual void interceptKeyBeforeQueueing(const KeyEvent* keyEvent, uint32_t& policyFlags) = 0; 239 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags) = 0; 243 const KeyEvent* keyEvent, uint32_t policyFlags) = 0; 248 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent) = 0; 253 uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) = 0; 301 uint32_t policyFlags) = 0; 385 uint32_t policyFlags); 436 uint32_t policyFlags; 448 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/base/services/input/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/jni/ |
com_android_server_input_InputManagerService.cpp | 191 uint32_t policyFlags); 196 virtual bool filterInputEvent(const InputEvent* inputEvent, uint32_t policyFlags); 199 virtual void interceptKeyBeforeQueueing(const KeyEvent* keyEvent, uint32_t& policyFlags); 200 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags); 203 const KeyEvent* keyEvent, uint32_t policyFlags); 205 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent); 247 void handleInterceptActions(jint wmActions, nsecs_t when, uint32_t& policyFlags); 531 uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) { 533 ALOGD("notifySwitch - when=%lld, switchValues=0x%08x, switchMask=0x%08x, policyFlags=0x%x", 534 when, switchValues, switchMask, policyFlags); [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
InputMonitor.java | 337 KeyEvent event, int policyFlags, boolean isScreenOn) { 338 return mService.mPolicy.interceptKeyBeforeQueueing(event, policyFlags, isScreenOn); 344 public int interceptMotionBeforeQueueingWhenScreenOff(int policyFlags) { 345 return mService.mPolicy.interceptMotionBeforeQueueingWhenScreenOff(policyFlags); 351 InputWindowHandle focus, KeyEvent event, int policyFlags) { 353 return mService.mPolicy.interceptKeyBeforeDispatching(windowState, event, policyFlags); 359 InputWindowHandle focus, KeyEvent event, int policyFlags) { 361 return mService.mPolicy.dispatchUnhandledKey(windowState, event, policyFlags);
|
/frameworks/base/services/java/com/android/server/input/ |
InputManagerService.java | 172 int policyFlags); [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
PhoneWindowManager.java | [all...] |