Searched refs:mBehaviorMap (Results 1 – 1 of 1) sorted by relevance
72 private final Map<AssistHandleBehavior, BehaviorController> mBehaviorMap = field in AssistHandleBehaviorController107 mBehaviorMap.put(AssistHandleBehavior.OFF, new AssistHandleOffBehavior()); in AssistHandleBehaviorController()108 mBehaviorMap.put(AssistHandleBehavior.LIKE_HOME, new AssistHandleLikeHomeBehavior()); in AssistHandleBehaviorController()109 mBehaviorMap.put( in AssistHandleBehaviorController()113 mBehaviorMap.put(AssistHandleBehavior.TEST, testBehavior); in AssistHandleBehaviorController()170 mBehaviorMap.get(mCurrentBehavior).onAssistantGesturePerformed(); in onAssistantGesturePerformed()178 if (!mBehaviorMap.containsKey(behavior)) { in setBehavior()184 mBehaviorMap.get(mCurrentBehavior).onModeDeactivated(); in setBehavior()185 mBehaviorMap.get(behavior).onModeActivated(mContext, /* callbacks = */ this); in setBehavior()264 mBehaviorMap.get(mCurrentBehavior).onModeActivated(mContext, /* callbacks = */ this); in handleNavigationModeChange()[all …]