Home
last modified time | relevance | path

Searched refs:RecognizerIntent (Results 1 – 16 of 16) sorted by relevance

/aosp12/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DVoiceSearch.java27 import android.speech.RecognizerIntent;
52 return new Intent(RecognizerIntent.ACTION_WEB_SEARCH); in createVoiceSearchIntent()
70 intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, in createVoiceWebSearchIntent()
71 RecognizerIntent.LANGUAGE_MODEL_WEB_SEARCH); in createVoiceWebSearchIntent()
H A DSearchWidgetProvider.java36 import android.speech.RecognizerIntent;
/aosp12/frameworks/base/core/java/android/widget/
H A DSearchView.java43 import android.speech.RecognizerIntent;
376 mVoiceWebSearchIntent = new Intent(RecognizerIntent.ACTION_WEB_SEARCH); in SearchView()
378 mVoiceWebSearchIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, in SearchView()
379 RecognizerIntent.LANGUAGE_MODEL_WEB_SEARCH); in SearchView()
381 mVoiceAppSearchIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); in SearchView()
1715 String languageModel = RecognizerIntent.LANGUAGE_MODEL_FREE_FORM; in createVoiceAppSearchIntent()
1733 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, languageModel); in createVoiceAppSearchIntent()
1734 voiceIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, prompt); in createVoiceAppSearchIntent()
1735 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, language); in createVoiceAppSearchIntent()
1736 voiceIntent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, maxResults); in createVoiceAppSearchIntent()
[all …]
/aosp12/frameworks/base/core/java/android/speech/
H A DRecognizerIntent.java34 public class RecognizerIntent { class
51 private RecognizerIntent() { in RecognizerIntent() method in RecognizerIntent
/aosp12/frameworks/base/core/java/android/app/
H A DSearchDialog.java33 import android.speech.RecognizerIntent;
131 mVoiceWebSearchIntent = new Intent(RecognizerIntent.ACTION_WEB_SEARCH); in SearchDialog()
133 mVoiceWebSearchIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, in SearchDialog()
134 RecognizerIntent.LANGUAGE_MODEL_WEB_SEARCH); in SearchDialog()
136 mVoiceAppSearchIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); in SearchDialog()
/aosp12/packages/apps/Dialer/java/com/android/dialer/main/impl/
H A DMainSearchController.java24 import android.speech.RecognizerIntent;
462 Intent voiceIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); in onVoiceButtonClicked()
526 ArrayList<String> matches = data.getStringArrayListExtra(RecognizerIntent.EXTRA_RESULTS); in onVoiceResults()
/aosp12/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
H A DLeanbackKeyboardContainer.java52 import android.speech.RecognizerIntent;
1443 mRecognizerIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); in startRecognition()
1444 mRecognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, in startRecognition()
1445 RecognizerIntent.LANGUAGE_MODEL_FREE_FORM); in startRecognition()
1446 mRecognizerIntent.putExtra(RecognizerIntent.EXTRA_PARTIAL_RESULTS, true); in startRecognition()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
H A DReviewOngoingUsageViewModel.kt33 import android.speech.RecognizerIntent
253 Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH), PackageManager.GET_META_DATA)
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DDefaultCrossProfileIntentFiltersUtils.java21 import static android.speech.RecognizerIntent.ACTION_RECOGNIZE_SPEECH;
/aosp12/packages/apps/Dialer/java/com/android/dialer/app/
H A DDialtactsActivity.java35 import android.speech.RecognizerIntent;
697 new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH), in onClick()
744 data.getStringArrayListExtra(RecognizerIntent.EXTRA_RESULTS); in onActivityResult()
973 return canIntentBeHandled(new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH)); in isVoiceSearchEnabled()
/aosp12/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionService.java77 import android.speech.RecognizerIntent;
2321 voiceIntent = new Intent(android.speech.RecognizerIntent.ACTION_WEB_SEARCH); in startVoiceInput()
2324 voiceIntent = new Intent(RecognizerIntent.ACTION_VOICE_SEARCH_HANDS_FREE); in startVoiceInput()
2325 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, in startVoiceInput()
/aosp12/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java164 import android.speech.RecognizerIntent;
4141 voiceIntent = new Intent(RecognizerIntent.ACTION_WEB_SEARCH); in launchVoiceAssistWithWakeLock()
4147 voiceIntent = new Intent(RecognizerIntent.ACTION_VOICE_SEARCH_HANDS_FREE); in launchVoiceAssistWithWakeLock()
4148 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, true); in launchVoiceAssistWithWakeLock()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt39268 public class RecognizerIntent {
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt27279 public class RecognizerIntent {
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt54372 Landroid/speech/RecognizerIntent;-><init>()V