Home
last modified time | relevance | path

Searched refs:elements (Results 1 – 11 of 11) sorted by relevance

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DWnnSentence.java30 public ArrayList<WnnClause> elements; field in WnnSentence
47 this.elements = clauses; in WnnSentence()
90 this.elements = new ArrayList<WnnClause>(); in WnnSentence()
91 this.elements.add(clause); in WnnSentence()
108 this.elements = new ArrayList<WnnClause>(); in WnnSentence()
109 this.elements.addAll(prev.elements); in WnnSentence()
110 this.elements.add(clause); in WnnSentence()
128 this.elements = new ArrayList<WnnClause>(); in WnnSentence()
129 this.elements.add(head); in WnnSentence()
139 this.elements = new ArrayList<WnnClause>(); in WnnSentence()
[all …]
/packages/apps/Tag/src/com/android/apps/tag/message/
DNdefMessageParser.java52 List<ParsedNdefRecord> elements = new ArrayList<ParsedNdefRecord>(); in getRecords() local
55 elements.add(SmartPoster.parse(record)); in getRecords()
57 elements.add(UriRecord.parse(record)); in getRecords()
59 elements.add(TextRecord.parse(record)); in getRecords()
61 elements.add(ImageRecord.parse(record)); in getRecords()
63 elements.add(VCardRecord.parse(record)); in getRecords()
65 elements.add(MimeRecord.parse(record)); in getRecords()
67 elements.add(new UnknownRecord()); in getRecords()
70 return elements; in getRecords()
/packages/apps/Email/tests/src/com/android/email/
DVendorPolicyLoaderTest.java122 String[] elements = id.split("\""); in testGetImapIdValues() local
123 assertEquals(0, elements.length % 4); in testGetImapIdValues()
124 for (int i = 0; i < elements.length; ) { in testGetImapIdValues()
131 assertTrue(elements[i] == null || elements[i].startsWith(" ")); in testGetImapIdValues()
132 assertTrue(elements[i+1].charAt(0) != ' '); in testGetImapIdValues()
133 assertTrue(elements[i+2].startsWith(" ")); in testGetImapIdValues()
134 assertTrue(elements[i+3].charAt(0) != ' '); in testGetImapIdValues()
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
DImapTestUtils.java66 public static final ImapList buildList(ImapElement... elements) { in buildList() argument
68 for (ImapElement e : elements) { in buildList()
76 ImapElement... elements) { in buildResponse() argument
78 for (ImapElement e : elements) { in buildResponse()
/packages/inputmethods/LatinIME/tools/maketext/src/com/android/inputmethod/latin/maketext/
DArrayInitializerFormatter.java46 final String[] elements = mBuffer.toString().split(" "); in flush() local
49 mIndent, mBufferedIndex, elements[0], in flush()
50 mIndent, lastIndex, elements[1]); in flush()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DStringUtils.java54 final String[] elements = csv.split(","); in removeFromCsvIfExists()
55 if (!containsInArray(key, elements)) return csv; in removeFromCsvIfExists()
56 final ArrayList<String> result = new ArrayList<String>(elements.length - 1); in removeFromCsvIfExists()
57 for (final String element : elements) { in removeFromCsvIfExists()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DOpenWnnEngineJAJP.java449 StrSegmentClause[] ss = new StrSegmentClause[sentence.elements.size()]; in convert()
452 Iterator<WnnClause> it = sentence.elements.iterator(); in convert()
501 Iterator<WnnClause> clauses = ((WnnSentence)word).elements.iterator(); in learn()
558 if ((mConvertSentence == null) || (mConvertSentence.elements.size() <= clausePosition)) { in makeCandidateListOf()
562 WnnClause clause = mConvertSentence.elements.get(clausePosition); in makeCandidateListOf()
/packages/apps/Tag/src/com/android/apps/tag/record/
DSmartPoster.java192 private static <T> T getFirstIfExists(Iterable<?> elements, Class<T> type) { in getFirstIfExists() argument
193 Iterable<T> filtered = Iterables.filter(elements, type); in getFirstIfExists()
/packages/apps/Browser/src/com/android/browser/preferences/
DWebsiteSettingsFragment.java305 Set<Map.Entry<String, Site>> elements = mSites.entrySet(); in doInBackground() local
306 Iterator<Map.Entry<String, Site>> originIter = elements.iterator(); in doInBackground()
383 Set<Map.Entry<String, Site>> elements = sites.entrySet(); in populateOrigins() local
384 Iterator<Map.Entry<String, Site>> entryIterator = elements.iterator(); in populateOrigins()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java392 String[] elements = id.split("\""); in tokenizeImapId() local
394 for (int i = 0; i < elements.length; ) { in tokenizeImapId()
400 map.put(elements[i+1], elements[i+3]); in tokenizeImapId()
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/
DAddressListParser.java878 for (java.util.Enumeration<int[]> e = jj_expentries.elements(); e.hasMoreElements();) { in jj_add_error_token()