Searched defs:recycle (Results 1 - 25 of 32) sorted by relevance

12

/packages/apps/Camera/src/com/android/camera/
H A DStaticBitmapScreenNail.java29 public void recycle() { method in class:StaticBitmapScreenNail
H A DCameraScreenNail.java430 public void recycle() { method in class:CameraScreenNail
/packages/apps/Gallery2/src/com/android/camera/
H A DStaticBitmapScreenNail.java29 public void recycle() { method in class:StaticBitmapScreenNail
/packages/apps/Gallery2/src/com/android/photos/shims/
H A DLoaderCompatShim.java26 Drawable drawableForItem(T item, Drawable recycle); argument
H A DMediaItemsLoader.java144 public Drawable drawableForItem(Cursor item, Drawable recycle) { argument
146 if (recycle == null || !(recycle instanceof BitmapJobDrawable)) {
149 drawable = (BitmapJobDrawable) recycle;
H A DMediaSetLoader.java134 public Drawable drawableForItem(Cursor item, Drawable recycle) { argument
136 if (recycle == null || !(recycle instanceof BitmapJobDrawable)) {
139 drawable = (BitmapJobDrawable) recycle;
/packages/apps/Gallery/src/com/android/camera/
H A DRotateBitmap.java89 public void recycle() { method in class:RotateBitmap
91 mBitmap.recycle();
H A DUtil.java73 b.recycle();
146 // Whether we should recycle the input (unless the output is the input).
155 boolean recycle) {
184 if (recycle) {
185 source.recycle();
220 if (recycle && b1 != source) {
221 source.recycle();
235 if (recycle || b1 != source) {
236 b1.recycle();
150 transform(Matrix scaler, Bitmap source, int targetWidth, int targetHeight, boolean scaleUp, boolean recycle) argument
H A DImageViewTouchBase.java67 public void recycle(Bitmap b); method in interface:ImageViewTouchBase.Recycler
136 mRecycler.recycle(old);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DBitmapScreenNail.java53 public void recycle() { method in class:BitmapScreenNail
54 mBitmapTexture.recycle();
H A DScreenNail.java31 public void recycle(); method in interface:ScreenNail
H A DBitmapLoader.java85 public synchronized void recycle() { method in class:BitmapLoader
H A DBitmapTileProvider.java93 public void recycle() { method in class:BitmapTileProvider
100 mScreenNail.recycle();
H A DSurfaceTextureScreenNail.java79 mExtTexture.recycle();
138 abstract public void recycle(); method in class:SurfaceTextureScreenNail
H A DTiledScreenNail.java86 // Returns the used one and recycle the unused one.
93 recycle();
98 // height, and Bitmap, then recycle the other.
104 if (mTexture != null) mTexture.recycle();
110 newer.recycle();
135 public void recycle() { method in class:TiledScreenNail
137 mTexture.recycle();
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DBytesBufferPool.java79 public synchronized void recycle(BytesBuffer buffer) { method in class:BytesBufferPool
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DBitmapUtils.java117 Bitmap bitmap, float scale, boolean recycle) {
127 if (recycle) bitmap.recycle();
140 Bitmap bitmap, int maxLength, boolean recycle) {
146 return resizeBitmapByScale(bitmap, scale, recycle);
149 public static Bitmap resizeAndCropCenter(Bitmap bitmap, int size, boolean recycle) { argument
166 if (recycle) bitmap.recycle();
173 bitmap.recycle();
175 Log.w(TAG, "unable recycle bitma
116 resizeBitmapByScale( Bitmap bitmap, float scale, boolean recycle) argument
139 resizeDownBySideLength( Bitmap bitmap, int maxLength, boolean recycle) argument
179 rotateBitmap(Bitmap source, int rotation, boolean recycle) argument
[all...]
/packages/apps/Gallery2/src/com/android/photos/data/
H A DPhotoSetLoader.java84 public Drawable drawableForItem(Cursor item, Drawable recycle) { argument
86 if (recycle == null || !(recycle instanceof DataUriThumbnailDrawable)) {
89 drawable = (DataUriThumbnailDrawable) recycle;
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetModel.java264 final Time recycle = new Time(timeZone);
270 recycle.setToNow();
273 mHomeTZName = TimeZone.getTimeZone(timeZone).getDisplayName(recycle.isDst != 0,
298 start = Utils.convertAlldayUtcToLocal(recycle, start, tz);
299 end = Utils.convertAlldayUtcToLocal(recycle, end, tz);
336 final DayInfo dayInfo = populateDayInfo(day, recycle);
407 private DayInfo populateDayInfo(int julianDay, Time recycle) { argument
408 long millis = recycle.setJulianDay(julianDay);
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DBasicTexture.java157 // recycle() is called when the texture will never be used again,
159 public void recycle() { method in class:BasicTexture
185 recycle();
189 // This is for deciding if we can call Bitmap's recycle().
190 // We cannot call Bitmap's recycle() in finalizer because at that point
191 // the finalizer of Bitmap may already be called so recycle() will crash.
H A DNinePatchTexture.java149 removed.recycle(canvas);
168 public void recycle() { method in class:NinePatchTexture
169 super.recycle();
175 instance.recycle(canvas);
416 public void recycle(GLCanvas canvas) { method in class:NinePatchInstance
H A DUploadedTexture.java38 // The user of this class should call recycle() when the texture is not
294 public void recycle() { method in class:UploadedTexture
295 super.recycle();
H A DTiledTexture.java220 public void recycle() { method in class:TiledTexture
/packages/apps/Mms/src/com/android/mms/util/
H A DThumbnailManager.java393 Bitmap bitmap, int maxLength, boolean recycle) {
399 return resizeBitmapByScale(bitmap, scale, recycle);
403 Bitmap bitmap, float scale, boolean recycle) {
413 if (recycle) bitmap.recycle();
431 bitmap.recycle();
513 Bitmap bitmap, int targetSize, boolean recycle) {
519 return resizeBitmapByScale(bitmap, scale, recycle);
392 resizeDownBySideLength( Bitmap bitmap, int maxLength, boolean recycle) argument
402 resizeBitmapByScale( Bitmap bitmap, float scale, boolean recycle) argument
512 resizeDownIfTooBig( Bitmap bitmap, int targetSize, boolean recycle) argument
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DPhotoSource.java308 public void recycle(Bitmap trash) { method in class:PhotoSource
311 trash.recycle();

Completed in 313 milliseconds

12