Home
last modified time | relevance | path

Searched refs:LAYOUT (Results 1 – 25 of 38) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/resources/
DResourceNameValidatorTest.java55 assertTrue(ResourceNameValidator.create(true, ResourceFolderType.LAYOUT) in testValidator()
57 assertTrue(ResourceNameValidator.create(true, ResourceFolderType.LAYOUT) in testValidator()
63 assertTrue(ResourceNameValidator.create(true, ResourceFolderType.LAYOUT) in testValidator()
DResourceHelperTest.java125 assertTrue(ResourceHelper.isFileBasedResourceType(ResourceType.LAYOUT)); in testIsFileBasedResourceType()
141 assertFalse(ResourceHelper.isValueBasedResourceType(ResourceType.LAYOUT)); in testIsValueBasedResourceType()
163 assertTrue(ResourceHelper.canCreateResourceType(ResourceType.LAYOUT)); in testCanCreateResourceType()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DEclipseXmlPrettyPrinter.java193 case LAYOUT: in get()
194 return XmlFormatStyle.LAYOUT; in get()
215 case LAYOUT: in getForFolderType()
216 return XmlFormatStyle.LAYOUT; in getForFolderType()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DLayoutEditorMatchingStrategy.java58 if (resFolder != null && resFolder.getType() == ResourceFolderType.LAYOUT) { in matches()
67 || editorFolder.getType() != ResourceFolderType.LAYOUT) { in matches()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DParameter.java125 LAYOUT, enumConstant
297 if (constraints.contains(Constraint.LAYOUT)) { in getValidator()
299 mValidator = ResourceNameValidator.create(false, project, ResourceType.LAYOUT); in getValidator()
301 mValidator = ResourceNameValidator.create(false, ResourceFolderType.LAYOUT); in getValidator()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/common/
DCommonMatchingStrategy.java50 if (resFolder != null && resFolder.getType() == ResourceFolderType.LAYOUT) { in matches()
DCommonXmlEditor.java170 if (type == ResourceFolderType.LAYOUT) { in init()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/resources/manager/
DConfigMatchTest.java242 ResourceFolderType.LAYOUT, testConfig); in test1()
284 String folderName = config.getFolderName(ResourceFolderType.LAYOUT); in addFolder()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
DNewXmlFileWizard.java211 if (folderType == ResourceFolderType.LAYOUT && root.equals(GRID_LAYOUT)) { in createXmlFile()
283 && (folderType == ResourceFolderType.LAYOUT in createXmlFile()
355 super.mMainPage.setInitialFolderType(ResourceFolderType.LAYOUT); in init()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DExtractIncludeRefactoring.java36 import static com.android.resources.ResourceType.LAYOUT;
334 EclipseXmlFormatPreferences.create(), XmlFormatStyle.LAYOUT, in computeChanges()
376 XmlFormatStyle.LAYOUT); in handleIncludingFile()
438 IInputValidator validator = ResourceNameValidator.create(true, mProject, LAYOUT); in getInitialName()
DExtractIncludeWizard.java104 ResourceType.LAYOUT); in validatePage()
DUseCompoundDrawableRefactoring.java359 XmlFormatStyle.LAYOUT, null, false); in computeChanges()
365 MultiTextEdit formatted = reformat(rootEdit, XmlFormatStyle.LAYOUT); in computeChanges()
DUnwrapRefactoring.java217 MultiTextEdit formatted = reformat(rootEdit, XmlFormatStyle.LAYOUT); in computeChanges()
DWrapInRefactoring.java398 MultiTextEdit formatted = reformat(rootEdit, XmlFormatStyle.LAYOUT); in computeChanges()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DCreateNewConfigJob.java61 String folderName = mConfig.getFolderName(ResourceFolderType.LAYOUT); in run()
DIncludeFinder.java28 import static com.android.resources.ResourceType.LAYOUT;
421 Collection<ResourceItem> layouts = resources.getResourceItemsOfType(LAYOUT); in scanProject()
446 if (type == ResourceType.LAYOUT) { in updateFileIncludes()
DListViewTypeMenu.java171 ResourceChooser dlg = ResourceChooser.create(editor, ResourceType.LAYOUT) in run()
DFragmentMenu.java291 ResourceChooser dlg = ResourceChooser.create(editor, ResourceType.LAYOUT) in run()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DLayoutCreatorDialog.java145 mConfig.getFolderName(ResourceFolderType.LAYOUT), mFileName), in resetStatus()
DConfigurationMatcher.java148 ResourceType.LAYOUT, config); in isCurrentFileBestMatchFor()
690 ResourceFile match = resources.getMatchingFile(name, ResourceType.LAYOUT, config); in getBestFileMatch()
DConfigurationDescription.java271 String folderName = fullConfig.getFolderName(ResourceFolderType.LAYOUT); in toXml()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAdtUtils.java1507 case LAYOUT:
1508 return ResourceFolderType.LAYOUT;
1566 case LAYOUT:
1567 return ResourceType.LAYOUT;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DAndroidTypeRenameParticipant.java335 if (folderType != ResourceFolderType.LAYOUT && in addLayoutFileChanges()
382 assert folderType == ResourceFolderType.LAYOUT; in addXmlFileChanges()
DAndroidTypeMoveParticipant.java200 if (folderType != ResourceFolderType.LAYOUT) { in addLayoutFileChanges()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DTestNode.java260 XmlFormatStyle.LAYOUT, "\n"); in toXml()

12