Searched refs:ResourceType (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/libs/hwui/ |
D | ResourceCache.h | 31 enum ResourceType { enum 42 ResourceReference(ResourceType type) { in ResourceReference() 49 ResourceType resourceType; 61 void incrementRefcount(const void* resource, ResourceType resourceType); 74 void incrementRefcount(void* resource, ResourceType resourceType);
|
D | ResourceCache.cpp | 49 void ResourceCache::incrementRefcount(void* resource, ResourceType resourceType) { in incrementRefcount()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | Bridge.java | 33 import com.android.resources.ResourceType; 83 private final static Map<Integer, Pair<ResourceType, String>> sRMap = 84 new HashMap<Integer, Pair<ResourceType, String>>(); 94 private final static Map<ResourceType, Map<String, Integer>> sRFullMap = 95 new EnumMap<ResourceType, Map<String,Integer>>(ResourceType.class); 255 ResourceType resType = ResourceType.getEnum(resTypeName); in init() 459 public static Pair<ResourceType, String> resolveResourceId(int value) { in resolveResourceId() 478 public static Integer getResourceId(ResourceType type, String name) { in getResourceId()
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
D | BridgeXmlPullAttributes.java | 24 import com.android.resources.ResourceType; 63 Integer v = Bridge.getResourceId(ResourceType.ATTR, name); in getAttributeNameResource() 74 Integer v = mContext.getProjectCallback().getResourceId(ResourceType.ATTR, name); in getAttributeNameResource()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | TabletSystemBar.java | 20 import com.android.resources.ResourceType; 44 Drawable drawable = loadIcon(5, ResourceType.DRAWABLE, "stat_sys_battery_charge"); in TabletSystemBar()
|
D | PhoneSystemBar.java | 20 import com.android.resources.ResourceType; 44 Drawable drawable = loadIcon(2, ResourceType.DRAWABLE, "stat_sys_battery_charge"); in PhoneSystemBar()
|
D | CustomBar.java | 28 import com.android.resources.ResourceType; 148 protected Drawable loadIcon(int index, ResourceType type, String name) { in loadIcon()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | BridgeInflater.java | 28 import com.android.resources.ResourceType; 162 Pair<ResourceType, String> layoutInfo = Bridge.resolveResourceId(resource); in inflate() 165 ResourceType.LAYOUT, layoutInfo.getSecond()); in inflate() 171 ResourceType.LAYOUT, layoutInfo.getSecond()); in inflate()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 30 import com.android.resources.ResourceType; 248 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(resid); in resolveThemeAttribute() 293 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(id); in resolveId() 343 resValue = mRenderResources.getFrameworkResource(ResourceType.LAYOUT, in inflateView() 346 resValue = mRenderResources.getProjectResource(ResourceType.LAYOUT, in inflateView() 577 Pair<ResourceType, String> value = Bridge.resolveResourceId(defStyleRes); in obtainStyledAttributes() 583 if (value.getFirst() == ResourceType.STYLE) { in obtainStyledAttributes() 701 Pair<ResourceType, String> resolvedResource = Bridge.resolveResourceId(attrs[i]); in createStyleBasedTypedArray() 745 Pair<ResourceType, String> info = Bridge.resolveResourceId(attrs[i]); in searchAttrs() 770 Pair<ResourceType, String> info = mProjectCallback.resolveResourceId(attrs[i]); in searchAttrs() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderDrawable.java | 26 import com.android.resources.ResourceType; 69 drawableResource.getResourceType() != ResourceType.DRAWABLE) { in render()
|
D | RenderSessionImpl.java | 51 import com.android.resources.ResourceType; 572 ResourceType.ANIMATOR, animationName); in animate() 574 animationId = Bridge.getResourceId(ResourceType.ANIMATOR, animationName); in animate() 578 ResourceType.ANIMATOR, animationName); in animate() 581 ResourceType.ANIMATOR, animationName); in animate() 974 ResourceValue value = resources.getFrameworkResource(ResourceType.DIMEN, in findStatusBar() 1055 ResourceValue value = resources.getFrameworkResource(ResourceType.DIMEN, in findSystemBar() 1242 Pair<ResourceType, String> resource = projectCallback.resolveResourceId(id); in setupTabHost()
|
D | RenderAction.java | 31 import com.android.resources.ResourceType; 352 public Integer getId(ResourceType resType, String resName) { in getId()
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
D | BridgeTypedArray.java | 31 import com.android.resources.ResourceType; 231 ResourceValue styleable = res.getProjectResource(ResourceType.DECLARE_STYLEABLE, in getInt() 718 return mContext.getFrameworkResourceValue(ResourceType.ID, idName, defValue); in getResourceId() 722 return mContext.getProjectResourceValue(ResourceType.ID, idName, defValue); in getResourceId()
|
D | BridgeResources.java | 29 import com.android.resources.ResourceType; 131 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(id); in getResourceValue() 678 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(id); in throwException()
|