Home
last modified time | relevance | path

Searched refs:requireUnit (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java468 public static TypedValue getValue(String attribute, String value, boolean requireUnit) { in getValue() argument
469 if (parseFloatAttribute(attribute, value, mValue, requireUnit)) { in getValue()
485 TypedValue outValue, boolean requireUnit) { in parseFloatAttribute() argument
486 assert !requireUnit || attribute != null; in parseFloatAttribute()
537 if (!requireUnit) { in parseFloatAttribute()