Searched refs:PickupGesturePreferenceController (Results 1 – 12 of 12) sorted by relevance
52 private PickupGesturePreferenceController mController;57 mController = new PickupGesturePreferenceController(mContext, KEY_PICK_UP); in setUp()86 assertThat(PickupGesturePreferenceController.isSuggestionComplete(mContext, prefs)) in isSuggestionCompleted_ambientDisplayPickup_trueWhenVisited()110 final PickupGesturePreferenceController controller = in isSliceableCorrectKey_returnsTrue()111 new PickupGesturePreferenceController(mContext, "gesture_pick_up"); in isSliceableCorrectKey_returnsTrue()117 final PickupGesturePreferenceController controller = in isSliceableIncorrectKey_returnsFalse()118 new PickupGesturePreferenceController(mContext, "bad_key"); in isSliceableIncorrectKey_returnsFalse()
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()
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()
58 use(PickupGesturePreferenceController.class).setConfig(getConfig(context)); in onAttach()
51 use(PickupGesturePreferenceController.class) in onAttach()
75 controllers.add(new PickupGesturePreferenceController(context, FAKE_PREF_KEY) in buildAllPreferenceControllers()
31 import com.android.settings.gestures.PickupGesturePreferenceController;98 use(PickupGesturePreferenceController.class).setConfig(getConfig(context)); in onAttach()
31 import com.android.car.developeroptions.gestures.PickupGesturePreferenceController;98 use(PickupGesturePreferenceController.class).setConfig(getConfig(context)); in onAttach()