Home
last modified time | relevance | path

Searched refs:charSeq (Results 1 – 5 of 5) sorted by relevance

/frameworks/layoutlib/bridge/src/com/android/internal/util/
DXmlUtils_Delegate.java32 /*package*/ static final int convertValueToInt(CharSequence charSeq, int defaultValue) { in convertValueToInt() argument
33 if (null == charSeq) in convertValueToInt()
36 String nm = charSeq.toString(); in convertValueToInt()
/frameworks/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java993 private static int convertValueToInt(@Nullable String charSeq, int defValue) { in convertValueToInt() argument
994 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 …]
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewPerformanceTest.java88 CharSequence charSeq = new SpannedString(mString); in testSpan() local
89 mTextView.setText(charSeq); in testSpan()
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java98 convertValueToInt(CharSequence charSeq, int defaultValue) in convertValueToInt() argument
100 if (TextUtils.isEmpty(charSeq)) { in convertValueToInt()
104 String nm = charSeq.toString(); in convertValueToInt()
152 public static int parseUnsignedIntAttribute(CharSequence charSeq) { in parseUnsignedIntAttribute() argument
153 String value = charSeq.toString(); in parseUnsignedIntAttribute()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtilHelper.java105 convertValueToInt(CharSequence charSeq, int defaultValue) in convertValueToInt() argument
107 if (TextUtils.isEmpty(charSeq)) { in convertValueToInt()
111 String nm = charSeq.toString(); in convertValueToInt()
159 public static int parseUnsignedIntAttribute(CharSequence charSeq) { in parseUnsignedIntAttribute() argument
160 String value = charSeq.toString(); in parseUnsignedIntAttribute()