Searched refs:ResourceHelper (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | CustomBar.java | 27 import com.android.layoutlib.bridge.impl.ResourceHelper; 178 Drawable d = ResourceHelper.getDrawable(backgroundValue, bridgeContext); in setStyle() 199 if (ResourceHelper.parseFloatAttribute("textSize", textSize.getValue(), out, in setStyle() 211 ColorStateList stateList = ResourceHelper.getColorStateList( in setStyle() 243 boolean translucent = ResourceHelper.getBooleanThemeValue(renderResources, in getBarColor() 249 boolean transparent = ResourceHelper.getBooleanThemeValue(renderResources, in getBarColor() 268 return ResourceHelper.getColor(resource.getValue()); in getColor()
|
D | FrameworkActionBar.java | 26 import com.android.layoutlib.bridge.impl.ResourceHelper; 232 TypedValue typedValue = ResourceHelper.getValue(null, value, false /*requireUnit*/); in getPixelValue() 247 TypedValue typedValue = ResourceHelper.getValue("actionBarSize", value.getValue(), in getActionBarHeight()
|
D | AppCompatActionBar.java | 27 import com.android.layoutlib.bridge.impl.ResourceHelper; 203 return ResourceHelper.getDrawable(value, mBridgeContext); in getDrawable()
|
D | FrameworkActionBarWrapper.java | 30 import com.android.layoutlib.bridge.impl.ResourceHelper; 373 return ResourceHelper.getDrawable(value, mContext); in getDrawable()
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
D | BridgeTypedArray.java | 28 import com.android.layoutlib.bridge.impl.ResourceHelper; 293 ColorStateList colorStateList = ResourceHelper.getColorStateList( in getColor() 308 return ResourceHelper.getColorStateList(mResourceData[index], mContext); in getColorStateList() 317 return ResourceHelper.getComplexColor(mResourceData[index], mContext); in getComplexColor() 366 if (ResourceHelper.parseFloatAttribute(mNames[index], s, mValue, true)) { in getDimension() 484 if (ResourceHelper.parseFloatAttribute(mNames[index], s, mValue, true)) { in getDimension() 518 if (ResourceHelper.parseFloatAttribute(mNames[index], value, mValue, false)) { in getFraction() 681 return ResourceHelper.getDrawable(value, mContext, mTheme); in getDrawable() 740 return s != null && ResourceHelper.parseFloatAttribute(mNames[index], s, outValue, false); in getValue() 789 if (ResourceHelper.parseFloatAttribute(null, value, new TypedValue(), false)) { in getType() [all …]
|
D | Resources_Delegate.java | 31 import com.android.layoutlib.bridge.impl.ResourceHelper; 142 return ResourceHelper.getDrawable(value.getSecond(), resources.mContext, theme); in getDrawable() 164 return ResourceHelper.getColor(resourceValue.getValue()); in getColor() 199 ColorStateList stateList = ResourceHelper.getColorStateList(resValue.getSecond(), in getColorStateList() 512 if (ResourceHelper.parseFloatAttribute( in getDimension() 540 if (ResourceHelper.parseFloatAttribute( in getDimensionPixelOffset() 569 if (ResourceHelper.parseFloatAttribute( in getDimensionPixelSize() 731 if (ResourceHelper.parseFloatAttribute(value.getFirst(), v, outValue, in getValue()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | RectShadowPainter.java | 19 import com.android.layoutlib.bridge.impl.ResourceHelper; 42 private static final int START_COLOR = ResourceHelper.getColor("#37000000"); 43 private static final int END_COLOR = ResourceHelper.getColor("#03000000");
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
D | BridgeXmlPullAttributes.java | 25 import com.android.layoutlib.bridge.impl.ResourceHelper; 215 return ResourceHelper.getColor(value); in getAttributeIntValue()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | Layout.java | 49 import static com.android.layoutlib.bridge.impl.ResourceHelper.getBooleanThemeValue; 127 Drawable d = ResourceHelper.getDrawable(builder.mWindowBackground, builder.mContext); in Layout() 411 TypedValue typedValue = ResourceHelper.getValue(attr, value.getValue(), true); in getDimension()
|
D | RenderDrawable.java | 80 Drawable d = ResourceHelper.getDrawable(drawableResource, context); in render()
|
D | ResourceHelper.java | 65 public final class ResourceHelper { class
|
D | RenderSessionImpl.java | 185 mIsAlphaChannelImage = ResourceHelper.getBooleanThemeValue(params.getResources(), in init()
|