Searched refs:requireUnit (Results 1 – 1 of 1) sorted by relevance
383 public static TypedValue getValue(String attribute, String value, boolean requireUnit) { in getValue() argument384 if (parseFloatAttribute(attribute, value, mValue, requireUnit)) { in getValue()400 TypedValue outValue, boolean requireUnit) { in parseFloatAttribute() argument401 assert !requireUnit || attribute != null; in parseFloatAttribute()452 if (!requireUnit) { in parseFloatAttribute()