Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DSearchView.java1682 Intent voiceIntent = new Intent(baseIntent); in createVoiceWebSearchIntent() local
1684 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceWebSearchIntent()
1686 return voiceIntent; in createVoiceWebSearchIntent()
1719 Intent voiceIntent = new Intent(baseIntent); in createVoiceAppSearchIntent() local
1740 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, languageModel); in createVoiceAppSearchIntent()
1741 voiceIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, prompt); in createVoiceAppSearchIntent()
1742 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, language); in createVoiceAppSearchIntent()
1743 voiceIntent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, maxResults); in createVoiceAppSearchIntent()
1744 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceAppSearchIntent()
1748 voiceIntent.putExtra(RecognizerIntent.EXTRA_RESULTS_PENDINGINTENT, pending); in createVoiceAppSearchIntent()
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java2666 Intent voiceIntent = null; in startVoiceInput() local
2675 voiceIntent = new Intent(android.speech.RecognizerIntent.ACTION_WEB_SEARCH); in startVoiceInput()
2678 voiceIntent = new Intent(RecognizerIntent.ACTION_VOICE_SEARCH_HANDS_FREE); in startVoiceInput()
2679 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, in startVoiceInput()
2688 if (voiceIntent != null) { in startVoiceInput()
2689 voiceIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in startVoiceInput()
2691 if (DEBUG) Log.d(TAG, "voiceIntent: " + voiceIntent); in startVoiceInput()
2692 mContext.startActivityAsUser(voiceIntent, UserHandle.CURRENT); in startVoiceInput()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java5400 final Intent voiceIntent;
5402 voiceIntent = new Intent(RecognizerIntent.ACTION_WEB_SEARCH);
5408 voiceIntent = new Intent(RecognizerIntent.ACTION_VOICE_SEARCH_HANDS_FREE);
5409 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, true);
5411 startActivityAsUser(voiceIntent, UserHandle.CURRENT_OR_SELF);