Searched refs:requireUnit (Results 1 – 1 of 1) sorted by relevance
468 public static TypedValue getValue(String attribute, String value, boolean requireUnit) { in getValue() argument469 if (parseFloatAttribute(attribute, value, mValue, requireUnit)) { in getValue()485 TypedValue outValue, boolean requireUnit) { in parseFloatAttribute() argument486 assert !requireUnit || attribute != null; in parseFloatAttribute()537 if (!requireUnit) { in parseFloatAttribute()