| /external/replicaisland/src/com/replica/replicaisland/ |
| LevelTree.java | 32 public int resource; field in class:LevelTree.Level 44 resource = level; 72 public static final boolean isLoaded(int resource) { 73 return mLoaded && mLoadedResource == resource; 76 public static final void loadLevelTree(int resource, Context context) { 77 if (levels.size() > 0 && mLoadedResource == resource) { 82 XmlResourceParser parser = context.getResources().getXml(resource); 124 if (parser.getAttributeName(i).equals("resource")) { 151 if (parser.getAttributeName(i).equals("resource")) { 163 if (parser.getAttributeName(i).equals("resource")) { [all...] |
| SoundSystem.java | 62 public Sound load(int resource) { 63 final int index = findSound(resource); 70 result.resource = resource; 71 result.soundId = mSoundPool.load(context, resource, 1); 162 private final int findSound(int resource) { 163 mSearchDummy.resource = resource; 176 public int resource; field in class:SoundSystem.Sound 189 result = object1.resource - object2.resource [all...] |
| /external/skia/src/gpu/ |
| GrResourceCache.h | 33 * a resource. It is identified by 2 32bit data fields which can hold any 123 GrResource* resource() const { return fResource; } function in class:GrResourceEntry 138 GrResourceEntry(const GrResourceKey& key, GrResource* resource); 170 * resource. 191 * Return the current resource cache limits. 201 * Specify the resource cache limits. If the current cache exceeds either 206 * @param maxBytes The maximum number of bytes of resource memory that 231 * Create a new entry, based on the specified key and resource, and return 234 * Ownership of the resource is transferred to the Entry, which will unref() 254 * Reattaches a resource to the cache and unlocks it. Allows it to be foun [all...] |
| /external/webkit/Source/WebCore/inspector/ |
| InspectorDatabaseAgent.cpp | 228 if (InspectorDatabaseResource* resource = findByFileName(database->fileName())) { 229 resource->setDatabase(database); 233 RefPtr<InspectorDatabaseResource> resource = InspectorDatabaseResource::create(database, domain, name, version); local 234 m_resources.set(resource->id(), resource); 237 resource->bind(m_frontendProvider->frontend());
|
| /external/webkit/Source/WebCore/loader/appcache/ |
| ApplicationCacheHost.cpp | 85 // Get the resource from the application cache. By definition, cacheForMainRequest() returns a cache that contains the resource. 86 ApplicationCacheResource* resource = m_mainResourceApplicationCache->resourceForRequest(request); local 87 substituteData = SubstituteData(resource->data(), 88 resource->response().mimeType(), 89 resource->response().textEncodingName(), KURL()); 138 // Even when the main resource is being loaded from an application cache, loading can fail if aborted. 166 ApplicationCacheResource* resource; 167 if (!shouldLoadResourceFromApplicationCache(request, resource)) 170 m_documentLoader->m_pendingSubstituteResources.set(loader, resource); 202 ApplicationCacheResource* resource; local 223 ApplicationCacheResource* resource; local 283 RefPtr<ApplicationCacheResource> resource = it->second; local [all...] |
| /external/webkit/Source/WebCore/loader/archive/cf/ |
| LegacyWebArchive.cpp | 67 RetainPtr<CFDictionaryRef> LegacyWebArchive::createPropertyListRepresentation(ArchiveResource* resource, MainResourceStatus isMainResource) 69 if (!resource) { 72 // FIXME: But why do we need to support a resource of 0? Who relies on that? 82 // Resource data can be empty, but must be represented by an empty CFDataRef 83 SharedBuffer* data = resource->data(); 91 // Resource URL cannot be null 92 RetainPtr<CFStringRef> cfURL(AdoptCF, resource->url().string().createCFString()); 96 LOG(Archives, "LegacyWebArchive - NULL resource URL is invalid - returning null property list"); 101 const String& frameName(resource->frameName()); 108 const String& mimeType(resource->mimeType()) 526 RefPtr<ArchiveResource> resource = documentLoader->subresource(subresourceURL); local [all...] |
| /external/webkit/Source/WebCore/plugins/mac/ |
| PluginPackageMac.cpp | 84 CFDataRef resource = 0; local 86 if (!CFURLCreateDataAndPropertiesFromResource(kCFAllocatorDefault, url.get(), &resource, 0, 0, &code)) 90 CFPropertyListCreateFromXMLData(kCFAllocatorDefault, resource, kCFPropertyListImmutable, 0); 92 CFRelease(resource);
|
| /frameworks/base/core/java/android/view/animation/ |
| LayoutAnimationController.java | 112 int resource = a.getResourceId(com.android.internal.R.styleable.LayoutAnimation_animation, 0); local 113 if (resource > 0) { 114 setAnimation(context, resource); 117 resource = a.getResourceId(com.android.internal.R.styleable.LayoutAnimation_interpolator, 0); 118 if (resource > 0) { 119 setInterpolator(context, resource); 176 * @param resourceID the resource identifier of the animation 221 * @param resourceID the resource identifier of the interpolator
|
| /frameworks/base/core/java/android/widget/ |
| ViewAnimator.java | 57 int resource = a.getResourceId(com.android.internal.R.styleable.ViewAnimator_inAnimation, 0); local 58 if (resource > 0) { 59 setInAnimation(context, resource); 62 resource = a.getResourceId(com.android.internal.R.styleable.ViewAnimator_outAnimation, 0); 63 if (resource > 0) { 64 setOutAnimation(context, resource); 309 * @param resourceID The resource id of the animation. 322 * @param resourceID The resource id of the animation.
|
| /frameworks/base/telephony/java/com/android/internal/telephony/ |
| IccUtils.java | 257 Resources resource = Resources.getSystem(); local 261 resource.getString(com.android.internal.R.string.gsm_alphabet_default_charset);
|
| /hardware/ti/wpan/tools/FM/FmRadioIf/src/java/com/ti/core/ |
| JFmRxCcmVacResourceOwner.java | 61 private JFmRxEcalResource resource; field in class:JFmRxCcmVacResourceOwner 65 public JFmRxCcmVacResourceOwner(JFmRxEcalResource resource, JFmRxEcalOperation operation) { 66 this.resource = resource; 71 return resource; 74 public void setResource(JFmRxEcalResource resource) { 75 this.resource = resource;
|
| /libcore/luni/src/main/java/java/lang/ |
| ClassLoader.java | 129 * Finds the URL of the resource with the specified name. The system class 130 * loader's resource lookup algorithm is used to find the resource. 132 * @return the {@code URL} object for the requested resource or {@code null} 133 * if the resource can not be found. 135 * the name of the resource to find. 143 * Returns an enumeration of URLs for the resource with the specified name. 144 * The system class loader's resource lookup algorithm is used to find the 145 * resource. 150 * the name of the resource to find 393 URL resource = parent.getResource(resName); local [all...] |
| /libcore/luni/src/main/java/javax/xml/xpath/ |
| XPathFactoryFinder.java | 89 * to be used to load resource, {@link SchemaFactory}, and 201 for (URL resource : createServiceFileIterator()) { 202 if (debug) debugPrintln("looking into " + resource); 204 xpf = loadFromServicesFile(uri, resource.toExternalForm(), resource.openStream()); 208 debugPrintln("failed to read "+resource); 329 URL resource = XPathFactoryFinder.class.getClassLoader().getResource(SERVICE_ID); local 330 return Collections.singleton(resource); 362 * @return the source location of the resource, or null if it wasn't found
|
| /libcore/support/src/test/java/tests/support/resource/ |
| Support_Resources.java | 18 package tests.support.resource; 40 throw new IllegalArgumentException("No such resource: " + path); 146 public static String getResourceURL(String resource) { 147 return "http://" + Support_Configuration.TestResources + resource; 151 * Util method to load resource files 153 * @param name - name of resource file 154 * @return - resource input stream 163 throw new RuntimeException("Failed to load resource: " + name);
|
| /packages/apps/Calendar/src/com/android/calendar/event/ |
| EventViewUtils.java | 207 int resource = android.R.layout.simple_spinner_item; local 208 ArrayAdapter<String> adapter = new ArrayAdapter<String>(activity, resource, labels); 245 * The spinner has the default set of labels from the string resource file, but we
|
| /prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/linux/ |
| ioport.h | 18 struct resource { struct 23 struct resource *parent, *sibling, *child; 28 struct resource *res;
|
| /prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/linux/ |
| ioport.h | 18 struct resource { struct 23 struct resource *parent, *sibling, *child; 28 struct resource *res;
|
| /prebuilts/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ |
| ioport.h | 18 struct resource { struct 23 struct resource *parent, *sibling, *child; 28 struct resource *res;
|
| /prebuilts/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/ |
| ioport.h | 18 struct resource { struct 23 struct resource *parent, *sibling, *child; 28 struct resource *res;
|
| /prebuilts/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/ |
| ioport.h | 18 struct resource { struct 23 struct resource *parent, *sibling, *child; 28 struct resource *res;
|
| /prebuilts/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/ |
| ioport.h | 18 struct resource { struct 23 struct resource *parent, *sibling, *child; 28 struct resource *res;
|
| /prebuilts/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/ |
| ioport.h | 18 struct resource { struct 23 struct resource *parent, *sibling, *child; 28 struct resource *res;
|
| /prebuilts/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/ |
| ioport.h | 18 struct resource { struct 23 struct resource *parent, *sibling, *child; 28 struct resource *res;
|
| /prebuilts/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/linux/ |
| ioport.h | 18 struct resource { struct 23 struct resource *parent, *sibling, *child; 28 struct resource *res;
|
| /prebuilts/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/linux/ |
| ioport.h | 18 struct resource { struct 23 struct resource *parent, *sibling, *child; 28 struct resource *res;
|