Home
last modified time | relevance | path

Searched refs:intents (Results 1 – 9 of 9) sorted by relevance

/packages/apps/VoiceDialer/src/com/android/voicedialer/
DPhoneTypeChoiceRecognizerEngine.java53 ArrayList<Intent> intents = new ArrayList<Intent>(); in onRecognitionSuccess() local
56 intents.size() < RESULT_LIMIT; result++) { in onRecognitionSuccess()
86 addIntent(intents, intent); in onRecognitionSuccess()
93 if (mLogger != null) mLogger.logIntents(intents); in onRecognitionSuccess()
98 if (intents.size() == 0) { in onRecognitionSuccess()
105 intents.toArray(new Intent[intents.size()])); in onRecognitionSuccess()
DCommandRecognizerEngine.java947 ArrayList<Intent> intents = new ArrayList<Intent>(); in onRecognitionSuccess() local
955 intents.size() < examineLimit; result++) { in onRecognitionSuccess()
979 addCallIntent(intents, uri, in onRecognitionSuccess()
1015 addCallIntent(intents, ContentUris.withAppendedId( in onRecognitionSuccess()
1043 addCallIntent(intents, ContentUris.withAppendedId( in onRecognitionSuccess()
1071 addCallIntent(intents, ContentUris.withAppendedId( in onRecognitionSuccess()
1079 addCallIntent(intents, ContentUris.withAppendedId( in onRecognitionSuccess()
1087 addCallIntent(intents, ContentUris.withAppendedId( in onRecognitionSuccess()
1095 addCallIntent(intents, ContentUris.withAppendedId( in onRecognitionSuccess()
1102 addCallIntent(intents, ContentUris.withAppendedId( in onRecognitionSuccess()
[all …]
DVoiceDialerActivity.java738 public void onRecognitionSuccess(final Intent[] intents) { in onRecognitionSuccess() argument
740 intents.length); in onRecognitionSuccess()
748 mAvailableChoices = intents; in onRecognitionSuccess()
757 String[] sentences = new String[intents.length]; in onRecognitionSuccess()
758 for (int i = 0; i < intents.length; i++) { in onRecognitionSuccess()
759 sentences[i] = intents[i].getStringExtra( in onRecognitionSuccess()
763 if (intents.length == 0) { in onRecognitionSuccess()
768 if (intents.length > 0) { in onRecognitionSuccess()
770 String value = intents[0].getStringExtra( in onRecognitionSuccess()
780 (intents.length == 1 || in onRecognitionSuccess()
[all …]
DVoiceDialerTester.java120 public void onRecognitionSuccess(Intent[] intents) { in onRecognitionSuccess() argument
122 wf.mTotal = intents.length; in onRecognitionSuccess()
125 for (int i = 0; i < intents.length; i++) { in onRecognitionSuccess()
127 intents[i].getStringExtra(RecognizerEngine.SENTENCE_EXTRA). in onRecognitionSuccess()
132 if (intents.length > 1) wf.mMessage += ", etc"; in onRecognitionSuccess()
DRecognizerEngine.java232 protected static void addIntent(ArrayList<Intent> intents, Intent intent) { in addIntent() argument
233 for (Intent in : intents) { in addIntent()
242 intents.add(intent); in addIntent()
DRecognizerClient.java32 public void onRecognitionSuccess(final Intent[] intents); in onRecognitionSuccess() argument
DRecognizerLogger.java166 public void logIntents(ArrayList<Intent> intents) { in logIntents() argument
169 for (Intent intent : intents) { in logIntents()
/packages/apps/Browser/src/com/android/browser/
DUploadHandler.java226 private Intent createChooserIntent(Intent... intents) { in createChooserIntent() argument
228 chooser.putExtra(Intent.EXTRA_INITIAL_INTENTS, intents); in createChooserIntent()
/packages/apps/Mms/src/com/android/mms/transaction/
DPushReceiver.java67 protected Void doInBackground(Intent... intents) { in doInBackground() argument
68 Intent intent = intents[0]; in doInBackground()