/libcore/support/src/test/java/tests/support/resource/ |
Support_Resources.java | 18 package tests.support.resource; 47 File resource = new File(ANDROID_BUILD_TOP + "/libcore/support/src/test/java" + path); local 48 if (resource.exists()) { 50 return new FileInputStream(resource); 52 throw new IllegalArgumentException("Couldn't open: " + resource, ex); 56 throw new IllegalArgumentException("No such resource: " + path); 160 public static String getResourceURL(String resource) { 161 return "http://" + Support_Configuration.TestResources + resource; 165 * Util method to load resource files 167 * @param name - name of resource fil [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
DensityActivity.java | 73 addLabelToRoot(root, "Prescaled resource drawable"); 102 addLabelToRoot(root, "No-dpi resource drawable"); 109 addLabelToRoot(root, "Prescaled 9-patch resource drawable"); 134 private void addBitmapDrawable(LinearLayout layout, int resource, boolean scale) { 136 bitmap = loadAndPrintDpi(resource, scale); 149 private void addResourceDrawable(LinearLayout layout, int resource) { 152 final Drawable d = getResources().getDrawable(resource); 160 private void addCanvasBitmap(LinearLayout layout, int resource, boolean scale) { 162 bitmap = loadAndPrintDpi(resource, scale); 171 private void addNinePatchResourceDrawable(LinearLayout layout, int resource) { [all...] |
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
fake_api_util.cc | 243 const RemoteResource& resource) const { 250 link->set_href(ResourceIdToResourceLink(resource.parent_resource_id)); 251 link->set_title(resource.parent_title); 255 entry->set_title(resource.title); 256 entry->set_resource_id(resource.resource_id); 257 entry->set_file_md5(resource.md5_checksum); 258 entry->set_deleted(resource.deleted); 259 entry->set_changestamp(resource.changestamp); 261 switch (resource.type) {
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
DpiTestActivity.java | 103 addLabelToRoot(root, "Prescaled resource drawable"); 132 addLabelToRoot(root, "No-dpi resource drawable"); 139 addLabelToRoot(root, "Prescaled 9-patch resource drawable"); 164 private void addBitmapDrawable(LinearLayout layout, int resource, boolean scale) { 166 bitmap = loadAndPrintDpi(resource, scale); 179 private void addResourceDrawable(LinearLayout layout, int resource) { 182 final Drawable d = getResources().getDrawable(resource); 190 private void addCanvasBitmap(LinearLayout layout, int resource, boolean scale) { 192 bitmap = loadAndPrintDpi(resource, scale); 201 private void addNinePatchResourceDrawable(LinearLayout layout, int resource) { [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.team.core_3.5.100.R36x_v20100825-0800.jar | |
/external/chromium/third_party/libjingle/source/talk/xmpp/ |
xmppclientsettings.h | 47 void set_resource(const std::string & resource) { resource_ = resource; } 58 const std::string & resource() const { return resource_; } function in class:buzz::XmppUserSettings
|
/external/chromium_org/ppapi/c/dev/ |
ppb_audio_input_dev.h | 72 * everything as mono. We either need to not use an audio config resource, or 83 * Creates an audio input resource. 88 * @return A <code>PP_Resource</code> corresponding to an audio input resource 93 * Determines if the given resource is an audio input resource. 95 * @param[in] resource A <code>PP_Resource</code> containing a resource. 98 * resource is an audio input resource, otherwise <code>PP_FALSE</code>. 100 PP_Bool (*IsAudioInput)(PP_Resource resource); [all...] |
/external/chromium_org/ppapi/proxy/ |
ppb_flash_message_loop_proxy.cc | 13 #include "ppapi/shared_impl/resource.h" 24 class FlashMessageLoop : public PPB_Flash_MessageLoop_API, public Resource { 26 explicit FlashMessageLoop(const HostResource& resource); 29 // Resource overrides. 42 FlashMessageLoop::FlashMessageLoop(const HostResource& resource) 43 : Resource(OBJECT_IS_PROXY, resource) {
|
ppb_image_data_proxy.h | 24 #include "ppapi/shared_impl/resource.h" 38 : public ppapi::Resource, 44 // Resource overrides. 62 ImageData(const ppapi::HostResource& resource, 75 // PlatformImageData is a full featured image data resource which can access 81 PlatformImageData(const ppapi::HostResource& resource, 105 // SimpleImageData is a simple, platform-independent image data resource which 110 SimpleImageData(const ppapi::HostResource& resource, 146 // On failure, will return invalid resource (0). On success it will return a 147 // valid resource and the out params will be written [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLImportsController.cpp | 77 ResourcePtr<RawResource> resource = parent->document()->fetcher()->requestImport(request); local 78 if (!resource) 81 RefPtr<HTMLImportLoader> loader = adoptRef(new HTMLImportLoader(parent, request.url(), resource));
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
LinkLoader.cpp | 74 void LinkLoader::notifyFinished(Resource* resource) 76 ASSERT_UNUSED(resource, m_cachedLinkResource.get() == resource); 120 Resource::Type type = relAttribute.isLinkSubresource() ? Resource::LinkSubresource : Resource::LinkPrefetch; 147 // Only prerenders need treatment here; other links either use the Resource interface, or are notionally
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
FontView.js | 33 WebInspector.FontView = function(resource) 35 WebInspector.ResourceView.call(this, resource); 60 this.fontStyleElement.textContent = "@font-face { font-family: \"" + uniqueFontName + "\"; src: url(" + this.resource.url + "); }";
|
NetworkUISourceCodeProvider.js | 107 var resource = /** @type {WebInspector.Resource} */ (event.data); 108 this._addFile(resource.url, resource);
|
/external/oauth/core/src/main/java/net/oauth/ |
ConsumerProperties.java | 41 URL resource = loader.getResource(name); local 42 if (resource == null) { 43 throw new IOException("resource not found: " + name); 45 return resource;
|
/packages/apps/Settings/src/com/android/settings/ |
DebugIntentSender.java | 47 String resource = mResourceField.getText().toString(); 54 intent.putExtra("resource", resource); 80 mResourceField = (EditText) findViewById(R.id.resource);
|
/bionic/libc/include/sys/ |
wait.h | 33 #include <sys/resource.h>
|
/bionic/libc/private/ |
syscommon.h | 18 #include <sys/resource.h>
|
/development/ndk/platforms/android-3/include/sys/ |
wait.h | 33 #include <sys/resource.h>
|
/development/ndk/platforms/android-9/include/sys/ |
wait.h | 33 #include <sys/resource.h>
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/pkcs7/ |
AuthenticatedAttributesTest.java | 30 import tests.support.resource.Support_Resources;
|
/external/chromium/chrome/browser/extensions/ |
extension_icon_manager.h | 37 virtual void OnImageLoaded(SkBitmap* image, const ExtensionResource& resource,
|
extension_protocols.cc | 31 #include "ui/base/resource/resource_bundle.h" 60 // All of our HTML files should be UTF-8 and for other resource types 71 // We need the filename of the resource to determine the mime type. 74 // The resource bundle id to load. 78 // Returns true if an chrome-extension:// resource should be allowed to load. 126 // chrome-extension://extension-id/resource/path.js 149 // TODO(tc): Make a map of FilePath -> resource ids so we don't have to 166 ExtensionResource resource(extension_id, directory_path, 174 resource_file_path = resource.GetFilePath(); 190 ExtensionResource resource(request->url().host(), directory_path [all...] |
/external/chromium/chrome/browser/safe_browsing/ |
malware_details_cache.cc | 92 ClientMalwareReportRequest::Resource* MalwareDetailsCacheCollector::GetResource( 113 // Cache miss, skip this resource. 126 // Set the response headers and body to the right resource, which 129 ClientMalwareReportRequest::Resource* resource = GetResource(url); local 130 if (!resource) { 131 DVLOG(1) << "Cannot find resource for url:" << url; 136 ReadResponse(resource, source); 137 ReadData(resource, data); 142 ClientMalwareReportRequest::Resource* pb_resource [all...] |
/external/chromium/chrome/browser/ui/views/infobars/ |
extension_infobar.h | 44 const ExtensionResource& resource,
|
/external/chromium_org/base/process/ |
process_metrics_posix.cc | 7 #include <sys/resource.h>
|