Searched defs:resource (Results 76 - 100 of 351) sorted by relevance

1234567891011>>

/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
H A DGifResourceEncoder.java1 package com.bumptech.glide.load.resource.gif;
14 import com.bumptech.glide.load.resource.UnitTransformation;
15 import com.bumptech.glide.load.resource.bitmap.BitmapResource;
23 * {@link com.bumptech.glide.load.resource.gif.GifDrawable} to cache.
44 public boolean encode(Resource<GifDrawable> resource, OutputStream os) { argument
47 GifDrawable drawable = resource.get();
H A DGifDrawableLoadProvider.java1 package com.bumptech.glide.load.resource.gif;
10 import com.bumptech.glide.load.resource.file.FileToStreamDecoder;
18 * {@link com.bumptech.glide.load.resource.gif.GifDrawable} that can be used to display an animated GIF.
H A DGifFrameModelLoader.java1 package com.bumptech.glide.load.resource.gif;
/external/jetty/src/java/org/eclipse/jetty/util/resource/
H A DJarFileResource.java19 package org.eclipse.jetty.util.resource;
135 * Returns true if the represented resource exists.
237 * Returns true if the represented resource is a container/directory.
238 * If the resource is not a file, resources ending with "/" are
362 * Return the length of the resource
377 /** Encode according to this resource type.
392 * @param resource
393 * @return the non-caching resource
395 public static Resource getNonCachingResource (Resource resource) argument
397 if (!(resource instanceo
415 isContainedIn(Resource resource) argument
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
H A DMemoryCacheAdapter.java34 public Resource<?> put(Key key, Resource<?> resource) { argument
35 listener.onResourceRemoved(resource);
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DFileDescriptorBitmapDataLoadProvider.java1 package com.bumptech.glide.load.resource.bitmap;
11 import com.bumptech.glide.load.resource.NullEncoder;
12 import com.bumptech.glide.load.resource.file.FileToStreamDecoder;
H A DImageVideoDataLoadProvider.java1 package com.bumptech.glide.load.resource.bitmap;
H A DStreamBitmapDataLoadProvider.java1 package com.bumptech.glide.load.resource.bitmap;
11 import com.bumptech.glide.load.resource.file.FileToStreamDecoder;
H A DStreamBitmapDecoder.java1 package com.bumptech.glide.load.resource.bitmap;
16 * {@link com.bumptech.glide.load.resource.bitmap.Downsampler} to decode an {@link android.graphics.Bitmap} from an
20 private static final String ID = "StreamBitmapDecoder.com.bumptech.glide.load.resource.bitmap";
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/file/
H A DFileToStreamDecoder.java1 package com.bumptech.glide.load.resource.file;
15 * @param <T> The type of resource that the wrapped InputStream decoder decodes.
H A DStreamFileDataLoadProvider.java1 package com.bumptech.glide.load.resource.file;
8 import com.bumptech.glide.load.resource.NullResourceEncoder;
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
H A DImageVideoGifDrawableLoadProvider.java1 package com.bumptech.glide.load.resource.gifbitmap;
10 import com.bumptech.glide.load.resource.file.FileToStreamDecoder;
11 import com.bumptech.glide.load.resource.gif.GifDrawable;
19 * {@link com.bumptech.glide.load.resource.gif.GifDrawable} or an {@link Bitmap} from either an
/external/glide/library/src/main/java/com/bumptech/glide/request/target/
H A DImageViewTarget.java12 * @param <Z> The type of resource that this target will display in the wrapped {@link android.widget.ImageView}.
74 public void onResourceReady(Z resource, GlideAnimation<? super Z> glideAnimation) { argument
75 if (glideAnimation == null || !glideAnimation.animate(resource, this)) {
76 setResource(resource);
80 protected abstract void setResource(Z resource); argument
H A DTarget.java10 * An interface that Glide can load a resource into and notify of relevant lifecycle events during a load.
22 * guarantees. onLoadStarted may not be called if the resource is in memory or if the load will fail because of a
27 * @param <R> The type of resource the target can display.
63 * The method that will be called when the resource load has finished.
65 * @param resource the loaded resource.
67 void onResourceReady(R resource, GlideAnimation<? super R> glideAnimation); argument
/external/jetty/src/java/org/eclipse/jetty/webapp/
H A DDiscoveredAnnotation.java24 import org.eclipse.jetty.util.resource.Resource;
40 protected Resource _resource; //resource it was discovered on, can be null (eg from WEB-INF/classes)
50 public DiscoveredAnnotation(WebAppContext context, String className, Resource resource) argument
54 _resource = resource;
/external/mesa3d/src/gallium/drivers/galahad/
H A Dglhd_objects.c39 struct pipe_resource *resource)
43 if(!resource)
46 assert(resource->screen == glhd_screen->screen);
52 memcpy(&glhd_resource->base, resource, sizeof(struct pipe_resource));
56 glhd_resource->resource = resource;
61 pipe_resource_reference(&resource, NULL);
68 pipe_resource_reference(&glhd_resource->resource, NULL);
83 assert(surface->texture == glhd_resource->resource);
123 assert(view->texture == glhd_resource->resource);
38 galahad_resource_create(struct galahad_screen *glhd_screen, struct pipe_resource *resource) argument
[all...]
H A Dglhd_objects.h44 struct pipe_resource *resource; member in struct:galahad_resource
106 (void)galahad_resource(_transfer->resource);
115 return galahad_resource(_resource)->resource;
146 struct pipe_resource *resource);
/external/mesa3d/src/gallium/drivers/identity/
H A Did_objects.c39 struct pipe_resource *resource)
43 if(!resource)
46 assert(resource->screen == id_screen->screen);
52 memcpy(&id_resource->base, resource, sizeof(struct pipe_resource));
56 id_resource->resource = resource;
61 pipe_resource_reference(&resource, NULL);
68 pipe_resource_reference(&id_resource->resource, NULL);
83 assert(surface->texture == id_resource->resource);
124 assert(view->texture == id_resource->resource);
38 identity_resource_create(struct identity_screen *id_screen, struct pipe_resource *resource) argument
[all...]
H A Did_objects.h44 struct pipe_resource *resource; member in struct:identity_resource
104 (void)identity_resource(_transfer->resource);
113 return identity_resource(_resource)->resource;
144 struct pipe_resource *resource);
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_flush.c99 struct pipe_resource *resource,
109 referenced = llvmpipe_is_resource_referenced(pipe, resource, level, layer);
98 llvmpipe_flush_resource(struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, int layer, boolean read_only, boolean cpu_access, boolean do_not_block, const char *reason) argument
/external/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_buffer.h12 * resource->data has not been updated to reflect modified VRAM contents
14 * USER_MEMORY: resource->data is a pointer to client memory and may change
24 * The address of a resource will lie within the nouveau_bo referenced,
68 nv04_resource(struct pipe_resource *resource) argument
70 return (struct nv04_resource *)resource;
73 /* is resource mapped into the GPU's address space (i.e. VRAM or GART) ? */
75 nouveau_resource_mapped_by_gpu(struct pipe_resource *resource) argument
77 return nv04_resource(resource)->domain != 0;
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dr600_resource.h28 /* flag to indicate a resource is to be used as a transfer so should not be tiled */
42 struct si_resource resource; member in struct:r600_resource_texture
44 /* If this resource is a depth-stencil buffer on evergreen, this contains
45 * the depth part of the format. There is a separate stencil resource
/external/objenesis/tck/src/org/objenesis/tck/
H A DCandidateLoader.java103 * @param resource File name
106 public void loadFromResource(Class cls, String resource) throws IOException { argument
107 InputStream candidatesConfig = cls.getResourceAsStream(resource);
109 throw new IOException("Resource '" + resource + "' not found relative to " + cls.getName());
/external/skia/bench/
H A DGrResourceCacheBench.cpp48 GrGpuResource* resource = new BenchResource(gpu); local
49 resource->resourcePriv().setUniqueKey(key);
50 resource->unref();
147 SkAutoTUnref<GrGpuResource> resource(cache->findAndRefUniqueResource(key));
148 SkASSERT(resource); variable
/external/apache-harmony/
H A DAndroid.mk29 # We need to use -maxdepth 4 because there's a non-resource directory called "resources" deeper in the tree.
30 define harmony-test-resource-dirs
34 harmony_test_resource_dirs := $(call harmony-test-resource-dirs,$(harmony_test_dirs))

Completed in 1704 milliseconds

1234567891011>>