Home
last modified time | relevance | path

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

12345678910>>...23

/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/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/
DVideoListenerTest.java93 parcel.recycle(); in testOpenSessionSuccess()
108 parcel.recycle(); in testOpenSessionFailure()
122 parcel.recycle(); in testEventModifySessionResponse()
136 parcel.recycle(); in testEventFirstMediaPacketInd()
150 parcel.recycle(); in testEventPeerDimensionChanged()
162 parcel.recycle(); in testEventMediaInactivityInd()
173 parcel.recycle(); in testEventNotifyBitrateInd()
186 parcel.recycle(); in testEventVideoDataUsageInd()
196 parcel.recycle(); in testEventSessionClosed()
DTextListenerTest.java95 parcel.recycle(); in testOpenSessionSuccess()
111 parcel.recycle(); in testOpenSessionFailure()
122 parcel.recycle(); in testEventModifySessionResponse()
134 parcel.recycle(); in testEventMediaInactivityInd()
148 parcel.recycle(); in testEventRttReceived()
161 parcel.recycle(); in testEventSessionClosed()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DNavigator.java244 candidate.recycle(); in findRotateTarget()
247 target.recycle(); in findRotateTarget()
272 child.recycle(); in getRoot()
284 window.recycle(); in getRoot()
294 child.recycle(); in getRoot()
310 focusedNode.recycle(); in findFocusedNodeInRoot()
352 surfaceView.recycle(); in findFocusedNodeInRootInternal()
356 surfaceView.recycle(); in findFocusedNodeInRootInternal()
362 embeddedRoot.recycle(); in findFocusedNodeInRootInternal()
375 root.recycle(); in findFocusParkingView()
[all …]
DRotaryService.java831 window.recycle(); in onAccessibilityEvent()
1172 window.recycle(); in handleViewFocusedEvent()
1358 recentFocus.recycle(); in handleWindowRemovedEvent()
1404 focusedNode.recycle(); in handleWindowAddedEvent()
1433 root.recycle(); in restoreDefaultFocusInWindow()
1450 fpv.recycle(); in restoreDefaultFocusInRoot()
1467 firstFocusable.recycle(); in restoreDefaultFocusInRoot()
1636 root.recycle(); in nudgeTo()
1660 root.recycle(); in nudgeTo()
1685 fpv.recycle(); in nudgeTo()
[all …]
DUtils.java89 node.recycle(); in recycleNode()
123 node.recycle(); in refreshNode()
212 childNode.recycle(); in descendantCanTakeFocus()
232 foundFocus.recycle(); in hasFocus()
350 window.recycle(); in recycleWindow()
410 child.recycle(); in getBoundsInScreen()
418 focusArea.recycle(); in getBoundsInScreen()
432 ancestor.recycle(); in getAncestorFocusArea()
DTreeTraverser.java67 currentNode.recycle(); in findNodeOrAncestor()
109 child.recycle(); in depthFirstSearch()
133 child.recycle(); in reverseDepthFirstSearch()
163 child.recycle(); in depthFirstSelect()
/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/
DExerciseCompletionGoalInternalTest.java50 parcel.recycle(); in distanceGoal_writeToParcelThenRestore_objectsAreIdentical()
75 parcel.recycle(); in stepsGoal_writeToParcelThenRestore_objectsAreIdentical()
100 parcel.recycle(); in durationGoal_writeToParcelThenRestore_objectsAreIdentical()
125 parcel.recycle(); in repsGoal_writeToParcelThenRestore_objectsAreIdentical()
152 parcel.recycle(); in totalCaloriesBurnedGoal_writeToParcelThenRestore_objectsAreIdentical()
180 parcel.recycle(); in activeCaloriesBurnedGoal_writeToParcelThenRestore_objectsAreIdentical()
209 parcel.recycle(); in distanceWithVariableRestGoal_writeToParcelThenRestore_objectsAreIdentical()
236 parcel.recycle(); in unknownGoal_writeToParcelThenRestore_objectsAreIdentical()
257 parcel.recycle(); in unspecifiedGoal_writeToParcelThenRestore_objectsAreIdentical()
DExercisePerformanceGoalInternalTest.java54 parcel.recycle(); in powerGoal_writeToParcelThenRestore_objectsAreIdentical()
91 parcel.recycle(); in speedGoal_writeToParcelThenRestore_objectsAreIdentical()
126 parcel.recycle(); in cadenceGoal_writeToParcelThenRestore_objectsAreIdentical()
160 parcel.recycle(); in heartRateGoal_writeToParcelThenRestore_objectsAreIdentical()
193 parcel.recycle(); in weightGoal_writeToParcelThenRestore_objectsAreIdentical()
219 parcel.recycle(); in amrapGoal_writeToParcelThenRestore_objectsAreIdentical()
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkStats.java736 public Entry getValues(int i, @Nullable Entry recycle) { in getValues() argument
737 final Entry entry = recycle != null ? recycle : new Entry(); in getValues()
995 public Entry getTotal(Entry recycle) { in getTotal() argument
996 return getTotal(recycle, null, UID_ALL, false); in getTotal()
1005 public Entry getTotal(Entry recycle, int limitUid) { in getTotal() argument
1006 return getTotal(recycle, null, limitUid, false); in getTotal()
1014 public Entry getTotal(Entry recycle, HashSet<String> limitIface) { in getTotal() argument
1015 return getTotal(recycle, limitIface, UID_ALL, false); in getTotal()
1020 public Entry getTotalIncludingTags(Entry recycle) { in getTotalIncludingTags() argument
1021 return getTotal(recycle, null, UID_ALL, true); in getTotalIncludingTags()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DUtils.kt668 @JvmStatic fun convertAlldayUtcToLocal(recycle: Time?, utcTime: Long, tz: String): Long { in convertAlldayUtcToLocal()
669 var recycle: Time? = recycle in convertAlldayUtcToLocal() variable
670 if (recycle == null) { in convertAlldayUtcToLocal()
671 recycle = Time() in convertAlldayUtcToLocal()
673 recycle.timezone = Time.TIMEZONE_UTC in convertAlldayUtcToLocal()
674 recycle.set(utcTime) in convertAlldayUtcToLocal()
675 recycle.timezone = tz in convertAlldayUtcToLocal()
676 return recycle.normalize(true) in convertAlldayUtcToLocal()
679 @JvmStatic fun convertAlldayLocalToUTC(recycle: Time?, localTime: Long, tz: String): Long { in convertAlldayLocalToUTC()
680 var recycle: Time? = recycle in convertAlldayLocalToUTC() variable
[all …]
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/viewmodel/
DClockColorViewModel.kt62 names.recycle() in <lambda>()
63 colors.recycle() in <lambda>()
64 colorToneMinList.recycle() in <lambda>()
65 colorToneMaxList.recycle() in <lambda>()
/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()
/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/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/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/
DGenericDocumentInternalTest.java50 inParcel.recycle(); in testRecreateFromParcel()
59 outParcel.recycle(); in testRecreateFromParcel()
92 inParcel.recycle(); in testRecreateFromParcelWithParentTypes()
101 outParcel.recycle(); in testRecreateFromParcelWithParentTypes()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetModel.kt213 val recycle = Time(timeZone) in buildFromCursor() constant
219 recycle.setToNow() in buildFromCursor()
223 recycle.isDst !== 0, in buildFromCursor()
247 start = Utils.convertAlldayUtcToLocal(recycle, start, tz as String) in buildFromCursor()
248 end = Utils.convertAlldayUtcToLocal(recycle, end, tz as String) in buildFromCursor()
288 val dayInfo = populateDayInfo(day, recycle) in buildFromCursor()
368 private fun populateDayInfo(julianDay: Int, recycle: Time?): DayInfo? { in populateDayInfo()
369 val millis: Long = recycle?.setJulianDay(julianDay) as Long in populateDayInfo()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DThemes.java80 ta.recycle(); in getDefaultBodyFont()
92 ta.recycle(); in getDimension()
117 ta.recycle(); in getAttrBoolean()
124 ta.recycle(); in getAttrDrawable()
131 ta.recycle(); in getAttrInteger()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCoreAudioRoutingUtils.java124 parcel.recycle(); in parcel.recycle()
154 parcel.recycle(); in parcel.recycle()
175 parcel.recycle(); in parcel.recycle()
207 parcel.recycle(); in parcel.recycle()
227 parcel.recycle(); in parcel.recycle()
247 parcel.recycle(); in parcel.recycle()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DManageApplicationsController.java140 Preference recycle = group.findPreference(packageName); in updateAppList() local
141 if (recycle == null) { in updateAppList()
142 recycle = mCallback.createAppPreference(); in updateAppList()
144 newList.add(mCallback.bindPreference(recycle, entry)); in updateAppList()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCoreAudioRoutingUtils.java145 parcel.recycle(); in parcel.recycle()
182 parcel.recycle(); in parcel.recycle()
207 parcel.recycle(); in parcel.recycle()
245 parcel.recycle(); in parcel.recycle()
268 parcel.recycle(); in parcel.recycle()
292 parcel.recycle(); in parcel.recycle()
/packages/apps/Launcher3/src/com/android/launcher3/
DDropTarget.java94 public final float[] getVisualCenter(float[] recycle) { in getVisualCenter() argument
95 final float res[] = (recycle == null) ? new float[2] : recycle; in getVisualCenter()
/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()

12345678910>>...23