Searched refs:charSeq (Results 1 – 4 of 4) sorted by relevance
32 /*package*/ static final int convertValueToInt(CharSequence charSeq, int defaultValue) { in convertValueToInt() argument33 if (null == charSeq) in convertValueToInt()36 String nm = charSeq.toString(); in convertValueToInt()
970 private static int convertValueToInt(@Nullable String charSeq, int defValue) { in convertValueToInt() argument971 if (null == charSeq || charSeq.isEmpty()) in convertValueToInt()976 int len = charSeq.length(); in convertValueToInt()979 if ('-' == charSeq.charAt(0)) { in convertValueToInt()984 if ('0' == charSeq.charAt(index)) { in convertValueToInt()989 char c = charSeq.charAt(index + 1); in convertValueToInt()999 } else if ('#' == charSeq.charAt(index)) { in convertValueToInt()1000 return ResourceHelper.getColor(charSeq) * sign; in convertValueToInt()1001 } else if ("true".equals(charSeq) || "TRUE".equals(charSeq)) { in convertValueToInt()1003 } else if ("false".equals(charSeq) || "FALSE".equals(charSeq)) { in convertValueToInt()[all …]
88 CharSequence charSeq = new SpannedString(mString); in testSpan() local89 mTextView.setText(charSeq); in testSpan()
96 convertValueToInt(CharSequence charSeq, int defaultValue) in convertValueToInt() argument98 if (TextUtils.isEmpty(charSeq)) { in convertValueToInt()102 String nm = charSeq.toString(); in convertValueToInt()150 public static int parseUnsignedIntAttribute(CharSequence charSeq) { in parseUnsignedIntAttribute() argument151 String value = charSeq.toString(); in parseUnsignedIntAttribute()