Searched refs:voiceIntent (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/widget/ |
D | SearchView.java | 1674 Intent voiceIntent = new Intent(baseIntent); in createVoiceWebSearchIntent() local 1676 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceWebSearchIntent() 1678 return voiceIntent; in createVoiceWebSearchIntent() 1711 Intent voiceIntent = new Intent(baseIntent); in createVoiceAppSearchIntent() local 1732 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, languageModel); in createVoiceAppSearchIntent() 1733 voiceIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, prompt); in createVoiceAppSearchIntent() 1734 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, language); in createVoiceAppSearchIntent() 1735 voiceIntent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, maxResults); in createVoiceAppSearchIntent() 1736 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceAppSearchIntent() 1740 voiceIntent.putExtra(RecognizerIntent.EXTRA_RESULTS_PENDINGINTENT, pending); in createVoiceAppSearchIntent() [all …]
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 2210 Intent voiceIntent = null; in startVoiceInput() local 2219 voiceIntent = new Intent(android.speech.RecognizerIntent.ACTION_WEB_SEARCH); in startVoiceInput() 2222 voiceIntent = new Intent(RecognizerIntent.ACTION_VOICE_SEARCH_HANDS_FREE); in startVoiceInput() 2223 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, in startVoiceInput() 2232 if (voiceIntent != null) { in startVoiceInput() 2233 voiceIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in startVoiceInput() 2235 if (DEBUG) Log.d(TAG, "voiceIntent: " + voiceIntent); in startVoiceInput() 2236 mContext.startActivityAsUser(voiceIntent, UserHandle.CURRENT); in startVoiceInput()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 4378 final Intent voiceIntent; in launchVoiceAssistWithWakeLock() local 4380 voiceIntent = new Intent(RecognizerIntent.ACTION_WEB_SEARCH); in launchVoiceAssistWithWakeLock() 4390 voiceIntent = new Intent(RecognizerIntent.ACTION_VOICE_SEARCH_HANDS_FREE); in launchVoiceAssistWithWakeLock() 4391 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, true); in launchVoiceAssistWithWakeLock() 4393 startActivityAsUser(voiceIntent, UserHandle.CURRENT_OR_SELF); in launchVoiceAssistWithWakeLock()
|