/external/chromium_org/webkit/common/ |
resource_type.cc | 12 ResourceType::Type ResourceType::FromTargetType( 16 return ResourceType::MAIN_FRAME; 18 return ResourceType::SUB_FRAME; 20 return ResourceType::SUB_RESOURCE; 22 return ResourceType::STYLESHEET; 24 return ResourceType::SCRIPT; 26 return ResourceType::FONT_RESOURCE; 28 return ResourceType::IMAGE; 30 return ResourceType::OBJECT [all...] |
resource_type.h | 12 class ResourceType { 47 static bool IsFrame(ResourceType::Type type) { 51 static bool IsSharedWorker(ResourceType::Type type) { 55 static bool IsSubresource(ResourceType::Type type) { 67 ResourceType(); 68 ~ResourceType();
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
ResourceType.js | 38 WebInspector.ResourceType = function(name, title, categoryTitle, color, isTextType) 47 WebInspector.ResourceType.prototype = { 113 * @enum {!WebInspector.ResourceType} 116 Document: new WebInspector.ResourceType("document", "Document", "Documents", "rgb(47,102,236)", true), 117 Stylesheet: new WebInspector.ResourceType("stylesheet", "Stylesheet", "Stylesheets", "rgb(157,231,119)", true), 118 Image: new WebInspector.ResourceType("image", "Image", "Images", "rgb(164,60,255)", false), 119 Script: new WebInspector.ResourceType("script", "Script", "Scripts", "rgb(255,121,0)", true), 120 XHR: new WebInspector.ResourceType("xhr", "XHR", "XHR", "rgb(231,231,10)", true), 121 Font: new WebInspector.ResourceType("font", "Font", "Fonts", "rgb(255,82,62)", false), 122 WebSocket: new WebInspector.ResourceType("websocket", "WebSocket", "WebSockets", "rgb(186,186,186)", false), // FIXME: Decide the color [all...] |
/external/chromium/webkit/glue/ |
resource_type.h | 10 class ResourceType { 39 static bool IsFrame(ResourceType::Type type) { 43 static bool IsSharedWorker(ResourceType::Type type) { 47 static bool IsSubresource(ResourceType::Type type) { 58 ResourceType(); 59 ~ResourceType();
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
DynamicIdMap.java | 19 import com.android.resources.ResourceType; 29 private final Map<Pair<ResourceType, String>, Integer> mDynamicIds = new HashMap<Pair<ResourceType, String>, Integer>(); 30 private final SparseArray<Pair<ResourceType, String>> mRevDynamicIds = new SparseArray<Pair<ResourceType, String>>(); 51 public Integer getId(ResourceType type, String name) { 62 public Integer getId(Pair<ResourceType, String> resource) { 73 public Pair<ResourceType, String> resolveId(int id) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ |
DynamicIdMap.java | 19 import com.android.resources.ResourceType; 28 private final Map<Pair<ResourceType, String>, Integer> mDynamicIds = new HashMap<Pair<ResourceType, String>, Integer>(); 29 private final SparseArray<Pair<ResourceType, String>> mRevDynamicIds = new SparseArray<Pair<ResourceType, String>>(); 50 public Integer getId(ResourceType type, String name) { 61 public Integer getId(Pair<ResourceType, String> resource) { 72 public Pair<ResourceType, String> resolveId(int id) {
|
ProjectResources.java | 31 import com.android.resources.ResourceType; 60 /** Map of (name, id) for resources of type {@link ResourceType#ID} coming from R.java */ 61 private Map<ResourceType, Map<String, Integer>> mResourceValueMap; 63 private Map<Integer, Pair<ResourceType, String>> mResIdValueToNameMap; 91 * @return a map with guaranteed to contain an entry for each {@link ResourceType} 95 public Map<ResourceType, Map<String, ResourceValue>> getConfiguredResources( 99 Map<ResourceType, Map<String, ResourceValue>> resultMap = 100 new EnumMap<ResourceType, Map<String, ResourceValue>>(ResourceType.class); 122 Map<ResourceType, Map<String, ResourceValue>> libMap [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/refactorings/core/ |
RenameResourceXmlTextActionTest.java | 18 import com.android.resources.ResourceType; 34 checkWord(" @string/nam^e ", Pair.of(ResourceType.STRING, "name")); 35 checkWord("@string/nam^e ", Pair.of(ResourceType.STRING, "name")); 36 checkWord("\"^@string/name ", Pair.of(ResourceType.STRING, "name")); 37 checkWord("^@string/name ", Pair.of(ResourceType.STRING, "name")); 38 checkWord("\n^@string/name ", Pair.of(ResourceType.STRING, "name")); 39 checkWord("\n^@string/name(", Pair.of(ResourceType.STRING, "name")); 40 checkWord("\n^@string/name;", Pair.of(ResourceType.STRING, "name")); 41 checkWord("\n^@string/name5", Pair.of(ResourceType.STRING, "name5")); 42 checkWord("\n@string/name5^", Pair.of(ResourceType.STRING, "name5")) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/resources/ |
ResourceHelperTest.java | 22 import com.android.resources.ResourceType; 124 assertTrue(ResourceHelper.isFileBasedResourceType(ResourceType.ANIMATOR)); 125 assertTrue(ResourceHelper.isFileBasedResourceType(ResourceType.LAYOUT)); 127 assertFalse(ResourceHelper.isFileBasedResourceType(ResourceType.STRING)); 128 assertFalse(ResourceHelper.isFileBasedResourceType(ResourceType.DIMEN)); 129 assertFalse(ResourceHelper.isFileBasedResourceType(ResourceType.ID)); 132 assertTrue(ResourceHelper.isFileBasedResourceType(ResourceType.DRAWABLE)); 133 assertTrue(ResourceHelper.isFileBasedResourceType(ResourceType.COLOR)); 137 assertTrue(ResourceHelper.isValueBasedResourceType(ResourceType.STRING)); 138 assertTrue(ResourceHelper.isValueBasedResourceType(ResourceType.DIMEN)) [all...] |
/external/chromium/chrome/browser/ssl/ |
ssl_request_info.h | 21 ResourceType::Type resource_type, 27 ResourceType::Type resource_type() const { return resource_type_; } 38 ResourceType::Type resource_type_;
|
ssl_error_handler.h | 54 ResourceType::Type resource_type() const { return resource_type_; } 89 ResourceType::Type resource_type); 135 const ResourceType::Type resource_type_;
|
ssl_request_info.cc | 8 ResourceType::Type resource_type,
|
ssl_cert_error_handler.h | 26 ResourceType::Type resource_type,
|
/external/chromium_org/content/browser/ssl/ |
ssl_request_info.h | 23 ResourceType::Type resource_type, 29 ResourceType::Type resource_type() const { return resource_type_; } 40 ResourceType::Type resource_type_;
|
ssl_request_info.cc | 10 ResourceType::Type resource_type,
|
/external/chromium_org/content/public/browser/ |
load_from_memory_cache_details.h | 23 ResourceType::Type resource_type); 32 ResourceType::Type resource_type;
|
resource_request_info.h | 34 ResourceType::Type resource_type, 79 virtual ResourceType::Type GetResourceType() const = 0;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
ResourceContentProvider.java | 22 import com.android.resources.ResourceType; 35 * <li>{@link ResourceType}. This represents the list of existing Resource Type present 72 if (parentElement instanceof ResourceType) { 74 (ResourceType)parentElement).toArray(); 91 if (element instanceof ResourceType) { 92 return mResources.hasResourcesOfType((ResourceType)element); 104 List<ResourceType> types = mResources.getAvailableResourceTypes();
|
/external/chromium_org/chrome/browser/predictors/ |
resource_prefetch_predictor_unittest.cc | 112 ResourceType::Type resource_type, 217 ResourceType::STYLESHEET, 224 ResourceType::SCRIPT, 231 ResourceType::SCRIPT, 238 ResourceType::IMAGE, 245 ResourceType::LAST_TYPE, 256 ResourceType::SCRIPT, 264 ResourceType::SCRIPT, 274 ResourceType::IMAGE, 292 ResourceType::STYLESHEET [all...] |
/external/chromium_org/content/public/child/ |
resource_dispatcher_delegate.h | 21 ResourceType::Type resource_type,
|
/external/chromium_org/webkit/browser/appcache/ |
appcache_request_handler.h | 49 static bool IsMainResourceType(ResourceType::Type type) { 50 return ResourceType::IsFrame(type) || 51 ResourceType::IsSharedWorker(type); 58 AppCacheRequestHandler(AppCacheHost* host, ResourceType::Type resource_type); 107 ResourceType::Type resource_type_;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
ReferenceAttributeDescriptor.java | 27 import com.android.resources.ResourceType; 39 * The {@link ResourceType} that this reference attribute can accept. It can be null, 42 private ResourceType mResourceType; 52 ResourceType.DRAWABLE, 72 * {@link ResourceType}. 73 * @param resourceType The specific {@link ResourceType} that this reference attribute supports. 80 public ReferenceAttributeDescriptor(ResourceType resourceType, 83 mResourceType = resourceType; [all...] |
/external/chromium_org/chrome/browser/net/ |
resource_prefetch_predictor_observer.cc | 79 if (summary->resource_type != ResourceType::MAIN_FRAME) { 105 ResourceType::Type resource_type, 110 if (resource_type == ResourceType::MAIN_FRAME) 130 if (resource_type == ResourceType::MAIN_FRAME) 142 request_info->GetResourceType() == ResourceType::MAIN_FRAME) { 163 request_info->GetResourceType() == ResourceType::MAIN_FRAME) { 177 request_info->GetResourceType() == ResourceType::MAIN_FRAME) { 196 request_info->GetResourceType() == ResourceType::MAIN_FRAME) {
|
resource_prefetch_predictor_observer.h | 35 ResourceType::Type resource_type,
|
/external/chromium_org/content/common/ |
content_param_traits_macros.h | 20 IPC_ENUM_TRAITS(ResourceType::Type)
|