/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZoneFilterTypeAdapter.java | 174 String prefixString = null; in performFiltering() local 176 prefixString = prefix.toString().trim().toLowerCase(); in performFiltering() 179 if (TextUtils.isEmpty(prefixString)) { in performFiltering() 194 if (prefixString.charAt(0) == '+' || prefixString.charAt(0) == '-') { in performFiltering() 198 if (prefixString.startsWith("gmt")) { in performFiltering() 203 int num = parseNum(prefixString, startParsePosition); in performFiltering() 205 boolean positiveOnly = prefixString.length() > startParsePosition in performFiltering() 206 && prefixString.charAt(startParsePosition) == '+'; in performFiltering() 219 if (lowerCaseCountry.startsWith(prefixString) in performFiltering() 220 || (lowerCaseCountry.charAt(0) == prefixString.charAt(0) && in performFiltering() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SuggestedLocaleAdapter.java | 254 String prefixString = LocaleHelper.normalizeForSearch(prefix.toString(), locale); in performFiltering() local 265 if (wordMatches(nativeNameToCheck, prefixString) in performFiltering() 266 || wordMatches(nameToCheck, prefixString)) { in performFiltering() 279 boolean wordMatches(String valueText, String prefixString) { in wordMatches() argument 281 if (valueText.startsWith(prefixString)) { in wordMatches() 288 if (word.startsWith(prefixString)) { in wordMatches()
|
/frameworks/opt/localepicker/src/com/android/localepicker/ |
D | SuggestedLocaleAdapter.java | 263 String prefixString = LocaleHelper.normalizeForSearch(prefix.toString(), locale); in performFiltering() local 274 if (wordMatches(nativeNameToCheck, prefixString) in performFiltering() 275 || wordMatches(nameToCheck, prefixString)) { in performFiltering() 288 boolean wordMatches(String valueText, String prefixString) { in wordMatches() argument 290 if (valueText.startsWith(prefixString)) { in wordMatches() 297 if (word.startsWith(prefixString)) { in wordMatches()
|
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
D | EditorInfoTest.java | 256 final String prefixString = "prefix"; in setInitialSubText_trimmedSubText_dividesByOriginalCursorPosition() local 258 final CharSequence originalText = TextUtils.concat(prefixString, subText); in setInitialSubText_trimmedSubText_dividesByOriginalCursorPosition() 264 editorInfo.initialSelStart - prefixString.length()); in setInitialSubText_trimmedSubText_dividesByOriginalCursorPosition() 266 editorInfo.initialSelStart - prefixString.length(), selLength); in setInitialSubText_trimmedSubText_dividesByOriginalCursorPosition() 268 editorInfo.initialSelEnd - prefixString.length(), in setInitialSubText_trimmedSubText_dividesByOriginalCursorPosition() 271 editorInfo.setInitialSurroundingSubText(subText, prefixString.length()); in setInitialSubText_trimmedSubText_dividesByOriginalCursorPosition()
|
/frameworks/base/core/java/android/net/ |
D | INetdEventCallback.aidl | 58 void onNat64PrefixEvent(int netId, boolean added, @utf8InCpp String prefixString, in onNat64PrefixEvent() argument
|
/frameworks/base/core/java/com/android/server/net/ |
D | BaseNetdEventCallback.java | 35 public void onNat64PrefixEvent(int netId, boolean added, String prefixString, in onNat64PrefixEvent() argument
|
/frameworks/base/core/java/android/widget/ |
D | ArrayAdapter.java | 578 final String prefixString = prefix.toString().toLowerCase(); in performFiltering() local 593 if (valueText.startsWith(prefixString)) { in performFiltering() 598 if (word.startsWith(prefixString)) { in performFiltering()
|
D | SimpleAdapter.java | 377 String prefixString = prefix.toString().toLowerCase(); in performFiltering() local 399 if (word.toLowerCase().startsWith(prefixString)) { in performFiltering()
|
/frameworks/base/core/java/android/app/ |
D | LauncherActivity.java | 206 final String prefixString = prefix.toString().toLowerCase(); in performFiltering() local 222 if (word.startsWith(prefixString)) { in performFiltering()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetdEventListenerService.java | 225 boolean added, String prefixString, int prefixLength) in onNat64PrefixEvent() argument 229 callback.onNat64PrefixEvent(netId, added, prefixString, prefixLength); in onNat64PrefixEvent()
|