Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/development/graphicsdriver/
DGraphicsDriverGlobalSwitchBarController.java49 SwitchWidgetController mSwitchWidgetController; field in GraphicsDriverGlobalSwitchBarController
59 mSwitchWidgetController = switchWidgetController; in GraphicsDriverGlobalSwitchBarController()
60 mSwitchWidgetController.setEnabled( in GraphicsDriverGlobalSwitchBarController()
62 mSwitchWidgetController.setChecked( in GraphicsDriverGlobalSwitchBarController()
66 mSwitchWidgetController.setListener(this); in GraphicsDriverGlobalSwitchBarController()
71 mSwitchWidgetController.startListening(); in onStart()
77 mSwitchWidgetController.stopListening(); in onStop()
105 mSwitchWidgetController.setChecked( in onGraphicsDriverContentChanged()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/gamedriver/
DGameDriverGlobalSwitchBarController.java48 SwitchWidgetController mSwitchWidgetController; field in GameDriverGlobalSwitchBarController
58 mSwitchWidgetController = switchWidgetController; in GameDriverGlobalSwitchBarController()
59 mSwitchWidgetController.setEnabled( in GameDriverGlobalSwitchBarController()
61 mSwitchWidgetController.setChecked( in GameDriverGlobalSwitchBarController()
65 mSwitchWidgetController.setListener(this); in GameDriverGlobalSwitchBarController()
70 mSwitchWidgetController.startListening(); in onStart()
76 mSwitchWidgetController.stopListening(); in onStop()
102 mSwitchWidgetController.setChecked( in onGameDriverContentChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DTetherEnablerTest.java87 private SwitchWidgetController mSwitchWidgetController; field in TetherEnablerTest
97 mSwitchWidgetController = spy(new SwitchBarController(mSwitchBar)); in setUp()
108 mEnabler = spy(new TetherEnabler(context, mSwitchWidgetController, panReference)); in setUp()
228 mSwitchWidgetController.setListener(mEnabler); in stopTethering_setBluetoothTetheringStoppedByUserAndUpdateState()
229 mSwitchWidgetController.startListening(); in stopTethering_setBluetoothTetheringStoppedByUserAndUpdateState()
239 mSwitchWidgetController.setListener(mEnabler); in updateState_onSwitchToggleNeverCalled()
240 mSwitchWidgetController.startListening(); in updateState_onSwitchToggleNeverCalled()
248 mSwitchWidgetController.setListener(mEnabler); in updateState_shouldEnableSwitchBarNotTethering()
249 mSwitchWidgetController.startListening(); in updateState_shouldEnableSwitchBarNotTethering()
261 mSwitchWidgetController.setListener(mEnabler); in updateState_shouldEnableSwitchBarTethering()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/graphicsdriver/
DGraphicsDriverGlobalSwitchBarControllerTest.java48 private SwitchWidgetController mSwitchWidgetController; field in GraphicsDriverGlobalSwitchBarControllerTest
104 mController.mSwitchWidgetController = mSwitchWidgetController; in onStart_shouldStartListeningAndRegister()
108 verify(mSwitchWidgetController).startListening(); in onStart_shouldStartListeningAndRegister()
116 mController.mSwitchWidgetController = mSwitchWidgetController; in onStop_shouldStopListeningAndUnregister()
120 verify(mSwitchWidgetController).stopListening(); in onStop_shouldStopListeningAndUnregister()
/packages/apps/Settings/src/com/android/settings/network/
DTetherEnabler.java106 private final SwitchWidgetController mSwitchWidgetController; field in TetherEnabler
128 mSwitchWidgetController = switchWidgetController; in TetherEnabler()
147 mSwitchWidgetController.setListener(this); in onStart()
148 mSwitchWidgetController.startListening(); in onStart()
172 mSwitchWidgetController.stopListening(); in onStop()
192 mSwitchWidgetController.setEnabled( in setSwitchEnabled()
211 mSwitchWidgetController.stopListening(); in setSwitchCheckedInternal()
216 mSwitchWidgetController.setChecked(checked); in setSwitchCheckedInternal()
217 mSwitchWidgetController.startListening(); in setSwitchCheckedInternal()