Searched refs:actionKey (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/widget/ |
D | SearchView.java | 1041 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/ |
D | LegacyGlobalActions.java | 275 String actionKey = defaultActions[i]; in createDialog() local 276 if (addedKeys.contains(actionKey)) { in createDialog() 280 if (GLOBAL_ACTION_KEY_POWER.equals(actionKey)) { in createDialog() 282 } else if (GLOBAL_ACTION_KEY_AIRPLANE.equals(actionKey)) { in createDialog() 284 } else if (GLOBAL_ACTION_KEY_BUGREPORT.equals(actionKey)) { in createDialog() 289 } else if (GLOBAL_ACTION_KEY_SILENT.equals(actionKey)) { in createDialog() 293 } else if (GLOBAL_ACTION_KEY_USERS.equals(actionKey)) { in createDialog() 297 } else if (GLOBAL_ACTION_KEY_SETTINGS.equals(actionKey)) { in createDialog() 299 } else if (GLOBAL_ACTION_KEY_LOCKDOWN.equals(actionKey)) { in createDialog() 301 } else if (GLOBAL_ACTION_KEY_VOICEASSIST.equals(actionKey)) { in createDialog() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialog.java | 348 String actionKey = defaultActions[i]; in createDialog() local 349 if (addedKeys.contains(actionKey)) { in createDialog() 353 if (GLOBAL_ACTION_KEY_POWER.equals(actionKey)) { in createDialog() 355 } else if (GLOBAL_ACTION_KEY_AIRPLANE.equals(actionKey)) { in createDialog() 357 } else if (GLOBAL_ACTION_KEY_BUGREPORT.equals(actionKey)) { in createDialog() 362 } else if (GLOBAL_ACTION_KEY_SILENT.equals(actionKey)) { in createDialog() 366 } else if (GLOBAL_ACTION_KEY_USERS.equals(actionKey)) { in createDialog() 370 } else if (GLOBAL_ACTION_KEY_SETTINGS.equals(actionKey)) { in createDialog() 372 } else if (GLOBAL_ACTION_KEY_LOCKDOWN.equals(actionKey)) { in createDialog() 379 } else if (GLOBAL_ACTION_KEY_VOICEASSIST.equals(actionKey)) { in createDialog() [all …]
|
/frameworks/base/core/java/android/app/ |
D | SearchDialog.java | 551 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()
|
D | SearchableInfo.java | 884 for (ActionKeyInfo actionKey : mActionKeys.values()) { in writeToParcel() 885 actionKey.writeToParcel(dest, flags); in writeToParcel()
|