HomeSort by relevance Sort by last modified time
    Searched refs:ReusableBitmap (Results 1 - 8 of 8) sorted by null

  /frameworks/opt/bitmap/src/com/android/bitmap/
BitmapCache.java 19 public interface BitmapCache extends PooledCache<RequestKey, ReusableBitmap> {
UnrefedBitmapCache.java 22 import com.android.bitmap.ReusableBitmap.NullReusableBitmap;
35 public class UnrefedBitmapCache extends UnrefedPooledCache<RequestKey, ReusableBitmap>
72 protected int sizeOf(final ReusableBitmap value) {
83 public ReusableBitmap poll() {
84 ReusableBitmap bitmap;
108 public void offer(final ReusableBitmap value) {
120 public ReusableBitmap get(final RequestKey key, final boolean incrementRefCount) {
131 public ReusableBitmap put(final RequestKey key, final ReusableBitmap value) {
ReusableBitmap.java 25 public class ReusableBitmap implements Poolable {
35 public ReusableBitmap(final Bitmap bitmap) {
39 public ReusableBitmap(final Bitmap bitmap, final boolean reusable) {
120 * ReusableBitmap with a null bmp field because that will render that ReusableBitmap useless
123 public final static class NullReusableBitmap extends ReusableBitmap {
DecodeTask.java 46 * {@link ReusableBitmap} will be marked as not reusable
47 * ({@link ReusableBitmap#isEligibleForPooling()} will return false).
49 public class DecodeTask extends AsyncTask<Void, Void, ReusableBitmap> {
58 private ReusableBitmap mInBitmap = null;
77 * The task is now complete and the ReusableBitmap is available for use. Clients should
80 void onDecodeComplete(RequestKey key, ReusableBitmap result);
82 * The task has been canceled, and {@link #onDecodeComplete(RequestKey, ReusableBitmap)}
108 protected ReusableBitmap doInBackground(Void... params) {
115 public ReusableBitmap decode() {
120 ReusableBitmap result = null
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
ContactResolver.java 28 import com.android.bitmap.ReusableBitmap;
72 public void onDecodeComplete(final RequestKey key, final ReusableBitmap result);
232 final ReusableBitmap result = new DecodeTask(request.contactRequest, opts, null,
258 final ReusableBitmap bitmap = values[0].bitmap;
282 public final ReusableBitmap bitmap;
284 private Result(final ContactRequestHolder request, final ReusableBitmap bitmap) {
AbstractAvatarDrawable.java 32 import com.android.bitmap.ReusableBitmap;
52 protected ReusableBitmap mBitmap;
191 ReusableBitmap cached = null;
211 private void setBitmap(final ReusableBitmap bmp) {
220 public void onDecodeComplete(RequestKey key, ReusableBitmap result) {
  /frameworks/opt/bitmap/src/com/android/bitmap/drawable/
BasicBitmapDrawable.java 36 import com.android.bitmap.ReusableBitmap;
72 private ReusableBitmap mBitmap;
114 protected ReusableBitmap getBitmap() {
244 final ReusableBitmap cached = mCache.get(key, true /* incrementRefCount */);
263 protected void setBitmap(ReusableBitmap bmp) {
448 public void onDecodeComplete(final RequestKey key, final ReusableBitmap result) {
ExtendedBitmapDrawable.java 38 import com.android.bitmap.ReusableBitmap;
202 protected void setBitmap(ReusableBitmap bmp) {
354 public void onDecodeComplete(final RequestKey key, final ReusableBitmap result) {

Completed in 75 milliseconds