/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/resources/ |
D | ResourceHelperTest.java | 98 assertNull(ResourceHelper.getIcon(FakeQualifierClass.class)); in testGetIcon() 108 ResourceHelper.getIcon(qual.getClass())); in testGetIcon() 114 ResourceHelper.getResourceDeltaKind(IResourceDelta.ADDED)); in testGetResourceDeltaKind() 116 ResourceHelper.getResourceDeltaKind(IResourceDelta.REMOVED)); in testGetResourceDeltaKind() 118 ResourceHelper.getResourceDeltaKind(IResourceDelta.CHANGED)); in testGetResourceDeltaKind() 120 assertNull(ResourceHelper.getResourceDeltaKind(IResourceDelta.ADDED_PHANTOM)); in testGetResourceDeltaKind() 124 assertTrue(ResourceHelper.isFileBasedResourceType(ResourceType.ANIMATOR)); in testIsFileBasedResourceType() 125 assertTrue(ResourceHelper.isFileBasedResourceType(ResourceType.LAYOUT)); in testIsFileBasedResourceType() 127 assertFalse(ResourceHelper.isFileBasedResourceType(ResourceType.STRING)); in testIsFileBasedResourceType() 128 assertFalse(ResourceHelper.isFileBasedResourceType(ResourceType.DIMEN)); in testIsFileBasedResourceType() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
D | ManifestInfoTest.java | 25 import com.android.ide.eclipse.adt.internal.resources.ResourceHelper; 58 assertEquals("Theme", ResourceHelper.styleToTheme(info.getDefaultTheme(null, NORMAL))); in testGetActivityThemes1() 60 assertEquals("Theme", ResourceHelper.styleToTheme(info.getDefaultTheme(null, XLARGE))); in testGetActivityThemes1() 72 assertEquals("Theme.Holo", ResourceHelper.styleToTheme(info.getDefaultTheme(null, in testGetActivityThemes2() 74 assertEquals("Theme", ResourceHelper.styleToTheme(info.getDefaultTheme(null, LARGE))); in testGetActivityThemes2() 86 assertEquals("Theme.Holo", ResourceHelper.styleToTheme(info.getDefaultTheme(null, in testGetActivityThemes3() 88 assertEquals("Theme", ResourceHelper.styleToTheme(info.getDefaultTheme(null, NORMAL))); in testGetActivityThemes3() 113 assertEquals("Theme", ResourceHelper.styleToTheme(info.getDefaultTheme(null, XLARGE))); in testGetActivityThemes4() 147 assertEquals("NoBackground", ResourceHelper.styleToTheme(info.getDefaultTheme(null, in testGetActivityThemes5() 168 assertEquals("Theme.Holo", ResourceHelper.styleToTheme(info.getDefaultTheme(null, in testGetActivityThemes6() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
D | ThemeMenuAction.java | 25 import com.android.ide.eclipse.adt.internal.resources.ResourceHelper; 99 currentName = ResourceHelper.styleToTheme(currentTheme); in showThemeMenu() 112 ResourceHelper.styleToTheme(preferred), in showThemeMenu() 225 if (ResourceHelper.isProjectStyle(theme)) { in addMenuItems() 293 String title = ResourceHelper.styleToTheme(theme); in addMenuItem()
|
D | ActivityMenuListener.java | 23 import com.android.ide.eclipse.adt.internal.resources.ResourceHelper; 106 String layoutName = ResourceHelper.getLayoutName(chooser.getEditedFile()); in show()
|
D | Configuration.java | 43 import com.android.ide.eclipse.adt.internal.resources.ResourceHelper; 364 return ResourceHelper.isProjectStyle(theme); in isProjectTheme() 645 String themeName = ResourceHelper.styleToTheme(theme); in toPersistentString()
|
D | ConfigurationChooser.java | 61 import com.android.ide.eclipse.adt.internal.resources.ResourceHelper; 440 theme = ResourceHelper.styleToTheme(theme); in getThemeName() 1223 theme = ResourceHelper.styleToTheme(theme); in getThemeLabel() 1979 String layoutName = ResourceHelper.getLayoutName(mEditedFile); in getPreferredActivity()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
D | AaptQuickFix.java | 28 import com.android.ide.eclipse.adt.internal.resources.ResourceHelper; 127 if (ResourceHelper.canCreateResource(resource)) { in getResolutions() 188 if (ResourceHelper.canCreateResource(resource)) { in computeQuickAssistProposals() 369 ResourceHelper.createResource(mProject, type, name, value); in perform()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/ |
D | ResourceNameValidator.java | 209 boolean isFileType = ResourceHelper.isFileBasedResourceType(type); in create() 238 boolean isFileType = ResourceHelper.isFileBasedResourceType(type); in create()
|
D | ResourceHelper.java | 119 public class ResourceHelper { class
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
D | ResourcePreviewHelper.java | 29 import com.android.ide.eclipse.adt.internal.resources.ResourceHelper; 131 RGB color = ResourceHelper.resolveColor(resources, value); in updatePreview()
|
D | ResourceChooser.java | 35 import com.android.ide.eclipse.adt.internal.resources.ResourceHelper; 491 if (ResourceHelper.isValueBasedResourceType(mResourceType)) { in createNewResButtons() 663 Pair<IFile, IRegion> resource = ResourceHelper.createResource(mProject, type, name, in createNewFile() 692 Pair<IFile, IRegion> resource = ResourceHelper.createResource(mProject, type, name, value); in createNewValue() 813 mNewButton.setEnabled(!isSystem && ResourceHelper.canCreateResourceType(mResourceType)); in updateNewButton()
|
D | ConfigurationSelector.java | 43 import com.android.ide.eclipse.adt.internal.resources.ResourceHelper; 691 return ResourceHelper.getIcon(((ResourceQualifier)element).getClass()); in getColumnImage()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ |
D | ResourceManager.java | 27 import com.android.ide.eclipse.adt.internal.resources.ResourceHelper; 353 ResourceHelper.getResourceDeltaKind(kind), context); in updateFile()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | PreviewIconFactory.java | 44 import com.android.ide.eclipse.adt.internal.resources.ResourceHelper; 457 return ResourceHelper.resolveColor(resources, textColor); in resolveThemeColor()
|
D | RenderPreview.java | 51 import com.android.ide.eclipse.adt.internal.resources.ResourceHelper; 654 ResourceHelper.styleToTheme(theme), in getResourceResolver() 655 ResourceHelper.isProjectStyle(theme)); in getResourceResolver()
|
D | GraphicalEditorPart.java | 91 import com.android.ide.eclipse.adt.internal.resources.ResourceHelper; 1708 return ResourceHelper.getLayoutName(mEditedFile); in getLayoutResourceName()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
D | XmlPropertyEditor.java | 49 import com.android.ide.eclipse.adt.internal.resources.ResourceHelper; 179 RGB rgb = ResourceHelper.resolveColor(resolver, resValue); in paint()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
D | Hyperlinks.java | 65 import com.android.ide.eclipse.adt.internal.resources.ResourceHelper; 1255 boolean valueResource = ResourceHelper.isValueBasedResourceType(type); in getResourceLinks()
|