Searched defs:resource (Results 1 - 25 of 351) sorted by relevance

1234567891011>>

/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_GetResource.java22 public static String getResourceURL(String resource) { argument
23 return "http://" + Support_Configuration.TestResources + resource;
/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/
H A Dresource_unittest.py8 from py_vulcanize import resource namespace
14 r = resource.Resource('/a', '/a/b/c.js')
/external/mesa3d/src/gallium/state_trackers/dri/drm/
H A Ddri2_buffer.h11 struct pipe_resource *resource; member in struct:dri2_buffer
/external/libchrome/sandbox/linux/services/
H A Dresource_limits.cc7 #include <sys/resource.h>
15 bool ResourceLimits::Lower(int resource, rlim_t limit) { argument
17 if (getrlimit(resource, &old_rlimit))
22 int rc = setrlimit(resource, &new_rlimit);
/external/skia/gm/
H A Dcolorwheel.cpp14 static void draw_image(SkCanvas* canvas, const char* resource, int x, int y) { argument
15 SkAutoTUnref<SkImage> image(GetResourceAsImage(resource));
20 " to set the resourcePath?\n", resource);
H A Dpdf_never_embed.cpp28 const char resource[] = "fonts/Roboto2-Regular_NoEmbed.ttf"; local
29 SkAutoTUnref<SkTypeface> typeface(GetResourceAsTypeface(resource));
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/
H A DUnitTransformation.java1 package com.bumptech.glide.load.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) { argument
26 return resource;
H A DSimpleResource.java1 package com.bumptech.glide.load.resource;
7 * <b>Suggested usages only include resource object which don't have size and cannot be recycled/closed.</b>
9 * @param <T> type of the wrapped resource
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DBitmapDecoder.java1 package com.bumptech.glide.load.resource.bitmap;
9 * A bitmap decoder for a given resource type.
11 * @param <T> The type of resource this decoder can decode a {@link Bitmap} from.
15 * Returns a decoded bitmap for a given resource and target dimensions.
17 * @param resource The resource to decode, managed by the caller, no need to clean it up.
25 Bitmap decode(T resource, BitmapPool bitmapPool, int outWidth, int outHeight, DecodeFormat decodeFormat) argument
33 * data while loading the resource. For {@link android.graphics.Bitmap}s this would mean at a minimum doing no
H A DBitmapTransformation.java1 package com.bumptech.glide.load.resource.bitmap;
44 public final Resource<Bitmap> transform(Resource<Bitmap> resource, int outWidth, int outHeight) { argument
49 Bitmap toTransform = resource.get();
54 result = resource;
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
H A DGifDrawableTransformation.java1 package com.bumptech.glide.load.resource.gif;
8 import com.bumptech.glide.load.resource.bitmap.BitmapResource;
12 * and can apply it to every frame of any {@link com.bumptech.glide.load.resource.gif.GifDrawable}.
24 public Resource<GifDrawable> transform(Resource<GifDrawable> resource, int outWidth, int outHeight) { argument
25 GifDrawable drawable = resource.get();
31 Bitmap firstFrame = resource.get().getFirstFrame();
40 return resource;
H A DGifDrawableResource.java1 package com.bumptech.glide.load.resource.gif;
3 import com.bumptech.glide.load.resource.drawable.DrawableResource;
7 * A resource wrapping an {@link com.bumptech.glide.load.resource.gif.GifDrawable}.
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
H A DGifBitmapWrapperResourceEncoder.java1 package com.bumptech.glide.load.resource.gifbitmap;
7 import com.bumptech.glide.load.resource.gif.GifDrawable;
13 * {@link com.bumptech.glide.load.resource.gif.GifDrawable}.
27 public boolean encode(Resource<GifBitmapWrapper> resource, OutputStream os) { argument
28 final GifBitmapWrapper gifBitmap = resource.get();
H A DGifBitmapWrapperTransformation.java1 package com.bumptech.glide.load.resource.gifbitmap;
8 import com.bumptech.glide.load.resource.gif.GifDrawable;
9 import com.bumptech.glide.load.resource.gif.GifDrawableTransformation;
13 * transformation to both {@link android.graphics.Bitmap}s and {@link com.bumptech.glide.load.resource.gif.GifDrawable}.
30 public Resource<GifBitmapWrapper> transform(Resource<GifBitmapWrapper> resource, int outWidth, int outHeight) { argument
31 Resource<Bitmap> bitmapResource = resource.get().getBitmapResource();
32 Resource<GifDrawable> gifResource = resource.get().getGifResource();
36 GifBitmapWrapper gifBitmap = new GifBitmapWrapper(transformed, resource.get().getGifResource());
42 GifBitmapWrapper gifBitmap = new GifBitmapWrapper(resource.get().getBitmapResource(), transformed);
46 return resource;
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/
H A DTransformation.java6 * 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 if
19 * absolutely necessary either the original resource objec
28 transform(Resource<T> resource, int outWidth, int outHeight) argument
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/drawable/
H A DDrawableResource.java1 package com.bumptech.glide.load.resource.drawable;
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/file/
H A DFileResource.java1 package com.bumptech.glide.load.resource.file;
3 import com.bumptech.glide.load.resource.SimpleResource;
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/transcode/
H A DGifDrawableBytesTranscoder.java1 package com.bumptech.glide.load.resource.transcode;
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}.
21 return "GifDrawableBytesTranscoder.com.bumptech.glide.load.resource.transcode";
H A DResourceTranscoder.java1 package com.bumptech.glide.load.resource.transcode;
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.
/external/glide/library/src/main/java/com/bumptech/glide/request/
H A DResourceCallback.java6 * 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); argument
18 * Called when a resource fails to load successfully.
/external/glide/library/src/main/java/com/bumptech/glide/request/target/
H A DBitmapImageViewTarget.java21 * @param resource The bitmap to display.
24 protected void setResource(Bitmap resource) { argument
25 view.setImageBitmap(resource);
H A DDrawableImageViewTarget.java15 protected void setResource(Drawable resource) { argument
16 view.setImageDrawable(resource);
/external/jetty/src/java/org/eclipse/jetty/util/resource/
H A DResourceFactory.java19 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
/external/replicaisland/src/com/replica/replicaisland/
H A DTexture.java20 * Simple container class for textures. Serves as a mapping between Android resource ids and
26 public int resource; field in class:Texture
38 resource = -1;
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowMenuInflater.java25 public void inflate(int resource, Menu root) { argument
26 shadowOf(context.getApplicationContext()).getResourceLoader().inflateMenu(context, resource, root);

Completed in 2038 milliseconds

1234567891011>>