/frameworks/av/include/media/ |
H A D | Interpolator.h | 54 : mCache(cache) 175 if (mCache) { 328 bool mCache; // whether we cache spline coefficient computation member in class:android::Interpolator
|
/frameworks/av/include/media/stagefright/ |
H A D | CallbackDataSource.h | 85 uint8_t mCache[kCacheSize]; member in class:android::TinyCacheSource
|
H A D | NuCachedSource2.h | 112 PageCache *mCache; member in struct:android::NuCachedSource2
|
/frameworks/av/media/libstagefright/ |
H A D | CallbackDataSource.cpp | 138 memcpy(data, &mCache[offset - mCachedOffset], size); 147 memcpy(data, &mCache[offset - mCachedOffset], remaining); 159 const ssize_t numRead = mSource->readAt(offset, mCache, kCacheSize); 177 memcpy(data, mCache, numToReturn);
|
H A D | MPEG4Extractor.cpp | 206 uint8_t *mCache; member in struct:android::MPEG4DataSource 218 mCache(NULL) { 226 if (mCache) { 227 free(mCache); 228 mCache = NULL; 243 memcpy(data, &mCache[offset - mCachedOffset], size); 263 mCache = (uint8_t *)malloc(size); 265 if (mCache == NULL) { 272 ssize_t err = mSource->readAt(mCachedOffset, mCache, mCachedSize);
|
H A D | NuCachedSource2.cpp | 189 mCache(new PageCache(kPageSize)), 235 delete mCache; 236 mCache = NULL; 339 mSource->reconnectAtOffset(mCacheOffset + mCache->totalSize()); 360 PageCache::Page *page = mCache->acquirePage(); 363 mCacheOffset + mCache->totalSize(), page->mData, kPageSize); 373 mCache->releasePage(page); 383 mCache->releasePage(page); 392 mCache->appendPage(page); 419 if (mFetching && mCache [all...] |
/frameworks/av/media/libstagefright/foundation/include/ |
H A D | CallbackDataSource.h | 85 uint8_t mCache[kCacheSize]; member in class:android::TinyCacheSource
|
H A D | NuCachedSource2.h | 112 PageCache *mCache; member in struct:android::NuCachedSource2
|
/frameworks/av/media/libstagefright/include/ |
H A D | CallbackDataSource.h | 85 uint8_t mCache[kCacheSize]; member in class:android::TinyCacheSource
|
H A D | NuCachedSource2.h | 112 PageCache *mCache; member in struct:android::NuCachedSource2
|
/frameworks/base/core/java/android/widget/ |
H A D | RemoteViewsAdapter.java | 82 private final FixedSizeRemoteViewsCache mCache; field in class:RemoteViewsAdapter 252 synchronized (adapter.mCache) { 253 adapter.mCache.commitTemporaryMetaData(); 310 private final FixedSizeRemoteViewsCache mCache; field in class:RemoteViewsAdapter.RemoteViewsFrameLayout 314 mCache = cache; 337 int viewHeight = mCache.getMetaData().getLoadingTemplate(getContext()).defaultHeight; 813 mCache = sCachedRemoteViewsCaches.get(key); 814 synchronized (mCache.mMetaData) { 815 if (mCache.mMetaData.count > 0) { 822 mCache [all...] |
/frameworks/base/core/tests/coretests/src/android/content/res/ |
H A D | ConfigurationBoundResourceCacheTest.java | 30 ConfigurationBoundResourceCache<Float> mCache; field in class:ConfigurationBoundResourceCacheTest 39 mCache = new ConfigurationBoundResourceCache<>(); 45 assertNull(mCache.getInstance(-1, res, null)); 50 mCache.put(1, null, new DummyFloatConstantState(5f)); 52 assertEquals(5f, mCache.getInstance(1, res, null)); 53 assertNotSame(5f, mCache.getInstance(1, res, null)); 54 assertEquals(null, mCache.getInstance(1, res, getActivity().getTheme())); 59 mCache.put(1, getActivity().getTheme(), new DummyFloatConstantState(5f)); 61 assertEquals(null, mCache.getInstance(1, res, null)); 62 assertEquals(5f, mCache [all...] |
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 421 : mError(NO_INIT), mOwnedData(NULL), mHeader(NULL), mCache(NULL) 426 : mError(NO_INIT), mOwnedData(NULL), mHeader(NULL), mCache(NULL) 637 if (mHeader != NULL && mCache != NULL) { 639 if (mCache[x] != NULL) { 640 free(mCache[x]); 641 mCache[x] = NULL; 644 free(mCache); 645 mCache = NULL; 731 if (mCache == NULL) { 742 mCache [all...] |
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | ResourceTypes.h | 534 char16_t mutable** mCache; member in class:android::ResStringPool
|
/frameworks/base/libs/hwui/ |
H A D | FboCache.cpp | 42 return mCache.size(); 54 for (size_t i = 0; i < mCache.size(); i++) { 55 const GLuint fbo = mCache.itemAt(i); 58 mCache.clear(); 63 if (mCache.size() > 0) { 64 fbo = mCache.itemAt(mCache.size() - 1); 65 mCache.removeAt(mCache.size() - 1); 73 if (mCache [all...] |
H A D | FboCache.h | 72 SortedVector<GLuint> mCache; member in class:android::uirenderer::FboCache
|
H A D | GradientCache.cpp | 66 : mCache(LruCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity) 74 mCache.setOnEntryRemovedListener(this); 78 mCache.clear(); 111 Texture* texture = mCache.get(gradient); 121 mCache.clear(); 160 LOG_ALWAYS_FATAL_IF(!mCache.removeOldest(), 173 mCache.put(gradient, texture);
|
H A D | GradientCache.h | 165 LruCache<GradientCacheEntry, Texture*> mCache; member in class:android::uirenderer::GradientCache
|
H A D | PatchCache.cpp | 37 , mCache(LruCache<PatchDescription, Patch*>::kUnlimitedCapacity) 74 LruCache<PatchDescription, Patch*>::Iterator i(mCache); 78 mCache.clear(); 90 LruCache<PatchDescription, Patch*>::Iterator i(mCache); 144 mCache.remove(*pair.getFirst()); 230 const Patch* mesh = mCache.get(description); 244 mCache.put(description, newMesh);
|
H A D | PatchCache.h | 168 LruCache<PatchDescription, Patch*> mCache; member in class:android::uirenderer::PatchCache
|
H A D | PathCache.cpp | 180 : mCache(LruCache<PathDescription, PathTexture*>::kUnlimitedCapacity) 183 mCache.setOnEntryRemovedListener(this); 193 mCache.clear(); 256 mCache.removeOldest(); 267 while (mSize > mMaxSize || mCache.size() > DEFAULT_PATH_TEXTURE_CAP) { 268 LOG_ALWAYS_FATAL_IF(!mCache.size(), "Inconsistent mSize! Ran out of items to remove!" 270 mCache.removeOldest(); 295 // Such an entry in mCache will only be temporary, since it will be evicted 305 mCache.put(entry, texture); 310 mCache [all...] |
H A D | PathCache.h | 248 return mCache.get(entry); 273 LruCache<PathDescription, PathTexture*> mCache; member in class:android::uirenderer::PathCache
|
H A D | ProgramCache.cpp | 518 mCache.clear(); 529 auto iter = mCache.find(key); 531 if (iter == mCache.end()) { 534 mCache[key] = std::unique_ptr<Program>(program);
|
H A D | ProgramCache.h | 59 std::map<programid, std::unique_ptr<Program>> mCache; member in class:android::uirenderer::ProgramCache
|
H A D | RenderBufferCache.cpp | 91 for (auto entry : mCache) { 94 mCache.clear(); 101 auto iter = mCache.find(entry); 103 if (iter != mCache.end()) { 105 mCache.erase(iter); 131 RenderBuffer* victim = mCache.begin()->mBuffer; 133 mCache.erase(mCache.begin()); 138 mCache.insert(entry);
|