Home
last modified time | relevance | path

Searched refs:getTrimmedLength (Results 1 – 9 of 9) sorted by relevance

/frameworks/ex/common/java/com/android/common/
DRfc822Validator.java122 if (TextUtils.getTrimmedLength(cs) == 0) return ""; in fixText()
/frameworks/base/core/java/android/app/
DSearchManager.java640 if (query == null || TextUtils.getTrimmedLength(query) == 0) { in triggerSearch()
DSearchDialog.java646 return TextUtils.getTrimmedLength(actv.getText()) == 0; in isEmpty()
/frameworks/base/core/tests/coretests/src/android/text/
DTextUtilsTest.java229 assertEquals(s.trim().length(), TextUtils.getTrimmedLength(s)); in testTrim()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java1125 if (query != null && TextUtils.getTrimmedLength(query) > 0) { in onSubmitQuery()
1623 return TextUtils.getTrimmedLength(getText()) == 0; in isEmpty()
/frameworks/base/core/java/android/widget/
DSearchView.java1160 if (query != null && TextUtils.getTrimmedLength(query) > 0) { in onSubmitQuery()
1683 return TextUtils.getTrimmedLength(getText()) == 0; in isEmpty()
/frameworks/ex/chips/src/com/android/ex/chips/
DRecipientEditTextView.java393 if (!TextUtils.isEmpty(text) && TextUtils.getTrimmedLength(text) > 0) { in append()
403 && TextUtils.getTrimmedLength(displayString) > 0) { in append()
/frameworks/base/core/java/android/text/
DTextUtils.java460 public static int getTrimmedLength(CharSequence s) { in getTrimmedLength() method in TextUtils
/frameworks/base/api/
Dcurrent.txt24667 method public static int getTrimmedLength(java.lang.CharSequence);