Searched refs:BridgeTypedArray (Results 1 – 6 of 6) sorted by relevance
/frameworks/layoutlib/bridge/tests/src/android/content/res/ |
D | BridgeTypedArrayTest.java | 40 assertEquals(TYPE_NULL, BridgeTypedArray.getType(null)); in getType() 41 assertEquals(TYPE_REFERENCE, BridgeTypedArray.getType("@drawable/my_drawable")); in getType() 42 assertEquals(TYPE_ATTRIBUTE, BridgeTypedArray.getType("?attr/colorPrimary")); in getType() 43 assertEquals(TYPE_INT_BOOLEAN, BridgeTypedArray.getType("true")); in getType() 44 assertEquals(TYPE_STRING, BridgeTypedArray.getType("False")); in getType() 45 assertEquals(TYPE_INT_HEX, BridgeTypedArray.getType("0xffa39d")); in getType() 46 assertEquals(TYPE_STRING, BridgeTypedArray.getType("0xnothex")); in getType() 47 assertEquals(TYPE_INT_COLOR_RGB4, BridgeTypedArray.getType("#f34")); in getType() 48 assertEquals(TYPE_INT_COLOR_ARGB4, BridgeTypedArray.getType("#2f34")); in getType() 49 assertEquals(TYPE_INT_COLOR_RGB8, BridgeTypedArray.getType("#f34ab4")); in getType() [all …]
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | Resources_Theme_Delegate.java | 59 BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().internalObtainStyledAttributes( in obtainStyledAttributes() 72 BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().internalObtainStyledAttributes( in obtainStyledAttributes() 84 … BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().internalObtainStyledAttributes(set, in obtainStyledAttributes()
|
D | TypedArray_Delegate.java | 33 return BridgeTypedArray.obtain(res, len); in obtain()
|
D | BridgeTypedArray.java | 76 public final class BridgeTypedArray extends TypedArray { class 93 public BridgeTypedArray(Resources resources, BridgeContext context, int len) { in BridgeTypedArray() method in BridgeTypedArray 1052 return new BridgeTypedArray(res, null, len); in obtain()
|
D | Resources_Delegate.java | 127 public static BridgeTypedArray newTypeArray(Resources resources, int numEntries) { in newTypeArray() 128 return new BridgeTypedArray(resources, getContext(resources), numEntries); in newTypeArray() 551 BridgeTypedArray typedArray = newTypeArray(resources, length); in obtainTypedArray()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 63 import android.content.res.BridgeTypedArray; 685 public final BridgeTypedArray internalObtainStyledAttributes(int resId, int[] attrs) in internalObtainStyledAttributes() 713 Pair<BridgeTypedArray, Map<ResourceReference, ResourceValue>> typeArrayAndPropertiesPair = in internalObtainStyledAttributes() 742 public BridgeTypedArray internalObtainStyledAttributes(@Nullable AttributeSet set, int[] attrs, in internalObtainStyledAttributes() 781 BridgeTypedArray ta = in internalObtainStyledAttributes() 1036 … private Pair<BridgeTypedArray, Map<ResourceReference, ResourceValue>> createStyleBasedTypedArray( in createStyleBasedTypedArray() 1040 BridgeTypedArray ta = in createStyleBasedTypedArray() 2213 Map<Integer, Pair<BridgeTypedArray, 2220 public Pair<BridgeTypedArray, Map<ResourceReference, ResourceValue>> get(int[] attrs, in get() 2222 Map<List<StyleResourceValue>, Map<Integer, Pair<BridgeTypedArray, Map<ResourceReference, in get() [all …]
|