Home
last modified time | relevance | path

Searched refs:actionKey (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/widget/
DSearchView.java886 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode); in onKeyDown() local
887 if ((actionKey != null) && (actionKey.getQueryActionMsg() != null)) { in onKeyDown()
888 launchQuerySearch(keyCode, actionKey.getQueryActionMsg(), mQueryTextView.getText() in onKeyDown()
934 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode);
935 if ((actionKey != null) && (actionKey.getQueryActionMsg() != null)) {
936 launchQuerySearch(keyCode, actionKey.getQueryActionMsg(), mQueryTextView
993 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode); in onSuggestionsKey() local
994 if ((actionKey != null) in onSuggestionsKey()
995 && ((actionKey.getSuggestActionMsg() != null) || (actionKey in onSuggestionsKey()
1002 final String actionMsg = getActionKeyMessage(c, actionKey); in onSuggestionsKey()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java1254 private boolean onItemClicked(int position, int actionKey, String actionMsg) { in onItemClicked() argument
1340 private boolean launchSuggestion(int position, int actionKey, String actionMsg) { in launchSuggestion() argument
1344 Intent intent = createIntentFromSuggestion(c, actionKey, actionMsg); in launchSuggestion()
1379 private void launchQuerySearch(int actionKey, String actionMsg, String query) { in launchQuerySearch() argument
1381 Intent intent = createIntent(action, null, null, query, actionKey, actionMsg); in launchQuerySearch()
1399 int actionKey, String actionMsg) { in createIntent() argument
1419 if (actionKey != KeyEvent.KEYCODE_UNKNOWN) { in createIntent()
1420 intent.putExtra(SearchManager.ACTION_KEY, actionKey); in createIntent()
1516 private Intent createIntentFromSuggestion(Cursor c, int actionKey, String actionMsg) { in createIntentFromSuggestion() argument
1545 return createIntent(action, dataUri, extraData, query, actionKey, actionMsg); in createIntentFromSuggestion()
/frameworks/base/core/java/android/app/
DSearchDialog.java536 protected void launchQuerySearch(int actionKey, String actionMsg) { in launchQuerySearch() argument
539 Intent intent = createIntent(action, null, null, query, actionKey, actionMsg); in launchQuerySearch()
588 int actionKey, String actionMsg) { in createIntent() argument
608 if (actionKey != KeyEvent.KEYCODE_UNKNOWN) { in createIntent()
609 intent.putExtra(SearchManager.ACTION_KEY, actionKey); in createIntent()
DSearchableInfo.java869 for (ActionKeyInfo actionKey : mActionKeys.values()) { in writeToParcel()
870 actionKey.writeToParcel(dest, flags); in writeToParcel()