Searched refs:elements (Results 1 – 25 of 27) sorted by relevance
12
30 public ArrayList<WnnClause> elements; field in WnnSentence47 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 …]
98 void setRowAt(final int row, final E[] elements) { in setRowAt() argument105 newRows[rowIndex] = elements; in setRowAt()119 final E[] elements = getRowAt(row); in setElementAt() local125 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()
61 ArrayList<Key> elements = new ArrayList<>(); in buildKeyboard() local67 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()
52 List<ParsedNdefRecord> elements = new ArrayList<ParsedNdefRecord>(); in getRecords() local55 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()
177 final String[] elements = localeString.split("_", 3); in constructLocaleFromString() local179 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()
160 final String[] elements = extraValues.split(SEPARATOR_FOR_COMMA_SPLITTABLE_TEXT); in removeFromCommaSplittableTextIfExists() local161 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()
125 String[] elements = id.split("\""); in testGetImapIdValues() local126 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()
111 var elements = elt.getElementsByClassName("elided-text");113 for (i = 0; i < elements.length; i++) {114 elidedElement = elements[i];175 function normalizeElementWidths(elements) { argument188 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 …]
34 std::vector<int> elements; in TEST() local42 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()
66 public static final ImapList buildList(ImapElement... elements) { in buildList() argument68 for (ImapElement e : elements) { in buildList()76 ImapElement... elements) { in buildResponse() argument78 for (ImapElement e : elements) { in buildResponse()
449 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()
38 private static final HashMap<String,HTML.Element> elements = Maps.newHashMap(); field in HTML467 return elements.get(name.toLowerCase()); in lookupElement()80 return Collections.unmodifiableMap(elements); in getAllElements()123 elements.put(tag, element); in addElement()
305 Set<Map.Entry<String, Site>> elements = mSites.entrySet(); in doInBackground() local306 Iterator<Map.Entry<String, Site>> originIter = elements.iterator(); in doInBackground()383 Set<Map.Entry<String, Site>> elements = sites.entrySet(); in populateOrigins() local384 Iterator<Map.Entry<String, Site>> entryIterator = elements.iterator(); in populateOrigins()
192 private static <T> T getFirstIfExists(Iterable<?> elements, Class<T> type) { in getFirstIfExists() argument193 Iterable<T> filtered = Iterables.filter(elements, type); in getFirstIfExists()
394 String[] elements = id.split("\""); in tokenizeImapId() local396 for (int i = 0; i < elements.length; ) { in tokenizeImapId()402 map.put(elements[i+1], elements[i+3]); in tokenizeImapId()
552 public FolderParser(HashMap<String, TagParser> elements) { in FolderParser() argument553 mFolderElements = elements; in FolderParser()
96 Enumeration<String> e = strings.elements(); in setMessage()
878 for (java.util.Enumeration<int[]> e = jj_expentries.elements(); e.hasMoreElements();) { in jj_add_error_token()
1dictionary=main:en,locale=en,description=English,date=1414726273, ...
1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...