Searched defs:recycle (Results 1 - 25 of 47) sorted by relevance

12

/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
H A DMediaItemsLoader.java144 public Drawable drawableForItem(Cursor item, Drawable recycle) { argument
146 if (recycle == null || !(recycle instanceof BitmapJobDrawable)) {
149 drawable = (BitmapJobDrawable) recycle;
H A DMediaSetLoader.java134 public Drawable drawableForItem(Cursor item, Drawable recycle) { argument
136 if (recycle == null || !(recycle instanceof BitmapJobDrawable)) {
139 drawable = (BitmapJobDrawable) recycle;
/packages/apps/Gallery/src/com/android/camera/
H A DRotateBitmap.java89 public void recycle() { method in class:RotateBitmap
91 mBitmap.recycle();
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DBitmapScreenNail.java53 public void recycle() { method in class:BitmapScreenNail
54 mBitmapTexture.recycle();
H A DScreenNail.java31 public void recycle(); method in interface:ScreenNail
H A DBitmapLoader.java85 public synchronized void recycle() { method in class:BitmapLoader
H A DBitmapTileProvider.java93 public void recycle() { method in class:BitmapTileProvider
100 mScreenNail.recycle();
H A DSurfaceTextureScreenNail.java79 mExtTexture.recycle();
138 abstract public void recycle(); method in class:SurfaceTextureScreenNail
/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/Gallery2/src/com/android/gallery3d/data/
H A DBytesBufferPool.java79 public synchronized void recycle(BytesBuffer buffer) { method in class:BytesBufferPool
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
H A DUploadedTexture.java37 // The user of this class should call recycle() when the texture is not
195 public void recycle() { method in class:UploadedTexture
196 super.recycle();
/packages/apps/Camera2/src/com/android/camera/data/
H A DFilmstripItem.java77 public void recycle(@Nonnull View view); method in interface:FilmstripItem
80 * Create or recycle an existing view (if provided) to render this item.
H A DFilmstripItemBase.java89 public void recycle(@Nonnull View view) { method in class:FilmstripItemBase
H A DPhotoItem.java154 public void recycle(@Nonnull View view) { method in class:PhotoItem
H A DSessionItem.java178 public void recycle(@Nonnull View view) { method in class:SessionItem
H A DPlaceholderItem.java124 public void recycle(@Nonnull View view) { method in class:PlaceholderItem
H A DVideoItem.java205 public void recycle(@Nonnull View view) { method in class:VideoItem
/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/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/Launcher3/src/com/android/launcher3/
H A DDropTarget.java81 public final float[] getVisualCenter(float[] recycle) { argument
82 final float res[] = (recycle == null) ? new float[2] : 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);
/packages/apps/DocumentsUI/src/com/android/documentsui/
H A DThumbnailCache.java241 public void recycle() { method in class:ThumbnailCache.Result

Completed in 490 milliseconds

12