Searched refs:ResourceType (Results 1 - 14 of 14) sorted by relevance
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | DynamicIdMap.java | 19 import com.android.resources.ResourceType; 29 private final Map<Pair<ResourceType, String>, Integer> mDynamicIds = new HashMap<Pair<ResourceType, String>, Integer>(); 30 private final SparseArray<Pair<ResourceType, String>> mRevDynamicIds = new SparseArray<Pair<ResourceType, String>>(); 51 public Integer getId(ResourceType type, String name) { 62 public Integer getId(Pair<ResourceType, String> resource) { 73 public Pair<ResourceType, String> resolveId(int id) {
|
/frameworks/base/libs/hwui/ |
H A D | ResourceCache.h | 38 enum ResourceType { enum in namespace:android::uirenderer 51 ResourceReference(ResourceType type) { 58 ResourceType resourceType; 119 void incrementRefcount(void* resource, ResourceType resourceType); 120 void incrementRefcountLocked(void* resource, ResourceType resourceType);
|
H A D | ResourceCache.cpp | 59 void ResourceCache::incrementRefcount(void* resource, ResourceType resourceType) { 92 void ResourceCache::incrementRefcountLocked(void* resource, ResourceType resourceType) {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | StatusBar.java | 20 import com.android.resources.ResourceType;
|
H A D | CustomBar.java | 29 import com.android.resources.ResourceType; 176 protected Drawable loadIcon(int index, ResourceType type, String name) {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | Bridge.java | 34 import com.android.resources.ResourceType; 87 private final static Map<Integer, Pair<ResourceType, String>> sRMap = 88 new HashMap<Integer, Pair<ResourceType, String>>(); 98 private final static Map<ResourceType, Map<String, Integer>> sRevRMap = 99 new EnumMap<ResourceType, Map<String,Integer>>(ResourceType.class); 269 ResourceType resType = ResourceType.getEnum(resTypeName); 487 public static Pair<ResourceType, String> resolveResourceId(int value) { 488 Pair<ResourceType, Strin [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | BridgeInflater.java | 28 import com.android.resources.ResourceType; 162 Pair<ResourceType, String> layoutInfo = Bridge.resolveResourceId(resource); 165 ResourceType.LAYOUT, layoutInfo.getSecond()); 171 ResourceType.LAYOUT, layoutInfo.getSecond());
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderDrawable.java | 27 import com.android.resources.ResourceType; 71 drawableResource.getResourceType() != ResourceType.DRAWABLE) {
|
H A D | RenderAction.java | 32 import com.android.resources.ResourceType; 386 public Integer getId(ResourceType resType, String resName) {
|
H A D | RenderSessionImpl.java | 52 import com.android.resources.ResourceType; 651 ResourceType.ANIMATOR, animationName); 653 animationId = Bridge.getResourceId(ResourceType.ANIMATOR, animationName); 657 ResourceType.ANIMATOR, animationName); 660 ResourceType.ANIMATOR, animationName); 1055 ResourceValue value = resources.getFrameworkResource(ResourceType.DIMEN, 1163 ResourceValue value = resources.getFrameworkResource(ResourceType.DIMEN, 1360 Pair<ResourceType, String> resource = projectCallback.resolveResourceId(id);
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | BridgeXmlPullAttributes.java | 25 import com.android.resources.ResourceType; 61 Integer v = Bridge.getResourceId(ResourceType.ATTR, name); 72 Integer v = mContext.getProjectCallback().getResourceId(ResourceType.ATTR, name);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeContext.java | 31 import com.android.resources.ResourceType; 255 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(resid); 303 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(id); 348 resValue = mRenderResources.getFrameworkResource(ResourceType.LAYOUT, 351 resValue = mRenderResources.getProjectResource(ResourceType.LAYOUT, 600 Pair<ResourceType, String> value = Bridge.resolveResourceId(defStyleRes); 607 if (value.getFirst() == ResourceType.STYLE) { 773 Pair<ResourceType, String> resolvedResource = Bridge.resolveResourceId(attrs[i]); 799 Pair<ResourceType, String> info = Bridge.resolveResourceId(attr); 842 public int getFrameworkResourceValue(ResourceType resTyp [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeTypedArray.java | 31 import com.android.resources.ResourceType; 240 ResourceValue attr = res.getProjectResource(ResourceType.ATTR, mNames[index]); 726 return mContext.getFrameworkResourceValue(ResourceType.ID, idName, defValue); 730 return mContext.getProjectResourceValue(ResourceType.ID, idName, defValue);
|
H A D | BridgeResources.java | 29 import com.android.resources.ResourceType; 129 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(id); 676 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(id);
|
Completed in 334 milliseconds