Home
last modified time | relevance | path

Searched refs:onToggle (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DMasterSwitchPreferenceTest.java70 verify(mListener).onToggle(mMasterSwitchPreference, true); in widgetClicked_callsListener()
83 verify(mListener).onToggle(mMasterSwitchPreference, true); in setSwitchState_listenerSetAndButtonVisible_oppositeBool_callsListener()
95 verify(mListener, never()).onToggle(eq(mMasterSwitchPreference), anyBoolean()); in setSwitchState_listenerSetAndButtonVisible_sameBool_listenerNotCalled()
103 verify(mListener, never()).onToggle(eq(mMasterSwitchPreference), anyBoolean()); in setSwitchState_listenerSetAndButtonInvisible_oppositeBool_listenerNotCalled()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DMasterSwitchPreference.java40 void onToggle(MasterSwitchPreference preference, boolean isChecked); in onToggle() method
50 mToggleListener.onToggle(this, isChecked);