HomeSort by relevance Sort by last modified time
    Searched refs:ResourceItem (Results 1 - 20 of 20) sorted by null

  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
ResourceLabelProvider.java 20 import com.android.ide.common.resources.ResourceItem;
38 * <li>{@link ResourceItem}. This represents one resource. The actual type can be
44 * <li>{@link ResourceFile}. This represents a particular version of the {@link ResourceItem}.
101 if (element instanceof ResourceItem) {
102 ResourceItem item = (ResourceItem)element;
117 } else if (element instanceof ResourceItem) {
118 return ((ResourceItem)element).getName();
124 if (element instanceof ResourceItem) {
125 ResourceItem item = (ResourceItem)element
    [all...]
ResourceContentProvider.java 20 import com.android.ide.common.resources.ResourceItem;
39 * <li>{@link ResourceItem}. This represents one resource (which can existing in various alternate
44 * {@link ResourceItem}. It is displayed as a list of resource qualifier.
77 } else if (mFullLevels && parentElement instanceof ResourceItem) {
78 return ((ResourceItem)parentElement).getSourceFileArray();
93 } else if (mFullLevels && element instanceof ResourceItem) {
94 return ((ResourceItem)element).hasAlternates();
ResourceChooser.java 25 import com.android.ide.common.resources.ResourceItem;
259 if (elements.length == 1 && elements[0] instanceof ResourceItem) {
260 ResourceItem item = (ResourceItem)elements[0];
364 ResourceItem[] items = setupResourceList();
380 ResourceItem[] items = setupResourceList();
386 for (ResourceItem item : items) {
393 ResourceItem[] newItems = new ResourceItem[items.length + 1];
395 newItems[items.length] = new ResourceItem(newName)
    [all...]
ReferenceChooserDialog.java 19 import com.android.ide.common.resources.ResourceItem;
120 ResourceItem resourceItem = (ResourceItem)treeSelection.getLastSegment();
122 mCurrentResource = resourceItem.getXmlString(resourceType, false /* system */);
366 Collection<ResourceItem> resourceItems =
369 for (ResourceItem resourceItem : resourceItems) {
370 if (resourceName.equals(resourceItem.getName())) {
372 TreePath treePath = new TreePath(new Object[] { resourceType, resourceItem });
    [all...]
ResourceExplorerView.java 20 import com.android.ide.common.resources.ResourceItem;
142 } else if (element instanceof ResourceItem) {
143 // if it's a ResourceItem, we open the first file, but only if
145 ResourceItem item = (ResourceItem)element;
  /sdk/ide_common/src/com/android/ide/common/resources/
FrameworkResourceItem.java 20 * A custom {@link ResourceItem} for resources provided by the framework.
24 class FrameworkResourceItem extends ResourceItem {
FrameworkResources.java 61 protected final Map<ResourceType, List<ResourceItem>> mPublicResourceMap =
62 new EnumMap<ResourceType, List<ResourceItem>>(ResourceType.class);
70 * {@link ResourceItem} matching a given {@link ResourceType}.
76 public List<ResourceItem> getResourceItemsOfType(ResourceType type) {
91 protected ResourceItem createResourceItem(String name) {
124 // Precompute maps from name to ResourceItem such that when we find
129 Map<ResourceType, Map<String, ResourceItem>> nameMap =
130 new HashMap<ResourceType, Map<String, ResourceItem>>();
131 for (Entry<ResourceType, List<ResourceItem>> entry: mResourceMap.entrySet()) {
142 List<ResourceItem> items = entry.getValue()
    [all...]
ResourceRepository.java 61 protected final Map<ResourceType, List<ResourceItem>> mResourceMap =
62 new EnumMap<ResourceType, List<ResourceItem>>(ResourceType.class);
64 private final Map<List<ResourceItem>, List<ResourceItem>> mReadOnlyListMap =
65 new IdentityHashMap<List<ResourceItem>, List<ResourceItem>>();
196 List<ResourceItem> list = mResourceMap.get(type);
199 for (ResourceItem item : list) {
210 * Returns a {@link ResourceItem} matching the given {@link ResourceType} and name. If none
217 protected ResourceItem getResourceItem(ResourceType type, String name)
    [all...]
ResourceItem.java 37 public class ResourceItem implements Comparable<ResourceItem> {
53 * List of files generating this ResourceItem.
58 * Constructs a new ResourceItem.
61 public ResourceItem(String name) {
73 * Compares the {@link ResourceItem} to another.
74 * @param other the ResourceItem to be compared to.
77 public int compareTo(ResourceItem other) {
101 * If the ResourceItem has several source files, one will be selected based on the config.
102 * @param type the type of the resource. This is necessary because ResourceItem doesn't embe
    [all...]
InlineResourceItem.java 33 public class InlineResourceItem extends ResourceItem {
38 * Constructs a new inline ResourceItem.
SingleResourceFile.java 78 ResourceItem item = getRepository().getResourceItem(mType, mResourceName);
95 // only remove this file from the existing ResourceItem.
IdGeneratingResourceFile.java 165 // remove this file from all existing ResourceItem.
169 ResourceItem item = repository.getResourceItem(mFileType, mFileName);
MultiResourceFile.java 117 // only remove this file from all existing ResourceItem.
141 // remove this file from all existing ResourceItem.
150 ResourceItem item = repository.getResourceItem(type, res.getName());
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
ResourceNameValidator.java 21 import com.android.ide.common.resources.ResourceItem;
186 Collection<ResourceItem> items = projectResources.getResourceItemsOfType(type);
187 for (ResourceItem item : items) {
  /sdk/layoutlib_api/sample/src/com/example/android/render/
Main.java 22 import com.android.ide.common.resources.ResourceItem;
76 protected ResourceItem createResourceItem(String name) {
77 return new ResourceItem(name);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
ProjectResources.java 22 import com.android.ide.common.resources.ResourceItem;
235 protected ResourceItem createResourceItem(String name) {
236 return new ResourceItem(name);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/
AnimationContentAssist.java 24 import com.android.ide.common.resources.ResourceItem;
86 for (ResourceItem item : repository.getResourceItemsOfType(ResourceType.ANIM)) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
ResourceValueCompleter.java 23 import com.android.ide.common.resources.ResourceItem;
155 for (ResourceItem item : repository.getResourceItemsOfType(type)) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
UiResourceAttributeNode.java 26 import com.android.ide.common.resources.ResourceItem;
291 for (ResourceItem item : repository.getResourceItemsOfType(resType)) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
IncludeFinder.java 32 import com.android.ide.common.resources.ResourceItem;
413 Collection<ResourceItem> layouts = resources.getResourceItemsOfType(LAYOUT);
414 for (ResourceItem layout : layouts) {
    [all...]

Completed in 679 milliseconds