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.java1565 Intent voiceIntent = new Intent(baseIntent); in createVoiceWebSearchIntent() local
1567 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceWebSearchIntent()
1569 return voiceIntent; in createVoiceWebSearchIntent()
1602 Intent voiceIntent = new Intent(baseIntent); in createVoiceAppSearchIntent() local
1624 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, languageModel); in createVoiceAppSearchIntent()
1625 voiceIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, prompt); in createVoiceAppSearchIntent()
1626 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, language); in createVoiceAppSearchIntent()
1627 voiceIntent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, maxResults); in createVoiceAppSearchIntent()
1628 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceAppSearchIntent()
1632 voiceIntent.putExtra(RecognizerIntent.EXTRA_RESULTS_PENDINGINTENT, pending); in createVoiceAppSearchIntent()
[all …]
/frameworks/base/core/java/android/widget/
DSearchView.java1629 Intent voiceIntent = new Intent(baseIntent); in createVoiceWebSearchIntent() local
1631 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceWebSearchIntent()
1633 return voiceIntent; in createVoiceWebSearchIntent()
1666 Intent voiceIntent = new Intent(baseIntent); in createVoiceAppSearchIntent() local
1687 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, languageModel); in createVoiceAppSearchIntent()
1688 voiceIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, prompt); in createVoiceAppSearchIntent()
1689 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, language); in createVoiceAppSearchIntent()
1690 voiceIntent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, maxResults); in createVoiceAppSearchIntent()
1691 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceAppSearchIntent()
1695 voiceIntent.putExtra(RecognizerIntent.EXTRA_RESULTS_PENDINGINTENT, pending); in createVoiceAppSearchIntent()
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java1491 Intent voiceIntent = null; in startVoiceInput() local
1500 voiceIntent = new Intent(android.speech.RecognizerIntent.ACTION_WEB_SEARCH); in startVoiceInput()
1503 voiceIntent = new Intent(RecognizerIntent.ACTION_VOICE_SEARCH_HANDS_FREE); in startVoiceInput()
1504 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, in startVoiceInput()
1513 if (voiceIntent != null) { in startVoiceInput()
1514 voiceIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in startVoiceInput()
1516 if (DEBUG) Log.d(TAG, "voiceIntent: " + voiceIntent); in startVoiceInput()
1517 getContext().startActivityAsUser(voiceIntent, UserHandle.CURRENT); in startVoiceInput()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java3538 Intent voiceIntent; in interceptKeyBeforeDispatching() local
3540 voiceIntent = new Intent(RecognizerIntent.ACTION_WEB_SEARCH); in interceptKeyBeforeDispatching()
3550 voiceIntent = new Intent(RecognizerIntent.ACTION_VOICE_SEARCH_HANDS_FREE); in interceptKeyBeforeDispatching()
3551 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, true); in interceptKeyBeforeDispatching()
3553 startActivityAsUser(voiceIntent, UserHandle.CURRENT_OR_SELF); in interceptKeyBeforeDispatching()
6458 Intent voiceIntent = in launchVoiceAssistWithWakeLock() local
6460 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, keyguardActive); in launchVoiceAssistWithWakeLock()
6461 startActivityAsUser(voiceIntent, UserHandle.CURRENT_OR_SELF); in launchVoiceAssistWithWakeLock()