Home
last modified time | relevance | path

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

12345678910>>...17

/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DNavigator.java215 currentFocusArea.recycle(); in findRotateTarget()
216 candidate.recycle(); in findRotateTarget()
219 target.recycle(); in findRotateTarget()
244 child.recycle(); in getRoot()
256 window.recycle(); in getRoot()
266 child.recycle(); in getRoot()
282 focusedNode.recycle(); in findFocusedNodeInRoot()
324 surfaceView.recycle(); in findFocusedNodeInRootInternal()
328 surfaceView.recycle(); in findFocusedNodeInRootInternal()
334 embeddedRoot.recycle(); in findFocusedNodeInRootInternal()
[all …]
DUtils.java75 node.recycle(); in recycleNode()
109 node.recycle(); in refreshNode()
193 childNode.recycle(); in descendantCanTakeFocus()
213 foundFocus.recycle(); in hasFocus()
316 window.recycle(); in recycleWindow()
368 child.recycle(); in getBoundsInScreen()
376 focusArea.recycle(); in getBoundsInScreen()
390 ancestor.recycle(); in getAncestorFocusArea()
DRotaryService.java764 window.recycle(); in onAccessibilityEvent()
1188 recentFocus.recycle(); in handleWindowRemovedEvent()
1246 root.recycle(); in handleWindowAddedEvent()
1260 fpv.recycle(); in restoreDefaultFocusInRoot()
1272 firstFocusable.recycle(); in restoreDefaultFocusInRoot()
1428 root.recycle(); in nudgeTo()
1442 root.recycle(); in nudgeTo()
1479 fpv.recycle(); in nudgeTo()
1483 targetFocusArea.recycle(); in nudgeTo()
1498 targetFocusArea.recycle(); in nudgeTo()
[all …]
DTreeTraverser.java67 currentNode.recycle(); in findNodeOrAncestor()
109 child.recycle(); in depthFirstSearch()
133 child.recycle(); in reverseDepthFirstSearch()
163 child.recycle(); in depthFirstSelect()
/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/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/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/
DHardwareOverlaysPreferenceController.java100 reply.recycle(); in updateHardwareOverlaysSetting()
101 data.recycle(); in updateHardwareOverlaysSetting()
119 data.recycle(); in writeHardwareOverlaysSetting()

12345678910>>...17