/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | DynamicIdMap.java | 19 import com.android.resources.ResourceType; 29 …private final Map<Pair<ResourceType, String>, Integer> mDynamicIds = new HashMap<Pair<ResourceType… 30 …private final SparseArray<Pair<ResourceType, String>> mRevDynamicIds = new SparseArray<Pair<Resour… 51 public Integer getId(ResourceType type, String name) { in getId() 62 public Integer getId(Pair<ResourceType, String> resource) { in getId() argument 73 public Pair<ResourceType, String> resolveId(int id) { in resolveId()
|
/frameworks/base/libs/hwui/ |
D | ResourceCache.h | 33 enum ResourceType { enum 44 ResourceReference(ResourceType type) { in ResourceReference() 51 ResourceType resourceType; 63 void incrementRefcount(const void* resource, ResourceType resourceType); 76 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 | 34 import com.android.resources.ResourceType; 84 private final static Map<Integer, Pair<ResourceType, String>> sRMap = 85 new HashMap<Integer, Pair<ResourceType, String>>(); 95 private final static Map<ResourceType, Map<String, Integer>> sRevRMap = 96 new EnumMap<ResourceType, Map<String,Integer>>(ResourceType.class); 264 ResourceType resType = ResourceType.getEnum(resTypeName); in init() 468 public static Pair<ResourceType, String> resolveResourceId(int value) { in resolveResourceId() 469 Pair<ResourceType, String> pair = sRMap.get(value); in resolveResourceId() 494 public static Integer getResourceId(ResourceType type, String name) { in getResourceId()
|
/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; 156 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; 247 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(resid); in resolveThemeAttribute() 295 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(id); in resolveId() 340 resValue = mRenderResources.getFrameworkResource(ResourceType.LAYOUT, in inflateView() 343 resValue = mRenderResources.getProjectResource(ResourceType.LAYOUT, in inflateView() 594 Pair<ResourceType, String> value = Bridge.resolveResourceId(defStyleRes); in obtainStyledAttributes() 601 if (value.getFirst() == ResourceType.STYLE) { in obtainStyledAttributes() 765 Pair<ResourceType, String> resolvedResource = Bridge.resolveResourceId(attrs[i]); in searchAttrs() 791 Pair<ResourceType, String> info = Bridge.resolveResourceId(attr); in searchAttr() 834 public int getFrameworkResourceValue(ResourceType resType, String resName, int defValue) { in getFrameworkResourceValue() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
D | BridgeXmlPullAttributes.java | 25 import com.android.resources.ResourceType; 61 Integer v = Bridge.getResourceId(ResourceType.ATTR, name); in getAttributeNameResource() 72 Integer v = mContext.getProjectCallback().getResourceId(ResourceType.ATTR, name); in getAttributeNameResource()
|
/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() 976 ResourceValue value = resources.getFrameworkResource(ResourceType.DIMEN, in findStatusBar() 1057 ResourceValue value = resources.getFrameworkResource(ResourceType.DIMEN, in findSystemBar() 1245 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; 240 ResourceValue attr = res.getProjectResource(ResourceType.ATTR, mNames[index]); in getInt() 726 return mContext.getFrameworkResourceValue(ResourceType.ID, idName, defValue); in getResourceId() 730 return mContext.getProjectResourceValue(ResourceType.ID, idName, defValue); in getResourceId()
|
D | BridgeResources.java | 29 import com.android.resources.ResourceType; 129 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(id); in getResourceValue() 676 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(id); in throwException()
|