Searched defs:recycle (Results 1 - 25 of 26) 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.java384 public void recycle() { method in class:CameraScreenNail
/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);
H A DViewImage.java527 bitmap.recycle();
1262 // do not happen to recycle the image being displayed.
1264 best.mBitmap.recycle();
1275 e.mBitmap.recycle();
1289 public synchronized void recycle(Bitmap b) { method in class:BitmapCache
1297 b.recycle();
H A DGridViewSpecial.java234 mImageBlockManager.recycle();
469 mImageBlockManager.recycle();
890 // After calling recycle(), the instance should not be used anymore.
891 public void recycle() { method in class:ImageBlockManager
893 blk.recycle();
896 mEmptyBitmap.recycle();
1000 // After recycle, the ImageBlock instance should not be accessed.
1001 public void recycle() { method in class:ImageBlockManager.ImageBlock
1003 mBitmap.recycle();
1082 b.recycle();
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DBitmapPool.java76 public void recycle(Bitmap bitmap) { method in class:BitmapPool
80 bitmap.recycle();
H A DBytesBufferPool.java79 public synchronized void recycle(BytesBuffer buffer) { method in class:BytesBufferPool
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DBitmapScreenNail.java50 public void recycle() { method in class:BitmapScreenNail
51 mBitmapTexture.recycle();
H A DScreenNail.java29 public void recycle(); method in interface:ScreenNail
H A DBitmapLoader.java84 public synchronized void recycle() { method in class:BitmapLoader
H A DBitmapTileProvider.java95 public void recycle() { method in class:BitmapTileProvider
102 mScreenNail.recycle();
H A DSurfaceTextureScreenNail.java77 mExtTexture.recycle();
136 abstract public void recycle(); method in class:SurfaceTextureScreenNail
H A DBasicTexture.java151 // recycle() is called when the texture will never be used again,
153 public void recycle() { method in class:BasicTexture
178 recycle();
182 // This is for deciding if we can call Bitmap's recycle().
183 // We cannot call Bitmap's recycle() in finalizer because at that point
184 // the finalizer of Bitmap may already be called so recycle() will crash.
H A DNinePatchTexture.java151 removed.recycle(canvas);
170 public void recycle() { method in class:NinePatchTexture
171 super.recycle();
177 instance.recycle(canvas);
432 public void recycle(GLCanvas canvas) { method in class:NinePatchInstance
H A DTiledScreenNail.java86 pool.recycle(bitmap);
90 // Returns the used one and recycle the unused one.
97 recycle();
102 // height, and Bitmap, then recycle the other.
108 if (mTexture != null) mTexture.recycle();
114 newer.recycle();
139 public void recycle() { method in class:TiledScreenNail
141 mTexture.recycle();
H A DUploadedTexture.java39 // The user of this class should call recycle() when the texture is not
327 public void recycle() { method in class:UploadedTexture
328 super.recycle();
H A DTiledTexture.java219 public void recycle() { method in class:TiledTexture
/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/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/Mms/src/com/android/mms/util/
H A DThumbnailManager.java391 Bitmap bitmap, int maxLength, boolean recycle) {
397 return resizeBitmapByScale(bitmap, scale, recycle);
401 Bitmap bitmap, float scale, boolean recycle) {
411 if (recycle) bitmap.recycle();
429 bitmap.recycle();
511 Bitmap bitmap, int targetSize, boolean recycle) {
517 return resizeBitmapByScale(bitmap, scale, recycle);
390 resizeDownBySideLength( Bitmap bitmap, int maxLength, boolean recycle) argument
400 resizeBitmapByScale( Bitmap bitmap, float scale, boolean recycle) argument
510 resizeDownIfTooBig( Bitmap bitmap, int targetSize, boolean recycle) argument
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DPhotoTable.java335 recycle(photo);
464 private void recycle(View photo) { method in class:PhotoTable
468 bitmap.getBitmap().recycle();
/packages/apps/Launcher2/src/com/android/launcher2/
H A DFolder.java648 DragView dragView, float[] recycle) {
650 if (recycle == null) {
653 res = recycle;
647 getDragViewVisualCenter(int x, int y, int xOffset, int yOffset, DragView dragView, float[] recycle) argument
/packages/apps/Calendar/src/com/android/calendar/
H A DUtils.java577 * @param recycle Time object to recycle, otherwise null.
581 public static long convertAlldayUtcToLocal(Time recycle, long utcTime, String tz) { argument
582 if (recycle == null) {
583 recycle = new Time();
585 recycle.timezone = Time.TIMEZONE_UTC;
586 recycle.set(utcTime);
587 recycle.timezone = tz;
588 return recycle.normalize(true);
591 public static long convertAlldayLocalToUTC(Time recycle, lon argument
608 getNextMidnight(Time recycle, long theTime, String tz) argument
[all...]

Completed in 386 milliseconds

12