Home
last modified time | relevance | path

Searched refs:GearPreference (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/dream/
DCurrentDreamPreferenceControllerTest.java28 import com.android.settings.widget.GearPreference;
85 GearPreference mockPref = mock(GearPreference.class); in gearShowsIfActiveDreamInfoHasOptions()
86 ArgumentCaptor<GearPreference.OnGearClickListener> captor = in gearShowsIfActiveDreamInfoHasOptions()
87 ArgumentCaptor.forClass(GearPreference.OnGearClickListener.class); in gearShowsIfActiveDreamInfoHasOptions()
102 GearPreference mockPref = mock(GearPreference.class); in gearHidesIfActiveDreamInfoHasNoOptions()
103 ArgumentCaptor<GearPreference.OnGearClickListener> captor = in gearHidesIfActiveDreamInfoHasNoOptions()
104 ArgumentCaptor.forClass(GearPreference.OnGearClickListener.class); in gearHidesIfActiveDreamInfoHasNoOptions()
/packages/apps/Settings/src/com/android/settings/security/
DChangeScreenLockPreferenceController.java37 import com.android.settings.widget.GearPreference;
44 PreferenceControllerMixin, GearPreference.OnGearClickListener {
87 if (mPreference != null && mPreference instanceof GearPreference) { in updateState()
89 ((GearPreference) mPreference).setOnGearClickListener(this); in updateState()
91 ((GearPreference) mPreference).setOnGearClickListener(null); in updateState()
105 public void onGearClick(GearPreference p) { in onGearClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DChangeScreenLockPreferenceController.java37 import com.android.car.developeroptions.widget.GearPreference;
44 PreferenceControllerMixin, GearPreference.OnGearClickListener {
87 if (mPreference != null && mPreference instanceof GearPreference) { in updateState()
89 ((GearPreference) mPreference).setOnGearClickListener(this); in updateState()
91 ((GearPreference) mPreference).setOnGearClickListener(null); in updateState()
105 public void onGearClick(GearPreference p) { in onGearClick()
/packages/apps/Settings/src/com/android/settings/dream/
DCurrentDreamPreferenceController.java24 import com.android.settings.widget.GearPreference;
56 if (!(preference instanceof GearPreference)) { in setGearClickListenerForPreference()
60 final GearPreference gearPreference = (GearPreference) preference; in setGearClickListenerForPreference()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dream/
DCurrentDreamPreferenceController.java24 import com.android.car.developeroptions.widget.GearPreference;
56 if (!(preference instanceof GearPreference)) { in setGearClickListenerForPreference()
60 final GearPreference gearPreference = (GearPreference) preference; in setGearClickListenerForPreference()
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/
DDefaultAppPreferenceController.java35 import com.android.settings.widget.GearPreference;
79 if (!(preference instanceof GearPreference)) { in mayUpdateGearIcon()
84 ((GearPreference) preference).setOnGearClickListener( in mayUpdateGearIcon()
87 ((GearPreference) preference).setOnGearClickListener(null); in mayUpdateGearIcon()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/defaultapps/
DDefaultAppPreferenceController.java35 import com.android.car.developeroptions.widget.GearPreference;
79 if (!(preference instanceof GearPreference)) { in mayUpdateGearIcon()
84 ((GearPreference) preference).setOnGearClickListener( in mayUpdateGearIcon()
87 ((GearPreference) preference).setOnGearClickListener(null); in mayUpdateGearIcon()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DGearPreference.java31 public class GearPreference extends RestrictedPreference implements View.OnClickListener { class
35 public GearPreference(Context context, AttributeSet attrs) { in GearPreference() method in GearPreference
78 void onGearClick(GearPreference p); in onGearClick()
/packages/apps/Settings/src/com/android/settings/widget/
DGearPreference.java31 public class GearPreference extends RestrictedPreference implements View.OnClickListener { class
35 public GearPreference(Context context, AttributeSet attrs) { in GearPreference() method in GearPreference
78 void onGearClick(GearPreference p); in onGearClick()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DChangeScreenLockPreferenceControllerTest.java40 import com.android.settings.widget.GearPreference;
68 private GearPreference mGearPreference;
224 mGearPreference = new GearPreference(mContext, null); in mockGearPreferenceAndViewHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DManageablePreference.java27 import com.android.car.developeroptions.widget.GearPreference;
32 public abstract class ManageablePreference extends GearPreference {
DVpnSettings.java64 import com.android.car.developeroptions.widget.GearPreference;
65 import com.android.car.developeroptions.widget.GearPreference.OnGearClickListener;
411 public void onGearClick(GearPreference p) {
/packages/apps/Settings/src/com/android/settings/vpn2/
DManageablePreference.java27 import com.android.settings.widget.GearPreference;
32 public abstract class ManageablePreference extends GearPreference {
DVpnSettings.java65 import com.android.settings.widget.GearPreference;
66 import com.android.settings.widget.GearPreference.OnGearClickListener;
410 public void onGearClick(GearPreference p) {
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java47 import com.android.settings.widget.GearPreference;
65 GearPreference.OnGearClickListener {
329 ((GearPreference) mEnginePreference).setOnGearClickListener(this); in initSettings()
761 public void onGearClick(GearPreference p) { in onGearClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/tts/
DTextToSpeechSettings.java47 import com.android.car.developeroptions.widget.GearPreference;
65 GearPreference.OnGearClickListener {
329 ((GearPreference) mEnginePreference).setOnGearClickListener(this); in initSettings()
761 public void onGearClick(GearPreference p) { in onGearClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothDeviceUpdater.java31 import com.android.car.developeroptions.widget.GearPreference;
63 final GearPreference.OnGearClickListener mDeviceProfilesListener = pref -> {
DBluetoothDevicePreference.java41 import com.android.car.developeroptions.widget.GearPreference;
50 public final class BluetoothDevicePreference extends GearPreference implements
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDeviceUpdater.java31 import com.android.settings.widget.GearPreference;
63 final GearPreference.OnGearClickListener mDeviceProfilesListener = pref -> {
DBluetoothDevicePreference.java42 import com.android.settings.widget.GearPreference;
51 public final class BluetoothDevicePreference extends GearPreference implements