Home
last modified time | relevance | path

Searched refs:UxRestrictablePreference (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DPreferenceControllerTest.java42 import com.android.car.ui.preference.UxRestrictablePreference;
94 verify((UxRestrictablePreference) mPreference).setUxRestricted(true); in onUxRestrictionsChanged_restricted_preferenceRestricted()
106 verify((UxRestrictablePreference) mPreference).setUxRestricted(false); in onUxRestrictionsChanged_restricted_viewOnly_preferenceUnrestricted()
126 verify((UxRestrictablePreference) preference1).setUxRestricted(true); in onUxRestrictionsChanged_restricted_preferenceGroup_preferencesRestricted()
127 verify((UxRestrictablePreference) preference2).setUxRestricted(true); in onUxRestrictionsChanged_restricted_preferenceGroup_preferencesRestricted()
136 verify((UxRestrictablePreference) mPreference).setUxRestricted(false); in onCreate_unrestricted_disabled_preferenceUnrestricted()
DExtraSettingsPreferenceControllerTest.java51 import com.android.car.ui.preference.UxRestrictablePreference;
132 verify((UxRestrictablePreference) mPreference).setUxRestricted(true); in onUxRestrictionsChanged_restricted_preferenceRestricted()
148 verify((UxRestrictablePreference) mPreference).setUxRestricted(false); in onUxRestrictionsChanged_unrestricted_preferenceUnrestricted()
165 verify((UxRestrictablePreference) mPreference).setUxRestricted(false); in onUxRestrictionsChanged_restricted_viewOnly_preferenceUnrestricted()
181 verify((UxRestrictablePreference) mPreference).setUxRestricted(false); in onUxRestrictionsChanged_distractionOptimized_preferenceUnrestricted()
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/preferences/
DPreferenceDemoFragment.java33 import com.android.car.ui.preference.UxRestrictablePreference;
58 if (preference instanceof UxRestrictablePreference) { in restrictPreference()
59 ((UxRestrictablePreference) preference).setUxRestricted(restrict); in restrictPreference()
60 ((UxRestrictablePreference) preference).setOnClickWhileRestrictedListener(p -> in restrictPreference()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPreferenceController.java32 import com.android.car.ui.preference.UxRestrictablePreference;
476 if (preference instanceof UxRestrictablePreference) { in restrictPreference()
477 UxRestrictablePreference restrictablePreference = (UxRestrictablePreference) preference; in restrictPreference()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/preference/
DDisabledPreferenceCallback.java29 public interface DisabledPreferenceCallback extends UxRestrictablePreference {
DUxRestrictablePreference.java30 public interface UxRestrictablePreference { interface
DCarUiDropDownPreference.java38 implements UxRestrictablePreference {
DCarUiRadioButtonPreference.java36 implements UxRestrictablePreference {
DCarUiMultiSelectListPreference.java39 implements UxRestrictablePreference {
DCarUiListPreference.java38 public class CarUiListPreference extends ListPreference implements UxRestrictablePreference {
DCarUiEditTextPreference.java43 implements UxRestrictablePreference {
DCarUiSeekBarDialogPreference.java39 implements DialogFragmentCallbacks, UxRestrictablePreference {