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

12345678910

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DScreenNail.java31 public void recycle(); method in interface:ScreenNail
H A DBitmapScreenNail.java53 public void recycle() { method in class:BitmapScreenNail
54 mBitmapTexture.recycle();
H A DTiledScreenNail.java86 // Returns the used one and recycle the unused one.
93 recycle();
98 // height, and Bitmap, then recycle the other.
104 if (mTexture != null) mTexture.recycle();
110 newer.recycle();
135 public void recycle() { method in class:TiledScreenNail
137 mTexture.recycle();
H A DSlideshowView.java57 mPrevTexture.getBitmap().recycle();
58 mPrevTexture.recycle();
83 mPrevTexture.recycle();
87 mCurrentTexture.recycle();
H A DBitmapTileProvider.java93 public void recycle() { method in class:BitmapTileProvider
100 mScreenNail.recycle();
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DCalendarInteractionUtils.java103 * @param recycle Time object to recycle, otherwise null.
107 private static long convertAlldayUtcToLocal(Time recycle, long utcTime, String tz) { argument
108 if (recycle == null) {
109 recycle = new Time();
111 recycle.timezone = Time.TIMEZONE_UTC;
112 recycle.set(utcTime);
113 recycle.timezone = tz;
114 return recycle.normalize(true);
117 public static long convertAlldayLocalToUTC(Time recycle, lon argument
[all...]
/packages/apps/Camera2/src/com/android/camera/processing/memory/
H A DByteBufferDirectPool.java36 protected ByteBuffer recycle(Integer integer, ByteBuffer byteBuffer) { method in class:ByteBufferDirectPool
H A DSimpleLruResourcePool.java68 protected TValue recycle(TKey key, TValue value) { method in class:SimpleLruResourcePool
76 mLruPool.add(key, recycle(key, value));
/packages/apps/Gallery2/src/com/android/photos/shims/
H A DLoaderCompatShim.java26 Drawable drawableForItem(T item, Drawable recycle); argument
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DBitmapUtils.java116 Bitmap bitmap, float scale, boolean recycle) {
126 if (recycle) bitmap.recycle();
139 Bitmap bitmap, int maxLength, boolean recycle) {
145 return resizeBitmapByScale(bitmap, scale, recycle);
148 public static Bitmap resizeAndCropCenter(Bitmap bitmap, int size, boolean recycle) { argument
165 if (recycle) bitmap.recycle();
172 bitmap.recycle();
174 Log.w(TAG, "unable recycle bitma
115 resizeBitmapByScale( Bitmap bitmap, float scale, boolean recycle) argument
138 resizeDownBySideLength( Bitmap bitmap, int maxLength, boolean recycle) argument
178 rotateBitmap(Bitmap source, int rotation, boolean recycle) argument
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DDropTarget.java83 public final float[] getVisualCenter(float[] recycle) { argument
84 final float res[] = (recycle == null) ? new float[2] : recycle;
/packages/apps/Gallery2/src/com/android/photos/adapters/
H A DAlbumSetCursorAdapter.java63 Drawable recycle = thumbImageView.getDrawable();
64 Drawable drawable = mDrawableFactory.drawableForItem(cursor, recycle);
65 if (recycle != drawable) {
H A DPhotoThumbnailAdapter.java50 Drawable recycle = iv.getDrawable();
51 Drawable drawable = mDrawableFactory.drawableForItem(cursor, recycle);
52 if (recycle != drawable) {
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DFolderList.java50 p.recycle();
65 p.recycle();
78 p.recycle();
/packages/apps/Gallery2/src/com/android/photos/data/
H A DPhotoSetLoader.java84 public Drawable drawableForItem(Cursor item, Drawable recycle) { argument
86 if (recycle == null || !(recycle instanceof DataUriThumbnailDrawable)) {
89 drawable = (DataUriThumbnailDrawable) 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/Gallery2/src/com/android/gallery3d/glrenderer/
H A DCanvasTexture.java47 bitmap.recycle();
H A DResourceTexture.java50 bitmap.recycle();
/packages/apps/LegacyCamera/src/com/android/camera/
H A DCameraPreference.java47 a.recycle();
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DMaxHeightScrollView.java40 attr.recycle();
/packages/apps/Settings/src/com/android/settings/widget/
H A DAspectRatioFrameLayout.java48 array.recycle();
/packages/services/Car/tests/android_car_api_test/src/com/android/car/apitest/
H A DCarPropertyTestBase.java45 mParcel.recycle();
/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewIconCache.java83 mIconOutlineCache.get(key).recycle();
92 mIconOutlineCache.get(key).recycle();
126 mIconOutlineCache.get(key).recycle();
/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);

Completed in 723 milliseconds

12345678910