Home
last modified time | relevance | path

Searched refs:prefixString (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneFilterTypeAdapter.java174 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/
DSuggestedLocaleAdapter.java254 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/
DSuggestedLocaleAdapter.java263 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/
DEditorInfoTest.java256 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/
DINetdEventCallback.aidl58 void onNat64PrefixEvent(int netId, boolean added, @utf8InCpp String prefixString, in onNat64PrefixEvent() argument
/frameworks/base/core/java/com/android/server/net/
DBaseNetdEventCallback.java35 public void onNat64PrefixEvent(int netId, boolean added, String prefixString, in onNat64PrefixEvent() argument
/frameworks/base/core/java/android/widget/
DArrayAdapter.java578 final String prefixString = prefix.toString().toLowerCase(); in performFiltering() local
593 if (valueText.startsWith(prefixString)) { in performFiltering()
598 if (word.startsWith(prefixString)) { in performFiltering()
DSimpleAdapter.java377 String prefixString = prefix.toString().toLowerCase(); in performFiltering() local
399 if (word.toLowerCase().startsWith(prefixString)) { in performFiltering()
/frameworks/base/core/java/android/app/
DLauncherActivity.java206 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/
DNetdEventListenerService.java225 boolean added, String prefixString, int prefixLength) in onNat64PrefixEvent() argument
229 callback.onNat64PrefixEvent(netId, added, prefixString, prefixLength); in onNat64PrefixEvent()