/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 | 149 final public void filterInputEvent(InputEvent event, int policyFlags) { 150 mH.obtainMessage(MSG_INPUT_EVENT, policyFlags, 0, event).sendToTarget(); 157 * @param policyFlags The input event policy flags. 159 public void sendInputEvent(InputEvent event, int policyFlags) { 171 mHost.sendInputEvent(event, policyFlags); 187 * @param policyFlags The input event policy flags. 189 public void onInputEvent(InputEvent event, int policyFlags) { 190 sendInputEvent(event, policyFlags);
|
WindowManagerPolicy.java | [all...] |
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
KeyboardInterceptor.java | 35 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { 37 mNext.onMotionEvent(event, rawEvent, policyFlags); 42 public void onKeyEvent(KeyEvent event, int policyFlags) { 43 mAms.notifyKeyEvent(event, policyFlags);
|
EventStreamTransformation.java | 66 * @param policyFlags Policy flags for the event. 68 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags); 74 * @param policyFlags Policy flags for the event. 76 public void onKeyEvent(KeyEvent event, int policyFlags);
|
AccessibilityInputFilter.java | 181 public void onInputEvent(InputEvent event, int policyFlags) { 183 Slog.d(TAG, "Received event: " + event + ", policyFlags=0x" 184 + Integer.toHexString(policyFlags)); 188 super.onInputEvent(event, policyFlags); 194 super.onInputEvent(event, policyFlags); 199 if ((policyFlags & WindowManagerPolicy.FLAG_PASS_TO_USER) == 0) { 202 super.onInputEvent(event, policyFlags); 211 super.onInputEvent(event, policyFlags); 218 processMotionEvent(state, motionEvent, policyFlags); 221 super.onInputEvent(event, policyFlags); [all...] |
TouchExplorer.java | 220 private void clear(MotionEvent event, int policyFlags) { 224 sendHoverExitAndTouchExplorationGestureEndIfNeeded(policyFlags); 229 sendUpForInjectedDownPointers(event, policyFlags); 233 sendUpForInjectedDownPointers(event, policyFlags); 266 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { 269 mNext.onMotionEvent(event, rawEvent, policyFlags); 275 Slog.d(LOG_TAG, "Received event: " + event + ", policyFlags=0x" 276 + Integer.toHexString(policyFlags)); 285 if (mGestureDetector.onMotionEvent(rawEvent, policyFlags)) { 291 clear(event, policyFlags); [all...] |
MagnificationGestureHandler.java | 158 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { 161 mNext.onMotionEvent(event, rawEvent, policyFlags); 167 dispatchTransformedEvent(event, rawEvent, policyFlags); 171 mMagnifiedContentInteractionStateHandler.onMotionEvent(event, rawEvent, policyFlags); 174 handleMotionEventStateDelegating(event, rawEvent, policyFlags); 178 mDetectingStateHandler.onMotionEvent(event, rawEvent, policyFlags); 182 mStateViewportDraggingHandler.onMotionEvent(event, rawEvent, policyFlags); 198 public void onKeyEvent(KeyEvent event, int policyFlags) { 200 mNext.onKeyEvent(event, policyFlags); 263 MotionEvent rawEvent, int policyFlags) { [all...] |
AccessibilityGestureDetector.java | 103 * @param policyFlags The policy flags of the most recent event. 105 void onDoubleTapAndHold(MotionEvent event, int policyFlags); 112 * @param policyFlags The policy flags of the most recent event. 116 boolean onDoubleTap(MotionEvent event, int policyFlags); 139 * @param policyFlags The policy flags of the most recent event. 143 public boolean onGestureCancelled(MotionEvent event, int policyFlags); 241 * @param policyFlags Policy flags for the event. 245 public boolean onMotionEvent(MotionEvent event, int policyFlags) { 262 mPolicyFlags = policyFlags; 314 return mListener.onGestureCancelled(event, policyFlags); [all...] |
KeyEventDispatcher.java | 117 * @param policyFlags Flags for the event 126 KeyEvent event, int policyFlags, List<? extends KeyEventFilter> keyEventFilters) { 133 pendingKeyEvent = obtainPendingEventLocked(localClone, policyFlags); 220 private PendingKeyEvent obtainPendingEventLocked(KeyEvent event, int policyFlags) { 226 pendingEvent.policyFlags = policyFlags; 269 int policyFlags = pendingEvent.policyFlags | WindowManagerPolicy.FLAG_PASS_TO_USER; 271 .obtainMessage(mMessageTypeForSendKeyEvent, policyFlags, 0, pendingEvent.event) 283 int policyFlags; [all...] |
AutoclickController.java | 76 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { 86 handleMouseMotion(event, policyFlags); 92 mNext.onMotionEvent(event, rawEvent, policyFlags); 97 public void onKeyEvent(KeyEvent event, int policyFlags) { 107 mNext.onKeyEvent(event, policyFlags); 146 private void handleMouseMotion(MotionEvent event, int policyFlags) { 150 mClickScheduler.update(event, policyFlags); 309 * @param policyFlags Policy flags that should be send with click event sequence. 311 public void update(MotionEvent event, int policyFlags) { 315 cacheLastEvent(event, policyFlags, mLastMotionEvent == null || moved /* useAsAnchor */) [all...] |
MotionEventInjector.java | 114 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) { 116 sendMotionEventToNext(event, rawEvent, policyFlags); 120 public void onKeyEvent(KeyEvent event, int policyFlags) { 122 mNext.onKeyEvent(event, policyFlags); 294 int policyFlags) { 296 mNext.onMotionEvent(event, rawEvent, policyFlags);
|
/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), 88 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; 102 NotifyMotionArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, 120 uint32_t policyFlags; 126 NotifySwitchArgs(nsecs_t eventTime, uint32_t policyFlags,
|
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 & 662 entry->policyFlags = policyFlags; 666 entry->deviceId, entry->source, policyFlags, 720 && (entry->policyFlags & POLICY_FLAG_TRUSTED [all...] |
InputDispatcher.h | 225 virtual bool filterInputEvent(const InputEvent* inputEvent, uint32_t policyFlags) = 0; 234 virtual void interceptKeyBeforeQueueing(const KeyEvent* keyEvent, uint32_t& policyFlags) = 0; 243 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags) = 0; 247 const KeyEvent* keyEvent, uint32_t policyFlags) = 0; 252 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent) = 0; 257 uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) = 0; 305 uint32_t policyFlags) = 0; 389 uint32_t policyFlags); 440 uint32_t policyFlags; 452 EventEntry(int32_t type, nsecs_t eventTime, uint32_t policyFlags); [all...] |
InputReader.cpp | 201 uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState, 210 NotifyKeyArgs args(when, deviceId, source, policyFlags, 218 uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState) { 219 synthesizeButtonKey(context, action, when, deviceId, source, policyFlags, 222 synthesizeButtonKey(context, action, when, deviceId, source, policyFlags, [all...] |
InputReader.h | [all...] |
/frameworks/base/services/core/jni/ |
com_android_server_input_InputManagerService.cpp | 229 uint32_t policyFlags); 235 virtual bool filterInputEvent(const InputEvent* inputEvent, uint32_t policyFlags); 237 virtual void interceptKeyBeforeQueueing(const KeyEvent* keyEvent, uint32_t& policyFlags); 238 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags); 241 const KeyEvent* keyEvent, uint32_t policyFlags); 243 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent); 296 void handleInterceptActions(jint wmActions, nsecs_t when, uint32_t& policyFlags); 622 uint32_t switchValues, uint32_t switchMask, uint32_t /* policyFlags */) { 624 ALOGD("notifySwitch - when=%lld, switchValues=0x%08x, switchMask=0x%08x, policyFlags=0x%x", 625 when, switchValues, switchMask, policyFlags); [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
InputMonitor.java | 447 public int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags) { 448 return mService.mPolicy.interceptKeyBeforeQueueing(event, policyFlags); 455 public int interceptMotionBeforeQueueingNonInteractive(long whenNanos, int policyFlags) { 457 whenNanos, policyFlags); 464 InputWindowHandle focus, KeyEvent event, int policyFlags) { 466 return mService.mPolicy.interceptKeyBeforeDispatching(windowState, event, policyFlags); 473 InputWindowHandle focus, KeyEvent event, int policyFlags) { 475 return mService.mPolicy.dispatchUnhandledKey(windowState, event, policyFlags);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
TestWindowManagerPolicy.java | 257 public int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags) { 262 public int interceptMotionBeforeQueueingNonInteractive(long whenNanos, int policyFlags) { 268 int policyFlags) { 274 int policyFlags) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
AccessibilityGestureDetectorTest.java | 179 int policyFlags = 0; 198 mDetector.onMotionEvent(event, policyFlags);
|
/frameworks/base/services/core/java/com/android/server/input/ |
InputManagerService.java | 215 int policyFlags); [all...] |
/frameworks/native/services/inputflinger/tests/ |
InputReader_test.cpp | [all...] |