Home | History | Annotate | Download | only in inputflinger

Lines Matching refs:policyFlags

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,
2117 int32_t scanCode, uint32_t policyFlags) {
2132 if ((policyFlags & POLICY_FLAG_VIRTUAL)
2177 policyFlags |= POLICY_FLAG_WAKE;
2181 policyFlags |= POLICY_FLAG_DISABLE_KEY_REPEAT;
2192 NotifyKeyArgs args(when, getDeviceId(), mSource, policyFlags,
2516 uint32_t policyFlags = 0;
2518 policyFlags |= POLICY_FLAG_WAKE;
2523 policyFlags, lastButtonState, currentButtonState);
2537 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
2546 NotifyMotionArgs hoverArgs(when, getDeviceId(), mSource, policyFlags,
2559 NotifyMotionArgs scrollArgs(when, getDeviceId(), mSource, policyFlags,
2570 policyFlags, lastButtonState, currentButtonState);
3331 abortPointerUsage(when, 0 /*policyFlags*/);
3784 uint32_t policyFlags = 0;
3795 policyFlags |= POLICY_FLAG_WAKE;
3801 policyFlags, mLastButtonState, mCurrentButtonState);
3805 if (consumeRawTouches(when, policyFlags)) {
3851 dispatchPointerUsage(when, policyFlags, pointerUsage);
3864 dispatchHoverExit(when, policyFlags);
3865 dispatchTouches(when, policyFlags);
3866 dispatchHoverEnterAndMove(when, policyFlags);
3871 policyFlags, mLastButtonState, mCurrentButtonState);
3890 dispatchPointerGestures(when, 0 /*policyFlags*/, true /*isTimeout*/);
3895 bool TouchInputMapper::consumeRawTouches(nsecs_t when, uint32_t policyFlags) {
3906 dispatchVirtualKey(when, policyFlags,
3933 dispatchVirtualKey(when, policyFlags,
3964 dispatchVirtualKey(when, policyFlags,
3994 void TouchInputMapper::dispatchVirtualKey(nsecs_t when, uint32_t policyFlags,
4000 policyFlags |= POLICY_FLAG_VIRTUAL;
4002 NotifyKeyArgs args(when, getDeviceId(), AINPUT_SOURCE_KEYBOARD, policyFlags,
4007 void TouchInputMapper::dispatchTouches(nsecs_t when, uint32_t policyFlags) {
4017 dispatchMotion(when, policyFlags, mSource,
4052 dispatchMotion(when, policyFlags, mSource,
4067 dispatchMotion(when, policyFlags, mSource,
4086 dispatchMotion(when, policyFlags, mSource,
4097 void TouchInputMapper::dispatchHoverExit(nsecs_t when, uint32_t policyFlags) {
4102 dispatchMotion(when, policyFlags, mSource,
4113 void TouchInputMapper::dispatchHoverEnterAndMove(nsecs_t when, uint32_t policyFlags) {
4118 dispatchMotion(when, policyFlags, mSource,
4128 dispatchMotion(when, policyFlags, mSource,
4390 void TouchInputMapper::dispatchPointerUsage(nsecs_t when, uint32_t policyFlags,
4393 abortPointerUsage(when, policyFlags);
4399 dispatchPointerGestures(when, policyFlags, false /*isTimeout*/);
4402 dispatchPointerStylus(when, policyFlags);
4405 dispatchPointerMouse(when, policyFlags);
4412 void TouchInputMapper::abortPointerUsage(nsecs_t when, uint32_t policyFlags) {
4415 abortPointerGestures(when, policyFlags);
4418 abortPointerStylus(when, policyFlags);
4421 abortPointerMouse(when, policyFlags);
4430 void TouchInputMapper::dispatchPointerGestures(nsecs_t when, uint32_t policyFlags,
4520 dispatchMotion(when, policyFlags, mSource,
4540 dispatchMotion(when, policyFlags, mSource,
4555 dispatchMotion(when, policyFlags, mSource,
4575 dispatchMotion(when, policyFlags, mSource,
4586 dispatchMotion(when, policyFlags, mSource,
4612 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
4638 void TouchInputMapper::abortPointerGestures(nsecs_t when, uint32_t policyFlags) {
4643 dispatchMotion(when, policyFlags, mSource,
5426 void TouchInputMapper::dispatchPointerStylus(nsecs_t when, uint32_t policyFlags) {
5453 dispatchPointerSimple(when, policyFlags, down, hovering);
5456 void TouchInputMapper::abortPointerStylus(nsecs_t when, uint32_t policyFlags) {
5457 abortPointerSimple(when, policyFlags);
5460 void TouchInputMapper::dispatchPointerMouse(nsecs_t when, uint32_t policyFlags) {
5506 dispatchPointerSimple(when, policyFlags, down, hovering);
5509 void TouchInputMapper::abortPointerMouse(nsecs_t when, uint32_t policyFlags) {
5510 abortPointerSimple(when, policyFlags);
5515 void TouchInputMapper::dispatchPointerSimple(nsecs_t when, uint32_t policyFlags,
5534 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
5547 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
5562 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
5572 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
5586 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
5596 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
5617 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
5635 void TouchInputMapper::abortPointerSimple(nsecs_t when, uint32_t policyFlags) {
5639 dispatchPointerSimple(when, policyFlags, false, false);
5642 void TouchInputMapper::dispatchMotion(nsecs_t when, uint32_t policyFlags, uint32_t source,
5679 NotifyMotionArgs args(when, getDeviceId(), source, policyFlags,
6520 uint32_t policyFlags = 0;
6522 NotifyMotionArgs args(when, getDeviceId(), AINPUT_SOURCE_JOYSTICK, policyFlags,