Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/utils/
DCarUxRestrictionsUtil.java58 (carUxRestrictions) -> { in CarUxRestrictionsUtil()
59 if (carUxRestrictions == null) { in CarUxRestrictionsUtil()
62 mCarUxRestrictions = carUxRestrictions; in CarUxRestrictionsUtil()
96 void onRestrictionsChanged(@NonNull CarUxRestrictions carUxRestrictions); in onRestrictionsChanged() argument
161 public void setUxRestrictions(CarUxRestrictions carUxRestrictions) { in setUxRestrictions() argument
162 mCarUxRestrictions = carUxRestrictions; in setUxRestrictions()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DCarUxRestrictionsUtil.java56 CarUxRestrictionsManager.OnUxRestrictionsChangedListener listener = (carUxRestrictions) -> { in CarUxRestrictionsUtil()
57 if (carUxRestrictions == null) { in CarUxRestrictionsUtil()
60 mCarUxRestrictions = carUxRestrictions; in CarUxRestrictionsUtil()
99 void onRestrictionsChanged(@NonNull CarUxRestrictions carUxRestrictions); in onRestrictionsChanged() argument
DUxrTextView.java71 private void updateCarUxRestrictions(CarUxRestrictions carUxRestrictions) { in updateCarUxRestrictions() argument
72 mCarUxRestrictions = carUxRestrictions; in updateCarUxRestrictions()
DUxrButton.java137 private void updateActiveCarUxRestrictions(CarUxRestrictions carUxRestrictions) { in updateActiveCarUxRestrictions() argument
138 mActiveCarUxRestrictions = carUxRestrictions; in updateActiveCarUxRestrictions()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DCarUxRestrictionsHelper.java92 public static boolean isNoSetup(CarUxRestrictions carUxRestrictions) { in isNoSetup() argument
93 return (carUxRestrictions.getActiveRestrictions() in isNoSetup()
DBaseFragment.java64 protected boolean canBeShown(@NonNull CarUxRestrictions carUxRestrictions) { in canBeShown() argument
65 return !CarUxRestrictionsHelper.isNoSetup(carUxRestrictions); in canBeShown()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DCarUiRecyclerView.java377 public void onRestrictionsChanged(@NonNull CarUxRestrictions carUxRestrictions) { in onRestrictionsChanged() argument
386 if ((carUxRestrictions.getActiveRestrictions() in onRestrictionsChanged()
389 maxItems = carUxRestrictions.getMaxCumulativeContentItems(); in onRestrictionsChanged()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DPagedRecyclerView.java304 private void updateCarUxRestrictions(CarUxRestrictions carUxRestrictions) { in updateCarUxRestrictions() argument
311 if ((carUxRestrictions.getActiveRestrictions() in updateCarUxRestrictions()
313 maxItems = carUxRestrictions.getMaxCumulativeContentItems(); in updateCarUxRestrictions()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationViewAdapter.java530 public void setCarUxRestrictions(CarUxRestrictions carUxRestrictions) { in setCarUxRestrictions() argument
532 mCarUxRestrictions = carUxRestrictions; in setCarUxRestrictions()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUserSwitcherFragment.java70 public boolean canBeShown(CarUxRestrictions carUxRestrictions) { in canBeShown() argument
/packages/apps/Car/Media/src/com/android/car/media/
DMediaActivity.java126 (carUxRestrictions) -> mActiveCarUxRestrictions = carUxRestrictions;