Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DToggleAutoclickPreferenceControllerTest.java68 private SelectorWithWidgetPreference mDelayModePref; field in ToggleAutoclickPreferenceControllerTest
90 verify(mDelayModePref).setOnClickListener(any(OnClickListener.class)); in setClickListenerOnDelayModePref_whenDisplay_success()
118 mController.onRadioButtonClicked(mDelayModePref); in onRadioButtonClicked_offMode_disableAutoClick()
134 mController.onRadioButtonClicked(mDelayModePref); in onRadioButtonClicked_customMode_enableAutoClick()
145 mController.onRadioButtonClicked(mDelayModePref); in onSharedPreferenceChanged_customMode_shouldShowCustomSeekbar()
146 when(mDelayModePref.isChecked()).thenReturn(true); in onSharedPreferenceChanged_customMode_shouldShowCustomSeekbar()
158 mController.onRadioButtonClicked(mDelayModePref); in onSharedPreferenceChanged_offMode_shouldNotShowCustomSeekbar()
168 when(mScreen.findPreference(preferenceKey)).thenReturn(mDelayModePref); in setUpController()
169 when(mDelayModePref.getKey()).thenReturn(preferenceKey); in setUpController()
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleAutoclickPreferenceController.java61 private SelectorWithWidgetPreference mDelayModePref; field in ToggleAutoclickPreferenceController
87 updateState(mDelayModePref); in onSharedPreferenceChanged()
99 mDelayModePref = screen.findPreference(getPreferenceKey()); in displayPreference()
100 mDelayModePref.setOnClickListener(this); in displayPreference()
102 updateState(mDelayModePref); in displayPreference()
125 final int mode = getAutoclickModeToKeyMap().get(mDelayModePref.getKey()); in updateState()
126 mDelayModePref.setChecked(currentUiAutoClickMode == mode); in updateState()
128 mSeekBerPreference.setVisible(mDelayModePref.isChecked()); in updateState()