Searched refs:requireUnit (Results 1 – 1 of 1) sorted by relevance
558 public static TypedValue getValue(String attribute, String value, boolean requireUnit) { in getValue() argument559 if (parseFloatAttribute(attribute, value, mValue, requireUnit)) { in getValue()575 TypedValue outValue, boolean requireUnit) { in parseFloatAttribute() argument576 assert !requireUnit || attribute != null; in parseFloatAttribute()627 if (!requireUnit) { in parseFloatAttribute()