Searched refs:mSwitchWidgetController (Results 1 – 5 of 5) sorted by relevance
49 SwitchWidgetController mSwitchWidgetController; field in GraphicsDriverGlobalSwitchBarController59 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()
48 SwitchWidgetController mSwitchWidgetController; field in GameDriverGlobalSwitchBarController58 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()
87 private SwitchWidgetController mSwitchWidgetController; field in TetherEnablerTest97 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 …]
48 private SwitchWidgetController mSwitchWidgetController; field in GraphicsDriverGlobalSwitchBarControllerTest104 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()
106 private final SwitchWidgetController mSwitchWidgetController; field in TetherEnabler128 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()