Searched refs:voiceIntent (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/widget/ |
D | SearchView.java | 1543 Intent voiceIntent = new Intent(baseIntent); in createVoiceWebSearchIntent() local 1545 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceWebSearchIntent() 1547 return voiceIntent; in createVoiceWebSearchIntent() 1580 Intent voiceIntent = new Intent(baseIntent); in createVoiceAppSearchIntent() local 1601 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, languageModel); in createVoiceAppSearchIntent() 1602 voiceIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, prompt); in createVoiceAppSearchIntent() 1603 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, language); in createVoiceAppSearchIntent() 1604 voiceIntent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, maxResults); in createVoiceAppSearchIntent() 1605 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceAppSearchIntent() 1609 voiceIntent.putExtra(RecognizerIntent.EXTRA_RESULTS_PENDINGINTENT, pending); in createVoiceAppSearchIntent() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | SearchView.java | 1448 Intent voiceIntent = new Intent(baseIntent); in createVoiceWebSearchIntent() local 1450 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceWebSearchIntent() 1452 return voiceIntent; in createVoiceWebSearchIntent() 1486 Intent voiceIntent = new Intent(baseIntent); in createVoiceAppSearchIntent() local 1509 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, languageModel); in createVoiceAppSearchIntent() 1510 voiceIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, prompt); in createVoiceAppSearchIntent() 1511 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, language); in createVoiceAppSearchIntent() 1512 voiceIntent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, maxResults); in createVoiceAppSearchIntent() 1513 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceAppSearchIntent() 1517 voiceIntent.putExtra(RecognizerIntent.EXTRA_RESULTS_PENDINGINTENT, pending); in createVoiceAppSearchIntent() [all …]
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 970 Intent voiceIntent = null; in startVoiceInput() local 979 voiceIntent = new Intent(android.speech.RecognizerIntent.ACTION_WEB_SEARCH); in startVoiceInput() 982 voiceIntent = new Intent(RecognizerIntent.ACTION_VOICE_SEARCH_HANDS_FREE); in startVoiceInput() 983 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, in startVoiceInput() 992 if (voiceIntent != null) { in startVoiceInput() 993 voiceIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in startVoiceInput() 995 getContext().startActivityAsUser(voiceIntent, UserHandle.CURRENT); in startVoiceInput()
|
/frameworks/base/media/java/android/media/ |
D | MediaFocusControl.java | 1047 Intent voiceIntent = null; in startVoiceBasedInteractions() local 1055 voiceIntent = new Intent(android.speech.RecognizerIntent.ACTION_WEB_SEARCH); in startVoiceBasedInteractions() 1058 voiceIntent = new Intent(RecognizerIntent.ACTION_VOICE_SEARCH_HANDS_FREE); in startVoiceBasedInteractions() 1059 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, in startVoiceBasedInteractions() 1069 if (voiceIntent != null) { in startVoiceBasedInteractions() 1070 voiceIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in startVoiceBasedInteractions() 1072 mContext.startActivityAsUser(voiceIntent, UserHandle.CURRENT); in startVoiceBasedInteractions()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | PhoneWindowManager.java | 2592 Intent voiceIntent; in interceptKeyBeforeDispatching() local 2594 voiceIntent = new Intent(RecognizerIntent.ACTION_WEB_SEARCH); in interceptKeyBeforeDispatching() 2596 voiceIntent = new Intent(RecognizerIntent.ACTION_VOICE_SEARCH_HANDS_FREE); in interceptKeyBeforeDispatching() 2597 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, true); in interceptKeyBeforeDispatching() 2599 mContext.startActivityAsUser(voiceIntent, UserHandle.CURRENT_OR_SELF); in interceptKeyBeforeDispatching() 4913 Intent voiceIntent = in launchVoiceAssistWithWakeLock() local 4915 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, keyguardActive); in launchVoiceAssistWithWakeLock() 4916 mContext.startActivityAsUser(voiceIntent, UserHandle.CURRENT_OR_SELF); in launchVoiceAssistWithWakeLock()
|