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/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/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/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/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/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/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/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/Launcher3/src/com/android/launcher3/
DAutoInstallsLayout.java552 public FolderParser(HashMap<String, TagParser> elements) { in FolderParser() argument
553 mFolderElements = elements; in FolderParser()
/packages/apps/Browser/src/com/android/browser/
DPermissionsPrompt.java96 Enumeration<String> e = strings.elements(); in setMessage()
/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/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnb_wordlist.combined.gz
Dda_wordlist.combined.gz
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...

12