Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java1609 Intent voiceIntent = new Intent(baseIntent); in createVoiceWebSearchIntent() local
1611 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceWebSearchIntent()
1613 return voiceIntent; in createVoiceWebSearchIntent()
1646 Intent voiceIntent = new Intent(baseIntent); in createVoiceAppSearchIntent() local
1668 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, languageModel); in createVoiceAppSearchIntent()
1669 voiceIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, prompt); in createVoiceAppSearchIntent()
1670 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, language); in createVoiceAppSearchIntent()
1671 voiceIntent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, maxResults); in createVoiceAppSearchIntent()
1672 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceAppSearchIntent()
1676 voiceIntent.putExtra(RecognizerIntent.EXTRA_RESULTS_PENDINGINTENT, pending); in createVoiceAppSearchIntent()
[all …]
/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/base/services/core/java/com/android/server/media/
DMediaSessionService.java1023 Intent voiceIntent = null; in startVoiceInput() local
1032 voiceIntent = new Intent(android.speech.RecognizerIntent.ACTION_WEB_SEARCH); in startVoiceInput()
1035 voiceIntent = new Intent(RecognizerIntent.ACTION_VOICE_SEARCH_HANDS_FREE); in startVoiceInput()
1036 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, in startVoiceInput()
1045 if (voiceIntent != null) { in startVoiceInput()
1046 voiceIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in startVoiceInput()
1048 if (DEBUG) Log.d(TAG, "voiceIntent: " + voiceIntent); in startVoiceInput()
1049 getContext().startActivityAsUser(voiceIntent, UserHandle.CURRENT); in startVoiceInput()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java3214 Intent voiceIntent; in interceptKeyBeforeDispatching() local
3216 voiceIntent = new Intent(RecognizerIntent.ACTION_WEB_SEARCH); in interceptKeyBeforeDispatching()
3226 voiceIntent = new Intent(RecognizerIntent.ACTION_VOICE_SEARCH_HANDS_FREE); in interceptKeyBeforeDispatching()
3227 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, true); in interceptKeyBeforeDispatching()
3229 startActivityAsUser(voiceIntent, UserHandle.CURRENT_OR_SELF); in interceptKeyBeforeDispatching()
6133 Intent voiceIntent = in launchVoiceAssistWithWakeLock() local
6135 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, keyguardActive); in launchVoiceAssistWithWakeLock()
6136 startActivityAsUser(voiceIntent, UserHandle.CURRENT_OR_SELF); in launchVoiceAssistWithWakeLock()