Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java115 private Validator mValidator = null; field in AutoCompleteTextView
1159 mValidator = validator; in setValidator()
1170 return mValidator; in getValidator()
1181 if (mValidator == null) return; in performValidation()
1185 if (!TextUtils.isEmpty(text) && !mValidator.isValid(text)) { in performValidation()
1186 setText(mValidator.fixText(text)); in performValidation()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java171 private Validator mValidator; field in RecipientEditTextView
1222 if (mValidator != null && !isValid) { in createTokenizedEntry()
1224 validatedToken = mValidator.fixText(token).toString(); in createTokenizedEntry()
1252 return mValidator == null ? true : mValidator.isValid(text); in isValid()
1271 mValidator = validator; in setValidator()
1914 || (mValidator != null && !mValidator.isValid(destination)))) { in createValidatedEntry()
2366 return !TextUtils.isEmpty(input) && mValidator != null && in isValidEmailAddress()
2367 mValidator.isValid(input); in isValidEmailAddress()