Home
last modified time | relevance | path

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

12345678910>>...16

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBitmapUtils.java116 Bitmap bitmap, float scale, boolean recycle) { in resizeBitmapByScale() argument
126 if (recycle) bitmap.recycle(); in resizeBitmapByScale()
139 Bitmap bitmap, int maxLength, boolean recycle) { in resizeDownBySideLength() argument
145 return resizeBitmapByScale(bitmap, scale, recycle); in resizeDownBySideLength()
148 public static Bitmap resizeAndCropCenter(Bitmap bitmap, int size, boolean recycle) { in resizeAndCropCenter() argument
165 if (recycle) bitmap.recycle(); in resizeAndCropCenter()
172 bitmap.recycle(); in recycleSilently()
178 public static Bitmap rotateBitmap(Bitmap source, int rotation, boolean recycle) { in rotateBitmap() argument
185 if (recycle) source.recycle(); in rotateBitmap()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/
DThemes.java39 ta.recycle(); in getAttrColor()
61 ta.recycle(); in getAttrColorStateList()
76 ta.recycle(); in getAttrBoolean()
89 ta.recycle(); in getAttrDrawable()
102 ta.recycle(); in getAttrInteger()
118 ta.recycle(); in getAttrResourceId()
135 ta.recycle(); in getAttrDimensionPixelSize()
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java693 public static long convertAlldayUtcToLocal(Time recycle, long utcTime, String tz) { in convertAlldayUtcToLocal() argument
694 if (recycle == null) { in convertAlldayUtcToLocal()
695 recycle = new Time(); in convertAlldayUtcToLocal()
697 recycle.timezone = Time.TIMEZONE_UTC; in convertAlldayUtcToLocal()
698 recycle.set(utcTime); in convertAlldayUtcToLocal()
699 recycle.timezone = tz; in convertAlldayUtcToLocal()
700 return recycle.normalize(true); in convertAlldayUtcToLocal()
703 public static long convertAlldayLocalToUTC(Time recycle, long localTime, String tz) { in convertAlldayLocalToUTC() argument
704 if (recycle == null) { in convertAlldayLocalToUTC()
705 recycle = new Time(); in convertAlldayLocalToUTC()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DThemes.java64 ta.recycle(); in getDefaultBodyFont()
76 ta.recycle(); in getDimension()
87 ta.recycle(); in getAttrColor()
94 ta.recycle(); in getAttrBoolean()
101 ta.recycle(); in getAttrDrawable()
108 ta.recycle(); in getAttrInteger()
118 ta.recycle(); in getAlpha()
/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()
/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/Gallery2/src/com/android/gallery3d/ui/
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()
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()
/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/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DManageApplicationsController.java129 Preference recycle = group.findPreference(packageName); in updateAppList() local
130 if (recycle == null) { in updateAppList()
131 recycle = mCallback.createAppPreference(); in updateAppList()
133 newList.add(mCallback.bindPreference(recycle, entry)); in updateAppList()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardBuilder.java293 keyAttr.recycle(); in parseKeyboardAttributes()
294 keyboardAttr.recycle(); in parseKeyboardAttributes()
351 keyboardAttr.recycle(); in parseRowAttributes()
407 gridRowAttr.recycle(); in parseGridRows()
485 keyAttr.recycle(); in parseKey()
505 keyAttr.recycle(); in parseSpacer()
546 keyboardAttr.recycle(); in parseIncludeInternal()
547 keyAttr.recycle(); in parseIncludeInternal()
730 caseAttr.recycle(); in parseCaseCondition()
823 keyStyleAttr.recycle(); in parseKeyStyle()
[all …]
/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/Launcher3/src/com/android/launcher3/
DDropTarget.java79 public final float[] getVisualCenter(float[] recycle) { in getVisualCenter() argument
80 final float res[] = (recycle == null) ? new float[2] : recycle; in getVisualCenter()
/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/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()
DAlbumSetCursorAdapter.java63 Drawable recycle = thumbImageView.getDrawable(); in bindView() local
64 Drawable drawable = mDrawableFactory.drawableForItem(cursor, recycle); in bindView()
65 if (recycle != drawable) { in bindView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DShowSurfaceUpdatesPreferenceController.java97 reply.recycle(); in updateShowUpdatesSetting()
98 data.recycle(); in updateShowUpdatesSetting()
115 data.recycle(); in writeShowUpdatesSetting()
DHardwareOverlaysPreferenceController.java100 reply.recycle(); in updateHardwareOverlaysSetting()
101 data.recycle(); in updateHardwareOverlaysSetting()
119 data.recycle(); in writeHardwareOverlaysSetting()
/packages/apps/Settings/src/com/android/settings/development/
DShowSurfaceUpdatesPreferenceController.java97 reply.recycle(); in updateShowUpdatesSetting()
98 data.recycle(); in updateShowUpdatesSetting()
115 data.recycle(); in writeShowUpdatesSetting()
DHardwareOverlaysPreferenceController.java100 reply.recycle(); in updateHardwareOverlaysSetting()
101 data.recycle(); in updateHardwareOverlaysSetting()
119 data.recycle(); in writeHardwareOverlaysSetting()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DXmlParserUtils.java99 ta.recycle(); in getDataIcon()
115 ta.recycle(); in getData()
124 sa.recycle(); in getDataEntries()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsConfigurationXmlParser.java181 a.recycle(); in mapDrivingStateToRestrictions()
200 a.recycle(); in mapDrivingStateToRestrictions()
286 a.recycle(); in parseRestrictions()
371 a.recycle(); in parseRestrictionParameters()

12345678910>>...16