OSDN Git Service

Add BytesBufferPool to prevent GC.
authorOwen Lin <owenlin@google.com>
Mon, 9 Apr 2012 02:15:35 +0000 (10:15 +0800)
committerOwen Lin <owenlin@google.com>
Tue, 10 Apr 2012 06:39:23 +0000 (14:39 +0800)
commitcafd30f96355ad446943d60cd2595d08423944e2
tree04f1473abb3d25eef6c36fe90bf1281120f89153
parent8ef6c55bdad9a3e835ce56bdc98681434b4ac5b3
Add BytesBufferPool to prevent GC.

Change-Id: Ia8513ff380a60f102481cbf25650eca149b75064
src/com/android/gallery3d/app/AbstractGalleryActivity.java
src/com/android/gallery3d/data/BitmapPool.java [moved from src/com/android/gallery3d/ui/BitmapPool.java with 97% similarity]
src/com/android/gallery3d/data/BytesBufferPool.java [new file with mode: 0644]
src/com/android/gallery3d/data/ImageCacheRequest.java
src/com/android/gallery3d/data/ImageCacheService.java
src/com/android/gallery3d/data/MediaItem.java
src/com/android/gallery3d/ui/AlbumLabelMaker.java
src/com/android/gallery3d/ui/TextureUploader.java