Lines Matching defs: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,
2094 int32_t scanCode, uint32_t policyFlags) {
2109 if ((policyFlags & POLICY_FLAG_VIRTUAL)
2154 && !(policyFlags & (POLICY_FLAG_WAKE | POLICY_FLAG_WAKE_DROPPED))) {
2155 policyFlags |= POLICY_FLAG_WAKE_DROPPED;
2166 NotifyKeyArgs args(when, getDeviceId(), mSource, policyFlags,
2490 uint32_t policyFlags = 0;
2492 policyFlags |= POLICY_FLAG_WAKE_DROPPED;
2497 policyFlags, lastButtonState, currentButtonState);
2511 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
2520 NotifyMotionArgs hoverArgs(when, getDeviceId(), mSource, policyFlags,
2533 NotifyMotionArgs scrollArgs(when, getDeviceId(), mSource, policyFlags,
2544 policyFlags, lastButtonState, currentButtonState);
3289 abortPointerUsage(when, 0 /*policyFlags*/);
3726 uint32_t policyFlags = 0;
3741 policyFlags |= POLICY_FLAG_WAKE_DROPPED;
3747 policyFlags, mLastButtonState, mCurrentButtonState);
3751 if (consumeRawTouches(when, policyFlags)) {
3797 dispatchPointerUsage(when, policyFlags, pointerUsage);
3810 dispatchHoverExit(when, policyFlags);
3811 dispatchTouches(when, policyFlags);
3812 dispatchHoverEnterAndMove(when, policyFlags);
3817 policyFlags, mLastButtonState, mCurrentButtonState);
3836 dispatchPointerGestures(when, 0 /*policyFlags*/, true /*isTimeout*/);
3841 bool TouchInputMapper::consumeRawTouches(nsecs_t when, uint32_t policyFlags) {
3852 dispatchVirtualKey(when, policyFlags,
3879 dispatchVirtualKey(when, policyFlags,
3910 dispatchVirtualKey(when, policyFlags,
3940 void TouchInputMapper::dispatchVirtualKey(nsecs_t when, uint32_t policyFlags,
3946 policyFlags |= POLICY_FLAG_VIRTUAL;
3948 NotifyKeyArgs args(when, getDeviceId(), AINPUT_SOURCE_KEYBOARD, policyFlags,
3953 void TouchInputMapper::dispatchTouches(nsecs_t when, uint32_t policyFlags) {
3963 dispatchMotion(when, policyFlags, mSource,
3998 dispatchMotion(when, policyFlags, mSource,
4013 dispatchMotion(when, policyFlags, mSource,
4032 dispatchMotion(when, policyFlags, mSource,
4043 void TouchInputMapper::dispatchHoverExit(nsecs_t when, uint32_t policyFlags) {
4048 dispatchMotion(when, policyFlags, mSource,
4059 void TouchInputMapper::dispatchHoverEnterAndMove(nsecs_t when, uint32_t policyFlags) {
4064 dispatchMotion(when, policyFlags, mSource,
4074 dispatchMotion(when, policyFlags, mSource,
4330 void TouchInputMapper::dispatchPointerUsage(nsecs_t when, uint32_t policyFlags,
4333 abortPointerUsage(when, policyFlags);
4339 dispatchPointerGestures(when, policyFlags, false /*isTimeout*/);
4342 dispatchPointerStylus(when, policyFlags);
4345 dispatchPointerMouse(when, policyFlags);
4352 void TouchInputMapper::abortPointerUsage(nsecs_t when, uint32_t policyFlags) {
4355 abortPointerGestures(when, policyFlags);
4358 abortPointerStylus(when, policyFlags);
4361 abortPointerMouse(when, policyFlags);
4370 void TouchInputMapper::dispatchPointerGestures(nsecs_t when, uint32_t policyFlags,
4460 dispatchMotion(when, policyFlags, mSource,
4480 dispatchMotion(when, policyFlags, mSource,
4495 dispatchMotion(when, policyFlags, mSource,
4515 dispatchMotion(when, policyFlags, mSource,
4526 dispatchMotion(when, policyFlags, mSource,
4552 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
4578 void TouchInputMapper::abortPointerGestures(nsecs_t when, uint32_t policyFlags) {
4583 dispatchMotion(when, policyFlags, mSource,
5366 void TouchInputMapper::dispatchPointerStylus(nsecs_t when, uint32_t policyFlags) {
5393 dispatchPointerSimple(when, policyFlags, down, hovering);
5396 void TouchInputMapper::abortPointerStylus(nsecs_t when, uint32_t policyFlags) {
5397 abortPointerSimple(when, policyFlags);
5400 void TouchInputMapper::dispatchPointerMouse(nsecs_t when, uint32_t policyFlags) {
5446 dispatchPointerSimple(when, policyFlags, down, hovering);
5449 void TouchInputMapper::abortPointerMouse(nsecs_t when, uint32_t policyFlags) {
5450 abortPointerSimple(when, policyFlags);
5455 void TouchInputMapper::dispatchPointerSimple(nsecs_t when, uint32_t policyFlags,
5474 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
5487 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
5502 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
5512 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
5526 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
5536 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
5557 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
5575 void TouchInputMapper::abortPointerSimple(nsecs_t when, uint32_t policyFlags) {
5579 dispatchPointerSimple(when, policyFlags, false, false);
5582 void TouchInputMapper::dispatchMotion(nsecs_t when, uint32_t policyFlags, uint32_t source,
5619 NotifyMotionArgs args(when, getDeviceId(), source, policyFlags,
6460 uint32_t policyFlags = 0;
6462 NotifyMotionArgs args(when, getDeviceId(), AINPUT_SOURCE_JOYSTICK, policyFlags,