Searched refs:expandTemplate (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextUtilsTest.java | 76 result = TextUtils.expandTemplate("This is a ^1 of the ^2 broadcast ^3.", in testTemplateString() 81 result = TextUtils.expandTemplate("^^^1^^^2^3^a^1^^b^^^c", in testTemplateString() 86 result = TextUtils.expandTemplate("^"); in testTemplateString() 89 result = TextUtils.expandTemplate("^^"); in testTemplateString() 92 result = TextUtils.expandTemplate("^^^"); in testTemplateString() 95 result = TextUtils.expandTemplate("shorter ^1 values ^2.", "a", ""); in testTemplateString() 99 TextUtils.expandTemplate("Only ^1 value given, but ^2 used.", "foo"); in testTemplateString() 105 TextUtils.expandTemplate("^1 value given, and ^0 used.", "foo"); in testTemplateString() 110 result = TextUtils.expandTemplate("^1 value given, and ^9 used.", in testTemplateString() 116 TextUtils.expandTemplate("^1 value given, and ^10 used.", in testTemplateString() [all …]
|
/frameworks/base/core/java/android/text/ |
D | TextUtils.java | 871 public static CharSequence expandTemplate(CharSequence template, in expandTemplate() method in TextUtils
|
/frameworks/base/api/ |
D | current.txt | 24660 …method public static java.lang.CharSequence expandTemplate(java.lang.CharSequence, java.lang.CharS…
|