Searched refs:uxr (Results 1 – 9 of 9) sorted by relevance
135 @Nullable CarUxRestrictions uxr) { in isRestricted() argument136 return (uxr == null) || ((uxr.getActiveRestrictions() & restrictionFlags) != 0); in isRestricted()143 public static String complyString(Context context, String str, CarUxRestrictions uxr) { in complyString() argument145 if (isRestricted(UX_RESTRICTIONS_LIMIT_STRING_LENGTH, uxr)) { in complyString()146 int maxLength = uxr == null in complyString()148 : uxr.getMaxRestrictedStringLength(); in complyString()
134 @CarUxRestrictionsInfo int restrictionFlags, @Nullable CarUxRestrictions uxr) { in isRestricted() argument135 return (uxr == null) || ((uxr.getActiveRestrictions() & restrictionFlags) != 0); in isRestricted()142 public static String complyString(Context context, String str, CarUxRestrictions uxr) { in complyString() argument144 if (isRestricted(UX_RESTRICTIONS_LIMIT_STRING_LENGTH, uxr)) { in complyString()146 uxr == null in complyString()149 : uxr.getMaxRestrictedStringLength(); in complyString()
16 package com.android.car.ui.uxr;
207 @CarUxRestrictions.CarUxRestrictionsInfo int uxr) { in createUxRestrictionsEvent() argument211 if (uxr != CarUxRestrictions.UX_RESTRICTIONS_BASELINE) { in createUxRestrictionsEvent()214 CarUxRestrictions.Builder builder = new CarUxRestrictions.Builder(requiresOpt, uxr, in createUxRestrictionsEvent()
16 package com.google.android.car.uxr.sample;
41 import com.android.car.ui.uxr.DrawableStateView;