Searched refs:charSeq (Results 1 – 5 of 5) 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()
993 private static int convertValueToInt(@Nullable String charSeq, int defValue) { in convertValueToInt() argument994 if (null == charSeq || charSeq.isEmpty()) in convertValueToInt()999 int len = charSeq.length(); in convertValueToInt()1002 if ('-' == charSeq.charAt(0)) { in convertValueToInt()1007 if ('0' == charSeq.charAt(index)) { in convertValueToInt()1012 char c = charSeq.charAt(index + 1); in convertValueToInt()1022 } else if ('#' == charSeq.charAt(index)) { in convertValueToInt()1023 return ResourceHelper.getColor(charSeq) * sign; in convertValueToInt()1024 } else if ("true".equals(charSeq) || "TRUE".equals(charSeq)) { in convertValueToInt()1026 } 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()
98 convertValueToInt(CharSequence charSeq, int defaultValue) in convertValueToInt() argument100 if (TextUtils.isEmpty(charSeq)) { in convertValueToInt()104 String nm = charSeq.toString(); in convertValueToInt()152 public static int parseUnsignedIntAttribute(CharSequence charSeq) { in parseUnsignedIntAttribute() argument153 String value = charSeq.toString(); in parseUnsignedIntAttribute()
105 convertValueToInt(CharSequence charSeq, int defaultValue) in convertValueToInt() argument107 if (TextUtils.isEmpty(charSeq)) { in convertValueToInt()111 String nm = charSeq.toString(); in convertValueToInt()159 public static int parseUnsignedIntAttribute(CharSequence charSeq) { in parseUnsignedIntAttribute() argument160 String value = charSeq.toString(); in parseUnsignedIntAttribute()