Home
last modified time | relevance | path

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

12345678910

/packages/apps/Contacts/src/com/android/contacts/interactions/
DCalendarInteractionUtils.java107 private static long convertAlldayUtcToLocal(Time recycle, long utcTime, String tz) { in convertAlldayUtcToLocal() argument
108 if (recycle == null) { in convertAlldayUtcToLocal()
109 recycle = new Time(); in convertAlldayUtcToLocal()
111 recycle.timezone = Time.TIMEZONE_UTC; in convertAlldayUtcToLocal()
112 recycle.set(utcTime); in convertAlldayUtcToLocal()
113 recycle.timezone = tz; in convertAlldayUtcToLocal()
114 return recycle.normalize(true); in convertAlldayUtcToLocal()
117 public static long convertAlldayLocalToUTC(Time recycle, long localTime, String tz) { in convertAlldayLocalToUTC() argument
118 if (recycle == null) { in convertAlldayLocalToUTC()
119 recycle = new Time(); in convertAlldayLocalToUTC()
[all …]
/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/Launcher3/WallpaperPicker/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/Calendar/src/com/android/calendar/
DUtils.java737 public static long convertAlldayUtcToLocal(Time recycle, long utcTime, String tz) { in convertAlldayUtcToLocal() argument
738 if (recycle == null) { in convertAlldayUtcToLocal()
739 recycle = new Time(); in convertAlldayUtcToLocal()
741 recycle.timezone = Time.TIMEZONE_UTC; in convertAlldayUtcToLocal()
742 recycle.set(utcTime); in convertAlldayUtcToLocal()
743 recycle.timezone = tz; in convertAlldayUtcToLocal()
744 return recycle.normalize(true); in convertAlldayUtcToLocal()
747 public static long convertAlldayLocalToUTC(Time recycle, long localTime, String tz) { in convertAlldayLocalToUTC() argument
748 if (recycle == null) { in convertAlldayLocalToUTC()
749 recycle = new Time(); in convertAlldayLocalToUTC()
[all …]
/packages/experimental/TestBack/src/foo/bar/testback/
DTestBackService.java57 focus.recycle(); in onGesture()
59 root.recycle(); in onGesture()
73 focus.recycle(); in onGesture()
75 root.recycle(); in onGesture()
89 focus.recycle(); in onGesture()
91 root.recycle(); in onGesture()
105 focus.recycle(); in onGesture()
107 root.recycle(); in onGesture()
/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()
DGridViewSpecial.java234 mImageBlockManager.recycle(); in onLayout()
469 mImageBlockManager.recycle(); in stop()
891 public void recycle() { in recycle() method in ImageBlockManager
893 blk.recycle(); in recycle()
896 mEmptyBitmap.recycle(); in recycle()
1001 public void recycle() { in recycle() method in ImageBlockManager.ImageBlock
1003 mBitmap.recycle(); in recycle()
1082 b.recycle(); in loadImageDone()
DCropImage.java193 mBitmap.recycle(); in startFaceDetection()
251 mBitmap.recycle(); in onSaveClicked()
271 mBitmap.recycle(); in onSaveClicked()
396 b.recycle(); in saveOutput()
527 faceBitmap.recycle();
/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.java393 Bitmap bitmap, int maxLength, boolean recycle) { in resizeDownBySideLength() argument
399 return resizeBitmapByScale(bitmap, scale, recycle); in resizeDownBySideLength()
403 Bitmap bitmap, float scale, boolean recycle) { in resizeBitmapByScale() argument
413 if (recycle) bitmap.recycle(); in resizeBitmapByScale()
431 bitmap.recycle(); in ensureGLCompatibleBitmap()
520 Bitmap bitmap, int targetSize, boolean recycle) { in resizeDownIfTooBig() argument
526 return resizeBitmapByScale(bitmap, scale, recycle); in resizeDownIfTooBig()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardBuilder.java289 keyAttr.recycle(); in parseKeyboardAttributes()
290 keyboardAttr.recycle(); in parseKeyboardAttributes()
347 keyboardAttr.recycle(); in parseRowAttributes()
403 gridRowAttr.recycle(); in parseGridRows()
481 keyAttr.recycle(); in parseKey()
501 keyAttr.recycle(); in parseSpacer()
542 keyboardAttr.recycle(); in parseIncludeInternal()
543 keyAttr.recycle(); in parseIncludeInternal()
723 caseAttr.recycle(); in parseCaseCondition()
804 keyStyleAttr.recycle(); in parseKeyStyle()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DConnectionServiceWrapper.java97 args.recycle();
137 args.recycle();
186 args.recycle();
232 args.recycle();
259 args.recycle();
276 args.recycle();
296 args.recycle();
308 args.recycle();
320 args.recycle();
349 args.recycle();
DInCallAdapter.java67 args.recycle(); in handleMessage()
83 args.recycle(); in handleMessage()
147 args.recycle(); in handleMessage()
168 args.recycle(); in handleMessage()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumSetSlidingWindow.java232 if (entry.coverLoader != null) entry.coverLoader.recycle(); in freeSlotContent()
233 if (entry.labelLoader != null) entry.labelLoader.recycle(); in freeSlotContent()
234 if (entry.labelTexture != null) entry.labelTexture.recycle(); in freeSlotContent()
235 if (entry.bitmapTexture != null) entry.bitmapTexture.recycle(); in freeSlotContent()
264 entry.labelLoader.recycle(); in updateAlbumSetEntry()
279 entry.coverLoader.recycle(); in updateAlbumSetEntry()
537 entry.labelLoader.recycle(); in onSlotSizeChanged()
DTiledScreenNail.java93 recycle(); in combine()
104 if (mTexture != null) mTexture.recycle(); in combine()
110 newer.recycle(); in combine()
135 public void recycle() { in recycle() method in TiledScreenNail
137 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()
/packages/apps/Launcher3/src/com/android/launcher3/
DHolographicOutlineHelper.java149 brightOutline.recycle(); in applyExpensiveOutlineWithBlur()
150 thickOuterBlur.recycle(); in applyExpensiveOutlineWithBlur()
151 thickInnerBlur.recycle(); in applyExpensiveOutlineWithBlur()
152 glowShape.recycle(); in applyExpensiveOutlineWithBlur()
199 blurBitmap.recycle(); in createMediumDropShadow()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DNinePatchTexture.java149 removed.recycle(canvas); in findInstance()
168 public void recycle() { in recycle() method in NinePatchTexture
169 super.recycle(); in recycle()
175 instance.recycle(canvas); in recycle()
416 public void recycle(GLCanvas canvas) { in recycle() method in NinePatchInstance
/packages/apps/Gallery2/src/com/android/photos/data/
DPhotoSetLoader.java84 public Drawable drawableForItem(Cursor item, Drawable recycle) { in drawableForItem() argument
86 if (recycle == null || !(recycle instanceof DataUriThumbnailDrawable)) { in drawableForItem()
89 drawable = (DataUriThumbnailDrawable) recycle; in drawableForItem()
/packages/apps/Gallery2/src/com/android/photos/shims/
DMediaSetLoader.java134 public Drawable drawableForItem(Cursor item, Drawable recycle) { in drawableForItem() argument
136 if (recycle == null || !(recycle instanceof BitmapJobDrawable)) { in drawableForItem()
139 drawable = (BitmapJobDrawable) recycle; in drawableForItem()
DMediaItemsLoader.java144 public Drawable drawableForItem(Cursor item, Drawable recycle) { in drawableForItem() argument
146 if (recycle == null || !(recycle instanceof BitmapJobDrawable)) { in drawableForItem()
149 drawable = (BitmapJobDrawable) recycle; in drawableForItem()
/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()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterRS.java192 bitmap.recycle(); in loadScaledResourceAlpha()
205 resizeBitmap.recycle(); in loadScaledResourceAlpha()
206 bitmap.recycle(); in loadScaledResourceAlpha()
222 bitmap.recycle(); in loadResource()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DKeyboard.java210 a.recycle(); in Row()
341 a.recycle(); in Key()
384 a.recycle(); in Key()
387 a.recycle(); in Key()
848 a.recycle(); in parseKeyboardAttributes()
/packages/apps/Gallery2/src/com/android/photos/adapters/
DPhotoThumbnailAdapter.java50 Drawable recycle = iv.getDrawable(); in bindView() local
51 Drawable drawable = mDrawableFactory.drawableForItem(cursor, recycle); in bindView()
52 if (recycle != drawable) { in bindView()

12345678910