Searched refs:actionKey (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/widget/ |
D | SearchView.java | 1023 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode); in onKeyDown() local 1024 if ((actionKey != null) && (actionKey.getQueryActionMsg() != null)) { in onKeyDown() 1025 launchQuerySearch(keyCode, actionKey.getQueryActionMsg(), mSearchSrcTextView.getText() in onKeyDown() 1071 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode); 1072 if ((actionKey != null) && (actionKey.getQueryActionMsg() != null)) { 1073 launchQuerySearch(keyCode, actionKey.getQueryActionMsg(), mSearchSrcTextView 1130 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode); in onSuggestionsKey() local 1131 if ((actionKey != null) in onSuggestionsKey() 1132 && ((actionKey.getSuggestActionMsg() != null) || (actionKey in onSuggestionsKey() 1139 final String actionMsg = getActionKeyMessage(c, actionKey); in onSuggestionsKey() [all …]
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | GlobalActions.java | 271 String actionKey = defaultActions[i]; in createDialog() local 272 if (addedKeys.contains(actionKey)) { in createDialog() 276 if (GLOBAL_ACTION_KEY_POWER.equals(actionKey)) { in createDialog() 278 } else if (GLOBAL_ACTION_KEY_AIRPLANE.equals(actionKey)) { in createDialog() 280 } else if (GLOBAL_ACTION_KEY_BUGREPORT.equals(actionKey)) { in createDialog() 285 } else if (GLOBAL_ACTION_KEY_SILENT.equals(actionKey)) { in createDialog() 289 } else if (GLOBAL_ACTION_KEY_USERS.equals(actionKey)) { in createDialog() 293 } else if (GLOBAL_ACTION_KEY_SETTINGS.equals(actionKey)) { in createDialog() 295 } else if (GLOBAL_ACTION_KEY_LOCKDOWN.equals(actionKey)) { in createDialog() 297 } else if (GLOBAL_ACTION_KEY_VOICEASSIST.equals(actionKey)) { in createDialog() [all …]
|
/frameworks/base/core/java/android/app/ |
D | SearchDialog.java | 532 protected void launchQuerySearch(int actionKey, String actionMsg) { in launchQuerySearch() argument 535 Intent intent = createIntent(action, null, null, query, actionKey, actionMsg); in launchQuerySearch() 584 int actionKey, String actionMsg) { in createIntent() argument 604 if (actionKey != KeyEvent.KEYCODE_UNKNOWN) { in createIntent() 605 intent.putExtra(SearchManager.ACTION_KEY, actionKey); in createIntent()
|
D | SearchableInfo.java | 874 for (ActionKeyInfo actionKey : mActionKeys.values()) { in writeToParcel() 875 actionKey.writeToParcel(dest, flags); in writeToParcel()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | SearchView.java | 1435 private boolean onItemClicked(int position, int actionKey, String actionMsg) { in onItemClicked() argument 1521 private boolean launchSuggestion(int position, int actionKey, String actionMsg) { in launchSuggestion() argument 1525 Intent intent = createIntentFromSuggestion(c, actionKey, actionMsg); in launchSuggestion() 1560 private void launchQuerySearch(int actionKey, String actionMsg, String query) { in launchQuerySearch() argument 1562 Intent intent = createIntent(action, null, null, query, actionKey, actionMsg); in launchQuerySearch() 1580 int actionKey, String actionMsg) { in createIntent() argument 1600 if (actionKey != KeyEvent.KEYCODE_UNKNOWN) { in createIntent() 1601 intent.putExtra(SearchManager.ACTION_KEY, actionKey); in createIntent() 1703 private Intent createIntentFromSuggestion(Cursor c, int actionKey, String actionMsg) { in createIntentFromSuggestion() argument 1732 return createIntent(action, dataUri, extraData, query, actionKey, actionMsg); in createIntentFromSuggestion()
|