Home
last modified time | relevance | path

Searched refs:CarSystemBarButton (Results 1 – 11 of 11) sorted by relevance

/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
H A DButtonSelectionStateController.java57 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 …]
H A DButtonRoleHolderController.java57 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()
H A DCarSystemBarButton.java50 public class CarSystemBarButton extends LinearLayout { class
91 public CarSystemBarButton(Context context, AttributeSet attrs) { in CarSystemBarButton() method in CarSystemBarButton
99 R.styleable.CarSystemBarButton); in CarSystemBarButton()
H A DHvacButton.java27 public class HvacButton extends CarSystemBarButton implements
H A DCarSystemBarView.java63 private CarSystemBarButton mNotificationsButton;
245 CarSystemBarButton button = findViewById(viewId); in setLockTaskDisabledButton()
H A DAssitantButton.java36 public class AssitantButton extends CarSystemBarButton {
/aosp12/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
H A DCarSystemBarButtonTest.java75 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 …]
H A DButtonSelectionStateControllerTest.java72 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()
H A DButtonRoleHolderControllerTest.java64 private CarSystemBarButton mNavButtonDefaultAppIconForRoleWithEnabled;
65 private CarSystemBarButton mNavButtonDefaultAppIconForRoleWithDisabled;
H A DCarSystemBarControllerTest.java554 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()
/aosp12/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/systembar/
H A DDisplayAreaButton.java26 public class DisplayAreaButton extends CarSystemBarButton {