HomeSort by relevance Sort by last modified time
    Searched refs:BitmapCache (Results 1 - 25 of 37) sorted by null

1 2

  /frameworks/opt/bitmap/src/com/android/bitmap/
BitmapCache.java 19 public interface BitmapCache extends PooledCache<RequestKey, ReusableBitmap> {
UnrefedBitmapCache.java 36 implements BitmapCache {
  /frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/graphics/
ImageLoader.java 35 private static final BitmapCache CACHE = new BitmapCache(
90 private static class BitmapCache extends LruCache<Long, Bitmap> {
91 BitmapCache(int maxSize) {
  /packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
AccountAvatarDrawable.java 23 import com.android.bitmap.BitmapCache;
32 public AccountAvatarDrawable(final Resources res, final BitmapCache cache,
ContactResolver.java 25 import com.android.bitmap.BitmapCache;
58 private final BitmapCache mCache;
77 public ContactResolver(final ContentResolver resolver, final BitmapCache cache) {
115 public BitmapCache getCache() {
162 private final BitmapCache mCache;
166 final ContentResolver resolver, final BitmapCache cache,
AbstractAvatarDrawable.java 30 import com.android.bitmap.BitmapCache;
43 * For better performance, you should define a cache with {@link #setBitmapCache(BitmapCache)}.
48 private BitmapCache mCache;
81 public void setBitmapCache(final BitmapCache cache) {
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
Buffer.java 24 import com.android.gallery3d.filtershow.cache.BitmapCache;
37 BitmapCache cache = MasterImage.getImage().getBitmapCache();
38 mBitmap = cache.getBitmapCopy(bitmap, BitmapCache.PREVIEW_CACHE);
91 BitmapCache cache = MasterImage.getImage().getBitmapCache();
FilterEnvironment.java 24 import com.android.gallery3d.filtershow.cache.BitmapCache;
41 private BitmapCache mBitmapCache;
58 public void setBitmapCache(BitmapCache cache) {
171 public BitmapCache getBimapCache() {
CacheProcessing.java 22 import com.android.gallery3d.filtershow.cache.BitmapCache;
136 return environment.getBitmapCopy(originalBitmap, BitmapCache.PREVIEW_CACHE_NO_FILTERS);
194 BitmapCache.PREVIEW_CACHE_NO_ROOT);
211 BitmapCache.PREVIEW_CACHE_NO_ROOT);
229 cacheBitmap = environment.getBitmapCopy(cacheBitmap, BitmapCache.PREVIEW_CACHE);
259 return environment.getBitmapCopy(cacheBitmap, BitmapCache.PREVIEW_CACHE_NO_APPLY);
CachingPipeline.java 31 import com.android.gallery3d.filtershow.cache.BitmapCache;
226 bitmap = mEnvironment.getBitmapCopy(bitmap, BitmapCache.HIGHRES);
251 bitmap = mEnvironment.getBitmapCopy(bitmap, BitmapCache.GEOMETRY);
273 bitmap = mEnvironment.getBitmapCopy(bitmap, BitmapCache.FILTERS);
357 iconBounds.height(), BitmapCache.ICON);
369 bitmap = mEnvironment.getBitmapCopy(source, BitmapCache.ICON);
RenderingRequest.java 24 import com.android.gallery3d.filtershow.cache.BitmapCache;
75 source.getWidth(), source.getHeight(), BitmapCache.RENDERING_REQUEST);
  /packages/apps/UnifiedEmail/src/com/android/mail/drawer/
AccountDrawerItem.java 22 import com.android.bitmap.BitmapCache;
33 private final BitmapCache mImagesCache;
37 int unreadCount, boolean isCurrentAccount, BitmapCache cache,
DrawerItem.java 24 import com.android.bitmap.BitmapCache;
42 * {@link DrawerItem#ofAccount(ControllableActivity, Account, int, boolean, BitmapCache,
144 int unreadCount, boolean isCurrentAccount, BitmapCache cache,
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
ControllableActivity.java 22 import com.android.bitmap.BitmapCache;
113 ContactResolver getContactResolver(ContentResolver resolver, BitmapCache bitmapCache);
115 BitmapCache getSenderImageCache();
AccountItemView.java 27 import com.android.bitmap.BitmapCache;
72 final BitmapCache imagesCache, final ContactResolver contactResolver) {
MailActivity.java 39 import com.android.bitmap.BitmapCache;
90 private BitmapCache mSendersImageCache;
465 public ContactResolver getContactResolver(ContentResolver resolver, BitmapCache bitmapCache) {
466 return new ContactResolver(resolver, bitmapCache);
470 public BitmapCache getSenderImageCache() {
479 private BitmapCache createNewSenderImageCache() {
FolderSelectionActivity.java 35 import com.android.bitmap.BitmapCache;
438 public ContactResolver getContactResolver(ContentResolver resolver, BitmapCache bitmapCache) {
444 public BitmapCache getSenderImageCache() {
  /frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
BackgroundHelper.java 34 * 2. Using a BitmapCache to cache loaded bitmaps.
47 * An very simple example of BitmapCache.
49 public static class BitmapCache {
53 // Singleton BitmapCache shared by multiple activities/backgroundHelper.
54 static BitmapCache sInstance = new BitmapCache();
56 private BitmapCache() {
80 * Add singleton of BitmapCache shared across activities.
82 public static BitmapCache getInstance() {
141 BitmapCache.getInstance().putCache(request.mImageToken, request.mResult)
    [all...]
  /frameworks/opt/bitmap/src/com/android/bitmap/drawable/
CircularBitmapDrawable.java 32 import com.android.bitmap.BitmapCache;
49 BitmapCache cache, boolean limitDensity) {
54 BitmapCache cache, boolean limitDensity, ExtendedOptions opts) {
BasicBitmapDrawable.java 28 import com.android.bitmap.BitmapCache;
67 private final BitmapCache mCache;
96 public BasicBitmapDrawable(final Resources res, final BitmapCache cache,
  /frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
MainActivity.java 29 import com.android.bitmap.BitmapCache;
38 private final BitmapCache mCache = new UnrefedBitmapCache(TARGET_CACHE_SIZE_BYTES, 0, 0);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterTinyPlanet.java 26 import com.android.gallery3d.filtershow.cache.BitmapCache;
97 outputSize, BitmapCache.TINY_PLANET);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
MasterImage.java 31 import com.android.gallery3d.filtershow.cache.BitmapCache;
117 private BitmapCache mBitmapCache = new BitmapCache();
422 mPreviousImage = mBitmapCache.getBitmapCopy(getFilteredImage(), BitmapCache.NEW_LOOK);
829 public BitmapCache getBitmapCache() {
GeometryMathUtils.java 27 import com.android.gallery3d.filtershow.cache.BitmapCache;
319 BitmapCache bitmapCache = MasterImage.getImage().getBitmapCache();
320 Bitmap temp = bitmapCache.getBitmap(frame.width(),
321 frame.height(), BitmapCache.UTIL_GEOMETRY);
394 BitmapCache cache = MasterImage.getImage().getBitmapCache();
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
ImageLoader.java 254 public static Bitmap loadRegionBitmap(Context context, BitmapCache cache,
277 imageBounds.height(), BitmapCache.REGION);
416 BitmapCache cache,

Completed in 237 milliseconds

1 2