Searched refs:ResourceReference (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/libs/hwui/ |
D | ResourceCache.cpp | 31 ResourceReference* ref = mCache->valueAt(i); in logCache() 41 mCache = new KeyedVector<void *, ResourceReference *>(); in ResourceCache() 51 ResourceReference* ref = mCache->indexOfKey(resource) >= 0 ? mCache->valueFor(resource) : NULL; in incrementRefcount() 53 ref = new ResourceReference(resourceType); in incrementRefcount() 81 ResourceReference* ref = mCache->indexOfKey(resource) >= 0 ? mCache->valueFor(resource) : NULL; in decrementRefcount() 119 ResourceReference* ref = mCache->indexOfKey(resource) >= 0 ? mCache->valueFor(resource) : NULL; in recycle() 132 ResourceReference* ref = mCache->indexOfKey(resource) >= 0 ? mCache->valueFor(resource) : NULL; in destructor() 149 ResourceReference* ref = mCache->indexOfKey(resource) >= 0 ? mCache->valueFor(resource) : NULL; in destructor() 166 ResourceReference* ref = mCache->indexOfKey(resource) >= 0 ? mCache->valueFor(resource) : NULL; in destructor() 180 ResourceReference* ref = mCache->indexOfKey(resource) >= 0 ? mCache->valueFor(resource) : NULL; in destructor() [all …]
|
D | ResourceCache.h | 38 class ResourceReference { 41 ResourceReference() { refCount = 0; recycled = false; destroyed = false;} in ResourceReference() function 42 ResourceReference(ResourceType type) { in ResourceReference() function 53 KeyedVector<void *, ResourceReference *>* mCache; 73 void deleteResourceReference(void* resource, ResourceReference* ref);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
D | FakeExpandableAdapter.java | 22 import com.android.ide.common.rendering.api.ResourceReference; 36 private final List<ResourceReference> mGroupTypes = new ArrayList<ResourceReference>(); 37 private final List<ResourceReference> mChildrenTypes = new ArrayList<ResourceReference>(); 39 public FakeExpandableAdapter(ResourceReference adapterRef, AdapterBinding binding, in FakeExpandableAdapter() 47 final int repeatCount, List<ResourceReference> types, int depth) { in createItems() 56 ResourceReference viewRef = dataBindingItem.getViewReference(); in createItems()
|
D | FakeAdapter.java | 22 import com.android.ide.common.rendering.api.ResourceReference; 41 private final List<ResourceReference> mTypes = new ArrayList<ResourceReference>(); 43 public FakeAdapter(ResourceReference adapterRef, AdapterBinding binding, in FakeAdapter() 58 ResourceReference viewRef = dataBindingItem.getViewReference(); in FakeAdapter()
|
D | BaseAdapter.java | 23 import com.android.ide.common.rendering.api.ResourceReference; 100 private final ResourceReference mAdapterRef; 105 protected BaseAdapter(ResourceReference adapterRef, AdapterBinding binding, in BaseAdapter() 177 ResourceReference resolvedRef = context.resolveId(id); in fillView()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | BridgeInflater.java | 22 import com.android.ide.common.rendering.api.ResourceReference; 49 private ResourceReference mResourceReference; 264 public void setResourceReference(ResourceReference reference) { in setResourceReference()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 23 import com.android.ide.common.rendering.api.ResourceReference; 291 public ResourceReference resolveId(int id) { in resolveId() 296 return new ResourceReference(resourceInfo.getSecond(), true); in resolveId() 304 return new ResourceReference(resourceInfo.getSecond(), false); in resolveId() 311 public Pair<View, Boolean> inflateView(ResourceReference resource, ViewGroup parent, in inflateView()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderSessionImpl.java | 33 import com.android.ide.common.rendering.api.ResourceReference; 1108 ResourceReference listRef = context.resolveId(id); in postInflateProcess()
|