Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DSearchFragment.java22 import android.speech.RecognizerIntent;
582 ArrayList<String> matches = intent.getStringArrayListExtra(RecognizerIntent.EXTRA_RESULTS); in setSearchQuery()
604 Intent recognizerIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); in getRecognizerIntent()
605 recognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, in getRecognizerIntent()
606 RecognizerIntent.LANGUAGE_MODEL_FREE_FORM); in getRecognizerIntent()
607 recognizerIntent.putExtra(RecognizerIntent.EXTRA_PARTIAL_RESULTS, true); in getRecognizerIntent()
609 recognizerIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, mSearchBar.getHint()); in getRecognizerIntent()
DSearchSupportFragment.java24 import android.speech.RecognizerIntent;
584 ArrayList<String> matches = intent.getStringArrayListExtra(RecognizerIntent.EXTRA_RESULTS); in setSearchQuery()
606 Intent recognizerIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); in getRecognizerIntent()
607 recognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, in getRecognizerIntent()
608 RecognizerIntent.LANGUAGE_MODEL_FREE_FORM); in getRecognizerIntent()
609 recognizerIntent.putExtra(RecognizerIntent.EXTRA_PARTIAL_RESULTS, true); in getRecognizerIntent()
611 recognizerIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, mSearchBar.getHint()); in getRecognizerIntent()
/frameworks/base/core/java/android/speech/
DRecognizerIntent.java34 public class RecognizerIntent { class
44 private RecognizerIntent() { in RecognizerIntent() method in RecognizerIntent
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java42 import android.speech.RecognizerIntent;
382 mVoiceWebSearchIntent = new Intent(RecognizerIntent.ACTION_WEB_SEARCH); in SearchView()
384 mVoiceWebSearchIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, in SearchView()
385 RecognizerIntent.LANGUAGE_MODEL_WEB_SEARCH); in SearchView()
387 mVoiceAppSearchIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); in SearchView()
1617 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceWebSearchIntent()
1656 String languageModel = RecognizerIntent.LANGUAGE_MODEL_FREE_FORM; in createVoiceAppSearchIntent()
1676 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, languageModel); in createVoiceAppSearchIntent()
1677 voiceIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, prompt); in createVoiceAppSearchIntent()
1678 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, language); in createVoiceAppSearchIntent()
[all …]
/frameworks/base/core/java/android/widget/
DSearchView.java41 import android.speech.RecognizerIntent;
367 mVoiceWebSearchIntent = new Intent(RecognizerIntent.ACTION_WEB_SEARCH); in SearchView()
369 mVoiceWebSearchIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, in SearchView()
370 RecognizerIntent.LANGUAGE_MODEL_WEB_SEARCH); in SearchView()
372 mVoiceAppSearchIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); in SearchView()
1655 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceWebSearchIntent()
1693 String languageModel = RecognizerIntent.LANGUAGE_MODEL_FREE_FORM; in createVoiceAppSearchIntent()
1711 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, languageModel); in createVoiceAppSearchIntent()
1712 voiceIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, prompt); in createVoiceAppSearchIntent()
1713 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, language); in createVoiceAppSearchIntent()
[all …]
/frameworks/base/core/java/android/app/
DSearchDialog.java32 import android.speech.RecognizerIntent;
128 mVoiceWebSearchIntent = new Intent(RecognizerIntent.ACTION_WEB_SEARCH); in SearchDialog()
130 mVoiceWebSearchIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, in SearchDialog()
131 RecognizerIntent.LANGUAGE_MODEL_WEB_SEARCH); in SearchDialog()
133 mVoiceAppSearchIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); in SearchDialog()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DSearchBar.java30 import android.speech.RecognizerIntent;
618 Intent recognizerIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); in startRecognition()
620 recognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, in startRecognition()
621 RecognizerIntent.LANGUAGE_MODEL_FREE_FORM); in startRecognition()
622 recognizerIntent.putExtra(RecognizerIntent.EXTRA_PARTIAL_RESULTS, true); in startRecognition()
/frameworks/base/docs/html/training/wearables/apps/
Dvoice.jd260 the {@link android.speech.RecognizerIntent#ACTION_RECOGNIZE_SPEECH} action. This starts the
268 Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
269 intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,
270 RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
282 RecognizerIntent.EXTRA_RESULTS);
/frameworks/base/docs/html/about/versions/
Dandroid-1.5-highlights.jd192 android.speech.RecognizerIntent RecognizerIntent}.</li>
Dandroid-1.5.jd240 android.speech.RecognizerIntent RecognizerIntent}.</li>
Dandroid-2.2.jd156 <li>New {@link android.speech.RecognizerIntent} extras that let a requester app specify details as …
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java55 import android.speech.RecognizerIntent;
1012 voiceIntent = new Intent(android.speech.RecognizerIntent.ACTION_WEB_SEARCH); in startVoiceInput()
1015 voiceIntent = new Intent(RecognizerIntent.ACTION_VOICE_SEARCH_HANDS_FREE); in startVoiceInput()
1016 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, in startVoiceInput()
/frameworks/base/docs/html/guide/topics/search/
Dsearchable-config.jd272 {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL} for more
288 query. Must be 1 or greater. Use {@link android.speech.RecognizerIntent#EXTRA_RESULTS} to
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java108 import android.speech.RecognizerIntent;
3191 voiceIntent = new Intent(RecognizerIntent.ACTION_WEB_SEARCH); in interceptKeyBeforeDispatching()
3201 voiceIntent = new Intent(RecognizerIntent.ACTION_VOICE_SEARCH_HANDS_FREE); in interceptKeyBeforeDispatching()
3202 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, true); in interceptKeyBeforeDispatching()
5981 new Intent(RecognizerIntent.ACTION_VOICE_SEARCH_HANDS_FREE); in launchVoiceAssistWithWakeLock()
5982 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, keyguardActive); in launchVoiceAssistWithWakeLock()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt27279 public class RecognizerIntent {
/frameworks/base/api/
Dcurrent.txt35019 public class RecognizerIntent {
Dtest-current.txt35096 public class RecognizerIntent {
Dsystem-current.txt37836 public class RecognizerIntent {