Home
last modified time | relevance | path

Searched refs:ResourceReference (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/hwui/
DResourceCache.cpp31 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 …]
DResourceCache.h38 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/
DFakeExpandableAdapter.java22 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()
DFakeAdapter.java22 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()
DBaseAdapter.java23 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/
DBridgeInflater.java22 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/
DBridgeContext.java23 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/
DRenderSessionImpl.java33 import com.android.ide.common.rendering.api.ResourceReference;
1108 ResourceReference listRef = context.resolveId(id); in postInflateProcess()