Lines Matching refs:policyFlags
234 uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState, in synthesizeButtonKey() argument
244 policyFlags, action, 0, keyCode, 0, context->getGlobalMetaState(), when); in synthesizeButtonKey()
251 uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState) { in synthesizeButtonKeys() argument
252 synthesizeButtonKey(context, action, when, deviceId, source, displayId, policyFlags, in synthesizeButtonKeys()
255 synthesizeButtonKey(context, action, when, deviceId, source, displayId, policyFlags, in synthesizeButtonKeys()
2362 uint32_t policyFlags; in processKey() local
2365 &keyCode, &keyMetaState, &policyFlags)) { in processKey()
2368 policyFlags = 0; in processKey()
2384 if ((policyFlags & POLICY_FLAG_VIRTUAL) in processKey()
2389 if (policyFlags & POLICY_FLAG_GESTURE) { in processKey()
2432 policyFlags |= POLICY_FLAG_WAKE; in processKey()
2436 policyFlags |= POLICY_FLAG_DISABLE_KEY_REPEAT; in processKey()
2440 getDisplayId(), policyFlags, down ? AKEY_EVENT_ACTION_DOWN : AKEY_EVENT_ACTION_UP, in processKey()
2820 uint32_t policyFlags = 0; in sync() local
2822 policyFlags |= POLICY_FLAG_WAKE; in sync()
2827 displayId, policyFlags, lastButtonState, currentButtonState); in sync()
2848 mSource, displayId, policyFlags, in sync()
2859 displayId, policyFlags, motionEventAction, 0, 0, metaState, currentButtonState, in sync()
2871 mSource, displayId, policyFlags, AMOTION_EVENT_ACTION_BUTTON_PRESS, in sync()
2886 mSource, displayId, policyFlags, AMOTION_EVENT_ACTION_HOVER_MOVE, 0, 0, in sync()
2900 mSource, displayId, policyFlags, in sync()
2911 displayId, policyFlags, lastButtonState, currentButtonState); in sync()
3030 uint32_t policyFlags = 0; in sync() local
3032 policyFlags |= POLICY_FLAG_WAKE; in sync()
3045 mSource, displayId, policyFlags, in sync()
4438 uint32_t policyFlags = 0; in cookAndDispatch() local
4447 policyFlags |= POLICY_FLAG_WAKE; in cookAndDispatch()
4453 if (consumeRawTouches(when, policyFlags)) { in cookAndDispatch()
4467 mViewport.displayId, policyFlags, in cookAndDispatch()
4512 dispatchPointerUsage(when, policyFlags, pointerUsage); in cookAndDispatch()
4527 dispatchButtonRelease(when, policyFlags); in cookAndDispatch()
4528 dispatchHoverExit(when, policyFlags); in cookAndDispatch()
4529 dispatchTouches(when, policyFlags); in cookAndDispatch()
4530 dispatchHoverEnterAndMove(when, policyFlags); in cookAndDispatch()
4531 dispatchButtonPress(when, policyFlags); in cookAndDispatch()
4541 mViewport.displayId, policyFlags, in cookAndDispatch()
4648 bool TouchInputMapper::consumeRawTouches(nsecs_t when, uint32_t policyFlags) { in consumeRawTouches() argument
4659 dispatchVirtualKey(when, policyFlags, in consumeRawTouches()
4687 dispatchVirtualKey(when, policyFlags, in consumeRawTouches()
4718 dispatchVirtualKey(when, policyFlags, in consumeRawTouches()
4749 void TouchInputMapper::dispatchVirtualKey(nsecs_t when, uint32_t policyFlags, in dispatchVirtualKey() argument
4755 policyFlags |= POLICY_FLAG_VIRTUAL; in dispatchVirtualKey()
4759 policyFlags, keyEventAction, keyEventFlags, keyCode, scanCode, metaState, downTime); in dispatchVirtualKey()
4763 void TouchInputMapper::abortTouches(nsecs_t when, uint32_t policyFlags) { in abortTouches() argument
4768 dispatchMotion(when, policyFlags, mSource, AMOTION_EVENT_ACTION_CANCEL, 0, 0, in abortTouches()
4780 void TouchInputMapper::dispatchTouches(nsecs_t when, uint32_t policyFlags) { in dispatchTouches() argument
4790 dispatchMotion(when, policyFlags, mSource, in dispatchTouches()
4826 dispatchMotion(when, policyFlags, mSource, in dispatchTouches()
4841 dispatchMotion(when, policyFlags, mSource, in dispatchTouches()
4860 dispatchMotion(when, policyFlags, mSource, in dispatchTouches()
4871 void TouchInputMapper::dispatchHoverExit(nsecs_t when, uint32_t policyFlags) { in dispatchHoverExit() argument
4876 dispatchMotion(when, policyFlags, mSource, in dispatchHoverExit()
4888 void TouchInputMapper::dispatchHoverEnterAndMove(nsecs_t when, uint32_t policyFlags) { in dispatchHoverEnterAndMove() argument
4893 dispatchMotion(when, policyFlags, mSource, AMOTION_EVENT_ACTION_HOVER_ENTER, in dispatchHoverEnterAndMove()
4904 dispatchMotion(when, policyFlags, mSource, in dispatchHoverEnterAndMove()
4916 void TouchInputMapper::dispatchButtonRelease(nsecs_t when, uint32_t policyFlags) { in dispatchButtonRelease() argument
4924 dispatchMotion(when, policyFlags, mSource, in dispatchButtonRelease()
4935 void TouchInputMapper::dispatchButtonPress(nsecs_t when, uint32_t policyFlags) { in dispatchButtonPress() argument
4943 dispatchMotion(when, policyFlags, mSource, AMOTION_EVENT_ACTION_BUTTON_PRESS, actionButton, in dispatchButtonPress()
5224 void TouchInputMapper::dispatchPointerUsage(nsecs_t when, uint32_t policyFlags, in dispatchPointerUsage() argument
5227 abortPointerUsage(when, policyFlags); in dispatchPointerUsage()
5233 dispatchPointerGestures(when, policyFlags, false /*isTimeout*/); in dispatchPointerUsage()
5236 dispatchPointerStylus(when, policyFlags); in dispatchPointerUsage()
5239 dispatchPointerMouse(when, policyFlags); in dispatchPointerUsage()
5246 void TouchInputMapper::abortPointerUsage(nsecs_t when, uint32_t policyFlags) { in abortPointerUsage() argument
5249 abortPointerGestures(when, policyFlags); in abortPointerUsage()
5252 abortPointerStylus(when, policyFlags); in abortPointerUsage()
5255 abortPointerMouse(when, policyFlags); in abortPointerUsage()
5264 void TouchInputMapper::dispatchPointerGestures(nsecs_t when, uint32_t policyFlags, in dispatchPointerGestures() argument
5357 dispatchMotion(when, policyFlags, mSource, in dispatchPointerGestures()
5377 dispatchMotion(when, policyFlags, mSource, in dispatchPointerGestures()
5393 dispatchMotion(when, policyFlags, mSource, in dispatchPointerGestures()
5414 dispatchMotion(when, policyFlags, mSource, in dispatchPointerGestures()
5426 dispatchMotion(when, policyFlags, mSource, in dispatchPointerGestures()
5454 mSource, displayId, policyFlags, in dispatchPointerGestures()
5480 void TouchInputMapper::abortPointerGestures(nsecs_t when, uint32_t policyFlags) { in abortPointerGestures() argument
5485 dispatchMotion(when, policyFlags, mSource, in abortPointerGestures()
6267 void TouchInputMapper::dispatchPointerStylus(nsecs_t when, uint32_t policyFlags) { in dispatchPointerStylus() argument
6295 dispatchPointerSimple(when, policyFlags, down, hovering); in dispatchPointerStylus()
6298 void TouchInputMapper::abortPointerStylus(nsecs_t when, uint32_t policyFlags) { in abortPointerStylus() argument
6299 abortPointerSimple(when, policyFlags); in abortPointerStylus()
6302 void TouchInputMapper::dispatchPointerMouse(nsecs_t when, uint32_t policyFlags) { in dispatchPointerMouse() argument
6349 dispatchPointerSimple(when, policyFlags, down, hovering); in dispatchPointerMouse()
6352 void TouchInputMapper::abortPointerMouse(nsecs_t when, uint32_t policyFlags) { in abortPointerMouse() argument
6353 abortPointerSimple(when, policyFlags); in abortPointerMouse()
6358 void TouchInputMapper::dispatchPointerSimple(nsecs_t when, uint32_t policyFlags, in dispatchPointerSimple() argument
6380 mSource, displayId, policyFlags, in dispatchPointerSimple()
6394 mSource, displayId, policyFlags, in dispatchPointerSimple()
6410 mSource, displayId, policyFlags, in dispatchPointerSimple()
6422 mSource, displayId, policyFlags, in dispatchPointerSimple()
6437 mSource, displayId, policyFlags, in dispatchPointerSimple()
6449 mSource, displayId, policyFlags, in dispatchPointerSimple()
6472 mSource, displayId, policyFlags, in dispatchPointerSimple()
6490 void TouchInputMapper::abortPointerSimple(nsecs_t when, uint32_t policyFlags) { in abortPointerSimple() argument
6494 dispatchPointerSimple(when, policyFlags, false, false); in abortPointerSimple()
6497 void TouchInputMapper::dispatchMotion(nsecs_t when, uint32_t policyFlags, uint32_t source, in dispatchMotion() argument
6540 source, displayId, policyFlags, in dispatchMotion()
7462 uint32_t policyFlags = 0; in sync() local
7465 AINPUT_SOURCE_JOYSTICK, ADISPLAY_ID_NONE, policyFlags, in sync()