/external/apache-harmony/support/src/test/java/tests/support/ |
H A D | Support_GetResource.java | 22 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 D | resource_unittest.py | 8 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 D | dri2_buffer.h | 11 struct pipe_resource *resource; member in struct:dri2_buffer
|
/external/libchrome/sandbox/linux/services/ |
H A D | resource_limits.cc | 7 #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 D | colorwheel.cpp | 14 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 D | pdf_never_embed.cpp | 28 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 D | UnitTransformation.java | 1 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 D | SimpleResource.java | 1 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 D | BitmapDecoder.java | 1 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 D | BitmapTransformation.java | 1 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 D | GifDrawableTransformation.java | 1 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 D | GifDrawableResource.java | 1 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 D | GifBitmapWrapperResourceEncoder.java | 1 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 D | GifBitmapWrapperTransformation.java | 1 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 D | Transformation.java | 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 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 D | DrawableResource.java | 1 package com.bumptech.glide.load.resource.drawable;
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/file/ |
H A D | FileResource.java | 1 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 D | GifDrawableBytesTranscoder.java | 1 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 D | ResourceTranscoder.java | 1 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 D | ResourceCallback.java | 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); argument 18 * Called when a resource fails to load successfully.
|
/external/glide/library/src/main/java/com/bumptech/glide/request/target/ |
H A D | BitmapImageViewTarget.java | 21 * @param resource The bitmap to display. 24 protected void setResource(Bitmap resource) { argument 25 view.setImageBitmap(resource);
|
H A D | DrawableImageViewTarget.java | 15 protected void setResource(Drawable resource) { argument 16 view.setImageDrawable(resource);
|
/external/jetty/src/java/org/eclipse/jetty/util/resource/ |
H A D | 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
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | Texture.java | 20 * 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 D | ShadowMenuInflater.java | 25 public void inflate(int resource, Menu root) { argument 26 shadowOf(context.getApplicationContext()).getResourceLoader().inflateMenu(context, resource, root);
|