Home
last modified time | relevance | path

Searched refs:mHvacPanelOverlayViewController (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DHvacPanelOverlayViewMediator.java44 private final HvacPanelOverlayViewController mHvacPanelOverlayViewController; field in HvacPanelOverlayViewMediator
56 && mHvacPanelOverlayViewController.isPanelExpanded()) {
57 mHvacPanelOverlayViewController.toggle();
81 mHvacPanelOverlayViewController = hvacPanelOverlayViewController; in HvacPanelOverlayViewMediator()
89 mHvacPanelOverlayViewController.getDragCloseTouchListener()); in registerListeners()
91 mHvacPanelOverlayViewController.getDragCloseTouchListener()); in registerListeners()
93 mHvacPanelOverlayViewController.getDragCloseTouchListener()); in registerListeners()
95 mHvacPanelOverlayViewController.getDragCloseTouchListener()); in registerListeners()
101 mHvacPanelOverlayViewController.toggle(); in registerListeners()
106 return mHvacPanelOverlayViewController.isPanelExpanded(); in registerListeners()
[all …]
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/
DHvacPanelOverlayViewMediatorTest.java55 private HvacPanelOverlayViewController mHvacPanelOverlayViewController; field in HvacPanelOverlayViewMediatorTest
66 mCarSystemBarController, mHvacPanelOverlayViewController, mBroadcastDispatcher, in setUp()
72 when(mHvacPanelOverlayViewController.isPanelExpanded()).thenReturn(true); in closeSystemDialogsIntent_hvacPanelIsExpanded_togglesHvacPanel()
77 verify(mHvacPanelOverlayViewController).toggle(); in closeSystemDialogsIntent_hvacPanelIsExpanded_togglesHvacPanel()
82 when(mHvacPanelOverlayViewController.isPanelExpanded()).thenReturn(false); in closeSystemDialogsIntent_hvacPanelIsNotExpanded_doesNotToggleHvacPanel()
87 verify(mHvacPanelOverlayViewController, never()).toggle(); in closeSystemDialogsIntent_hvacPanelIsNotExpanded_doesNotToggleHvacPanel()
92 when(mHvacPanelOverlayViewController.isPanelExpanded()).thenReturn(true); in notCloseSystemDialogsIntent_hvacPanelIsExpanded_doesNotToggleHvacPanel()
97 verify(mHvacPanelOverlayViewController, never()).toggle(); in notCloseSystemDialogsIntent_hvacPanelIsExpanded_doesNotToggleHvacPanel()
DHvacPanelOverlayViewControllerTest.java62 HvacPanelOverlayViewController mHvacPanelOverlayViewController; field in HvacPanelOverlayViewControllerTest
89 mHvacPanelOverlayViewController = new HvacPanelOverlayViewController( in setUp()
100 mHvacPanelOverlayViewController.setLayout(mockLayout); in onScroll_updateDim()
101 mHvacPanelOverlayViewController.setOverlayDirection(OVERLAY_FROM_BOTTOM_BAR); in onScroll_updateDim()
103 mHvacPanelOverlayViewController.onScroll(50); in onScroll_updateDim()
106 eq(mHvacPanelOverlayViewController), anyFloat()); in onScroll_updateDim()
125 mHvacPanelOverlayViewController.setLayout(mockLayout); in onConfigChanged_oldHVACViewRemoved_newHVACViewAdded()
127 mHvacPanelOverlayViewController.onConfigChanged(config); in onConfigChanged_oldHVACViewRemoved_newHVACViewAdded()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DCarSystemBarController.java102 private HvacPanelOverlayViewController mHvacPanelOverlayViewController; field in CarSystemBarController
357 mHvacPanelController, mHvacPanelOverlayViewController, in getTopBar()
382 mHvacPanelController, mHvacPanelOverlayViewController, in getBottomBar()
397 mHvacPanelController, mHvacPanelOverlayViewController, in getLeftBar()
411 mHvacPanelController, mHvacPanelOverlayViewController, in getRightBar()
553 mHvacPanelOverlayViewController = hvacPanelOverlayViewController; in registerHvacPanelOverlayViewController()
555 mTopView.registerHvacPanelOverlayViewController(mHvacPanelOverlayViewController); in registerHvacPanelOverlayViewController()
558 mBottomView.registerHvacPanelOverlayViewController(mHvacPanelOverlayViewController); in registerHvacPanelOverlayViewController()
561 mLeftView.registerHvacPanelOverlayViewController(mHvacPanelOverlayViewController); in registerHvacPanelOverlayViewController()
564 mRightView.registerHvacPanelOverlayViewController(mHvacPanelOverlayViewController); in registerHvacPanelOverlayViewController()
DCarSystemBarView.java79 private HvacPanelOverlayViewController mHvacPanelOverlayViewController; field in CarSystemBarView
312 mHvacPanelOverlayViewController = controller; in registerHvacPanelOverlayViewController()
313 if (mHvacPanelOverlayViewController != null && mHvacButton != null) { in registerHvacPanelOverlayViewController()
314 mHvacPanelOverlayViewController.registerViewStateListener(mHvacButton); in registerHvacPanelOverlayViewController()