Home
last modified time | relevance | path

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

12

/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.java33 import com.android.car.settings.common.ValidatedEditTextPreference;
45 WifiTetherBasePreferenceController<ValidatedEditTextPreference> {
54 private static final ValidatedEditTextPreference.Validator PASSWORD_VALIDATOR =
79 protected Class<ValidatedEditTextPreference> getPreferenceType() { in getPreferenceType()
80 return ValidatedEditTextPreference.class; in getPreferenceType()
106 protected boolean handlePreferenceChanged(ValidatedEditTextPreference preference, in handlePreferenceChanged()
115 protected void updateState(ValidatedEditTextPreference preference) { in updateState()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherPasswordPreferenceController.java27 import com.android.settings.widget.ValidatedEditTextPreference;
33 implements ValidatedEditTextPreference.Validator {
58 ((ValidatedEditTextPreference) mPreference).setValidator(this); in updateDisplay()
59 ((ValidatedEditTextPreference) mPreference).setIsPassword(true); in updateDisplay()
60 ((ValidatedEditTextPreference) mPreference).setIsSummaryPassword(true); in updateDisplay()
107 ValidatedEditTextPreference pref = (ValidatedEditTextPreference) preference; in updatePasswordDisplay()
DWifiTetherSSIDPreferenceController.java32 import com.android.settings.widget.ValidatedEditTextPreference;
38 implements ValidatedEditTextPreference.Validator {
71 ((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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DWifiTetherPasswordPreferenceController.java27 import com.android.car.developeroptions.widget.ValidatedEditTextPreference;
33 implements ValidatedEditTextPreference.Validator {
58 ((ValidatedEditTextPreference) mPreference).setValidator(this); in updateDisplay()
59 ((ValidatedEditTextPreference) mPreference).setIsPassword(true); in updateDisplay()
60 ((ValidatedEditTextPreference) mPreference).setIsSummaryPassword(true); in updateDisplay()
107 ValidatedEditTextPreference pref = (ValidatedEditTextPreference) preference; in updatePasswordDisplay()
DWifiTetherSSIDPreferenceController.java30 import com.android.car.developeroptions.widget.ValidatedEditTextPreference;
34 implements ValidatedEditTextPreference.Validator {
63 ((ValidatedEditTextPreference) mPreference).setValidator(this); in updateDisplay()
DWifiDeviceNameTextValidator.java19 import com.android.car.developeroptions.widget.ValidatedEditTextPreference;
25 public class WifiDeviceNameTextValidator implements ValidatedEditTextPreference.Validator {
DWifiTetherSsidPreference.java32 import com.android.car.developeroptions.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 {
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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.java28 import com.android.car.settings.common.ValidatedEditTextPreference;
43 private ValidatedEditTextPreference mPreference;
60 mPreference = new ValidatedEditTextPreference(mContext); in onStart_wifiConfigHasSSID_setsSummary()
DWifiTetherBasePreferenceControllerTest.java31 import com.android.car.settings.common.ValidatedEditTextPreference;
83 private ValidatedEditTextPreference mPreference;
91 mPreference = new ValidatedEditTextPreference(mContext); in setup()
DWifiTetherPasswordPreferenceControllerTest.java33 import com.android.car.settings.common.ValidatedEditTextPreference;
51 private ValidatedEditTextPreference mPreference;
63 mPreference = new ValidatedEditTextPreference(mContext); in setup()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DDeviceNamePreferenceController.java34 import com.android.settings.widget.ValidatedEditTextPreference;
41 implements ValidatedEditTextPreference.Validator,
51 private ValidatedEditTextPreference mPreference;
/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/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherPasswordPreferenceControllerTest.java33 import com.android.settings.widget.ValidatedEditTextPreference;
61 private ValidatedEditTextPreference mPreference;
67 mPreference = new ValidatedEditTextPreference(RuntimeEnvironment.application); in setUp()
DWifiTetherSSIDPreferenceControllerTest.java34 import com.android.settings.widget.ValidatedEditTextPreference;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DDeviceNamePreferenceController.java34 import com.android.car.developeroptions.widget.ValidatedEditTextPreference;
41 implements ValidatedEditTextPreference.Validator,
51 private ValidatedEditTextPreference mPreference;
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
DDeviceNamePreferenceControllerTest.java38 import com.android.settings.widget.ValidatedEditTextPreference;
60 private ValidatedEditTextPreference mPreference;
72 mPreference = new ValidatedEditTextPreference(mContext); in setUp()

12