Home
last modified time | relevance | path

Searched refs:ValidatedEditTextPreference (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiTetherNamePreferenceController.java24 import com.android.car.settings.common.ValidatedEditTextPreference;
31 WifiTetherBasePreferenceController<ValidatedEditTextPreference> {
35 private static final ValidatedEditTextPreference.Validator NAME_VALIDATOR =
47 protected Class<ValidatedEditTextPreference> getPreferenceType() { in getPreferenceType()
48 return ValidatedEditTextPreference.class; in getPreferenceType()
59 protected boolean handlePreferenceChanged(ValidatedEditTextPreference preference, in handlePreferenceChanged()
68 protected void updateState(ValidatedEditTextPreference preference) { in updateState()
DWifiTetherPasswordPreferenceController.java29 import com.android.car.settings.common.ValidatedEditTextPreference;
41 WifiTetherBasePreferenceController<ValidatedEditTextPreference> {
53 private static final ValidatedEditTextPreference.Validator PASSWORD_VALIDATOR =
69 protected Class<ValidatedEditTextPreference> getPreferenceType() { in getPreferenceType()
70 return ValidatedEditTextPreference.class; in getPreferenceType()
95 protected boolean handlePreferenceChanged(ValidatedEditTextPreference preference, in handlePreferenceChanged()
106 protected void updateState(ValidatedEditTextPreference preference) { in updateState()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherPasswordPreferenceController.java34 import com.android.settings.widget.ValidatedEditTextPreference;
44 implements ValidatedEditTextPreference.Validator {
82 ((ValidatedEditTextPreference) mPreference).setValidator(this); in updateDisplay()
83 ((ValidatedEditTextPreference) mPreference).setIsPassword(true); in updateDisplay()
84 ((ValidatedEditTextPreference) mPreference).setIsSummaryPassword(true); in updateDisplay()
142 ValidatedEditTextPreference pref = (ValidatedEditTextPreference) preference; in updatePasswordDisplay()
DWifiTetherSSIDPreferenceController.java35 import com.android.settings.widget.ValidatedEditTextPreference;
40 implements ValidatedEditTextPreference.Validator {
83 ((ValidatedEditTextPreference) mPreference).setValidator(this); in updateDisplay()
DWifiDeviceNameTextValidator.java19 import com.android.settings.widget.ValidatedEditTextPreference;
25 public class WifiDeviceNameTextValidator implements ValidatedEditTextPreference.Validator {
DWifiTetherSsidPreference.java32 import com.android.settings.widget.ValidatedEditTextPreference;
37 public class WifiTetherSsidPreference extends ValidatedEditTextPreference {
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DValidatedEditTextPreference.java33 public class ValidatedEditTextPreference extends CarUiEditTextPreference { class
43 public ValidatedEditTextPreference(Context context) { in ValidatedEditTextPreference() method in ValidatedEditTextPreference
47 public ValidatedEditTextPreference(Context context, AttributeSet attrs) { in ValidatedEditTextPreference() method in ValidatedEditTextPreference
51 public ValidatedEditTextPreference(Context context, AttributeSet attrs, int defStyle) { in ValidatedEditTextPreference() method in ValidatedEditTextPreference
55 public ValidatedEditTextPreference(Context context, AttributeSet attrs, int defStyleAttr, in ValidatedEditTextPreference() method in ValidatedEditTextPreference
DValidatedEditTextPreferenceDialogFragment.java40 private ValidatedEditTextPreference.Validator mValidator;
60 if (getPreference() instanceof ValidatedEditTextPreference) { in onBindDialogView()
61 ValidatedEditTextPreference.Validator validator = in onBindDialogView()
62 ((ValidatedEditTextPreference) getPreference()).getValidator(); in onBindDialogView()
76 private void attachValidatorToView(View view, ValidatedEditTextPreference.Validator validator) { in attachValidatorToView()
DPasswordEditTextPreference.java28 public class PasswordEditTextPreference extends ValidatedEditTextPreference {
DSettingsFragment.java298 if (preference instanceof ValidatedEditTextPreference) { in onDisplayPreferenceDialog()
/packages/apps/Settings/src/com/android/settings/widget/
DValidatedEditTextPreference.java38 public class ValidatedEditTextPreference extends CustomEditTextPreferenceCompat { class
49 public ValidatedEditTextPreference(Context context, AttributeSet attrs, in ValidatedEditTextPreference() method in ValidatedEditTextPreference
54 public ValidatedEditTextPreference(Context context, AttributeSet attrs, int defStyleAttr) { in ValidatedEditTextPreference() method in ValidatedEditTextPreference
58 public ValidatedEditTextPreference(Context context, AttributeSet attrs) { in ValidatedEditTextPreference() method in ValidatedEditTextPreference
62 public ValidatedEditTextPreference(Context context) { in ValidatedEditTextPreference() method in ValidatedEditTextPreference
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DValidatedEditTextPreferenceDialogFragmentTest.java66 mPreference = new ValidatedEditTextPreference(mContext); in setUp()
96 ((ValidatedEditTextPreference) mPreference).setValidator( in onInvalidInput_shouldDisablePositiveButton_and_disallowEnterToSubmit()
97 new ValidatedEditTextPreference.Validator() { in onInvalidInput_shouldDisablePositiveButton_and_disallowEnterToSubmit()
117 ((ValidatedEditTextPreference) mPreference).setValidator( in onValidInput_shouldEnablePositiveButton_and_allowEnterToSubmit()
118 new ValidatedEditTextPreference.Validator() { in onValidInput_shouldEnablePositiveButton_and_allowEnterToSubmit()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DWifiTetherNamePreferenceControllerTest.java30 import com.android.car.settings.common.ValidatedEditTextPreference;
46 private ValidatedEditTextPreference mPreference;
64 mPreference = new ValidatedEditTextPreference(mContext); in onStart_wifiConfigHasSSID_setsSummary()
DWifiTetherBasePreferenceControllerTest.java35 import com.android.car.settings.common.ValidatedEditTextPreference;
89 private ValidatedEditTextPreference mPreference;
97 mPreference = new ValidatedEditTextPreference(mContext); in setup()
DWifiTetherPasswordPreferenceControllerTest.java32 import com.android.car.settings.common.ValidatedEditTextPreference;
51 private ValidatedEditTextPreference mPreference;
61 mPreference = new ValidatedEditTextPreference(mContext); in setup()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DValidatedEditTextPreferenceTest.java50 private ValidatedEditTextPreference.Validator mValidator;
53 private ValidatedEditTextPreference mPreference;
61 mPreference = new ValidatedEditTextPreference(RuntimeEnvironment.application); in setUp()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DDeviceNamePreferenceController.java35 import com.android.settings.widget.ValidatedEditTextPreference;
42 implements ValidatedEditTextPreference.Validator,
54 private ValidatedEditTextPreference mPreference;
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherPasswordPreferenceControllerTest.java36 import com.android.settings.widget.ValidatedEditTextPreference;
68 private ValidatedEditTextPreference mPreference;
74 mPreference = new ValidatedEditTextPreference(RuntimeEnvironment.application); in setUp()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/
DDeviceNamePreferenceControllerTest.java44 import com.android.settings.widget.ValidatedEditTextPreference;
63 private ValidatedEditTextPreference mPreference;
83 mPreference = new ValidatedEditTextPreference(mContext); in setUp()