/frameworks/base/services/java/com/android/server/accessibility/ |
AccessibilityInputFilter.java | 54 * @param policyFlags The policy flags associated with the event. 56 public void onMotionEvent(MotionEvent event, int policyFlags); 62 * @param policyFlags The policy flags associated with the event. 64 public void clear(MotionEvent event, int policyFlags); 102 public void onInputEvent(InputEvent event, int policyFlags) { 104 Slog.d(TAG, "Received event: " + event + ", policyFlags=0x" 105 + Integer.toHexString(policyFlags)); 112 mTouchExplorer.clear(motionEvent, policyFlags); 114 if ((policyFlags & WindowManagerPolicy.FLAG_PASS_TO_USER) != 0) { 116 mTouchExplorer.onMotionEvent(motionEvent, policyFlags); [all...] |
TouchExplorer.java | 245 public void clear(MotionEvent event, int policyFlags) { 249 sendExitEventsIfNeeded(policyFlags); 254 sendUpForInjectedDownPointers(event, policyFlags); 258 sendUpForInjectedDownPointers(event, policyFlags); 283 public void onMotionEvent(MotionEvent event, int policyFlags) { 285 Slog.d(LOG_TAG, "Received event: " + event + ", policyFlags=0x" 286 + Integer.toHexString(policyFlags)); 294 handleMotionEventStateTouchExploring(event, policyFlags); 297 handleMotionEventStateDragging(event, policyFlags); 300 handleMotionEventStateDelegating(event, policyFlags); [all...] |
/frameworks/base/services/java/com/android/server/input/ |
InputFilter.java | 152 final void filterInputEvent(InputEvent event, int policyFlags) { 153 mH.obtainMessage(MSG_INPUT_EVENT, policyFlags, 0, event).sendToTarget(); 160 * @param policyFlags The input event policy flags. 162 public void sendInputEvent(InputEvent event, int policyFlags) { 173 mHost.sendInputEvent(event, policyFlags); 186 * @param policyFlags The input event policy flags. 188 public void onInputEvent(InputEvent event, int policyFlags) { 189 sendInputEvent(event, policyFlags); 256 public void sendInputEvent(InputEvent event, int policyFlags);
|
InputManagerService.java | 165 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; 100 NotifyMotionArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, 117 uint32_t policyFlags; 123 NotifySwitchArgs(nsecs_t eventTime, uint32_t policyFlags,
|
InputDispatcher.cpp | 295 if (mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER) { 308 if (!(mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER)) { 533 && (keyEntry->policyFlags & POLICY_FLAG_TRUSTED) 534 && (keyEntry->policyFlags & POLICY_FLAG_PASS_TO_USER); 621 uint32_t policyFlags = (entry->policyFlags & POLICY_FLAG_RAW_MASK) 626 entry->policyFlags = policyFlags; 630 entry->deviceId, entry->source, policyFlags, 684 && (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 int32_t switchCode, int32_t switchValue, 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/java/com/android/server/wm/ |
InputMonitor.java | 289 KeyEvent event, int policyFlags, boolean isScreenOn) { 290 return mService.mPolicy.interceptKeyBeforeQueueing(event, policyFlags, isScreenOn); 296 public int interceptMotionBeforeQueueingWhenScreenOff(int policyFlags) { 297 return mService.mPolicy.interceptMotionBeforeQueueingWhenScreenOff(policyFlags); 303 InputWindowHandle focus, KeyEvent event, int policyFlags) { 305 return mService.mPolicy.interceptKeyBeforeDispatching(windowState, event, policyFlags); 311 InputWindowHandle focus, KeyEvent event, int policyFlags) { 313 return mService.mPolicy.dispatchUnhandledKey(windowState, event, policyFlags);
|
/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 int32_t switchCode, int32_t switchValue, uint32_t policyFlags) {
|
InputReader_test.cpp | [all...] |
/frameworks/base/services/jni/ |
com_android_server_input_InputManagerService.cpp | 193 uint32_t policyFlags); 198 virtual bool filterInputEvent(const InputEvent* inputEvent, uint32_t policyFlags); 201 virtual void interceptKeyBeforeQueueing(const KeyEvent* keyEvent, uint32_t& policyFlags); 202 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags); 205 const KeyEvent* keyEvent, uint32_t policyFlags); 207 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent); 251 void handleInterceptActions(jint wmActions, nsecs_t when, uint32_t& policyFlags); 573 int32_t switchValue, uint32_t policyFlags) { 575 ALOGD("notifySwitch - when=%lld, switchCode=%d, switchValue=%d, policyFlags=0x%x", 576 when, switchCode, switchValue, policyFlags); [all...] |
/frameworks/base/core/java/android/view/ |
WindowManagerPolicy.java | 702 * @param policyFlags The policy flags associated with the key. 708 public int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags, boolean isScreenOn); 717 * @param policyFlags The policy flags associated with the motion. 722 public int interceptMotionBeforeQueueingWhenScreenOff(int policyFlags); 734 * @param policyFlags The policy flags associated with the key. 740 public long interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags); 752 * @param policyFlags The policy flags associated with the key. 756 public KeyEvent dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags); [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
PhoneWindowManager.java | [all...] |