Home
last modified time | relevance | path

Searched refs:voiceIntent (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/widget/
DSearchView.java1653 Intent voiceIntent = new Intent(baseIntent); in createVoiceWebSearchIntent() local
1655 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceWebSearchIntent()
1657 return voiceIntent; in createVoiceWebSearchIntent()
1690 Intent voiceIntent = new Intent(baseIntent); in createVoiceAppSearchIntent() local
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()
1714 voiceIntent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, maxResults); in createVoiceAppSearchIntent()
1715 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceAppSearchIntent()
1719 voiceIntent.putExtra(RecognizerIntent.EXTRA_RESULTS_PENDINGINTENT, pending); in createVoiceAppSearchIntent()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java1615 Intent voiceIntent = new Intent(baseIntent); in createVoiceWebSearchIntent() local
1617 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceWebSearchIntent()
1619 return voiceIntent; in createVoiceWebSearchIntent()
1653 Intent voiceIntent = new Intent(baseIntent); in createVoiceAppSearchIntent() local
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()
1679 voiceIntent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, maxResults); in createVoiceAppSearchIntent()
1680 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceAppSearchIntent()
1684 voiceIntent.putExtra(RecognizerIntent.EXTRA_RESULTS_PENDINGINTENT, pending); in createVoiceAppSearchIntent()
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java1003 Intent voiceIntent = null; in startVoiceInput() local
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()
1025 if (voiceIntent != null) { in startVoiceInput()
1026 voiceIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in startVoiceInput()
1028 getContext().startActivityAsUser(voiceIntent, UserHandle.CURRENT); in startVoiceInput()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java3189 Intent voiceIntent; in interceptKeyBeforeDispatching() local
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()
3204 startActivityAsUser(voiceIntent, UserHandle.CURRENT_OR_SELF); in interceptKeyBeforeDispatching()
5980 Intent voiceIntent = in launchVoiceAssistWithWakeLock() local
5982 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, keyguardActive); in launchVoiceAssistWithWakeLock()
5983 startActivityAsUser(voiceIntent, UserHandle.CURRENT_OR_SELF); in launchVoiceAssistWithWakeLock()