Home
last modified time | relevance | path

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

12

/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/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DAbstractKeyboardBuilder.java98 void setRowAt(final int row, final E[] elements) { in setRowAt() argument
105 newRows[rowIndex] = elements; in setRowAt()
119 final E[] elements = getRowAt(row); in setElementAt() local
125 if (columnIndex >= elements.length + 1) { in setElementAt()
128 final E[] newElements = Arrays.copyOf(elements, elements.length + 1); in setElementAt()
131 elements.length - columnIndex); in setElementAt()
138 final E[] newElements = (columnIndex < elements.length) ? elements in setElementAt()
139 : Arrays.copyOf(elements, columnIndex + 1); in setElementAt()
DActualKeyboardBuilder.java61 ArrayList<Key> elements = new ArrayList<>(); in buildKeyboard() local
67 rows.add(elements); in buildKeyboard()
68 elements = new ArrayList<>(); in buildKeyboard()
70 elements.add(key); in buildKeyboard()
72 rows.add(elements); // Add the last row. in buildKeyboard()
/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/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DLocaleUtils.java177 final String[] elements = localeString.split("_", 3); in constructLocaleFromString() local
179 if (elements.length == 1) { in constructLocaleFromString()
180 locale = new Locale(elements[0] /* language */); in constructLocaleFromString()
181 } else if (elements.length == 2) { in constructLocaleFromString()
182 locale = new Locale(elements[0] /* language */, elements[1] /* country */); in constructLocaleFromString()
184 locale = new Locale(elements[0] /* language */, elements[1] /* country */, in constructLocaleFromString()
185 elements[2] /* variant */); in constructLocaleFromString()
DStringUtils.java160 final String[] elements = extraValues.split(SEPARATOR_FOR_COMMA_SPLITTABLE_TEXT); in removeFromCommaSplittableTextIfExists() local
161 if (!containsInArray(text, elements)) { in removeFromCommaSplittableTextIfExists()
164 final ArrayList<String> result = new ArrayList<>(elements.length - 1); in removeFromCommaSplittableTextIfExists()
165 for (final String element : elements) { in removeFromCommaSplittableTextIfExists()
/packages/apps/Email/tests/src/com/android/email/
DVendorPolicyLoaderTest.java125 String[] elements = id.split("\""); in testGetImapIdValues() local
126 assertEquals(0, elements.length % 4); in testGetImapIdValues()
127 for (int i = 0; i < elements.length; ) { in testGetImapIdValues()
134 assertTrue(elements[i] == null || elements[i].startsWith(" ")); in testGetImapIdValues()
135 assertTrue(elements[i+1].charAt(0) != ' '); in testGetImapIdValues()
136 assertTrue(elements[i+2].startsWith(" ")); in testGetImapIdValues()
137 assertTrue(elements[i+3].charAt(0) != ' '); in testGetImapIdValues()
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dbloom_filter_test.cpp34 std::vector<int> elements; in TEST() local
42 elements.push_back(randomNumberGenerator()); in TEST()
48 for (const int elem : elements) { in TEST()
58 for (const int elem : elements) { in TEST()
66 for (const int elem : elements) { in TEST()
/packages/apps/UnifiedEmail/assets/
Dscript.js111 var elements = elt.getElementsByClassName("elided-text");
113 for (i = 0; i < elements.length; i++) {
114 elidedElement = elements[i];
175 function normalizeElementWidths(elements) { argument
188 for (i = 0; i < elements.length; i++) {
189 el = elements[i];
785 var elements;
793 elements = forms[i].elements;
794 for (j = 0; j < elements.length; ++j) {
795 if (elements[j].type != 'submit') {
[all …]
/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/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Ddocument.h577 for (GenericValue* v = data_.a.elements; v != data_.a.elements + data_.a.size; ++v)
579 Allocator::Free(data_.a.elements);
1293 data_.a.elements[i].~GenericValue();
1305 return data_.a.elements[index];
1311 ValueIterator Begin() { RAPIDJSON_ASSERT(IsArray()); return data_.a.elements; }
1314 ValueIterator End() { RAPIDJSON_ASSERT(IsArray()); return data_.a.elements + data_.a.size; }
1331 …data_.a.elements = (GenericValue*)allocator.Realloc(data_.a.elements, data_.a.capacity * sizeof(Ge…
1351 data_.a.elements[data_.a.size++].RawAssign(value);
1405 data_.a.elements[--data_.a.size].~GenericValue();
1431 RAPIDJSON_ASSERT(data_.a.elements != 0);
[all …]
/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/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHTML4.java38 private static final HashMap<String,HTML.Element> elements = Maps.newHashMap(); field in HTML4
67 return elements.get(name.toLowerCase()); in lookupElement()
80 return Collections.unmodifiableMap(elements); in getAllElements()
123 elements.put(tag, element); in addElement()
/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/Test/connectivity/sl4n/rapidjson/doc/
Dtutorial.md100 JSON array contains a number of elements.
122 …zeType` is typedef of `unsigned`. In most systems, array is limited to store up to 2^32-1 elements.
124 You may access the elements in array by integer literal, for example, `a[0]`, `a[1]`, `a[2]`.
126 …r to `std::vector`, instead of using indices, you may also use iterator to access all the elements.
239 Array/object compares their elements/members in order. They are equal if and only if their whole su…
299 // adding elements to contacts array.
321 // adding elements to contacts array.
402 Note that, `Reserve(...)` and `PushBack(...)` may allocate memory for the array elements, therefore…
Dsax.md128 …e beginning of an array, the `Reader` calls `BeginArary()`. If there is elements, it calls functio…
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
/packages/apps/Launcher3/src/com/android/launcher3/
DAutoInstallsLayout.java558 public FolderParser(HashMap<String, TagParser> elements) { in FolderParser() argument
559 mFolderElements = elements; in FolderParser()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java394 String[] elements = id.split("\""); in tokenizeImapId() local
396 for (int i = 0; i < elements.length; ) { in tokenizeImapId()
402 map.put(elements[i+1], elements[i+3]); in tokenizeImapId()
/packages/apps/UnifiedEmail/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()
/packages/services/Telephony/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()
/packages/apps/Browser2/test/webexposed/
Dglobal-interface-listing-expected.txt1613 getter elements
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...

12