/sdk/sdk_common/src/com/android/ide/common/resources/ |
D | ResourceResolver.java | 28 import com.android.ide.common.rendering.api.ResourceValue; 38 private final Map<ResourceType, Map<String, ResourceValue>> mProjectResources; 39 private final Map<ResourceType, Map<String, ResourceValue>> mFrameworkResources; 52 Map<ResourceType, Map<String, ResourceValue>> projectResources, in ResourceResolver() 53 Map<ResourceType, Map<String, ResourceValue>> frameworkResources) { in ResourceResolver() 68 Map<ResourceType, Map<String, ResourceValue>> projectResources, in create() 69 Map<ResourceType, Map<String, ResourceValue>> frameworkResources, in create() 90 public Map<ResourceType, Map<String, ResourceValue>> getProjectResources() { in getProjectResources() 94 public Map<ResourceType, Map<String, ResourceValue>> getFrameworkResources() { in getFrameworkResources() 117 ResourceValue theme = null; in getTheme() [all …]
|
D | MultiResourceFile.java | 19 import com.android.ide.common.rendering.api.ResourceValue; 48 private final Map<ResourceType, Map<String, ResourceValue>> mResourceItems = 49 new EnumMap<ResourceType, Map<String, ResourceValue>>(ResourceType.class); 82 Map<ResourceType, Map<String, ResourceValue>> oldResourceItems in update() 83 = new EnumMap<ResourceType, Map<String, ResourceValue>>(mResourceItems); in update() 134 Map<String, ResourceValue> list = mResourceItems.get(type); in hasResources() 145 Map<String, ResourceValue> list = mResourceItems.get(type); in updateResourceItems() 148 Collection<ResourceValue> values = list.values(); in updateResourceItems() 149 for (ResourceValue res : values) { in updateResourceItems() 183 public void addResourceValue(ResourceValue value) { in addResourceValue() [all …]
|
D | InlineResourceItem.java | 19 import com.android.ide.common.rendering.api.ResourceValue; 35 private ResourceValue mValue = null; 56 public ResourceValue getResourceValue(ResourceType type, FolderConfiguration referenceConfig, in getResourceValue() 60 mValue = new ResourceValue(type, getName(), isFramework); in getResourceValue()
|
D | IdGeneratingResourceFile.java | 20 import com.android.ide.common.rendering.api.ResourceValue; 42 private final Map<String, ResourceValue> mIdResources = 43 new HashMap<String, ResourceValue>(); 51 private final ResourceValue mFileValue; 125 public ResourceValue getValue(ResourceType type, String name) { in getValue() 191 private ResourceValue getFileValue(IAbstractFile file, ResourceFolder folder) { in getFileValue() 195 ResourceValue value; in getFileValue() 197 value = new ResourceValue(mFileType, mFileName, in getFileValue() 226 public void addResourceValue(ResourceValue value) { in addResourceValue()
|
D | SingleResourceFile.java | 20 import com.android.ide.common.rendering.api.ResourceValue; 46 private ResourceValue mValue; 63 mValue = new ResourceValue(mType, getResourceName(mType), in SingleResourceFile() 128 public ResourceValue getValue(ResourceType type, String name) { in getValue()
|
D | ResourceFile.java | 19 import com.android.ide.common.rendering.api.ResourceValue; 91 public abstract ResourceValue getValue(ResourceType type, String name); in getValue()
|
D | IdResourceParser.java | 20 import com.android.ide.common.rendering.api.ResourceValue; 135 ResourceValue newId = new ResourceValue(ResourceType.ID, id, in parse()
|
D | ResourceRepository.java | 22 import com.android.ide.common.rendering.api.ResourceValue; 518 public Map<ResourceType, Map<String, ResourceValue>> getConfiguredResources( in getConfiguredResources() 531 protected final Map<ResourceType, Map<String, ResourceValue>> doGetConfiguredResources( in doGetConfiguredResources() 534 Map<ResourceType, Map<String, ResourceValue>> map = in doGetConfiguredResources() 535 new EnumMap<ResourceType, Map<String, ResourceValue>>(ResourceType.class); in doGetConfiguredResources() 652 private Map<String, ResourceValue> getConfiguredResource(@NonNull ResourceType type, in getConfiguredResource() 658 return new HashMap<String, ResourceValue>(); in getConfiguredResource() 662 HashMap<String, ResourceValue> map = new HashMap<String, ResourceValue>(items.size()); in getConfiguredResource() 665 ResourceValue value = item.getResourceValue(type, referenceConfig, in getConfiguredResource()
|
D | ValueResourceParser.java | 21 import com.android.ide.common.rendering.api.ResourceValue; 46 void addResourceValue(ResourceValue value); in addResourceValue() 52 private ResourceValue mCurrentValue = null; 121 mCurrentValue = new ResourceValue(type, name, mIsFramework); in startElement() 140 mCurrentValue = new ResourceValue(null, name, mIsFramework); in startElement()
|
D | ResourceItem.java | 19 import com.android.ide.common.rendering.api.ResourceValue; 108 public ResourceValue getResourceValue(ResourceType type, FolderConfiguration referenceConfig, in getResourceValue()
|
/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/ |
D | RenderResources.java | 77 public ResourceValue getFrameworkResource(ResourceType resourceType, String resourceName) { in getFrameworkResource() 86 public ResourceValue getProjectResource(ResourceType resourceType, String resourceName) { in getProjectResource() 100 public ResourceValue findItemInTheme(String itemName) { in findItemInTheme() 117 public ResourceValue findItemInTheme(String attrName, boolean isFrameworkAttr) { in findItemInTheme() 141 public ResourceValue findItemInStyle(StyleResourceValue style, String attrName) { in findItemInStyle() 154 public ResourceValue findItemInStyle(StyleResourceValue style, String attrName, in findItemInStyle() 179 public ResourceValue findResValue(String reference, boolean forceFrameworkOnly) { in findResValue() 200 public ResourceValue resolveValue(ResourceType type, String name, String value, in resolveValue() 218 public ResourceValue resolveResValue(ResourceValue value) { in resolveResValue()
|
D | StyleResourceValue.java | 30 public final class StyleResourceValue extends ResourceValue implements IStyleResourceValue { 33 …private HashMap<Pair<String, Boolean>, ResourceValue> mItems = new HashMap<Pair<String, Boolean>, … 60 public ResourceValue findValue(String name) { in findValue() 68 public ResourceValue findValue(String name, boolean isFrameworkAttr) { in findValue() 72 public void addValue(ResourceValue value, boolean isFrameworkAttr) { in addValue() 77 public void replaceWith(ResourceValue value) { in replaceWith()
|
D | ResourceValue.java | 26 public class ResourceValue extends ResourceReference implements IResourceValue { class 30 public ResourceValue(ResourceType type, String name, boolean isFramework) { in ResourceValue() method in ResourceValue 35 public ResourceValue(ResourceType type, String name, String value, boolean isFramework) { in ResourceValue() method in ResourceValue 75 public void replaceWith(ResourceValue value) { in replaceWith() 108 ResourceValue other = (ResourceValue) obj; in equals()
|
D | DrawableParams.java | 27 private final ResourceValue mDrawable; 57 ResourceValue drawable, in DrawableParams() 75 public ResourceValue getDrawable() { in getDrawable()
|
D | AttrResourceValue.java | 31 public class AttrResourceValue extends ResourceValue {
|
D | DeclareStyleableResourceValue.java | 36 public class DeclareStyleableResourceValue extends ResourceValue {
|
D | IProjectCallback.java | 112 ILayoutPullParser getParser(ResourceValue layoutResource); in getParser()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ |
D | ProjectResources.java | 20 import com.android.ide.common.rendering.api.ResourceValue; 86 public Map<ResourceType, Map<String, ResourceValue>> getConfiguredResources( in getConfiguredResources() 89 Map<ResourceType, Map<String, ResourceValue>> resultMap = in getConfiguredResources() 90 new EnumMap<ResourceType, Map<String, ResourceValue>>(ResourceType.class); in getConfiguredResources() 112 Map<ResourceType, Map<String, ResourceValue>> libMap = in getConfiguredResources() 117 for (Entry<ResourceType, Map<String, ResourceValue>> libEntry : in getConfiguredResources() 121 Map<String, ResourceValue> tempMap = resultMap.get(libEntry.getKey()); in getConfiguredResources() 139 Map<ResourceType, Map<String, ResourceValue>> thisProjectMap = in getConfiguredResources() 143 for (Entry<ResourceType, Map<String, ResourceValue>> entry : thisProjectMap.entrySet()) { in getConfiguredResources() 145 Map<String, ResourceValue> typeMap = resultMap.get(type); in getConfiguredResources()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
D | ConfigurationClient.java | 20 import com.android.ide.common.rendering.api.ResourceValue; 111 Map<ResourceType, Map<String, ResourceValue>> getConfiguredProjectResources(); in getConfiguredProjectResources() 120 Map<ResourceType, Map<String, ResourceValue>> getConfiguredFrameworkResources(); in getConfiguredFrameworkResources()
|
/sdk/layoutlib_api/sample/src/com/example/android/render/ |
D | RenderServiceFactory.java | 24 import com.android.ide.common.rendering.api.ResourceValue; 176 Map<ResourceType, Map<String, ResourceValue>> configedProjectRes = 179 Map<ResourceType, Map<String, ResourceValue>> configedFrameworkRes = 281 Map<ResourceType, Map<String, ResourceValue>> res = 285 Map<String, ResourceValue> attrItems = res.get(ResourceType.ATTR); 286 for (ResourceValue value : attrItems.values()) { 297 Map<String, ResourceValue> styleableItems = res.get(ResourceType.DECLARE_STYLEABLE); 300 for (ResourceValue value : styleableItems.values()) {
|
D | ProjectCallback.java | 23 import com.android.ide.common.rendering.api.ResourceValue; 73 public ILayoutPullParser getParser(ResourceValue layoutResource) { in getParser()
|
D | RenderService.java | 26 import com.android.ide.common.rendering.api.ResourceValue; 184 ResourceValue value = mResourceResolver.getProjectResource(ResourceType.LAYOUT, layoutName); in createRenderSession() 289 public BufferedImage renderDrawable(ResourceValue drawableResourceValue) {
|
/sdk/layoutlib_api/src/com/android/layoutlib/api/ |
D | IResourceValue.java | 19 import com.android.ide.common.rendering.api.ResourceValue;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
D | ResourcePreviewHelper.java | 21 import com.android.ide.common.rendering.api.ResourceValue; 129 ResourceValue value = resources.findResValue(resource, false); in updatePreview() 140 ResourceValue drawable = resources.findResValue(resource, false); in updatePreview()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/layoutRendering/ |
D | ApiDemosRenderingTest.java | 26 import com.android.ide.common.rendering.api.ResourceValue; 163 public ILayoutPullParser getParser(ResourceValue layoutResource) { in getParser() 225 Map<ResourceType, Map<String, ResourceValue>> configuredFramework = in testSample() 227 Map<ResourceType, Map<String, ResourceValue>> configuredProject = in testSample()
|