Home | History | Annotate | Download | only in widget

Lines Matching defs:actionKey

926         SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode);
927 if ((actionKey != null) && (actionKey.getQueryActionMsg() != null)) {
928 launchQuerySearch(keyCode, actionKey.getQueryActionMsg(), mQueryTextView.getText()
974 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode);
975 if ((actionKey != null) && (actionKey.getQueryActionMsg() != null)) {
976 launchQuerySearch(keyCode, actionKey.getQueryActionMsg(), mQueryTextView
1033 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode);
1034 if ((actionKey != null)
1035 && ((actionKey.getSuggestActionMsg() != null) || (actionKey
1042 final String actionMsg = getActionKeyMessage(c, actionKey);
1059 * @param actionKey The actionkey record being examined
1064 private static String getActionKeyMessage(Cursor c, SearchableInfo.ActionKeyInfo actionKey) {
1067 final String column = actionKey.getSuggestActionMsgColumn();
1073 // for the actionkey (for all suggestions)
1075 result = actionKey.getSuggestActionMsg();
1343 private boolean onItemClicked(int position, int actionKey, String actionMsg) {
1423 * @param actionKey The key code of the action key that was pressed,
1429 private boolean launchSuggestion(int position, int actionKey, String actionMsg) {
1433 Intent intent = createIntentFromSuggestion(c, actionKey, actionMsg);
1468 private void launchQuerySearch(int actionKey, String actionMsg, String query) {
1470 Intent intent = createIntent(action, null, null, query, actionKey, actionMsg);
1481 * @param actionKey The key code of the action key that was pressed,
1490 int actionKey, String actionMsg) {
1510 if (actionKey != KeyEvent.KEYCODE_UNKNOWN) {
1511 intent.putExtra(SearchManager.ACTION_KEY, actionKey);
1601 * @param actionKey The key code of the action key that was pressed,
1607 private Intent createIntentFromSuggestion(Cursor c, int actionKey, String actionMsg) {
1636 return createIntent(action, dataUri, extraData, query, actionKey, actionMsg);