Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/common/
DValidatedEditTextPreferenceDialogFragment.java40 private ValidatedEditTextPreference.Validator mValidator; field in ValidatedEditTextPreferenceDialogFragment
77 mValidator = validator; in attachValidatorToView()
79 if (mValidator != null && editText != null) { in attachValidatorToView()
101 if (dialog != null && mValidator != null && mEditText != null) { in allowDialogSubmissionOnlyIfValidInput()
102 boolean valid = mValidator.isTextValid(mEditText.getText().toString()); in allowDialogSubmissionOnlyIfValidInput()
DValidatedEditTextPreference.java40 private Validator mValidator; field in ValidatedEditTextPreference
76 mValidator = validator; in setValidator()
84 return mValidator; in getValidator()
/packages/apps/Settings/src/com/android/settings/widget/
DValidatedEditTextPreference.java45 private Validator mValidator; field in ValidatedEditTextPreference
73 if (mValidator != null && editText != null) { in onBindDialogView()
115 mValidator = validator; in setValidator()
130 if (mValidator != null && editText != null) { in afterTextChanged()
132 final boolean valid = mValidator.isTextValid(editText.getText().toString()); in afterTextChanged()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DValidatedEditTextPreference.java45 private Validator mValidator; field in ValidatedEditTextPreference
73 if (mValidator != null && editText != null) { in onBindDialogView()
115 mValidator = validator; in setValidator()
130 if (mValidator != null && editText != null) { in afterTextChanged()
132 final boolean valid = mValidator.isTextValid(editText.getText().toString()); in afterTextChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DValidatedEditTextPreferenceTest.java50 private ValidatedEditTextPreference.Validator mValidator; field in ValidatedEditTextPreferenceTest
102 mPreference.setValidator(mValidator); in bindDialogView_hasValidator_shouldBindToEditText()
113 mPreference.setValidator(mValidator); in bindDialogView_isPassword_shouldSetInputType()