Home | History | Annotate | Download | only in inputflinger

Lines Matching defs:policyFlags

230         uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState,
239 NotifyKeyArgs args(when, deviceId, source, policyFlags,
247 uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState) {
248 synthesizeButtonKey(context, action, when, deviceId, source, policyFlags,
251 synthesizeButtonKey(context, action, when, deviceId, source, policyFlags,
2415 uint32_t policyFlags;
2418 &keyCode, &keyMetaState, &policyFlags)) {
2421 policyFlags = 0;
2437 if ((policyFlags & POLICY_FLAG_VIRTUAL)
2442 if (policyFlags & POLICY_FLAG_GESTURE) {
2485 policyFlags |= POLICY_FLAG_WAKE;
2489 policyFlags |= POLICY_FLAG_DISABLE_KEY_REPEAT;
2492 NotifyKeyArgs args(when, getDeviceId(), mSource, policyFlags,
2870 uint32_t policyFlags = 0;
2872 policyFlags |= POLICY_FLAG_WAKE;
2877 policyFlags, lastButtonState, currentButtonState);
2897 NotifyMotionArgs releaseArgs(when, getDeviceId(), mSource, policyFlags,
2906 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
2918 NotifyMotionArgs pressArgs(when, getDeviceId(), mSource, policyFlags,
2932 NotifyMotionArgs hoverArgs(when, getDeviceId(), mSource, policyFlags,
2945 NotifyMotionArgs scrollArgs(when, getDeviceId(), mSource, policyFlags,
2956 policyFlags, lastButtonState, currentButtonState);
3061 uint32_t policyFlags = 0;
3063 policyFlags |= POLICY_FLAG_WAKE;
3075 NotifyMotionArgs scrollArgs(when, getDeviceId(), mSource, policyFlags,
3892 abortPointerUsage(when, 0 /*policyFlags*/);
4407 uint32_t policyFlags = 0;
4416 policyFlags |= POLICY_FLAG_WAKE;
4422 if (consumeRawTouches(when, policyFlags)) {
4436 policyFlags, mLastCookedState.buttonState, mCurrentCookedState.buttonState);
4480 dispatchPointerUsage(when, policyFlags, pointerUsage);
4494 dispatchButtonRelease(when, policyFlags);
4495 dispatchHoverExit(when, policyFlags);
4496 dispatchTouches(when, policyFlags);
4497 dispatchHoverEnterAndMove(when, policyFlags);
4498 dispatchButtonPress(when, policyFlags);
4508 policyFlags, mLastCookedState.buttonState, mCurrentCookedState.buttonState);
4592 dispatchPointerGestures(when, 0 /*policyFlags*/, true /*isTimeout*/);
4614 bool TouchInputMapper::consumeRawTouches(nsecs_t when, uint32_t policyFlags) {
4625 dispatchVirtualKey(when, policyFlags,
4653 dispatchVirtualKey(when, policyFlags,
4684 dispatchVirtualKey(when, policyFlags,
4715 void TouchInputMapper::dispatchVirtualKey(nsecs_t when, uint32_t policyFlags,
4721 policyFlags |= POLICY_FLAG_VIRTUAL;
4723 NotifyKeyArgs args(when, getDeviceId(), AINPUT_SOURCE_KEYBOARD, policyFlags,
4728 void TouchInputMapper::abortTouches(nsecs_t when, uint32_t policyFlags) {
4733 dispatchMotion(when, policyFlags, mSource, AMOTION_EVENT_ACTION_CANCEL, 0, 0,
4745 void TouchInputMapper::dispatchTouches(nsecs_t when, uint32_t policyFlags) {
4755 dispatchMotion(when, policyFlags, mSource,
4791 dispatchMotion(when, policyFlags, mSource,
4806 dispatchMotion(when, policyFlags, mSource,
4825 dispatchMotion(when, policyFlags, mSource,
4836 void TouchInputMapper::dispatchHoverExit(nsecs_t when, uint32_t policyFlags) {
4841 dispatchMotion(when, policyFlags, mSource,
4853 void TouchInputMapper::dispatchHoverEnterAndMove(nsecs_t when, uint32_t policyFlags) {
4858 dispatchMotion(when, policyFlags, mSource, AMOTION_EVENT_ACTION_HOVER_ENTER,
4869 dispatchMotion(when, policyFlags, mSource,
4881 void TouchInputMapper::dispatchButtonRelease(nsecs_t when, uint32_t policyFlags) {
4889 dispatchMotion(when, policyFlags, mSource,
4900 void TouchInputMapper::dispatchButtonPress(nsecs_t when, uint32_t policyFlags) {
4908 dispatchMotion(when, policyFlags, mSource, AMOTION_EVENT_ACTION_BUTTON_PRESS, actionButton,
5189 void TouchInputMapper::dispatchPointerUsage(nsecs_t when, uint32_t policyFlags,
5192 abortPointerUsage(when, policyFlags);
5198 dispatchPointerGestures(when, policyFlags, false /*isTimeout*/);
5201 dispatchPointerStylus(when, policyFlags);
5204 dispatchPointerMouse(when, policyFlags);
5211 void TouchInputMapper::abortPointerUsage(nsecs_t when, uint32_t policyFlags) {
5214 abortPointerGestures(when, policyFlags);
5217 abortPointerStylus(when, policyFlags);
5220 abortPointerMouse(when, policyFlags);
5229 void TouchInputMapper::dispatchPointerGestures(nsecs_t when, uint32_t policyFlags,
5321 dispatchMotion(when, policyFlags, mSource,
5341 dispatchMotion(when, policyFlags, mSource,
5357 dispatchMotion(when, policyFlags, mSource,
5378 dispatchMotion(when, policyFlags, mSource,
5390 dispatchMotion(when, policyFlags, mSource,
5416 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
5442 void TouchInputMapper::abortPointerGestures(nsecs_t when, uint32_t policyFlags) {
5447 dispatchMotion(when, policyFlags, mSource,
6229 void TouchInputMapper::dispatchPointerStylus(nsecs_t when, uint32_t policyFlags) {
6257 dispatchPointerSimple(when, policyFlags, down, hovering);
6260 void TouchInputMapper::abortPointerStylus(nsecs_t when, uint32_t policyFlags) {
6261 abortPointerSimple(when, policyFlags);
6264 void TouchInputMapper::dispatchPointerMouse(nsecs_t when, uint32_t policyFlags) {
6311 dispatchPointerSimple(when, policyFlags, down, hovering);
6314 void TouchInputMapper::abortPointerMouse(nsecs_t when, uint32_t policyFlags) {
6315 abortPointerSimple(when, policyFlags);
6320 void TouchInputMapper::dispatchPointerSimple(nsecs_t when, uint32_t policyFlags,
6339 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
6352 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
6367 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
6377 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
6391 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
6402 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
6424 NotifyMotionArgs args(when, getDeviceId(), mSource, policyFlags,
6442 void TouchInputMapper::abortPointerSimple(nsecs_t when, uint32_t policyFlags) {
6446 dispatchPointerSimple(when, policyFlags, false, false);
6449 void TouchInputMapper::dispatchMotion(nsecs_t when, uint32_t policyFlags, uint32_t source,
6487 NotifyMotionArgs args(when, getDeviceId(), source, policyFlags,
6529 abortPointerUsage(when, 0 /*policyFlags*/);
6530 abortTouches(when, 0 /* policyFlags*/);
7405 uint32_t policyFlags = 0;
7407 NotifyMotionArgs args(when, getDeviceId(), AINPUT_SOURCE_JOYSTICK, policyFlags,