Home | History | Annotate | Download | only in input

Lines Matching defs:fallback

3440         // Get the fallback key state.
3450 // generated a fallback or if the window is not a foreground window,
3451 // then cancel the associated fallback key, if any.
3455 ALOGD("Unhandled key event: Asking policy to cancel fallback action. "
3471 // Cancel the fallback key.
3474 "application handled the original non-fallback key "
3476 "canceling previously dispatched fallback key");
3483 // If the application did not handle a non-fallback key, first check
3501 ALOGD("Unhandled key event: Asking policy to perform fallback action. "
3511 bool fallback = mPolicy->dispatchUnhandledKey(connection->inputWindowHandle,
3521 // Latch the fallback keycode for this key on an initial down.
3522 // The fallback keycode cannot change at any other point in the lifecycle.
3524 if (fallback) {
3534 // Cancel the fallback key if the policy decides not to send it anymore.
3536 // longer dispatch a fallback key to the application.
3538 && (!fallback || fallbackKeyCode != event.getKeyCode())) {
3540 if (fallback) {
3542 "as a fallback for %d, but on the DOWN it had requested "
3543 "to send %d instead. Fallback canceled.",
3546 ALOGD("Unhandled key event: Policy did not request fallback for %d, "
3548 "Fallback canceled.",
3554 "canceling fallback, policy no longer desires it");
3558 fallback = false;
3575 ALOGD("Unhandled key event: %d currently tracked fallback keys%s.",
3580 if (fallback) {
3581 // Restart the dispatch cycle using the fallback key.
3594 ALOGD("Unhandled key event: Dispatching fallback key. "
3601 ALOGD("Unhandled key event: No fallback key.");