/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 | 723 * @param policyFlags The policy flags associated with the key. 729 public int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags, boolean isScreenOn); 738 * @param policyFlags The policy flags associated with the motion. 743 public int interceptMotionBeforeQueueingWhenScreenOff(int policyFlags); 755 * @param policyFlags The policy flags associated with the key. 761 public long interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags); 773 * @param policyFlags The policy flags associated with the key. [all...] |
/frameworks/base/services/java/com/android/server/accessibility/ |
EventStreamTransformation.java | 66 * @param policyFlags Policy flags for the event. 68 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags);
|
AccessibilityInputFilter.java | 96 public void onInputEvent(InputEvent event, int policyFlags) { 98 Slog.d(TAG, "Received event: " + event + ", policyFlags=0x" 99 + Integer.toHexString(policyFlags)); 102 super.onInputEvent(event, policyFlags); 106 super.onInputEvent(event, policyFlags); 109 if ((policyFlags & WindowManagerPolicy.FLAG_PASS_TO_USER) == 0) { 111 super.onInputEvent(event, policyFlags); 124 mEventHandler.onMotionEvent(transformedEvent, rawEvent, policyFlags); 130 int policyFlags) { 131 sendInputEvent(transformedEvent, policyFlags); [all...] |
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 | 212 int policyFlags) { 216 handleMotionEventStateDelegating(event, rawEvent, policyFlags); 219 mDetectingStateHandler.onMotionEvent(event, rawEvent, policyFlags); 222 mStateViewportDraggingHandler.onMotionEvent(event, policyFlags); 269 MotionEvent rawEvent, int policyFlags) { 312 mNext.onMotionEvent(event, rawEvent, policyFlags); 472 private void onMotionEvent(MotionEvent event, int policyFlags) { 541 final int policyFlags = message.arg1; 542 onActionTapAndHold(event, policyFlags); 556 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { [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)) { 547 && (keyEntry->policyFlags & POLICY_FLAG_TRUSTED) 548 && (keyEntry->policyFlags & POLICY_FLAG_PASS_TO_USER); 639 uint32_t policyFlags = (entry->policyFlags & POLICY_FLAG_RAW_MASK) 644 entry->policyFlags = policyFlags; 648 entry->deviceId, entry->source, policyFlags, 702 && (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/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 | 336 KeyEvent event, int policyFlags, boolean isScreenOn) { 337 return mService.mPolicy.interceptKeyBeforeQueueing(event, policyFlags, isScreenOn); 343 public int interceptMotionBeforeQueueingWhenScreenOff(int policyFlags) { 344 return mService.mPolicy.interceptMotionBeforeQueueingWhenScreenOff(policyFlags); 350 InputWindowHandle focus, KeyEvent event, int policyFlags) { 352 return mService.mPolicy.interceptKeyBeforeDispatching(windowState, event, policyFlags); 358 InputWindowHandle focus, KeyEvent event, int policyFlags) { 360 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...] |