Lines Matching refs:KeyCode
640 static CachedFrame::Direction KeyToDirection(KeyCode keyCode)
642 switch (keyCode) {
644 DBG_NAV_LOGD("keyCode=%s", "right");
647 DBG_NAV_LOGD("keyCode=%s", "left");
650 DBG_NAV_LOGD("keyCode=%s", "down");
653 DBG_NAV_LOGD("keyCode=%s", "up");
656 DBG_NAV_LOGD("bad key %d sent", keyCode);
680 bool moveCursor(int keyCode, int count, bool ignoreScroll)
689 CachedFrame::Direction direction = KeyToDirection((KeyCode) keyCode);