Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java274 String actionKey = defaultActions[i]; in createDialog() local
275 if (addedKeys.contains(actionKey)) { in createDialog()
279 if (GLOBAL_ACTION_KEY_POWER.equals(actionKey)) { in createDialog()
281 } else if (GLOBAL_ACTION_KEY_AIRPLANE.equals(actionKey)) { in createDialog()
283 } else if (GLOBAL_ACTION_KEY_BUGREPORT.equals(actionKey)) { in createDialog()
288 } else if (GLOBAL_ACTION_KEY_SILENT.equals(actionKey)) { in createDialog()
292 } else if (GLOBAL_ACTION_KEY_USERS.equals(actionKey)) { in createDialog()
296 } else if (GLOBAL_ACTION_KEY_SETTINGS.equals(actionKey)) { in createDialog()
298 } else if (GLOBAL_ACTION_KEY_LOCKDOWN.equals(actionKey)) { in createDialog()
300 } else if (GLOBAL_ACTION_KEY_VOICEASSIST.equals(actionKey)) { in createDialog()
[all …]
/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()
1090 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode);
1091 if ((actionKey != null) && (actionKey.getQueryActionMsg() != null)) {
1092 launchQuerySearch(keyCode, actionKey.getQueryActionMsg(), mSearchSrcTextView
1149 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode); in onSuggestionsKey() local
1150 if ((actionKey != null) in onSuggestionsKey()
1151 && ((actionKey.getSuggestActionMsg() != null) || (actionKey in onSuggestionsKey()
1158 final String actionMsg = getActionKeyMessage(c, actionKey); in onSuggestionsKey()
[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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialogLite.java562 String actionKey = defaultActions[i]; in createActionItems() local
563 if (addedKeys.contains(actionKey)) { in createActionItems()
567 if (GLOBAL_ACTION_KEY_POWER.equals(actionKey)) { in createActionItems()
569 } else if (GLOBAL_ACTION_KEY_AIRPLANE.equals(actionKey)) { in createActionItems()
571 } else if (GLOBAL_ACTION_KEY_BUGREPORT.equals(actionKey)) { in createActionItems()
575 } else if (GLOBAL_ACTION_KEY_SILENT.equals(actionKey)) { in createActionItems()
579 } else if (GLOBAL_ACTION_KEY_USERS.equals(actionKey)) { in createActionItems()
583 } else if (GLOBAL_ACTION_KEY_SETTINGS.equals(actionKey)) { in createActionItems()
585 } else if (GLOBAL_ACTION_KEY_LOCKDOWN.equals(actionKey)) { in createActionItems()
589 } else if (GLOBAL_ACTION_KEY_VOICEASSIST.equals(actionKey)) { in createActionItems()
[all …]