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

1 2

  /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     [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 171 public void onInputEvent(InputEvent event, int policyFlags) {
173 Slog.d(TAG, "Received event: " + event + ", policyFlags=0x"
174 + Integer.toHexString(policyFlags));
178 super.onInputEvent(event, policyFlags);
184 super.onInputEvent(event, policyFlags);
189 if ((policyFlags & WindowManagerPolicy.FLAG_PASS_TO_USER) == 0) {
192 super.onInputEvent(event, policyFlags);
201 super.onInputEvent(event, policyFlags);
207 processMotionEvent(state, motionEvent, policyFlags);
210 processKeyEvent(state, keyEvent, policyFlags);
    [all...]
TouchExplorer.java 219 private void clear(MotionEvent event, int policyFlags) {
223 sendHoverExitAndTouchExplorationGestureEndIfNeeded(policyFlags);
228 sendUpForInjectedDownPointers(event, policyFlags);
232 sendUpForInjectedDownPointers(event, policyFlags);
265 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) {
268 mNext.onMotionEvent(event, rawEvent, policyFlags);
274 Slog.d(LOG_TAG, "Received event: " + event + ", policyFlags=0x"
275 + Integer.toHexString(policyFlags));
284 if (mGestureDetector.onMotionEvent(rawEvent, policyFlags)) {
290 clear(event, policyFlags);
    [all...]
AccessibilityGestureDetector.java 61 * @param policyFlags The policy flags of the most recent event.
63 void onDoubleTapAndHold(MotionEvent event, int policyFlags);
70 * @param policyFlags The policy flags of the most recent event.
74 boolean onDoubleTap(MotionEvent event, int policyFlags);
97 * @param policyFlags The policy flags of the most recent event.
101 public boolean onGestureCancelled(MotionEvent event, int policyFlags);
203 * @param policyFlags Policy flags for the event.
207 public boolean onMotionEvent(MotionEvent event, int policyFlags) {
212 mPolicyFlags = policyFlags;
264 return mListener.onGestureCancelled(event, policyFlags);
    [all...]
MagnificationGestureHandler.java 125 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) {
128 mNext.onMotionEvent(event, rawEvent, policyFlags);
134 dispatchTransformedEvent(event, rawEvent, policyFlags);
138 mMagnifiedContentInteractionStateHandler.onMotionEvent(event, rawEvent, policyFlags);
141 handleMotionEventStateDelegating(event, rawEvent, policyFlags);
145 mDetectingStateHandler.onMotionEvent(event, rawEvent, policyFlags);
149 mStateViewportDraggingHandler.onMotionEvent(event, rawEvent, policyFlags);
165 public void onKeyEvent(KeyEvent event, int policyFlags) {
167 mNext.onKeyEvent(event, policyFlags);
207 MotionEvent rawEvent, int policyFlags) {
    [all...]
KeyEventDispatcher.java 109 * @param policyFlags Flags for the event
117 KeyEvent event, int policyFlags, List<Service> boundServices) {
141 pendingKeyEvent = obtainPendingEventLocked(localClone, policyFlags);
208 private PendingKeyEvent obtainPendingEventLocked(KeyEvent event, int policyFlags) {
214 pendingEvent.policyFlags = policyFlags;
257 int policyFlags = pendingEvent.policyFlags | WindowManagerPolicy.FLAG_PASS_TO_USER;
259 .obtainMessage(mMessageTypeForSendKeyEvent, policyFlags, 0, pendingEvent.event)
271 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 89 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) {
91 sendMotionEventToNext(event, rawEvent, policyFlags);
95 public void onKeyEvent(KeyEvent event, int policyFlags) {
97 mNext.onKeyEvent(event, policyFlags);
184 int policyFlags) {
186 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 192 uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState,
201 NotifyKeyArgs args(when, deviceId, source, policyFlags,
209 uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState) {
210 synthesizeButtonKey(context, action, when, deviceId, source, policyFlags,
213 synthesizeButtonKey(context, action, when, deviceId, source, policyFlags,
    [all...]
InputReader.h     [all...]
  /frameworks/base/services/core/jni/
com_android_server_input_InputManagerService.cpp 226 uint32_t policyFlags);
232 virtual bool filterInputEvent(const InputEvent* inputEvent, uint32_t policyFlags);
234 virtual void interceptKeyBeforeQueueing(const KeyEvent* keyEvent, uint32_t& policyFlags);
235 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags);
238 const KeyEvent* keyEvent, uint32_t policyFlags);
240 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent);
289 void handleInterceptActions(jint wmActions, nsecs_t when, uint32_t& policyFlags);
572 uint32_t switchValues, uint32_t switchMask, uint32_t /* policyFlags */) {
574 ALOGD("notifySwitch - when=%lld, switchValues=0x%08x, switchMask=0x%08x, policyFlags=0x%x",
575 when, switchValues, switchMask, policyFlags);
    [all...]
  /frameworks/base/services/core/java/com/android/server/wm/
InputMonitor.java 398 public int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags) {
399 return mService.mPolicy.interceptKeyBeforeQueueing(event, policyFlags);
406 public int interceptMotionBeforeQueueingNonInteractive(long whenNanos, int policyFlags) {
408 whenNanos, policyFlags);
415 InputWindowHandle focus, KeyEvent event, int policyFlags) {
417 return mService.mPolicy.interceptKeyBeforeDispatching(windowState, event, policyFlags);
424 InputWindowHandle focus, KeyEvent event, int policyFlags) {
426 return mService.mPolicy.dispatchUnhandledKey(windowState, event, policyFlags);
  /frameworks/base/services/core/java/com/android/server/input/
InputManagerService.java 202 int policyFlags);
    [all...]
  /frameworks/native/services/inputflinger/tests/
InputReader_test.cpp     [all...]
  /frameworks/base/services/core/java/com/android/server/pm/
PackageManagerService.java     [all...]
  /frameworks/base/services/core/java/com/android/server/policy/
PhoneWindowManager.java     [all...]

Completed in 555 milliseconds

1 2