Home | History | Annotate | Download | only in hwui

Lines Matching refs:ResourceCache

17 #include "ResourceCache.h"
23 ANDROID_SINGLETON_STATIC_INSTANCE(ResourceCache);
31 void ResourceCache::logCache() {
32 ALOGD("ResourceCache: cacheReport:");
35 ALOGD(" ResourceCache: mCache(%zu): resource, ref = 0x%p, 0x%p",
37 ALOGD(" ResourceCache: mCache(%zu): refCount, destroyed, type = %d, %d, %d",
42 ResourceCache::ResourceCache() {
47 ResourceCache::~ResourceCache() {
52 void ResourceCache::lock() {
56 void ResourceCache::unlock() {
60 void ResourceCache::incrementRefcount(void* resource, ResourceType resourceType) {
65 void ResourceCache::incrementRefcount(const Res_png_9patch* patchResource) {
69 void ResourceCache::incrementRefcountLocked(void* resource, ResourceType resourceType) {
79 void ResourceCache::decrementRefcount(void* resource) {
84 void ResourceCache::decrementRefcount(const Res_png_9patch* patchResource) {
88 void ResourceCache::decrementRefcountLocked(void* resource) {
101 void ResourceCache::decrementRefcountLocked(const Res_png_9patch* patchResource) {
105 void ResourceCache::destructor(Res_png_9patch* resource) {
110 void ResourceCache::destructorLocked(Res_png_9patch* resource) {
134 void ResourceCache::deleteResourceReferenceLocked(const void* resource, ResourceReference* ref) {