Lines Matching defs:policyFlags

152     public void clear(MotionEvent event, int policyFlags) {
153 sendUpForInjectedDownPointers(event, policyFlags);
160 public void onMotionEvent(MotionEvent event, int policyFlags) {
162 Slog.d(LOG_TAG_RECEIVED, "Received event: " + event + ", policyFlags=0x"
163 + Integer.toHexString(policyFlags));
172 handleMotionEventStateTouchExploring(event, policyFlags);
175 handleMotionEventStateDragging(event, policyFlags);
178 handleMotionEventStateDelegating(event, policyFlags);
190 * @param policyFlags The policy flags associated with the event.
192 private void handleMotionEventStateTouchExploring(MotionEvent event, int policyFlags) {
216 pointerIdBits, policyFlags, DELAY_SEND_HOVER_ENTER);
219 policyFlags);
239 mPerformLongPressDelayed.post(event, policyFlags,
278 pointerIdBits, policyFlags);
281 policyFlags);
286 policyFlags);
311 ensureHoverExitSent(event, pointerIdBits, policyFlags);
324 policyFlags);
334 sendDownForAllActiveNotInjectedPointers(event, policyFlags);
342 ensureHoverExitSent(event, pointerIdBits, policyFlags);
352 sendDownForAllActiveNotInjectedPointers(event, policyFlags);
374 ensureHoverExitSent(event, pointerIdBits, policyFlags);
389 ensureHoverExitSent(event, pointerIdBits, policyFlags);
403 ensureHoverExitSent(event, pointerIdBits, policyFlags);
413 ensureHoverExitSent(event, pointerIdBits, policyFlags);
416 sendActionDownAndUp(mLastTouchExploreEvent, policyFlags);
420 ensureHoverExitSent(event, pointerIdBits, policyFlags);
431 ensureHoverExitSent(event, pointerIdBits, policyFlags);
441 * @param policyFlags The policy flags associated with the event.
443 private void handleMotionEventStateDragging(MotionEvent event, int policyFlags) {
454 sendMotionEvent(event, MotionEvent.ACTION_UP, pointerIdBits, policyFlags);
455 sendDownForAllActiveNotInjectedPointers(event, policyFlags);
467 policyFlags);
474 policyFlags);
476 sendDownForAllActiveNotInjectedPointers(event, policyFlags);
483 policyFlags);
485 sendDownForAllActiveNotInjectedPointers(event, policyFlags);
494 sendMotionEvent(event, MotionEvent.ACTION_UP, pointerIdBits, policyFlags);
514 * @param policyFlags The policy flags associated with the event.
516 private void handleMotionEventStateDelegating(MotionEvent event, int policyFlags) {
531 sendDownForAllActiveNotInjectedPointers(prototype, policyFlags);
545 sendMotionEventStripInactivePointers(event, policyFlags);
553 * @param policyFlags The policy flags associated with the event.
555 private void sendDownForAllActiveNotInjectedPointers(MotionEvent prototype, int policyFlags) {
581 sendMotionEvent(prototype, action, pointerIdBits, policyFlags);
590 * @param policyFlags The policy flags associated with the event.
592 private void ensureHoverExitSent(MotionEvent prototype, int pointerIdBits, int policyFlags) {
596 policyFlags);
605 * @param policyFlags The policy flags associated with the event.
607 private void sendUpForInjectedDownPointers(MotionEvent prototype, int policyFlags) {
619 sendMotionEvent(prototype, action, pointerIdBits, policyFlags);
627 * @param policyFlags The policy flags associated with the event.
629 private void sendMotionEventStripInactivePointers(MotionEvent prototype, int policyFlags) {
634 sendMotionEvent(prototype, prototype.getAction(), ALL_POINTER_ID_BITS, policyFlags);
665 sendMotionEvent(prototype, prototype.getAction(), pointerIdBits, policyFlags);
672 * @param policyFlags The policy flags associated with the event.
674 private void sendActionDownAndUp(MotionEvent prototype, int policyFlags) {
678 sendMotionEvent(prototype, MotionEvent.ACTION_DOWN, pointerIdBits, policyFlags);
679 sendMotionEvent(prototype, MotionEvent.ACTION_UP, pointerIdBits, policyFlags);
688 * @param policyFlags The policy flags associated with the event.
691 int policyFlags) {
707 Slog.d(LOG_TAG_INJECTED, "Injecting event: " + event + ", policyFlags=0x"
708 + Integer.toHexString(policyFlags));
712 policyFlags |= WindowManagerPolicy.FLAG_PASS_TO_USER;
714 mInputFilter.sendInputEvent(event, policyFlags);
1359 public void post(MotionEvent prototype, int policyFlags, long delay) {
1361 mPolicyFlags = policyFlags;
1412 public void post(MotionEvent prototype, int action, int pointerIdBits, int policyFlags,
1418 mPolicyFlags = policyFlags;