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

1234567891011>>

/external/skia/tools/
H A DResources.cpp15 SkString GetResourcePath(const char* resource) { argument
16 return SkOSPath::SkPathJoin(FLAGS_resourcePath[0], resource);
/external/chromium_org/chrome/browser/ui/views/
H A Dtheme_image_mapper.cc11 int MapThemeImage(HostDesktopType desktop_type, int resource) { argument
14 return resource;
16 switch (resource) {
40 return resource;
/external/chromium_org/third_party/WebKit/Source/core/fetch/
H A DResourcePtr.cpp31 void ResourcePtrBase::setResource(Resource* resource) argument
33 if (resource == m_resource)
37 m_resource = resource;
/external/chromium_org/third_party/WebKit/Source/platform/
H A DPlatformResourceLoader.cpp13 String loadResourceAsASCIIString(const char* resource) argument
15 const WebData& resourceData = Platform::current()->loadResource(resource);
/external/chromium_org/third_party/skia/tools/
H A DResources.cpp15 SkString GetResourcePath(const char* resource) { argument
16 return SkOSPath::Join(FLAGS_resourcePath[0], resource);
19 void SetResourcePath(const char* resource) { argument
20 FLAGS_resourcePath.set(0, resource);
/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_org/third_party/mesa/src/src/gallium/state_trackers/dri/drm/
H A Ddri2_buffer.h11 struct pipe_resource *resource; member in struct:dri2_buffer
/external/mesa3d/src/gallium/state_trackers/dri/drm/
H A Ddri2_buffer.h11 struct pipe_resource *resource; member in struct:dri2_buffer
/external/chromium_org/ppapi/proxy/
H A Dmock_resource.cc10 MockResource::MockResource(const HostResource& resource) argument
11 : Resource(OBJECT_IS_PROXY, resource) {
H A Dplugin_resource_var.cc9 PluginResourceVar::PluginResourceVar(ppapi::Resource* resource) argument
10 : resource_(resource) {}
H A Dplugin_resource_var.h10 #include "ppapi/shared_impl/resource.h"
14 // Represents a resource Var, usable on the plugin side.
17 // Makes a null resource var.
20 // Makes a resource var with an existing resource.
21 // Takes one reference to the given resource.
22 explicit PluginResourceVar(ppapi::Resource* resource);
28 scoped_refptr<ppapi::Resource> resource() const { return resource_; } function in class:PluginResourceVar
/external/chromium_org/ppapi/shared_impl/
H A Dhost_resource.cc13 HostResource resource; local
14 resource.SetHostResource(instance, 0);
15 return resource;
18 void HostResource::SetHostResource(PP_Instance instance, PP_Resource resource) { argument
20 host_resource_ = resource;
/external/chromium_org/ppapi/thunk/
H A Dppb_view_dev_thunk.cc19 float GetDeviceScale(PP_Resource resource) { argument
21 EnterResource<PPB_View_API> enter(resource, true);
27 float GetCSSScale(PP_Resource resource) { argument
29 EnterResource<PPB_View_API> enter(resource, true);
/external/chromium_org/third_party/skia/src/gpu/
H A DGrResourceCache2.cpp17 void GrResourceCache2::insertResource(GrGpuResource* resource) { argument
18 SkASSERT(resource);
19 SkASSERT(!resource->wasDestroyed());
20 SkASSERT(!this->isInCache(resource));
21 fResources.addToHead(resource);
23 if (!resource->getScratchKey().isNullScratch()) {
24 fScratchMap.insert(resource->getScratchKey(), resource);
28 void GrResourceCache2::removeResource(GrGpuResource* resource) { argument
29 SkASSERT(this->isInCache(resource));
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DBitmapDecoder.java1 package com.bumptech.glide.load.resource.bitmap;
8 * A bitmap decoder for a given resource type.
10 * @param <T> The type of resource this decoder can decode a {@link Bitmap} from.
14 * Returns a decoded bitmap for a given resource and target dimensions.
16 * @param resource The resource to decode.
24 public Bitmap decode(T resource, BitmapPool bitmapPool, int outWidth, int outHeight, DecodeFormat decodeFormat) argument
H A DBitmapEncoder.java1 package com.bumptech.glide.load.resource.bitmap;
23 public boolean encode(Resource<Bitmap> resource, OutputStream os) { argument
24 final Bitmap bitmap = resource.get();
31 return "BitmapEncoder.com.bumptech.glide.load.resource.bitmap";
H A DCenterCrop.java1 package com.bumptech.glide.load.resource.bitmap;
22 public Resource<Bitmap> transform(Resource<Bitmap> resource, int outWidth, int outHeight) { argument
28 final Bitmap toReuse = pool.get(outWidth, outHeight, resource.get().getConfig());
29 Bitmap transformed = TransformationUtils.centerCrop(toReuse, resource.get(), outWidth, outHeight);
34 if (transformed == resource.get()) {
35 return resource;
43 return "CenterCrop.com.bumptech.glide.load.resource.bitmap";
H A DFitCenter.java1 package com.bumptech.glide.load.resource.bitmap;
20 public Resource<Bitmap> transform(Resource<Bitmap> resource, int outWidth, int outHeight) { argument
25 Bitmap transformed = TransformationUtils.fitCenter(resource.get(), pool, outWidth, outHeight);
26 if (transformed == resource.get()) {
27 return resource;
35 return "FitCenter.com.bumptech.glide.load.resource.bitmap";
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
H A DGifDataTransformation.java1 package com.bumptech.glide.load.resource.gif;
16 public Resource<GifData> transform(Resource<GifData> resource, int outWidth, int outHeight) { argument
17 GifData data = resource.get();
21 return resource;
H A DGifResourceEncoder.java1 package com.bumptech.glide.load.resource.gif;
14 public boolean encode(Resource<GifData> resource, OutputStream os) { argument
17 os.write(resource.get().getData());
29 return "GifResourceEncoder.com.bumptech.glide.load.resource.gif";
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
H A DGifBitmapWrapperResourceEncoder.java1 package com.bumptech.glide.load.resource.gifbitmap;
6 import com.bumptech.glide.load.resource.gif.GifData;
21 public boolean encode(Resource<GifBitmapWrapper> resource, OutputStream os) { argument
22 final GifBitmapWrapper gifBitmap = resource.get();
H A DGifBitmapWrapperTransformation.java1 package com.bumptech.glide.load.resource.gifbitmap;
6 import com.bumptech.glide.load.resource.gif.GifData;
7 import com.bumptech.glide.load.resource.gif.GifDataTransformation;
24 public Resource<GifBitmapWrapper> transform(Resource<GifBitmapWrapper> resource, int outWidth, int outHeight) { argument
25 Resource<Bitmap> bitmapResource = resource.get().getBitmapResource();
26 Resource<GifData> gifResource = resource.get().getGifResource();
30 GifBitmapWrapper gifBitmap = new GifBitmapWrapper(transformed, resource.get().getGifResource());
36 GifBitmapWrapper gifBitmap = new GifBitmapWrapper(resource.get().getBitmapResource(), transformed);
40 return resource;
/external/chromium_org/chrome/browser/extensions/
H A Dchrome_component_extension_resource_manager_unittest.cc60 ExtensionResource resource = local
66 // The resource is a component resource.
69 extension->path(), resource.relative_path(), &resource_id));
/external/chromium_org/content/test/
H A Dtest_content_client.cc44 base::StringPiece resource; local
45 data_pack_.GetStringPiece(resource_id, &resource);
46 return resource;
/external/chromium_org/extensions/browser/
H A Dfile_reader.cc14 FileReader::FileReader(const extensions::ExtensionResource& resource, argument
16 : resource_(resource),

Completed in 534 milliseconds

1234567891011>>