Search in sources :

Example 1 with ImageViewTargetFactory

use of com.bumptech.glide.request.target.ImageViewTargetFactory in project glide by bumptech.

the class GlideContextTest method setUp.

@Before
public void setUp() {
    Application app = RuntimeEnvironment.application;
    transitionOptions = new HashMap<>();
    context = new GlideContext(app, new LruArrayPool(), new Registry(), new ImageViewTargetFactory(), new RequestOptions(), transitionOptions, mock(Engine.class), Log.DEBUG);
}
Also used : LruArrayPool(com.bumptech.glide.load.engine.bitmap_recycle.LruArrayPool) ImageViewTargetFactory(com.bumptech.glide.request.target.ImageViewTargetFactory) RequestOptions(com.bumptech.glide.request.RequestOptions) Application(android.app.Application) Before(org.junit.Before)

Aggregations

Application (android.app.Application)1 LruArrayPool (com.bumptech.glide.load.engine.bitmap_recycle.LruArrayPool)1 RequestOptions (com.bumptech.glide.request.RequestOptions)1 ImageViewTargetFactory (com.bumptech.glide.request.target.ImageViewTargetFactory)1 Before (org.junit.Before)1