Lines Matching refs:fallback

3613         // Get the fallback key state.
3623 // generated a fallback or if the window is not a foreground window,
3624 // then cancel the associated fallback key, if any.
3628 ALOGD("Unhandled key event: Asking policy to cancel fallback action. "
3644 // Cancel the fallback key.
3647 "application handled the original non-fallback key "
3649 "canceling previously dispatched fallback key");
3656 // If the application did not handle a non-fallback key, first check
3674 ALOGD("Unhandled key event: Asking policy to perform fallback action. "
3684 bool fallback = mPolicy->dispatchUnhandledKey(connection->inputWindowHandle,
3694 // Latch the fallback keycode for this key on an initial down.
3695 // The fallback keycode cannot change at any other point in the lifecycle.
3697 if (fallback) {
3707 // Cancel the fallback key if the policy decides not to send it anymore.
3709 // longer dispatch a fallback key to the application.
3711 && (!fallback || fallbackKeyCode != event.getKeyCode())) {
3713 if (fallback) {
3715 "as a fallback for %d, but on the DOWN it had requested "
3719 ALOGD("Unhandled key event: Policy did not request fallback for %d, "
3727 "canceling fallback, policy no longer desires it");
3731 fallback = false;
3748 ALOGD("Unhandled key event: %d currently tracked fallback keys%s.",
3753 if (fallback) {
3754 // Restart the dispatch cycle using the fallback key.
3767 ALOGD("Unhandled key event: Dispatching fallback key. "
3774 ALOGD("Unhandled key event: No fallback key.");
4157 // anything generating fallback events (e.g. DPad keys for joystick movements).