Home
last modified time | relevance | path

Searched refs:AssistHandleBehavior (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistModule.java58 static Map<AssistHandleBehavior, AssistHandleBehaviorController.BehaviorController>
63 Map<AssistHandleBehavior, AssistHandleBehaviorController.BehaviorController> map = in provideAssistHandleBehaviorControllerMap()
64 new EnumMap<>(AssistHandleBehavior.class); in provideAssistHandleBehaviorControllerMap()
65 map.put(AssistHandleBehavior.OFF, offBehavior); in provideAssistHandleBehaviorControllerMap()
66 map.put(AssistHandleBehavior.LIKE_HOME, likeHomeBehavior); in provideAssistHandleBehaviorControllerMap()
67 map.put(AssistHandleBehavior.REMINDER_EXP, reminderExpBehavior); in provideAssistHandleBehaviorControllerMap()
DAssistHandleBehaviorController.java67 private static final AssistHandleBehavior DEFAULT_BEHAVIOR = AssistHandleBehavior.REMINDER_EXP;
76 private final Map<AssistHandleBehavior, BehaviorController> mBehaviorMap;
85 private AssistHandleBehavior mCurrentBehavior = AssistHandleBehavior.OFF;
95 Map<AssistHandleBehavior, BehaviorController> behaviorMap, in AssistHandleBehaviorController() argument
174 void setBehavior(AssistHandleBehavior behavior) { in setBehavior()
194 setBehavior(AssistHandleBehavior.valueOf(behavior)); in setBehavior()
DAssistHandleBehavior.java19 public enum AssistHandleBehavior { enum
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/assist/
DAssistHandleBehaviorControllerTest.java87 Map<AssistHandleBehavior, AssistHandleBehaviorController.BehaviorController> behaviorMap = in setup()
88 new EnumMap<>(AssistHandleBehavior.class); in setup()
89 behaviorMap.put(AssistHandleBehavior.OFF, mMockOffBehavior); in setup()
90 behaviorMap.put(AssistHandleBehavior.LIKE_HOME, mMockLikeHomeBehavior); in setup()
91 behaviorMap.put(AssistHandleBehavior.REMINDER_EXP, mMockReminderExpBehavior); in setup()
92 behaviorMap.put(AssistHandleBehavior.TEST, mMockTestBehavior); in setup()
108 mAssistHandleBehaviorController.setBehavior(AssistHandleBehavior.OFF); in teardown()
334 mAssistHandleBehaviorController.setBehavior(AssistHandleBehavior.TEST); in setBehavior_activatesTheBehaviorWhenInGesturalMode()
345 mAssistHandleBehaviorController.setBehavior(AssistHandleBehavior.TEST); in setBehavior_deactivatesThePreviousBehaviorWhenInGesturalMode()
350 mAssistHandleBehaviorController.setBehavior(AssistHandleBehavior.OFF); in setBehavior_deactivatesThePreviousBehaviorWhenInGesturalMode()
[all …]