Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DSearchView.java1535 Intent voiceIntent = new Intent(baseIntent); in createVoiceWebSearchIntent() local
1537 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceWebSearchIntent()
1539 return voiceIntent; in createVoiceWebSearchIntent()
1572 Intent voiceIntent = new Intent(baseIntent); in createVoiceAppSearchIntent() local
1593 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, languageModel); in createVoiceAppSearchIntent()
1594 voiceIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, prompt); in createVoiceAppSearchIntent()
1595 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, language); in createVoiceAppSearchIntent()
1596 voiceIntent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, maxResults); in createVoiceAppSearchIntent()
1597 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceAppSearchIntent()
1601 voiceIntent.putExtra(RecognizerIntent.EXTRA_RESULTS_PENDINGINTENT, pending); in createVoiceAppSearchIntent()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java1467 Intent voiceIntent = new Intent(baseIntent); in createVoiceWebSearchIntent() local
1469 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceWebSearchIntent()
1471 return voiceIntent; in createVoiceWebSearchIntent()
1505 Intent voiceIntent = new Intent(baseIntent); in createVoiceAppSearchIntent() local
1528 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, languageModel); in createVoiceAppSearchIntent()
1529 voiceIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, prompt); in createVoiceAppSearchIntent()
1530 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, language); in createVoiceAppSearchIntent()
1531 voiceIntent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, maxResults); in createVoiceAppSearchIntent()
1532 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceAppSearchIntent()
1536 voiceIntent.putExtra(RecognizerIntent.EXTRA_RESULTS_PENDINGINTENT, pending); in createVoiceAppSearchIntent()
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java998 Intent voiceIntent = null; in startVoiceInput() local
1007 voiceIntent = new Intent(android.speech.RecognizerIntent.ACTION_WEB_SEARCH); in startVoiceInput()
1010 voiceIntent = new Intent(RecognizerIntent.ACTION_VOICE_SEARCH_HANDS_FREE); in startVoiceInput()
1011 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, in startVoiceInput()
1020 if (voiceIntent != null) { in startVoiceInput()
1021 voiceIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in startVoiceInput()
1023 getContext().startActivityAsUser(voiceIntent, UserHandle.CURRENT); in startVoiceInput()
/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java1080 Intent voiceIntent = null; in startVoiceBasedInteractions() local
1088 voiceIntent = new Intent(android.speech.RecognizerIntent.ACTION_WEB_SEARCH); in startVoiceBasedInteractions()
1099 voiceIntent = new Intent(RecognizerIntent.ACTION_VOICE_SEARCH_HANDS_FREE); in startVoiceBasedInteractions()
1100 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, in startVoiceBasedInteractions()
1110 if (voiceIntent != null) { in startVoiceBasedInteractions()
1111 voiceIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in startVoiceBasedInteractions()
1113 mContext.startActivityAsUser(voiceIntent, UserHandle.CURRENT); in startVoiceBasedInteractions()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java2832 Intent voiceIntent; in interceptKeyBeforeDispatching() local
2834 voiceIntent = new Intent(RecognizerIntent.ACTION_WEB_SEARCH); in interceptKeyBeforeDispatching()
2844 voiceIntent = new Intent(RecognizerIntent.ACTION_VOICE_SEARCH_HANDS_FREE); in interceptKeyBeforeDispatching()
2845 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, true); in interceptKeyBeforeDispatching()
2847 startActivityAsUser(voiceIntent, UserHandle.CURRENT_OR_SELF); in interceptKeyBeforeDispatching()
5355 Intent voiceIntent = in launchVoiceAssistWithWakeLock() local
5357 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, keyguardActive); in launchVoiceAssistWithWakeLock()
5358 startActivityAsUser(voiceIntent, UserHandle.CURRENT_OR_SELF); in launchVoiceAssistWithWakeLock()