Searched refs:charSeq (Results 1 – 5 of 5) sorted by relevance
/frameworks/layoutlib/bridge/src/com/android/internal/util/ |
D | XmlUtils_Delegate.java | 32 /*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/ |
D | BridgeTypedArray.java | 943 private static int convertValueToInt(@Nullable String charSeq, int defValue) { in convertValueToInt() argument 944 if (null == charSeq || charSeq.isEmpty()) in convertValueToInt() 949 int len = charSeq.length(); in convertValueToInt() 952 if ('-' == charSeq.charAt(0)) { in convertValueToInt() 957 if ('0' == charSeq.charAt(index)) { in convertValueToInt() 962 char c = charSeq.charAt(index + 1); in convertValueToInt() 972 } else if ('#' == charSeq.charAt(index)) { in convertValueToInt() 973 return ResourceHelper.getColor(charSeq) * sign; in convertValueToInt() 974 } else if ("true".equals(charSeq) || "TRUE".equals(charSeq)) { in convertValueToInt() 976 } else if ("false".equals(charSeq) || "FALSE".equals(charSeq)) { in convertValueToInt() [all …]
|
/frameworks/base/tests/Codegen/src/com/android/codegentest/ |
D | SampleDataClass.java | 230 public @NonNull CharSequence charSeq = ""; field in SampleDataClass 530 @NonNull CharSequence charSeq, in SampleDataClass() argument 594 this.charSeq = charSeq; in SampleDataClass() 596 NonNull.class, null, charSeq); in SampleDataClass() 1173 "charSeq = " + charSeq + ", " + in toString() 1211 && Objects.equals(charSeq, that.charSeq) in equals() 1242 _hash = 31 * _hash + Objects.hashCode(charSeq); in hashCode() 1271 actionObject.acceptObject(this, "charSeq", charSeq); in forEachField() 1299 action.acceptObject(this, "charSeq", charSeq); in forEachField() 1358 dest.writeCharSequence(charSeq); in writeToParcel() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewPerformanceTest.java | 88 CharSequence charSeq = new SpannedString(mString); in testSpan() local 89 mTextView.setText(charSeq); in testSpan()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | XmlUtils.java | 304 convertValueToInt(CharSequence charSeq, int defaultValue) in convertValueToInt() argument 306 if (TextUtils.isEmpty(charSeq)) { in convertValueToInt() 310 String nm = charSeq.toString(); in convertValueToInt() 358 public static int parseUnsignedIntAttribute(CharSequence charSeq) { in parseUnsignedIntAttribute() argument 359 String value = charSeq.toString(); in parseUnsignedIntAttribute()
|