Home
last modified time | relevance | path

Searched refs:recycle (Results 1 – 25 of 399) 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()
125 ta.recycle(); in getFloat()
/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()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DNavigator.java327 targetNode.recycle(); in findRotateTarget()
375 root.recycle(); in findFocusParkingView()
410 targetNode.recycle(); in findFirstFocus()
424 focusArea.recycle(); in findFirstFocus()
483 focusArea.recycle(); in findNudgeTargetFocusArea()
491 currentWindow.recycle(); in findNudgeTargetFocusArea()
522 focusArea.recycle(); in removeEmptyFocusAreas()
565 rootNode.recycle(); in findFocusAreas()
752 candidate.recycle(); in isCandidate()
778 parent.recycle(); in getAncestorFocusArea()
DUtils.java54 node.recycle(); in recycleNode()
81 node.recycle(); in refreshNode()
100 childNode.recycle(); in canHaveFocus()
121 childNode.recycle(); in hasFocus()
178 window.recycle(); in recycleWindow()
DTreeTraverser.java65 currentNode.recycle(); in findNodeOrAncestor()
106 child.recycle(); in depthFirstSearch()
130 child.recycle(); in reverseDepthFirstSearch()
160 child.recycle(); in depthFirstSelect()
DRotaryService.java716 newFocus.recycle(); in handleWindowsChangedEvent()
862 window.recycle(); in handleRotateEvent()
1054 window.recycle(); in injectScrollEvent()
1190 window.recycle(); in clearFocusInCurrentWindow()
1193 window.recycle(); in clearFocusInCurrentWindow()
1204 focusParkingView.recycle(); in clearFocusInCurrentWindow()
1236 rootNode.recycle(); in focusFirstFocusDescendant()
1242 targetNode.recycle(); in focusFirstFocusDescendant()
1328 mIgnoreViewClickedNode.recycle(); in setIgnoreViewClickedNode()
/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/
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()
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()
/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/apps/Settings/src/com/android/settings/development/
DShowRefreshRatePreferenceController.java99 reply.recycle(); in updateShowRefreshRateSetting()
100 data.recycle(); in updateShowRefreshRateSetting()
117 data.recycle(); in writeShowRefreshRateSetting()
DHardwareOverlaysPreferenceController.java100 reply.recycle(); in updateHardwareOverlaysSetting()
101 data.recycle(); in updateHardwareOverlaysSetting()
119 data.recycle(); in writeHardwareOverlaysSetting()
DShowSurfaceUpdatesPreferenceController.java97 reply.recycle(); in updateShowUpdatesSetting()
98 data.recycle(); in updateShowUpdatesSetting()
115 data.recycle(); in writeShowUpdatesSetting()
/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()

12345678910>>...16