/sdk/ide_common/src/com/android/ide/common/resources/ |
ResourceResolver.java | 23 import com.android.resources.ResourceType; 32 public final static String REFERENCE_STYLE = ResourceType.STYLE.getName() + "/"; 49 private final Map<ResourceType, Map<String, ResourceValue>> mProjectResources; 50 private final Map<ResourceType, Map<String, ResourceValue>> mFrameworkResources; 63 Map<ResourceType, Map<String, ResourceValue>> projectResources, 64 Map<ResourceType, Map<String, ResourceValue>> frameworkResources) { 79 Map<ResourceType, Map<String, ResourceValue>> projectResources, 80 Map<ResourceType, Map<String, ResourceValue>> frameworkResources, 101 public Map<ResourceType, Map<String, ResourceValue>> getProjectResources() { 105 public Map<ResourceType, Map<String, ResourceValue>> getFrameworkResources() [all...] |
IdResourceParser.java | 21 import com.android.resources.ResourceType; 68 public boolean parse(ResourceType type, final String path, InputStream input) 107 private boolean parse(ResourceType type, String path, KXmlParser parser) 126 ResourceValue newId = new ResourceValue(ResourceType.ID, id,
|
ResourceItem.java | 21 import com.android.resources.ResourceType; 35 * @see ResourceFile#getResources(ResourceType, ResourceRepository) 83 * of type {@link ResourceType#ID} that aren't declared inline. 91 * If the resource type is not {@link ResourceType#ID}, this will always return {@code false}. 106 public ResourceValue getResourceValue(ResourceType type, FolderConfiguration referenceConfig, 225 public String getXmlString(ResourceType type, boolean system) { 226 if (type == ResourceType.ID && isDeclaredInline()) {
|
ValueResourceParser.java | 23 import com.android.resources.ResourceType; 97 ResourceType type = getType(qName, attributes); 140 mCurrentAttr = new AttrResourceValue(ResourceType.ATTR, name, mIsFramework); 174 private ResourceType getType(String qName, Attributes attributes) { 185 ResourceType type = ResourceType.getEnum(typeValue);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
ReferenceChooserDialog.java | 24 import com.android.resources.ResourceType; 119 ResourceType resourceType = (ResourceType)treeSelection.getFirstSegment(); 122 mCurrentResource = resourceItem.getXmlString(resourceType, false /* system */); 194 ResourceType type = null; 197 if (segment instanceof ResourceType) { 198 type = (ResourceType) segment; 263 ResourceType type = getSelectedResourceType(); 266 mNewResButton.setEnabled(type == ResourceType.STRING) [all...] |
ResourceLabelProvider.java | 21 import com.android.resources.ResourceType; 34 * <li>{@link ResourceType}. This represents the list of existing Resource Type present 107 if (element instanceof ResourceType) { 108 return ((ResourceType)element).getDisplayName();
|
ResourcePreviewHelper.java | 30 import com.android.resources.ResourceType; 94 public void updatePreview(ResourceType type, String resource) { 95 boolean showPreview = type == ResourceType.DRAWABLE || type == ResourceType.COLOR; 127 if (type == ResourceType.COLOR) { 137 assert type == ResourceType.DRAWABLE;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
PhoneSystemBar.java | 20 import com.android.resources.ResourceType; 44 Drawable drawable = loadIcon(2, ResourceType.DRAWABLE, "stat_sys_battery_charge");
|
TabletSystemBar.java | 20 import com.android.resources.ResourceType; 44 Drawable drawable = loadIcon(5, ResourceType.DRAWABLE, "stat_sys_battery_charge");
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
XmlFormatStyle.java | 19 import com.android.resources.ResourceType; 51 * @param resourceType the type of resource to be formatted 54 public static XmlFormatStyle get(ResourceType resourceType) { 55 switch (resourceType) {
|
/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/ |
DeclareStyleableResourceValue.java | 19 import com.android.resources.ResourceType; 35 public DeclareStyleableResourceValue(ResourceType type, String name, boolean isFramework) {
|
IProjectCallback.java | 19 import com.android.resources.ResourceType; 72 * @return a Pair of {@link ResourceType} and resource name, or null if the id 75 Pair<ResourceType, String> resolveResourceId(int id); 94 Integer getResourceId(ResourceType type, String name);
|
StyleResourceValue.java | 21 import com.android.resources.ResourceType; 34 public StyleResourceValue(ResourceType type, String name, boolean isFramework) { 38 public StyleResourceValue(ResourceType type, String name, String parentStyle,
|
DensityBasedResourceValue.java | 20 import com.android.resources.ResourceType; 27 public DensityBasedResourceValue(ResourceType type, String name, String value,
|
/external/chromium/chrome/browser/ssl/ |
ssl_cert_error_handler.h | 26 ResourceType::Type resource_type,
|
ssl_cert_error_handler.cc | 15 ResourceType::Type resource_type,
|
/external/chromium/chrome/browser/safe_browsing/ |
safe_browsing_blocking_page_unittest.cc | 120 void ShowInterstitial(ResourceType::Type resource_type, 158 ResourceType::Type resource_type, 185 ShowInterstitial(ResourceType::MAIN_FRAME, kBadURL); 216 ShowInterstitial(ResourceType::MAIN_FRAME, kBadURL); 249 ShowInterstitial(ResourceType::SUB_RESOURCE, kBadURL); 280 ShowInterstitial(ResourceType::SUB_RESOURCE, kBadURL); 315 ShowInterstitial(ResourceType::SUB_RESOURCE, kBadURL); 319 ShowInterstitial(ResourceType::SUB_RESOURCE, kBadURL2); 320 ShowInterstitial(ResourceType::SUB_RESOURCE, kBadURL3); 355 ShowInterstitial(ResourceType::SUB_RESOURCE, kBadURL) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ |
CompiledResourcesMonitor.java | 26 import com.android.resources.ResourceType; 49 * {@link ResourceType#ID}. 200 Map<ResourceType, Map<String, Integer>> resourceValueMap = 201 new EnumMap<ResourceType, Map<String, Integer>>(ResourceType.class); 202 Map<Integer, Pair<ResourceType, String>> genericValueToNameMap = 203 new HashMap<Integer, Pair<ResourceType, String>>(); 234 Map<Integer, Pair<ResourceType, String>> genericValueToNameMap, 235 Map<IntArrayWrapper, String> styleableValueToNameMap, Map<ResourceType, 240 ResourceType resType = ResourceType.getEnum(resTypeName) [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_webrequest_api.cc | 54 static ResourceType::Type kResourceTypeValues[] = { 55 ResourceType::MAIN_FRAME, 56 ResourceType::SUB_FRAME, 57 ResourceType::STYLESHEET, 58 ResourceType::SCRIPT, 59 ResourceType::IMAGE, 60 ResourceType::OBJECT, 61 ResourceType::LAST_TYPE, // represents "other" 75 static const char* ResourceTypeToString(ResourceType::Type type) { 76 ResourceType::Type* iter [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/descriptors/ |
ThemeAttributeDescriptor.java | 26 import com.android.resources.ResourceType; 56 return new UiResourceAttributeNode(ResourceType.STYLE, this, uiParent);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/resources/ |
ResourceNameValidatorTest.java | 20 import com.android.resources.ResourceType; 44 ResourceType.STRING).isValid("foo") != null);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/ |
ResourceNameValidator.java | 27 import com.android.resources.ResourceType; 165 ResourceType type) { 168 type == ResourceType.DRAWABLE); 181 ResourceType type) { 192 type == ResourceType.DRAWABLE);
|
/external/chromium/webkit/glue/ |
resource_loader_bridge.cc | 54 request_type(ResourceType::MAIN_FRAME),
|
/external/chromium/chrome/browser/renderer_host/ |
safe_browsing_resource_handler.h | 48 ResourceType::Type resource_type, 149 ResourceType::Type resource_type_;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/ |
UiResourceAttributeNode.java | 38 import com.android.resources.ResourceType; 70 * {@link ResourceType} in the constructor. 75 private ResourceType mType; 77 public UiResourceAttributeNode(ResourceType type, 233 Collection<ResourceType> resTypes = (repository != null) ? 235 EnumSet.allOf(ResourceType.class); 254 for (ResourceType resType : resTypes) { 260 if (resType == ResourceType.ID) { 276 ResourceType resType = ResourceType.getEnum(typeName) [all...] |