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

/frameworks/base/core/java/android/widget/
H A DSearchView.java1025 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode);
1026 if ((actionKey != null) && (actionKey.getQueryActionMsg() != null)) {
1027 launchQuerySearch(keyCode, actionKey.getQueryActionMsg(), mSearchSrcTextView.getText()
1073 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode);
1074 if ((actionKey != null) && (actionKey.getQueryActionMsg() != null)) {
1075 launchQuerySearch(keyCode, actionKey.getQueryActionMsg(), mSearchSrcTextView
1132 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode);
1133 if ((actionKey !
1163 getActionKeyMessage(Cursor c, SearchableInfo.ActionKeyInfo actionKey) argument
1476 onItemClicked(int position, int actionKey, String actionMsg) argument
1562 launchSuggestion(int position, int actionKey, String actionMsg) argument
1601 launchQuerySearch(int actionKey, String actionMsg, String query) argument
1622 createIntent(String action, Uri data, String extraData, String query, int actionKey, String actionMsg) argument
1740 createIntentFromSuggestion(Cursor c, int actionKey, String actionMsg) argument
[all...]
/frameworks/base/services/core/java/com/android/server/policy/
H A DGlobalActions.java275 String actionKey = defaultActions[i];
276 if (addedKeys.contains(actionKey)) {
280 if (GLOBAL_ACTION_KEY_POWER.equals(actionKey)) {
282 } else if (GLOBAL_ACTION_KEY_AIRPLANE.equals(actionKey)) {
284 } else if (GLOBAL_ACTION_KEY_BUGREPORT.equals(actionKey)) {
289 } else if (GLOBAL_ACTION_KEY_SILENT.equals(actionKey)) {
293 } else if (GLOBAL_ACTION_KEY_USERS.equals(actionKey)) {
297 } else if (GLOBAL_ACTION_KEY_SETTINGS.equals(actionKey)) {
299 } else if (GLOBAL_ACTION_KEY_LOCKDOWN.equals(actionKey)) {
301 } else if (GLOBAL_ACTION_KEY_VOICEASSIST.equals(actionKey)) {
[all...]
/frameworks/base/core/java/android/app/
H A DSearchDialog.java527 * @param actionKey The key code of the action key that was pressed,
532 protected void launchQuerySearch(int actionKey, String actionMsg) { argument
535 Intent intent = createIntent(action, null, null, query, actionKey, actionMsg);
575 * @param actionKey The key code of the action key that was pressed,
584 int actionKey, String actionMsg) {
604 if (actionKey != KeyEvent.KEYCODE_UNKNOWN) {
605 intent.putExtra(SearchManager.ACTION_KEY, actionKey);
583 createIntent(String action, Uri data, String extraData, String query, int actionKey, String actionMsg) argument
H A DSearchableInfo.java874 for (ActionKeyInfo actionKey : mActionKeys.values()) {
875 actionKey.writeToParcel(dest, flags);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java1438 boolean onItemClicked(int position, int actionKey, String actionMsg) { argument
1521 * @param actionKey The key code of the action key that was pressed,
1527 private boolean launchSuggestion(int position, int actionKey, String actionMsg) { argument
1531 Intent intent = createIntentFromSuggestion(c, actionKey, actionMsg);
1566 void launchQuerySearch(int actionKey, String actionMsg, String query) { argument
1568 Intent intent = createIntent(action, null, null, query, actionKey, actionMsg);
1579 * @param actionKey The key code of the action key that was pressed,
1586 int actionKey, String actionMsg) {
1606 if (actionKey != KeyEvent.KEYCODE_UNKNOWN) {
1607 intent.putExtra(SearchManager.ACTION_KEY, actionKey);
1585 createIntent(String action, Uri data, String extraData, String query, int actionKey, String actionMsg) argument
1704 createIntentFromSuggestion(Cursor c, int actionKey, String actionMsg) argument
[all...]

Completed in 183 milliseconds