Home
last modified time | relevance | path

Searched refs:mValidator (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java116 private Validator mValidator = null; field in AutoCompleteTextView
1150 mValidator = validator; in setValidator()
1161 return mValidator; in getValidator()
1172 if (mValidator == null) return; in performValidation()
1176 if (!TextUtils.isEmpty(text) && !mValidator.isValid(text)) { in performValidation()
1177 setText(mValidator.fixText(text)); in performValidation()
/frameworks/ex/chips/src/com/android/ex/chips/
DRecipientEditTextView.java154 private Validator mValidator; field in RecipientEditTextView
1051 if (mValidator != null && !isValid) { in createTokenizedEntry()
1053 validatedToken = mValidator.fixText(token).toString(); in createTokenizedEntry()
1081 return mValidator == null ? true : mValidator.isValid(text); in isValid()
1100 mValidator = validator; in setValidator()
1713 || (mValidator != null && !mValidator.isValid(destination)))) { in createValidatedEntry()
2278 if (!TextUtils.isEmpty(sub) && mValidator != null && in afterTextChanged()
2279 mValidator.isValid(sub)) { in afterTextChanged()