Searched refs:PickupGesturePreferenceController (Results 1 – 7 of 7) sorted by relevance
55 private PickupGesturePreferenceController mController;62 mController = new PickupGesturePreferenceController(mContext, KEY_PICK_UP); in setUp()91 assertThat(PickupGesturePreferenceController.isSuggestionComplete(mContext, prefs)) in isSuggestionCompleted_ambientDisplayPickup_trueWhenVisited()115 final PickupGesturePreferenceController controller = in isSliceableCorrectKey_returnsTrue()116 new PickupGesturePreferenceController(mContext, "gesture_pick_up"); in isSliceableCorrectKey_returnsTrue()122 final PickupGesturePreferenceController controller = in isSliceableIncorrectKey_returnsFalse()123 new PickupGesturePreferenceController(mContext, "bad_key"); in isSliceableIncorrectKey_returnsFalse()
29 public class PickupGesturePreferenceController extends GesturePreferenceController { class43 public PickupGesturePreferenceController(Context context, String key) { in PickupGesturePreferenceController() method in PickupGesturePreferenceController49 public PickupGesturePreferenceController setConfig(AmbientDisplayConfiguration config) { in setConfig()
56 use(PickupGesturePreferenceController.class).setConfig(getConfig(context)); in onAttach()
66 controllers.add(new PickupGesturePreferenceController(context, FAKE_PREF_KEY) in buildAllPreferenceControllers()
47 use(PickupGesturePreferenceController.class) in onAttach()
34 import com.android.settings.gestures.PickupGesturePreferenceController;117 final PickupGesturePreferenceController controller = spy( in onAttach_pickUp_shouldInvokeSetters()118 new PickupGesturePreferenceController(mContext, "key")); in onAttach_pickUp_shouldInvokeSetters()119 doReturn(controller).when(mTestFragment).use(PickupGesturePreferenceController.class); in onAttach_pickUp_shouldInvokeSetters()
39 import com.android.settings.gestures.PickupGesturePreferenceController;115 use(PickupGesturePreferenceController.class).setConfig(getConfig(context)); in onAttach()