Home
last modified time | relevance | path

Searched refs:recycle (Results 1 – 25 of 145) sorted by relevance

123456

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBitmapUtils.java117 Bitmap bitmap, float scale, boolean recycle) { in resizeBitmapByScale() argument
127 if (recycle) bitmap.recycle(); in resizeBitmapByScale()
140 Bitmap bitmap, int maxLength, boolean recycle) { in resizeDownBySideLength() argument
146 return resizeBitmapByScale(bitmap, scale, recycle); in resizeDownBySideLength()
149 public static Bitmap resizeAndCropCenter(Bitmap bitmap, int size, boolean recycle) { in resizeAndCropCenter() argument
166 if (recycle) bitmap.recycle(); in resizeAndCropCenter()
173 bitmap.recycle(); in recycleSilently()
179 public static Bitmap rotateBitmap(Bitmap source, int rotation, boolean recycle) { in rotateBitmap() argument
186 if (recycle) source.recycle(); in rotateBitmap()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTiledScreenNail.java86 pool.recycle(bitmap); in recycleBitmap()
97 recycle(); in combine()
108 if (mTexture != null) mTexture.recycle(); in combine()
114 newer.recycle(); in combine()
139 public void recycle() { in recycle() method in TiledScreenNail
141 mTexture.recycle(); in recycle()
DSlideshowView.java57 mPrevTexture.getBitmap().recycle(); in next()
58 mPrevTexture.recycle(); in next()
83 mPrevTexture.recycle(); in release()
87 mCurrentTexture.recycle(); in release()
DBitmapScreenNail.java50 public void recycle() { in recycle() method in BitmapScreenNail
51 mBitmapTexture.recycle(); in recycle()
DAlbumSetSlidingWindow.java229 if (entry.coverLoader != null) entry.coverLoader.recycle(); in freeSlotContent()
230 if (entry.labelLoader != null) entry.labelLoader.recycle(); in freeSlotContent()
231 if (entry.labelTexture != null) entry.labelTexture.recycle(); in freeSlotContent()
232 if (entry.bitmapTexture != null) entry.bitmapTexture.recycle(); in freeSlotContent()
261 entry.labelLoader.recycle(); in updateAlbumSetEntry()
276 entry.coverLoader.recycle(); in updateAlbumSetEntry()
430 if (pool != null) pool.recycle(bitmap); in recycleBitmap()
546 entry.labelLoader.recycle(); in onSlotSizeChanged()
DNinePatchTexture.java151 removed.recycle(canvas); in findInstance()
170 public void recycle() { in recycle() method in NinePatchTexture
171 super.recycle(); in recycle()
177 instance.recycle(canvas); in recycle()
432 public void recycle(GLCanvas canvas) { in recycle() method in NinePatchInstance
DBitmapTileProvider.java95 public void recycle() { in recycle() method in BitmapTileProvider
102 mScreenNail.recycle(); in recycle()
DBasicTexture.java153 public void recycle() { in recycle() method in BasicTexture
178 recycle(); in finalize()
DSurfaceTextureScreenNail.java77 mExtTexture.recycle(); in releaseSurfaceTexture()
136 abstract public void recycle(); in recycle() method in SurfaceTextureScreenNail
/packages/apps/Gallery/src/com/android/camera/
DUtil.java73 b.recycle(); in rotate()
155 boolean recycle) { in transform() argument
184 if (recycle) { in transform()
185 source.recycle(); in transform()
220 if (recycle && b1 != source) { in transform()
221 source.recycle(); in transform()
235 if (recycle || b1 != source) { in transform()
236 b1.recycle(); in transform()
DRotateBitmap.java89 public void recycle() { in recycle() method in RotateBitmap
91 mBitmap.recycle(); in recycle()
DImageGetter.java113 bitmap.recycle(); in callback()
176 b.recycle();
209 b.recycle();
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java581 public static long convertAlldayUtcToLocal(Time recycle, long utcTime, String tz) { in convertAlldayUtcToLocal() argument
582 if (recycle == null) { in convertAlldayUtcToLocal()
583 recycle = new Time(); in convertAlldayUtcToLocal()
585 recycle.timezone = Time.TIMEZONE_UTC; in convertAlldayUtcToLocal()
586 recycle.set(utcTime); in convertAlldayUtcToLocal()
587 recycle.timezone = tz; in convertAlldayUtcToLocal()
588 return recycle.normalize(true); in convertAlldayUtcToLocal()
591 public static long convertAlldayLocalToUTC(Time recycle, long localTime, String tz) { in convertAlldayLocalToUTC() argument
592 if (recycle == null) { in convertAlldayLocalToUTC()
593 recycle = new Time(); in convertAlldayLocalToUTC()
[all …]
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
DTextureTest.java130 mBitmap.recycle(); in onFreeBitmap()
162 texture.recycle(); in testUploadedTexture()
195 texture.recycle(); in testBitmapTexture()
197 bitmap.recycle(); in testBitmapTexture()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetModel.java264 final Time recycle = new Time(timeZone); in buildFromCursor() local
270 recycle.setToNow(); in buildFromCursor()
273 mHomeTZName = TimeZone.getTimeZone(timeZone).getDisplayName(recycle.isDst != 0, in buildFromCursor()
298 start = Utils.convertAlldayUtcToLocal(recycle, start, tz); in buildFromCursor()
299 end = Utils.convertAlldayUtcToLocal(recycle, end, tz); in buildFromCursor()
336 final DayInfo dayInfo = populateDayInfo(day, recycle); in buildFromCursor()
407 private DayInfo populateDayInfo(int julianDay, Time recycle) { in populateDayInfo() argument
408 long millis = recycle.setJulianDay(julianDay); in populateDayInfo()
/packages/apps/Mms/src/com/android/mms/util/
DThumbnailManager.java391 Bitmap bitmap, int maxLength, boolean recycle) { in resizeDownBySideLength() argument
397 return resizeBitmapByScale(bitmap, scale, recycle); in resizeDownBySideLength()
401 Bitmap bitmap, float scale, boolean recycle) { in resizeBitmapByScale() argument
411 if (recycle) bitmap.recycle(); in resizeBitmapByScale()
429 bitmap.recycle(); in ensureGLCompatibleBitmap()
511 Bitmap bitmap, int targetSize, boolean recycle) { in resizeDownIfTooBig() argument
517 return resizeBitmapByScale(bitmap, scale, recycle); in resizeDownIfTooBig()
/packages/apps/Email/tests/src/com/android/email/
DMessageListContextTests.java37 parcel.recycle(); in testParcellingMailboxes()
52 parcel.recycle(); in testParcellingSearches()
/packages/apps/Launcher2/src/com/android/launcher2/
DHolographicOutlineHelper.java194 brightOutline.recycle(); in applyExpensiveOutlineWithBlur()
195 thickOuterBlur.recycle(); in applyExpensiveOutlineWithBlur()
196 thickInnerBlur.recycle(); in applyExpensiveOutlineWithBlur()
197 glowShape.recycle(); in applyExpensiveOutlineWithBlur()
DPagedViewIconCache.java83 mIconOutlineCache.get(key).recycle(); in clear()
92 mIconOutlineCache.get(key).recycle(); in retainAll()
126 mIconOutlineCache.get(key).recycle(); in removeOutline()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DBitmapPool.java76 public void recycle(Bitmap bitmap) { in recycle() method in BitmapPool
80 bitmap.recycle(); in recycle()
DDecodeUtils.java194 bitmap.recycle(); in ensureGLCompatibleBitmap()
263 pool.recycle(options.inBitmap); in decode()
271 pool.recycle(options.inBitmap); in decode()
294 pool.recycle(options.inBitmap); in decode()
302 pool.recycle(options.inBitmap); in decode()
/packages/apps/VideoEditor/src/com/android/videoeditor/
DBaseAdapterWithImages.java110 bitmap.recycle(); in onPostExecute()
139 drawable.getBitmap().recycle(); in BaseAdapterWithImages()
159 drawable.getBitmap().recycle(); in onDestroy()
/packages/apps/LegacyCamera/src/com/android/camera/
DIconListPreference.java48 a.recycle(); in IconListPreference()
83 array.recycle(); in getIds()
/packages/apps/Camera/src/com/android/camera/
DIconListPreference.java47 a.recycle(); in IconListPreference()
90 array.recycle(); in getIds()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardRow.java62 keyboardAttr.recycle(); in KeyboardRow()
70 keyAttr.recycle(); in KeyboardRow()

123456