Searched refs:converter (Results 1 – 12 of 12) sorted by relevance
90 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort() local91 converter.order(ByteOrder.nativeOrder()); in byteArrayToShort()92 return converter.getShort(); in byteArrayToShort()96 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt() local97 converter.order(ByteOrder.nativeOrder()); in byteArrayToInt()98 return converter.getInt(offset); in byteArrayToInt()111 ByteBuffer converter = ByteBuffer.allocate(4); in intToByteArray() local112 converter.order(ByteOrder.nativeOrder()); in intToByteArray()113 converter.putInt(value); in intToByteArray()114 return converter.array(); in intToByteArray()[all …]
385 public void displayCandidates(WnnEngine converter) { in displayCandidates() argument391 mConverter = converter; in displayCandidates()395 isNextCandidate = displayCandidatesNormal(converter); in displayCandidates()399 isNextCandidate = displayCandidatesDelay(converter); in displayCandidates()410 private int displayCandidatesNormal(WnnEngine converter) { in displayCandidatesNormal() argument413 if (converter == null) { in displayCandidatesNormal()418 WnnWord result = converter.getNextCandidate(); in displayCandidatesNormal()449 private int displayCandidatesDelay(WnnEngine converter) { in displayCandidatesDelay() argument452 if (converter == null) { in displayCandidatesDelay()457 WnnWord result = converter.getNextCandidate(); in displayCandidatesDelay()
680 public void displayCandidates(WnnEngine converter) { in displayCandidates() argument722 mConverter = converter; in displayCandidates()728 displayCandidates(converter, true, getMaxLine()); in displayCandidates()769 private void displayCandidates(WnnEngine converter, boolean dispFirst, int maxLine) { in displayCandidates() argument770 if (converter == null) { in displayCandidates()780 if (converter instanceof SymbolList) { in displayCandidates()805 result = converter.getNextCandidate(); in displayCandidates()810 if (converter instanceof SymbolList) { in displayCandidates()825 if (converter instanceof SymbolList) { in displayCandidates()
119 public abstract void displayCandidates(WnnEngine converter); in displayCandidates() argument
569 Converter<String> converter = (Converter<String>) converterFactory.createInstance(); in convertToPlainText() local572 textPositions[i] = converter.getPlainTextLength(); in convertToPlainText()573 converter.addNode(nodes.get(i), i, ends.get(i)); in convertToPlainText()577 textPositions[numNodes] = converter.getPlainTextLength(); in convertToPlainText()579 plainText = converter.getObject(); in convertToPlainText()618 Converter<Spanned> converter = (Converter<Spanned>) converterFactory.createInstance(); in convertToSpan() local621 converter.addNode(nodes.get(i), i, ends.get(i)); in convertToSpan()624 constructedSpan = converter.getObject(); in convertToSpan()
157 String attrName, Function<PersistableBundle, E> converter) { in getObjectAttrFromPersistableBundle() argument159 return attrBundle == null ? null : converter.apply(attrBundle); in getObjectAttrFromPersistableBundle()163 String attrName, Function<String, E> converter) { in getStringAttrFromPersistableBundle() argument165 return str == null ? null : converter.apply(str); in getStringAttrFromPersistableBundle()
1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
1dictionary=main:en_us,locale=en_US,description=English (US),date ...