Lines Matching full:intents
736 * @param intents a list of Intents corresponding to the sentences.
738 public void onRecognitionSuccess(final Intent[] intents) {
740 intents.length);
746 // store the intents in a member variable so that we can access it
748 mAvailableChoices = intents;
757 String[] sentences = new String[intents.length];
758 for (int i = 0; i < intents.length; i++) {
759 sentences[i] = intents[i].getStringExtra(
763 if (intents.length == 0) {
764 onRecognitionFailure("zero intents");
768 if (intents.length > 0) {
770 String value = intents[0].getStringExtra(
780 (intents.length == 1 ||
782 intents[0].getAction()))) {
799 mChosenAction = intents[0];
828 startActivityHelp(intents[which]);
865 public void onRecognitionSuccess(final Intent[] intents) {
877 if (intents.length > 0) {
878 String value = intents[0].getStringExtra(