Home | History | Annotate | Download | only in input

Lines Matching refs:DropReason

319     DropReason dropReason = DROP_REASON_NOT_DROPPED;
321 dropReason = DROP_REASON_POLICY;
323 dropReason = DROP_REASON_DISABLED;
335 dropReason = DROP_REASON_NOT_DROPPED; // configuration changes are never dropped
343 dropReason = DROP_REASON_NOT_DROPPED; // device resets are never dropped
353 } else if (dropReason == DROP_REASON_NOT_DROPPED) {
354 dropReason = DROP_REASON_APP_SWITCH;
357 if (dropReason == DROP_REASON_NOT_DROPPED
359 dropReason = DROP_REASON_STALE;
361 if (dropReason == DROP_REASON_NOT_DROPPED && mNextUnblockedEvent) {
362 dropReason = DROP_REASON_BLOCKED;
364 done = dispatchKeyLocked(currentTime, typedEntry, &dropReason, nextWakeupTime);
370 if (dropReason == DROP_REASON_NOT_DROPPED && isAppSwitchDue) {
371 dropReason = DROP_REASON_APP_SWITCH;
373 if (dropReason == DROP_REASON_NOT_DROPPED
375 dropReason = DROP_REASON_STALE;
377 if (dropReason == DROP_REASON_NOT_DROPPED && mNextUnblockedEvent) {
378 dropReason = DROP_REASON_BLOCKED;
381 &dropReason, nextWakeupTime);
391 if (dropReason != DROP_REASON_NOT_DROPPED) {
392 dropInboundEventLocked(mPendingEvent, dropReason);
499 void InputDispatcher::dropInboundEventLocked(EventEntry* entry, DropReason dropReason) {
501 switch (dropReason) {
711 DropReason* dropReason, nsecs_t* nextWakeupTime) {
776 if (*dropReason == DROP_REASON_NOT_DROPPED) {
777 *dropReason = DROP_REASON_POLICY;
782 if (*dropReason != DROP_REASON_NOT_DROPPED) {
783 setInjectionResultLocked(entry, *dropReason == DROP_REASON_POLICY
821 nsecs_t currentTime, MotionEntry* entry, DropReason* dropReason, nsecs_t* nextWakeupTime) {
830 if (*dropReason != DROP_REASON_NOT_DROPPED) {
831 setInjectionResultLocked(entry, *dropReason == DROP_REASON_POLICY