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

12

/packages/apps/Camera/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
/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/Camera2/src/com/android/camera/filmstrip/
H A DImageData.java115 public void recycle(View view); method in interface:ImageData
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DCalendarInteractionUtils.java103 * @param recycle Time object to recycle, otherwise null.
107 private static long convertAlldayUtcToLocal(Time recycle, long utcTime, String tz) { argument
108 if (recycle == null) {
109 recycle = new Time();
111 recycle.timezone = Time.TIMEZONE_UTC;
112 recycle.set(utcTime);
113 recycle.timezone = tz;
114 return recycle.normalize(true);
117 public static long convertAlldayLocalToUTC(Time recycle, lon argument
[all...]
/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/Launcher3/WallpaperPicker/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/Camera2/src/com/android/camera/data/
H A DLocalSessionData.java219 public void recycle(View view) { method in class:LocalSessionData
H A DSimpleViewData.java154 public void recycle(View view) { method in class:SimpleViewData
/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();
/packages/apps/Launcher3/WallpaperPicker/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.

Completed in 387 milliseconds

12