/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/resources/ |
D | ResourceNameValidatorTest.java | 34 ResourceNameValidator validator = ResourceNameValidator.create(true, in testValidator() local 36 assertTrue(validator.isValid("foo") == null); in testValidator() 37 assertTrue(validator.isValid("foo.xml") == null); in testValidator() 38 assertTrue(validator.isValid("Foo123_$") == null); in testValidator() 39 assertTrue(validator.isValid("foo.xm") == null); // For non-file types, . => _ in testValidator() 42 assertTrue(validator.isValid("") != null); in testValidator() 43 assertTrue(validator.isValid(" ") != null); in testValidator() 44 assertTrue(validator.isValid("foo bar") != null); in testValidator() 45 assertTrue(validator.isValid("1foo") != null); in testValidator() 46 assertTrue(validator.isValid("foo%bar") != null); in testValidator() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | ExtractIncludeWizard.java | 103 ResourceNameValidator validator = ResourceNameValidator.create(false, mProject, in validatePage() local 105 String message = validator.isValid(text); in validatePage()
|
D | WrapInWizard.java | 124 ResourceNameValidator validator = ResourceNameValidator.create(false, mProject, in validatePage() local 126 String message = validator.isValid(id); in validatePage()
|
D | ExtractStyleWizard.java | 354 ResourceNameValidator validator = ResourceNameValidator.create(false, mProject, in validatePage() local 356 String message = validator.isValid(text); in validatePage()
|
D | ExtractIncludeRefactoring.java | 438 IInputValidator validator = ResourceNameValidator.create(true, mProject, LAYOUT); in getInitialName() local 440 if (validator.isValid(defaultName) != null) { // Already exists? in getInitialName()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/renamepackage/ |
D | RenamePackageAction.java | 128 IInputValidator validator = new IInputValidator() { in promptNewName() local 147 validator); in promptNewName()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
D | ClientRulesEngine.java | 172 IInputValidator validator = null; in displayInput() local 174 validator = new IInputValidator() { in displayInput() 193 validator) { in displayInput() 365 IInputValidator validator) { 368 return ResourceChooser.chooseResource(graphicalEditor, type, currentValue, validator); 395 IInputValidator validator = CyclicDependencyValidator.create(editor.getInputFile()); 396 return displayResourceInput(ResourceType.LAYOUT.getName(), null, validator);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
D | ChooseAssetTypePage.java | 211 ResourceNameValidator validator = in validatePage() local 213 error = validator.isValid(outputName); in validatePage()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
D | ResourceChooser.java | 649 ResourceNameValidator validator = ResourceNameValidator.create(true /*allowXmlExtension*/, in createNewFile() local 656 validator); in createNewFile() 941 String currentValue, IInputValidator validator) { in chooseResource() argument 944 if (validator != null) { in chooseResource() 947 chooser.setInputValidator(validator); in chooseResource()
|
/sdk/eclipse/ |
D | dictionary.txt | 342 validator
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/ |
D | ResourceHelper.java | 259 ResourceNameValidator validator = in canCreateResource() local 261 if (validator.isValid(name) != null) { in canCreateResource()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | NewTemplatePage.java | 615 IInputValidator validator = parameter.getValidator(mValues.project); in validatePage() local 616 if (validator != null) { in validatePage() 619 String error = validator.isValid(value); in validatePage()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
D | RenameResourceParticipant.java | 343 ResourceNameValidator validator = ResourceNameValidator.create(false, mProject, mType); in checkConditions() local 344 String error = validator.isValid(mNewName); in checkConditions()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/ |
D | AndroidJUnitLaunchConfigurationTab.java | 891 TypedElementSelectionValidator validator = new TypedElementSelectionValidator( in chooseContainer() local 925 dialog.setValidator(validator); in chooseContainer()
|