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.java71 private static final AssistHandleBehavior DEFAULT_BEHAVIOR = AssistHandleBehavior.REMINDER_EXP;
80 private final Map<AssistHandleBehavior, BehaviorController> mBehaviorMap;
90 private AssistHandleBehavior mCurrentBehavior = AssistHandleBehavior.OFF;
100 Map<AssistHandleBehavior, BehaviorController> behaviorMap, in AssistHandleBehaviorController() argument
181 void setBehavior(AssistHandleBehavior behavior) { in setBehavior()
201 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()
109 mAssistHandleBehaviorController.setBehavior(AssistHandleBehavior.OFF); in teardown()
357 mAssistHandleBehaviorController.setBehavior(AssistHandleBehavior.TEST); in setBehavior_activatesTheBehaviorWhenInGesturalMode()
368 mAssistHandleBehaviorController.setBehavior(AssistHandleBehavior.TEST); in setBehavior_deactivatesThePreviousBehaviorWhenInGesturalMode()
373 mAssistHandleBehaviorController.setBehavior(AssistHandleBehavior.OFF); in setBehavior_deactivatesThePreviousBehaviorWhenInGesturalMode()
[all …]