HomeSort by relevance Sort by last modified time
    Searched refs:Resource (Results 1 - 25 of 390) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/SemaCXX/
operator-arrow-temporary.cpp 4 struct Resource {
10 Resource* operator->() { return 0; }
  /external/glide/library/src/main/java/com/bumptech/glide/load/
ResourceEncoder.java 3 import com.bumptech.glide.load.engine.Resource;
6 * An interface for writing data from a resource to some persistent data store (i.e. a local File cache).
8 * @param <T> The type of the data contained by the resource.
10 public interface ResourceEncoder<T> extends Encoder<Resource<T>> {
Transformation.java 3 import com.bumptech.glide.load.engine.Resource;
6 * A class for performing an arbitrary transformation on a resource.
8 * @param <T> The type of the resource being transformed.
13 * Transforms the given resource and returns the transformed resource.
16 * Note - If the original resource object is not returned, the original resource will be recycled and it's
17 * internal resources may be reused. This means it is not safe to rely on the original resource or any internal
18 * state of the original resource in any new resource that is created. Usually this shouldn't occur, but i
    [all...]
ResourceDecoder.java 3 import com.bumptech.glide.load.engine.Resource;
10 * @param <T> The type the resource will be decoded from (File, InputStream etc).
11 * @param <Z> The type of the decoded resource (Bitmap, Drawable etc).
16 * Returns a decoded resource from the given data or null if no resource could be decoded.
19 * The returned {@link Resource} will be {@link Resource#recycle() released} when the engine sees fit.
23 * there is no requirement that the decoded resource exactly match the given dimensions.
28 * @param source The data the resource should be decoded from.
29 * @param width The ideal width in pixels of the decoded resource
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/request/
ResourceCallback.java 3 import com.bumptech.glide.load.engine.Resource;
6 * A callback that listens for when a resource load completes successfully or fails due to an exception.
11 * Called when a resource is successfully loaded.
13 * @param resource The loaded resource.
15 void onResourceReady(Resource<?> resource);
18 * Called when a resource fails to load successfully.
  /external/jetty/src/java/org/eclipse/jetty/webapp/
DefaultsDescriptor.java 21 import org.eclipse.jetty.util.resource.Resource;
29 public DefaultsDescriptor(Resource xml)
OverrideDescriptor.java 21 import org.eclipse.jetty.util.resource.Resource;
30 public OverrideDescriptor(Resource xml)
Ordering.java 28 import org.eclipse.jetty.util.resource.Resource;
39 public List<Resource> order(List<Resource> fragments);
66 public List<Resource> order(List<Resource> jars)
68 List<Resource> orderedList = new ArrayList<Resource>();
69 List<Resource> tmp = new ArrayList<Resource>(jars)
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/util/resource/
ResourceFactory.java 19 package org.eclipse.jetty.util.resource;
29 /** Get a resource for a path.
30 * @param path The path to the resource
31 * @return The resource or null
33 Resource getResource(String path);
ResourceCollection.java 19 package org.eclipse.jetty.util.resource;
38 * The first resource in the collection is the main resource.
39 * If a resource is not found in the main resource, it looks it up in
45 public class ResourceCollection extends Resource
47 private Resource[] _resources;
51 * Instantiates an empty resource collection.
57 _resources = new Resource[0];
62 * Instantiates a new resource collection
247 Resource resource=null; local
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/transcode/
ResourceTranscoder.java 1 package com.bumptech.glide.load.resource.transcode;
3 import com.bumptech.glide.load.engine.Resource;
6 * Transcodes a resource of one type to a resource of another type.
8 * @param <Z> The type of the resource that will be transcoded from.
9 * @param <R> The type of the resource that will be transcoded to.
14 * Transcodes the given resource to the new resource type and returns the wew resource.
16 * @param toTranscode The resource to transcode
    [all...]
BitmapToGlideDrawableTranscoder.java 1 package com.bumptech.glide.load.resource.transcode;
6 import com.bumptech.glide.load.engine.Resource;
7 import com.bumptech.glide.load.resource.drawable.GlideDrawable;
10 * A wrapper for {@link com.bumptech.glide.load.resource.transcode.GlideBitmapDrawableTranscoder} that transcodes
11 * to {@link com.bumptech.glide.load.resource.drawable.GlideDrawable} rather than
12 * {@link com.bumptech.glide.load.resource.bitmap.GlideBitmapDrawable}.
30 public Resource<GlideDrawable> transcode(Resource<Bitmap> toTranscode) {
31 return (Resource<GlideDrawable>) (Resource<? extends GlideDrawable>
    [all...]
GifDrawableBytesTranscoder.java 1 package com.bumptech.glide.load.resource.transcode;
3 import com.bumptech.glide.load.engine.Resource;
4 import com.bumptech.glide.load.resource.bytes.BytesResource;
5 import com.bumptech.glide.load.resource.gif.GifDrawable;
8 * An {@link com.bumptech.glide.load.resource.transcode.ResourceTranscoder} that converts
9 * {@link com.bumptech.glide.load.resource.gif.GifDrawable} into bytes by obtaining the original bytes of the GIF from
10 * the {@link com.bumptech.glide.load.resource.gif.GifDrawable}.
14 public Resource<byte[]> transcode(Resource<GifDrawable> toTranscode) {
21 return "GifDrawableBytesTranscoder.com.bumptech.glide.load.resource.transcode"
    [all...]
UnitTranscoder.java 1 package com.bumptech.glide.load.resource.transcode;
3 import com.bumptech.glide.load.engine.Resource;
6 * A simple {@link ResourceTranscoder} that simply returns the given resource.
8 * @param <Z> The type of the resource that will be transcoded from and to.
19 public Resource<Z> transcode(Resource<Z> toTranscode) {
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
MemoryCache.java 4 import com.bumptech.glide.load.engine.Resource;
14 void onResourceRemoved(Resource<?> removed);
44 Resource<?> remove(Key key);
50 * @param resource The {@link com.bumptech.glide.load.engine.EngineResource} to store.
53 Resource<?> put(Key key, Resource<?> resource);
MemoryCacheAdapter.java 4 import com.bumptech.glide.load.engine.Resource;
29 public Resource<?> remove(Key key) {
34 public Resource<?> put(Key key, Resource<?> resource) {
35 listener.onResourceRemoved(resource);
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
GifBitmapWrapper.java 1 package com.bumptech.glide.load.resource.gifbitmap;
5 import com.bumptech.glide.load.engine.Resource;
6 import com.bumptech.glide.load.resource.gif.GifDrawable;
9 * A wrapper that contains either an {@link android.graphics.Bitmap} resource or an
10 * {@link com.bumptech.glide.load.resource.gif.GifDrawable} resource.
13 private final Resource<GifDrawable> gifResource;
14 private final Resource<Bitmap> bitmapResource;
16 public GifBitmapWrapper(Resource<Bitmap> bitmapResource, Resource<GifDrawable> gifResource)
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/
Resource.java 5 * A resource interface that wraps a particular type so that it can be pooled and reused.
7 * @param <Z> The type of resource wrapped by this class.
9 public interface Resource<Z> {
12 * Returns an instance of the wrapped resource.
14 * Note - This does not have to be the same instance of the wrapped resource class and in fact it is often
25 * Returns the size in bytes of the wrapped resource to use to determine how much of the memory cache this resource
34 * It is only safe to call this method if there are no current resource consumers and if this method has not
37 * <li>During a resource load when the resource is transformed or transcoded before any consumer hav
    [all...]
ResourceRecycler.java 15 public void recycle(Resource<?> resource) {
19 // If a resource has sub-resources, releasing a sub resource can cause it's parent to be synchronously
21 handler.obtainMessage(ResourceRecyclerCallback.RECYCLE_RESOURCE, resource).sendToTarget();
24 resource.recycle();
35 Resource resource = (Resource) message.obj; local
36 resource.recycle()
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bytes/
BytesResource.java 1 package com.bumptech.glide.load.resource.bytes;
3 import com.bumptech.glide.load.engine.Resource;
6 * An {@link com.bumptech.glide.load.engine.Resource} wrapping a byte array.
8 public class BytesResource implements Resource<byte[]> {
  /packages/apps/Camera2/src/com/android/camera/processing/memory/
LruResourcePool.java 28 * Returns a wrapped reference to a resource.
33 public Resource<TValue> acquire(TKey key);
36 * Closeable resource object that will release the underlying object back to the
37 * source resource pool. A resource may be released or closed multiple times,
38 * and calls to get will return null if the resource has already been released.
40 public interface Resource<T> extends SafeCloseable {
42 * Get the underlying resource. This will return null if the resource has been
45 * @return the resource represented by this instance
    [all...]
  /external/jacoco/org.jacoco.ant/src/org/jacoco/ant/
AntFilesLocator.java 20 import org.apache.tools.ant.types.Resource;
28 private final Map<String, Resource> resources;
33 this.resources = new HashMap<String, Resource>();
37 * Adds the given file resource as a potential source file.
40 * file resource to add
42 void add(final Resource file) {
48 final Resource file = resources.get(path);
  /external/skia/src/gpu/vk/
GrVkImage.h 21 class Resource : public GrVkResource {
32 Resource() : INHERITED(), fImage(nullptr), fAlloc(nullptr), fFlags(kNo_Flags) {}
34 Resource(VkImage image, VkDeviceMemory alloc, Flags flags)
37 ~Resource() override {}
45 GrVkImage(const Resource* imageResource) : fResource(imageResource) {
46 if (imageResource->fFlags & Resource::kLinearTiling_Flag) {
58 const Resource* resource() const { return fResource; } function in class:GrVkImage
60 return SkToBool(fResource->fFlags & Resource::kLinearTiling_Flag);
95 static const Resource* CreateResource(const GrVkGpu* gpu, const ImageDesc& imageDesc)
    [all...]
  /external/deqp/framework/common/
tcuResource.hpp 23 * \brief Resource system.
36 * \brief Resource object
42 * Resource objects are requested from Archive object provided by Platform.
45 class Resource
48 virtual ~Resource (void) {}
58 Resource (const std::string& name) : m_name(name) {}
65 * \brief Abstract resource archive
73 * \brief Open resource
75 * Throws resource error if no resource with given name exists
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/
UnitTransformation.java 1 package com.bumptech.glide.load.resource;
4 import com.bumptech.glide.load.engine.Resource;
7 * A noop Transformation that simply returns the given resource.
9 * @param <T> The type of the resource that will always be returned unmodified.
17 * @param <T> The type of the resource to be transformed.
25 public Resource<T> transform(Resource<T> resource, int outWidth, int outHeight) {
26 return resource;

Completed in 1179 milliseconds

1 2 3 4 5 6 7 8 91011>>