Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DSearchView.java1041 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode); in onKeyDown() local
1042 if ((actionKey != null) && (actionKey.getQueryActionMsg() != null)) { in onKeyDown()
1043 launchQuerySearch(keyCode, actionKey.getQueryActionMsg(), mSearchSrcTextView.getText() in onKeyDown()
1089 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode);
1090 if ((actionKey != null) && (actionKey.getQueryActionMsg() != null)) {
1091 launchQuerySearch(keyCode, actionKey.getQueryActionMsg(), mSearchSrcTextView
1148 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode); in onSuggestionsKey() local
1149 if ((actionKey != null) in onSuggestionsKey()
1150 && ((actionKey.getSuggestActionMsg() != null) || (actionKey in onSuggestionsKey()
1157 final String actionMsg = getActionKeyMessage(c, actionKey); in onSuggestionsKey()
[all …]
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java271 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/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java351 String actionKey = defaultActions[i]; in createDialog() local
352 if (addedKeys.contains(actionKey)) { in createDialog()
356 if (GLOBAL_ACTION_KEY_POWER.equals(actionKey)) { in createDialog()
358 } else if (GLOBAL_ACTION_KEY_AIRPLANE.equals(actionKey)) { in createDialog()
360 } else if (GLOBAL_ACTION_KEY_BUGREPORT.equals(actionKey)) { in createDialog()
365 } else if (GLOBAL_ACTION_KEY_SILENT.equals(actionKey)) { in createDialog()
369 } else if (GLOBAL_ACTION_KEY_USERS.equals(actionKey)) { in createDialog()
373 } else if (GLOBAL_ACTION_KEY_SETTINGS.equals(actionKey)) { in createDialog()
375 } else if (GLOBAL_ACTION_KEY_LOCKDOWN.equals(actionKey)) { in createDialog()
382 } else if (GLOBAL_ACTION_KEY_VOICEASSIST.equals(actionKey)) { in createDialog()
[all …]
/frameworks/base/core/java/android/app/
DSearchDialog.java551 protected void launchQuerySearch(int actionKey, String actionMsg) { in launchQuerySearch() argument
554 Intent intent = createIntent(action, null, null, query, actionKey, actionMsg); in launchQuerySearch()
603 int actionKey, String actionMsg) { in createIntent() argument
623 if (actionKey != KeyEvent.KEYCODE_UNKNOWN) { in createIntent()
624 intent.putExtra(SearchManager.ACTION_KEY, actionKey); in createIntent()
DSearchableInfo.java884 for (ActionKeyInfo actionKey : mActionKeys.values()) { in writeToParcel()
885 actionKey.writeToParcel(dest, flags); in writeToParcel()