Searched refs:CarSystemBarButton (Results 1 – 16 of 16) sorted by relevance
55 private final Set<CarSystemBarButton> mRegisteredViews = new HashSet<>();61 protected HashSet<CarSystemBarButton> mSelectedButtons;75 if (v instanceof CarSystemBarButton) { in addAllButtonsWithSelectionState()76 if (((CarSystemBarButton) v).hasSelectionState()) { in addAllButtonsWithSelectionState()77 addButtonWithSelectionState((CarSystemBarButton) v); in addAllButtonsWithSelectionState()131 HashSet<CarSystemBarButton> selectedButtons = findSelectedButtons(validTaskInfo); in taskChanged()164 private void addButtonWithSelectionState(CarSystemBarButton carSystemBarButton) { in addButtonWithSelectionState()185 private HashSet<CarSystemBarButton> findSelectedButtons(RootTaskInfo validTaskInfo) { in findSelectedButtons()191 HashSet<CarSystemBarButton> selectedButtons = in findSelectedButtons()228 private HashSet<CarSystemBarButton> findButtonsByComponentName( in findButtonsByComponentName()[all …]
57 private final Map<String, CarSystemBarButton> mButtonMap = new HashMap<>();77 if (v instanceof CarSystemBarButton) { in addAllButtonsWithRoleName()78 CarSystemBarButton button = (CarSystemBarButton) v; in addAllButtonsWithRoleName()91 private void addButtonWithRoleName(CarSystemBarButton button, String roleName) { in addButtonWithRoleName()118 CarSystemBarButton button = mButtonMap.get(roleName); in updateIcon()
66 private CarSystemBarButton mHomeButton;67 private CarSystemBarButton mPassengerHomeButton;69 private CarSystemBarButton mNotificationsButton;70 private CarSystemBarButton mHvacButton;81 private CarSystemBarButton mControlCenterButton;146 if (v instanceof CarSystemBarButton) { in setupSystemBarButtons()147 ((CarSystemBarButton) v).setUserTracker(userTracker); in setupSystemBarButtons()286 CarSystemBarButton button = findViewById(viewId); in setDisabledSystemBarButton()
49 private final CarSystemBarButton mCarSystemBarButton;54 public RecentsButtonStateProvider(Context context, CarSystemBarButton carSystemBarButton) { in RecentsButtonStateProvider()
56 public class CarSystemBarButton extends LinearLayout implements class102 public CarSystemBarButton(Context context, AttributeSet attrs) { in CarSystemBarButton() method in CarSystemBarButton113 R.styleable.CarSystemBarButton); in CarSystemBarButton()
27 public class VolumeButton extends CarSystemBarButton {
29 public class AppGridButton extends CarSystemBarButton {
39 public class AssistantButton extends CarSystemBarButton {
72 private CarSystemBarButton mDefaultButton;111 CarSystemBarButton selectedIconUndefinedButton = mTestView.findViewById( in onSelected_selectedIconUndefined_displaysSameIcon()146 CarSystemBarButton highlightWhenSelectedButton = mTestView.findViewById( in onUnselected_highlightWhenSelected_applyDefaultUnselectedAlpha()157 CarSystemBarButton highlightWhenSelectedButton = mTestView.findViewById( in onSelected_highlightWhenSelected_applyDefaultSelectedAlpha()178 CarSystemBarButton showMoreWhenSelected = mTestView.findViewById( in onSelected_showMoreWhenSelected_showsMoreIcon()190 CarSystemBarButton showMoreWhenSelected = mTestView.findViewById( in onUnselected_showMoreWhenSelected_doesNotShowMoreIcon()203 CarSystemBarButton roleBasedButton = mTestView.findViewById(R.id.role_based_button); in onUnselected_withAppIcon_showsAppIcon()218 CarSystemBarButton roleBasedButton = mTestView.findViewById(R.id.role_based_button); in onUnselected_withAppIcon_applyUnselectedAlpha()229 CarSystemBarButton roleBasedButton = mTestView.findViewById(R.id.role_based_button); in onSelected_withAppIcon_showsAppIcon()244 CarSystemBarButton roleBasedButton = mTestView.findViewById(R.id.role_based_button); in onSelected_withAppIcon_applySelectedAlpha()[all …]
72 CarSystemBarButton testButton = mTestView.findViewById(R.id.detectable_by_component_name); in onTaskChanged_buttonDetectableByComponentName_selectsAssociatedButton()83 CarSystemBarButton testButton = mTestView.findViewById(R.id.detectable_by_category); in onTaskChanged_buttonDetectableByCategory_selectsAssociatedButton()94 CarSystemBarButton testButton = mTestView.findViewById(R.id.detectable_by_package); in onTaskChanged_buttonDetectableByPackage_selectsAssociatedButton()105 CarSystemBarButton oldButton = mTestView.findViewById(R.id.detectable_by_component_name); in onTaskChanged_deselectsPreviouslySelectedButton()120 private void assertbuttonSelected(CarSystemBarButton button) { in assertbuttonSelected()124 private void assertButtonUnselected(CarSystemBarButton button) { in assertButtonUnselected()
596 CarSystemBarButton notifications = getNotificationCarSystemBarButton(); in testToggleAllNotificationsUnseenIndicator_bottomEnabled_hasUnseen_setCorrectly()609 CarSystemBarButton notifications = getNotificationCarSystemBarButton(); in testToggleAllNotificationsUnseenIndicator_bottomEnabled_noUnseen_setCorrectly()646 CarSystemBarButton button = bottomBar.findViewById(R.id.home); in testRefreshSystemBar_homeDisabled()662 CarSystemBarButton button = bottomBar.findViewById(R.id.phone_nav); in testRefreshSystemBar_phoneNavDisabled()676 CarSystemBarButton button = bottomBar.findViewById(R.id.grid_nav); in testRefreshSystemBar_appGridisabled()689 CarSystemBarButton button = getNotificationCarSystemBarButton(); in testRefreshSystemBar_notificationDisabled()801 private CarSystemBarButton getNotificationCarSystemBarButton() { in getNotificationCarSystemBarButton()
64 private CarSystemBarButton mNavButtonDefaultAppIconForRoleWithEnabled;65 private CarSystemBarButton mNavButtonDefaultAppIconForRoleWithDisabled;
76 private CarSystemBarButton mCarSystemBarButton;
28 public class CarTopSystemBarButton extends CarSystemBarButton {
33 public CarUiRecentsButtonStateProvider(Context context, CarSystemBarButton carSystemBarButton) { in CarUiRecentsButtonStateProvider()
44 public class CarUiPortraitSystemBarButton extends CarSystemBarButton {