Searched refs:CarSystemBarButton (Results 1 – 11 of 11) sorted by relevance
57 private final Set<CarSystemBarButton> mRegisteredViews = new HashSet<>();62 protected HashSet<CarSystemBarButton> mSelectedButtons;78 if (v instanceof CarSystemBarButton) { in addAllButtonsWithSelectionState()79 if (((CarSystemBarButton) v).hasSelectionState()) { in addAllButtonsWithSelectionState()80 addButtonWithSelectionState((CarSystemBarButton) v); in addAllButtonsWithSelectionState()162 private void addButtonWithSelectionState(CarSystemBarButton carSystemBarButton) { in addButtonWithSelectionState()208 HashSet<CarSystemBarButton> selectedButtons = in findSelectedButtons()223 private HashSet<CarSystemBarButton> findButtonsByComponentName( in findButtonsByComponentName()225 HashSet<CarSystemBarButton> buttons = in findButtonsByComponentName()253 public boolean add(String key, CarSystemBarButton value) { in add()[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()
50 public class CarSystemBarButton extends LinearLayout { class91 public CarSystemBarButton(Context context, AttributeSet attrs) { in CarSystemBarButton() method in CarSystemBarButton99 R.styleable.CarSystemBarButton); in CarSystemBarButton()
27 public class HvacButton extends CarSystemBarButton implements
63 private CarSystemBarButton mNotificationsButton;245 CarSystemBarButton button = findViewById(viewId); in setLockTaskDisabledButton()
36 public class AssitantButton extends CarSystemBarButton {
75 private CarSystemBarButton mDefaultButton;113 CarSystemBarButton selectedIconUndefinedButton = mTestView.findViewById( in onSelected_selectedIconUndefined_displaysSameIcon()144 CarSystemBarButton highlightWhenSelectedButton = mTestView.findViewById( in onUnselected_highlightWhenSelected_applyDefaultUnselectedAlpha()154 CarSystemBarButton highlightWhenSelectedButton = mTestView.findViewById( in onSelected_highlightWhenSelected_applyDefaultSelectedAlpha()173 CarSystemBarButton showMoreWhenSelected = mTestView.findViewById( in onSelected_showMoreWhenSelected_showsMoreIcon()184 CarSystemBarButton showMoreWhenSelected = mTestView.findViewById( in onUnselected_showMoreWhenSelected_doesNotShowMoreIcon()249 CarSystemBarButton dialerButton = mTestView.findViewById(R.id.dialer_activity); in onClick_launchesIntentActivity()261 CarSystemBarButton dialerButton = mTestView.findViewById( in onLongClick_longIntentDefined_launchesLongIntentActivity()270 CarSystemBarButton button = mTestView.findViewById(R.id.broadcast); in onClick_useBroadcast_broadcastsIntent()286 CarSystemBarButton dialerButton = in onClick_requestBackstackClear_clearBackStack()[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()
64 private CarSystemBarButton mNavButtonDefaultAppIconForRoleWithEnabled;65 private CarSystemBarButton mNavButtonDefaultAppIconForRoleWithDisabled;
554 CarSystemBarButton notifications = bottomBar.findViewById(R.id.notifications); in testToggleAllNotificationsUnseenIndicator_bottomEnabled_hasUnseen_setCorrectly()568 CarSystemBarButton notifications = bottomBar.findViewById(R.id.notifications); in testToggleAllNotificationsUnseenIndicator_bottomEnabled_noUnseen_setCorrectly()
26 public class DisplayAreaButton extends CarSystemBarButton {