/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
ImageLoaderTest.java | 35 private ImageLoader.ImageCache mImageCache; 36 private ImageLoader mImageLoader; 41 mImageCache = mock(ImageLoader.ImageCache.class); 42 mImageLoader = new ImageLoader(mRequestQueue, mImageCache); 54 ImageLoader.ImageListener listener = mock(ImageLoader.ImageListener.class); 56 ImageLoader.ImageContainer ic = mImageLoader.get("http://foo", listener); 64 ImageLoader.ImageListener listener = mock(ImageLoader.ImageListener.class); 70 verify(listener, times(2)).onResponse(any(ImageLoader.ImageContainer.class), eq(true)) [all...] |
NetworkImageViewTest.java | 39 private class MockImageLoader extends ImageLoader { 65 assertNotNull(NetworkImageView.class.getMethod("setImageUrl", String.class, ImageLoader.class));
|
/frameworks/base/docs/html/training/volley/ |
request.jd | 56 <li>{@code ImageLoader}—a helper class that handles loading and caching images from 57 remote URLs. {@code ImageLoader} is a an orchestrator for large numbers of {@code ImageRequest}s, 59 {@code ImageLoader} provides an in-memory cache to sit in front of the normal Volley 62 using disk I/O. {@code ImageLoader} also does response coalescing, without which almost 66 <li>{@code NetworkImageView}—builds on {@code ImageLoader} and effectively replaces 103 <h3>Use ImageLoader and NetworkImageView</h3> 105 <p>You can use {@code ImageLoader} and {@code NetworkImageView} in concert to efficiently 116 <p>You can use {@code ImageLoader} by itself to display an image, for example:</p> 119 ImageLoader mImageLoader; 127 // Get the ImageLoader through your singleton class [all...] |
requestqueue.jd | 116 {@code ImageLoader} functionality:</p> 121 private ImageLoader mImageLoader; 128 mImageLoader = new ImageLoader(mRequestQueue, 129 new ImageLoader.ImageCache() { 165 public ImageLoader getImageLoader() {
|
/external/valgrind/ |
darwin10-drd.supp | 27 dyld ImageLoaderMachOCompressed::findExportedSymbol(char const*, ImageLoader const**) const 32 dyld dyld::fastBindLazySymbol(ImageLoader**, unsigned long) 38 dyld ImageLoaderMachOCompressed::doBindFastLazySymbol(unsigned int, ImageLoader::LinkContext const&)
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
NetworkImageView.java | 25 import com.android.volley.toolbox.ImageLoader.ImageContainer; 26 import com.android.volley.toolbox.ImageLoader.ImageListener; 46 /** Local copy of the ImageLoader. */ 47 private ImageLoader mImageLoader; 74 * @param imageLoader ImageLoader that will be used to make the request. 76 public void setImageUrl(String url, ImageLoader imageLoader) { 78 mImageLoader = imageLoader;
|
ImageLoader.java | 36 * The simple way to use this class is to call {@link ImageLoader#get(String, ImageListener)} 38 * {@link ImageLoader#getImageListener(ImageView, int, int)}. Note that all function calls to 42 public class ImageLoader { 70 * Simple cache adapter interface. If provided to the ImageLoader, it 80 * Constructs a new ImageLoader. 84 public ImageLoader(RequestQueue queue, ImageCache imageCache) { 137 * @param isImmediate True if this was called during ImageLoader.get() variants. 176 * If the default was returned, the {@link ImageLoader} will be invoked when the 492 throw new IllegalStateException("ImageLoader must be invoked from the main thread.");
|
/sdk/eclipse/plugins/com.android.ide.eclipse.hierarchyviewer/src/com/android/ide/eclipse/hierarchyviewer/views/ |
LayoutView.java | 19 import com.android.ddmuilib.ImageLoader; 79 ImageLoader imageLoader = ImageLoader.getLoader(HierarchyViewerDirector.class); 80 Image image = imageLoader.loadImage("show-extras.png", Display.getDefault()); //$NON-NLS-1$ 85 mOnWhite = imageLoader.loadImage("on-white.png", Display.getDefault()); //$NON-NLS-1$ 86 mOnBlack = imageLoader.loadImage("on-black.png", Display.getDefault()); //$NON-NLS-1$ 93 image = imageLoader.loadImage("load-all-views.png", Display.getDefault()); //$NON-NLS-1$
|
PixelPerfectLoupeView.java | 19 import com.android.ddmuilib.ImageLoader; 57 ImageLoader imageLoader = ImageLoader.getLoader(HierarchyViewerDirector.class); 58 Image image = imageLoader.loadImage("show-overlay.png", Display.getDefault()); //$NON-NLS-1$
|
/external/llvm/test/CodeGen/X86/ |
compact-unwind.ll | 56 %struct.anon = type { %class.ImageLoader*, i64, i64 } 57 %class.ImageLoader = type { i32 (...)**, i8*, i8*, i32, i64, i64, i32, i32, %"struct.ImageLoader::recursive_lock"*, i16, i16, [4 x i8] } 58 %"struct.ImageLoader::recursive_lock" = type { i32, i32 } 77 define void @test1(%class.ImageLoader* %image) optsize ssp uwtable { 88 %0 = load %class.ImageLoader*, %class.ImageLoader** %image4, align 8 89 %cmp5 = icmp eq %class.ImageLoader* %0, %image 94 store %class.ImageLoader* null, %class.ImageLoader** %image4, align [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterDownsample.java | 24 import com.android.gallery3d.filtershow.cache.ImageLoader; 30 private ImageLoader mImageLoader; 32 public ImageFilterDownsample(ImageLoader loader) {
|
/external/libcxxabi/test/ |
test_demangle.pass.cpp | 42 {"_ZN4dyld15runInitializersEP11ImageLoader", "dyld::runInitializers(ImageLoader*)"}, 43 {"_ZN4dyld27findCoalescedExportedSymbolEPKcPPKN11ImageLoader6SymbolEPPKS2_", "dyld::findCoalescedExportedSymbol(char const*, ImageLoader::Symbol const**, ImageLoader const**)"}, 44 {"_ZN4dyld22flatFindExportedSymbolEPKcPPKN11ImageLoader6SymbolEPPKS2_", "dyld::flatFindExportedSymbol(char const*, ImageLoader::Symbol const**, ImageLoader const**)"}, 52 {"_ZN4dyld14addMappedRangeEP11ImageLoadermm", "dyld::addMappedRange(ImageLoader*, unsigned long, unsigned long)"}, 53 {"_Z28coresymbolication_load_imageP25CSCppDyldSharedMemoryPagePK11ImageLoadery", "coresymbolication_load_image(CSCppDyldSharedMemoryPage*, ImageLoader const*, unsigned long long)"}, 54 {"_Z30coresymbolication_unload_imageP25CSCppDyldSharedMemoryPagePK11ImageLoader", "coresymbolication_unload_image(CSCppDyldSharedMemoryPage*, ImageLoader const*)"}, 55 {"_ZN4dyld18getCoalescedImagesEPP11ImageLoader", "dyld::getCoalescedImages(ImageLoader**)"}, 58 {"_ZN4dyld14forEachImageDoEPFvP11ImageLoaderPvES2_", "dyld::forEachImageDo(void (*)(ImageLoader*, void*), void*)"} [all...] |
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/ |
test_demangle.pass.cpp | 42 {"_ZN4dyld15runInitializersEP11ImageLoader", "dyld::runInitializers(ImageLoader*)"}, 43 {"_ZN4dyld27findCoalescedExportedSymbolEPKcPPKN11ImageLoader6SymbolEPPKS2_", "dyld::findCoalescedExportedSymbol(char const*, ImageLoader::Symbol const**, ImageLoader const**)"}, 44 {"_ZN4dyld22flatFindExportedSymbolEPKcPPKN11ImageLoader6SymbolEPPKS2_", "dyld::flatFindExportedSymbol(char const*, ImageLoader::Symbol const**, ImageLoader const**)"}, 52 {"_ZN4dyld14addMappedRangeEP11ImageLoadermm", "dyld::addMappedRange(ImageLoader*, unsigned long, unsigned long)"}, 53 {"_Z28coresymbolication_load_imageP25CSCppDyldSharedMemoryPagePK11ImageLoadery", "coresymbolication_load_image(CSCppDyldSharedMemoryPage*, ImageLoader const*, unsigned long long)"}, 54 {"_Z30coresymbolication_unload_imageP25CSCppDyldSharedMemoryPagePK11ImageLoader", "coresymbolication_unload_image(CSCppDyldSharedMemoryPage*, ImageLoader const*)"}, 55 {"_ZN4dyld18getCoalescedImagesEPP11ImageLoader", "dyld::getCoalescedImages(ImageLoader**)"}, 58 {"_ZN4dyld14forEachImageDoEPFvP11ImageLoaderPvES2_", "dyld::forEachImageDo(void (*)(ImageLoader*, void*), void*)"} [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
ImageLoader.java | 32 public class ImageLoader { 34 private static final String TAG = "ImageLoader"; 108 public ImageLoader(ContentResolver cr, Handler handler) {
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
RecordingCardView.java | 32 import com.android.tv.util.ImageLoader; 78 ImageLoader.loadBitmap(getContext(), uri, mImageWidth, mImageHeight, 92 extends ImageLoader.ImageLoaderCallback<RecordingCardView> {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/ |
EventLogView.java | 19 import com.android.ddmuilib.ImageLoader; 37 ImageLoader loader = ImageLoader.getDdmUiLibLoader();
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
FingerPrint.java | 27 import org.eclipse.swt.graphics.ImageLoader; 212 ImageLoader imageLoader = new ImageLoader(); 213 imageLoader.data = new ImageData[] { data }; 218 imageLoader.save(out, SWT.IMAGE_GIF);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/widgets/ |
ImageCanvas.java | 31 import org.eclipse.swt.graphics.ImageLoader; 240 ImageLoader imageLoader = new ImageLoader(); 241 imageLoader.data = new ImageData[] { mImage.getImageData() }; 244 imageLoader.save(file.getAbsolutePath(), SWT.IMAGE_PNG);
|
/development/samples/Support7Demos/src/com/example/android/supportv7/graphics/ |
ImageLoader.java | 30 class ImageLoader { 38 private ImageLoader() {
|
/external/bison/build-aux/ |
darwin11.4.0.valgrind | 23 fun:*ImageLoader*
|
/packages/apps/TV/src/com/android/tv/search/ |
ProgramGuideSearchFragment.java | 44 import com.android.tv.util.ImageLoader; 80 ImageLoader.loadBitmap(mMainActivity, result.imageUri, mMainCardWidth, 93 private static ImageLoader.ImageLoaderCallback<ImageCardView> createImageLoaderCallback( 95 return new ImageLoader.ImageLoaderCallback<ImageCardView>(cardView) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
ImageSavingTask.java | 23 import com.android.gallery3d.filtershow.cache.ImageLoader; 155 Bitmap bitmap = ImageLoader.loadConstrainedBitmap(sourceUri, getContext(),
|
/packages/apps/TV/src/com/android/tv/menu/ |
ChannelsPosterPrefetcher.java | 99 // and ImageLoader spawns an async task so this is fast enough. 1 ms in local testing. 118 Log.d(TAG, "doPrefetchImages() finished. ImageLoader may still have async tasks for "
|
/packages/apps/TV/src/com/android/tv/util/ |
ImageLoader.java | 53 public final class ImageLoader { 54 private static final String TAG = "ImageLoader"; 65 private static final ThreadFactory sThreadFactory = new NamedThreadFactory("ImageLoader"); 75 * ImageLoader catches the error, and just leaves the image blank. 341 if (DEBUG) Log.d(ImageLoader.TAG, "Bitmap is loaded " + mKey); 343 for (ImageLoader.ImageLoaderCallback callback : mCallbacks) { 346 ImageLoader.sPendingListMap.remove(mKey); 414 private ImageLoader() {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
EditorPlaceHolder.java | 7 import com.android.gallery3d.filtershow.cache.ImageLoader;
|