Searched refs:recycle (Results 1 - 25 of 123) sorted by relevance

12345

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DBitmapUtils.java116 Bitmap bitmap, int targetPixels, boolean recycle) {
122 return resizeBitmapByScale(bitmap, scale, recycle);
126 Bitmap bitmap, float scale, boolean recycle) {
136 if (recycle) bitmap.recycle();
149 Bitmap bitmap, int maxLength, boolean recycle) {
155 return resizeBitmapByScale(bitmap, scale, recycle);
160 Bitmap bitmap, int targetSize, boolean recycle) {
166 return resizeBitmapByScale(bitmap, scale, recycle);
170 public static Bitmap cropCenter(Bitmap bitmap, boolean recycle) { argument
115 resizeDownToPixels( Bitmap bitmap, int targetPixels, boolean recycle) argument
125 resizeBitmapByScale( Bitmap bitmap, float scale, boolean recycle) argument
148 resizeDownBySideLength( Bitmap bitmap, int maxLength, boolean recycle) argument
159 resizeDownIfTooBig( Bitmap bitmap, int targetSize, boolean recycle) argument
185 resizeDownAndCropCenter(Bitmap bitmap, int size, boolean recycle) argument
216 rotateBitmap(Bitmap source, int rotation, boolean recycle) argument
[all...]
/packages/apps/Email/tests/src/com/android/email/
H A DMessageListContextTests.java37 parcel.recycle();
52 parcel.recycle();
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DStaticBackground.java42 if (mBackground != null) mBackground.recycle();
51 if (mBackground != null) mBackground.recycle();
H A DCanvasTexture.java47 bitmap.recycle();
H A DResourceTexture.java49 bitmap.recycle();
H A DSlideshowView.java56 mPrevTexture.getBitmap().recycle();
57 mPrevTexture.recycle();
82 mPrevTexture.recycle();
86 mCurrentTexture.recycle();
H A DBasicTexture.java140 // recycle() is called when the texture will never be used again,
142 public void recycle() { method in class:BasicTexture
167 recycle();
171 // This is for deciding if we can call Bitmap's recycle().
172 // We cannot call Bitmap's recycle() in finalizer because at that point
173 // the finalizer of Bitmap may already be called so recycle() will crash.
H A DAbstractDisplayItem.java97 public void recycle() { method in class:AbstractDisplayItem
/packages/experimental/UiAutomation/service/src/com/android/testing/uiautomation/
H A DProviderImpl.java85 mCurrentWindow.recycle();
100 mCurrentFocused.recycle();
112 node.recycle();
120 node.recycle();
128 node.recycle();
140 node.recycle();
153 node.recycle();
207 node.recycle();
224 child.recycle();
230 parent.recycle();
[all...]
H A DAccessibilityNodeInfoHelper.java46 root.recycle();
82 child.recycle();
129 child.recycle();
140 root.recycle();
/packages/apps/Gallery/src/com/android/camera/
H A DRotateBitmap.java89 public void recycle() { method in class:RotateBitmap
91 mBitmap.recycle();
H A DUtil.java73 b.recycle();
146 // Whether we should recycle the input (unless the output is the input).
155 boolean recycle) {
184 if (recycle) {
185 source.recycle();
220 if (recycle && b1 != source) {
221 source.recycle();
235 if (recycle || b1 != source) {
236 b1.recycle();
150 transform(Matrix scaler, Bitmap source, int targetWidth, int targetHeight, boolean scaleUp, boolean recycle) argument
/packages/apps/Camera/src/com/android/camera/
H A DCameraPreference.java47 a.recycle();
H A DIconListPreference.java48 a.recycle();
83 array.recycle();
/packages/apps/Calendar/src/com/android/calendar/
H A DUtils.java503 * @param recycle Time object to recycle, otherwise null.
507 public static long convertAlldayUtcToLocal(Time recycle, long utcTime, String tz) { argument
508 if (recycle == null) {
509 recycle = new Time();
511 recycle.timezone = Time.TIMEZONE_UTC;
512 recycle.set(utcTime);
513 recycle.timezone = tz;
514 return recycle.normalize(true);
517 public static long convertAlldayLocalToUTC(Time recycle, lon argument
534 getNextMidnight(Time recycle, long theTime, String tz) argument
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DHolographicOutlineHelper.java116 glow.recycle();
211 brightOutline.recycle();
212 thickOuterBlur.recycle();
213 thickInnerBlur.recycle();
214 glowShape.recycle();
H A DPagedViewIconCache.java83 mIconOutlineCache.get(key).recycle();
92 mIconOutlineCache.get(key).recycle();
126 mIconOutlineCache.get(key).recycle();
H A DHandleView.java49 a.recycle();
H A DHolographicLinearLayout.java50 a.recycle();
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DBaseAdapterWithImages.java110 bitmap.recycle();
139 drawable.getBitmap().recycle();
150 * Upon destroy, recycle all images and then remove all child views in the list view.
159 drawable.getBitmap().recycle();
175 // The adapter may recycle a view and then reuse it.
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetModel.java264 final Time recycle = new Time(timeZone);
270 recycle.setToNow();
273 mHomeTZName = TimeZone.getTimeZone(timeZone).getDisplayName(recycle.isDst != 0,
298 start = Utils.convertAlldayUtcToLocal(recycle, start, tz);
299 end = Utils.convertAlldayUtcToLocal(recycle, end, tz);
336 final DayInfo dayInfo = populateDayInfo(day, recycle);
407 private DayInfo populateDayInfo(int julianDay, Time recycle) { argument
408 long millis = recycle.setJulianDay(julianDay);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DSuddenJumpingTouchEventHandler.java121 translated.recycle();
137 translated.recycle();
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
H A DQuickResponseTests.java66 p.recycle();
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
H A DTextureTest.java143 mBitmap.recycle();
174 // recycle the texture and it should be freed again.
175 texture.recycle();
203 texture.recycle();
205 bitmap.recycle();
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DStringBuilderPool.java50 public static void recycle(final StringBuilder garbage) { method in class:StringBuilderPool

Completed in 5593 milliseconds

12345