Home
last modified time | relevance | path

Searched refs:maxLen (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Car/Overview/src/com/android/car/overview/
DMediaStreamViewHolder.java215 private static CharSequence ellipsizeText(CharSequence text, int maxLen) { in ellipsizeText() argument
216 if (text == null || text.length() <= maxLen) { in ellipsizeText()
220 if (maxLen <= ELLIPSIS.length()) { in ellipsizeText()
221 Log.e(TAG, "Unable to truncate string to " + maxLen); in ellipsizeText()
226 sb.append(text.subSequence(0, maxLen - ELLIPSIS.length())); in ellipsizeText()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DOpenWnnEngineJAJP.java317 private int setSearchKey(ComposingText text, int maxLen) { in setSearchKey() argument
319 if (0 <= maxLen && maxLen <= input.length()) { in setSearchKey()
320 input = input.substring(0, maxLen); in setSearchKey()
378 public int predict(ComposingText text, int minLen, int maxLen) { in predict() argument
383 int len = setSearchKey(text, maxLen); in predict()
/packages/apps/Stk/src/com/android/stk/
DStkInputActivity.java401 int maxLen = mStkInput.maxLen; in configInputDisplay() local
404 maxLen)}); in configInputDisplay()
408 if (maxLen != minLen) { in configInputDisplay()
409 lengthLimit = minLen + " - " + maxLen; in configInputDisplay()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DWnnEngine.java61 public int predict(ComposingText text, int minLen, int maxLen); in predict() argument
DSymbolList.java189 public int predict(ComposingText text, int minLen, int maxLen) { in predict() argument
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DOpenWnnEngineEN.java252 public int predict(ComposingText text, int minLen, int maxLen) { in predict() argument