HomeSort by relevance Sort by last modified time
    Searched refs:policyFlags (Results 1 - 21 of 21) sorted by null

  /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 751 * @param policyFlags The policy flags associated with the key.
757 public int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags, boolean isScreenOn);
766 * @param policyFlags The policy flags associated with the motion.
771 public int interceptMotionBeforeQueueingWhenScreenOff(int policyFlags);
783 * @param policyFlags The policy flags associated with the key.
789 public long interceptKeyBeforeDispatching(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 261 private void clear(MotionEvent event, int policyFlags) {
265 sendHoverExitAndTouchExplorationGestureEndIfNeeded(policyFlags);
270 sendUpForInjectedDownPointers(event, policyFlags);
274 sendUpForInjectedDownPointers(event, policyFlags);
312 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) {
314 Slog.d(LOG_TAG, "Received event: " + event + ", policyFlags=0x"
315 + Integer.toHexString(policyFlags));
323 handleMotionEventStateTouchExploring(event, rawEvent, policyFlags);
326 handleMotionEventStateDragging(event, policyFlags);
329 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);
588 private void onMotionEvent(MotionEvent event, int policyFlags) {
656 final int policyFlags = message.arg1;
657 onActionTapAndHold(event, policyFlags);
671 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 307 if (mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER) {
320 if (!(mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER)) {
560 && (keyEntry->policyFlags & POLICY_FLAG_TRUSTED)
561 && (keyEntry->policyFlags & POLICY_FLAG_PASS_TO_USER);
653 uint32_t policyFlags = (entry->policyFlags & POLICY_FLAG_RAW_MASK)
658 entry->policyFlags = policyFlags;
662 entry->deviceId, entry->source, policyFlags,
716 && (entry->policyFlags & POLICY_FLAG_TRUSTED
    [all...]
InputDispatcher.h 222 virtual bool filterInputEvent(const InputEvent* inputEvent, uint32_t policyFlags) = 0;
231 virtual void interceptKeyBeforeQueueing(const KeyEvent* keyEvent, uint32_t& policyFlags) = 0;
240 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags) = 0;
244 const KeyEvent* keyEvent, uint32_t policyFlags) = 0;
249 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent) = 0;
254 uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) = 0;
302 uint32_t policyFlags) = 0;
386 uint32_t policyFlags);
437 uint32_t policyFlags;
449 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 69 virtual bool filterInputEvent(const InputEvent* inputEvent, uint32_t policyFlags) {
73 virtual void interceptKeyBeforeQueueing(const KeyEvent* keyEvent, uint32_t& policyFlags) {
76 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags) {
80 const KeyEvent* keyEvent, uint32_t policyFlags) {
85 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent) {
90 uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) {
InputReader_test.cpp     [all...]
  /frameworks/base/services/jni/
com_android_server_input_InputManagerService.cpp 192 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);
249 void handleInterceptActions(jint wmActions, nsecs_t when, uint32_t& policyFlags);
533 uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) {
535 ALOGD("notifySwitch - when=%lld, switchValues=0x%08x, switchMask=0x%08x, policyFlags=0x%x",
536 when, switchValues, switchMask, policyFlags);
    [all...]
  /frameworks/base/services/java/com/android/server/wm/
InputMonitor.java 356 KeyEvent event, int policyFlags, boolean isScreenOn) {
357 return mService.mPolicy.interceptKeyBeforeQueueing(event, policyFlags, isScreenOn);
364 public int interceptMotionBeforeQueueingWhenScreenOff(int policyFlags) {
365 return mService.mPolicy.interceptMotionBeforeQueueingWhenScreenOff(policyFlags);
372 InputWindowHandle focus, KeyEvent event, int policyFlags) {
374 return mService.mPolicy.interceptKeyBeforeDispatching(windowState, event, policyFlags);
381 InputWindowHandle focus, KeyEvent event, int policyFlags) {
383 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...]

Completed in 452 milliseconds