Searched refs:requireUnit (Results 1 – 1 of 1) sorted by relevance
559 public static TypedValue getValue(String attribute, String value, boolean requireUnit) { in getValue() argument560 if (parseFloatAttribute(attribute, value, mValue, requireUnit)) { in getValue()576 TypedValue outValue, boolean requireUnit) { in parseFloatAttribute() argument577 assert !requireUnit || attribute != null; in parseFloatAttribute()628 if (!requireUnit) { in parseFloatAttribute()