Searched defs:resource (Results 26 - 50 of 351) sorted by relevance

1234567891011>>

/external/skia/tools/
H A DResources.cpp20 SkString GetResourcePath(const char* resource) { argument
21 return SkOSPath::Join(FLAGS_resourcePath[0], resource);
24 void SetResourcePath(const char* resource) { argument
25 FLAGS_resourcePath.set(0, resource);
28 bool GetResourceAsBitmap(const char* resource, SkBitmap* dst) { argument
29 SkString resourcePath = GetResourcePath(resource);
35 SkImage* GetResourceAsImage(const char* resource) { argument
36 SkString path = GetResourcePath(resource);
41 SkStreamAsset* GetResourceAsStream(const char* resource) { argument
42 SkString resourcePath = GetResourcePath(resource);
52 GetResourceAsTypeface(const char* resource) argument
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DBitmapEncoder.java1 package com.bumptech.glide.load.resource.bitmap;
41 public boolean encode(Resource<Bitmap> resource, OutputStream os) { argument
42 final Bitmap bitmap = resource.get();
56 return "BitmapEncoder.com.bumptech.glide.load.resource.bitmap";
H A DVideoBitmapDecoder.java1 package com.bumptech.glide.load.resource.bitmap;
13 * An {@link com.bumptech.glide.load.resource.bitmap.BitmapDecoder} that can decode a thumbnail frame
31 public Bitmap decode(ParcelFileDescriptor resource, BitmapPool bitmapPool, int outWidth, int outHeight, argument
35 mediaMetadataRetriever.setDataSource(resource.getFileDescriptor());
38 resource.close();
44 return "VideoBitmapDecoder.com.bumptech.glide.load.resource.bitmap";
H A DBitmapDrawableResource.java1 package com.bumptech.glide.load.resource.bitmap;
6 import com.bumptech.glide.load.resource.drawable.DrawableResource;
15 * {@link com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool} when the resource is recycled.
H A DBitmapResource.java1 package com.bumptech.glide.load.resource.bitmap;
10 * A resource wrapping a {@link android.graphics.Bitmap} object.
H A DCenterCrop.java1 package com.bumptech.glide.load.resource.bitmap;
39 return "CenterCrop.com.bumptech.glide.load.resource.bitmap";
H A DFileDescriptorBitmapDecoder.java1 package com.bumptech.glide.load.resource.bitmap;
H A DFitCenter.java1 package com.bumptech.glide.load.resource.bitmap;
29 return "FitCenter.com.bumptech.glide.load.resource.bitmap";
H A DGlideBitmapDrawableResource.java1 package com.bumptech.glide.load.resource.bitmap;
4 import com.bumptech.glide.load.resource.drawable.DrawableResource;
8 * A resource wrapper for {@link com.bumptech.glide.load.resource.bitmap.GlideBitmapDrawable}.
H A DImageVideoBitmapDecoder.java1 package com.bumptech.glide.load.resource.bitmap;
31 @SuppressWarnings("resource")
58 return "ImageVideoBitmapDecoder.com.bumptech.glide.load.resource.bitmap";
/external/jetty/src/java/org/eclipse/jetty/util/resource/
H A DJarResource.java19 package org.eclipse.jetty.util.resource;
94 * Returns true if the respresenetd resource exists.
267 public static Resource newJarResource(Resource resource) throws IOException argument
269 if (resource instanceof JarResource)
270 return resource;
271 return Resource.newResource("jar:" + resource + "!/");
/external/apache-harmony/support/src/test/java/tests/support/resource/
H A DSupport_Resources.java18 package tests.support.resource;
126 public static String getResourceURL(String resource) { argument
127 return "http://" + Support_Configuration.TestResources + resource;
131 * Util method to load resource files
133 * @param name - name of resource file
134 * @return - resource input stream
139 throw new RuntimeException("Failed to load resource: " + name);
145 * Util method to get absolute path to resource file
147 * @param name - name of resource file
148 * @return - path to resource
[all...]
/external/autotest/client/bin/
H A Dtest.py21 import os, traceback, sys, shutil, logging, resource, glob namespace
65 resource.setrlimit(resource.RLIMIT_CORE, (-1, -1))
/external/glide/library/src/main/java/com/bumptech/glide/load/
H A DMultiTransformation.java9 * A transformation that applies one or more transformations in iteration order to a resource.
33 public Resource<T> transform(Resource<T> resource, int outWidth, int outHeight) { argument
34 Resource<T> previous = resource;
38 if (previous != null && !previous.equals(resource) && !previous.equals(transformed)) {
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
H A DEngineJobListener.java7 void onEngineJobComplete(Key key, EngineResource<?> resource); argument
H A DResourceRecycler.java15 public void recycle(Resource<?> resource) { argument
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;
36 resource.recycle();
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/
H A DNullDecoder.java1 package com.bumptech.glide.load.resource;
10 * @param <Z> The type of the decoded resource that will always be null.
19 * @param <Z> The resource type.
H A DNullEncoder.java1 package com.bumptech.glide.load.resource;
H A DNullResourceEncoder.java1 package com.bumptech.glide.load.resource;
11 * @param <T> The type of the resource that will always fail to be encoded.
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bytes/
H A DBytesResource.java1 package com.bumptech.glide.load.resource.bytes;
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/drawable/
H A DGlideDrawable.java1 package com.bumptech.glide.load.resource.drawable;
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/file/
H A DFileDecoder.java1 package com.bumptech.glide.load.resource.file;
9 * A simple {@link com.bumptech.glide.load.ResourceDecoder} that creates resource for a given {@link java.io.File}.
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
H A DGifBitmapProvider.java1 package com.bumptech.glide.load.resource.gif;
H A DGifFrameResourceDecoder.java1 package com.bumptech.glide.load.resource.gif;
9 import com.bumptech.glide.load.resource.bitmap.BitmapResource;
26 return "GifFrameResourceDecoder.com.bumptech.glide.load.resource.gif";
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
H A DGifBitmapWrapper.java1 package com.bumptech.glide.load.resource.gifbitmap;
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.
18 throw new IllegalArgumentException("Can only contain either a bitmap resource or a gif resource, not both");
21 throw new IllegalArgumentException("Must contain either a bitmap resource or a gif resource");
28 * Returns the size of the wrapped resource
[all...]

Completed in 699 milliseconds

1234567891011>>