Searched refs:DoubleTapScreenPreferenceController (Results 1 – 7 of 7) sorted by relevance
52 private DoubleTapScreenPreferenceController mController;61 mController = new DoubleTapScreenPreferenceController(mContext, KEY_DOUBLE_TAP_SCREEN); in setUp()88 assertThat(DoubleTapScreenPreferenceController in isSuggestionCompleted_ambientDisplay_falseWhenNotVisited()102 assertThat(DoubleTapScreenPreferenceController in isSuggestionCompleted_ambientDisplay_trueWhenVisited()126 final DoubleTapScreenPreferenceController controller = in isSliceableCorrectKey_returnsTrue()127 new DoubleTapScreenPreferenceController(mContext, "gesture_double_tap_screen"); in isSliceableCorrectKey_returnsTrue()133 final DoubleTapScreenPreferenceController controller = in isSliceableIncorrectKey_returnsFalse()134 new DoubleTapScreenPreferenceController(mContext, "bad_key"); in isSliceableIncorrectKey_returnsFalse()
31 public class DoubleTapScreenPreferenceController extends GesturePreferenceController { class44 public DoubleTapScreenPreferenceController(Context context, String key) { in DoubleTapScreenPreferenceController() method in DoubleTapScreenPreferenceController49 public DoubleTapScreenPreferenceController setConfig(AmbientDisplayConfiguration config) { in setConfig()
47 use(DoubleTapScreenPreferenceController.class) in onAttach()
57 use(DoubleTapScreenPreferenceController.class).setConfig(getConfig(context)); in onAttach()
68 controllers.add(new DoubleTapScreenPreferenceController(context, FAKE_PREF_KEY) in buildAllPreferenceControllers()
33 import com.android.settings.gestures.DoubleTapScreenPreferenceController;107 final DoubleTapScreenPreferenceController controller = spy( in onAttach_doubleTap_shouldInvokeSetters()108 new DoubleTapScreenPreferenceController(mContext, "key")); in onAttach_doubleTap_shouldInvokeSetters()109 doReturn(controller).when(mTestFragment).use(DoubleTapScreenPreferenceController.class); in onAttach_doubleTap_shouldInvokeSetters()
38 import com.android.settings.gestures.DoubleTapScreenPreferenceController;114 use(DoubleTapScreenPreferenceController.class).setConfig(getConfig(context)); in onAttach()