/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/ |
D | AdtUtilsTest.java | 25 assertEquals("Foo", AdtUtils.extractClassName("foo")); in testExtractClassName() 26 assertEquals("Foobar", AdtUtils.extractClassName("foo bar")); in testExtractClassName() 27 assertEquals("JavasTypeSystem", AdtUtils.extractClassName("Java's Type System")); in testExtractClassName() 28 assertEquals("Foo", AdtUtils.extractClassName("1foo ")); in testExtractClassName() 32 assertEquals("", AdtUtils.stripAllExtensions("")); in testStripAllExtensions() 33 assertEquals("foobar", AdtUtils.stripAllExtensions("foobar")); in testStripAllExtensions() 34 assertEquals("foobar", AdtUtils.stripAllExtensions("foobar.png")); in testStripAllExtensions() 35 assertEquals("foobar", AdtUtils.stripAllExtensions("foobar.9.png")); in testStripAllExtensions() 36 assertEquals(".profile", AdtUtils.stripAllExtensions(".profile")); in testStripAllExtensions() 40 assertEquals("", AdtUtils.stripLastExtension("")); in testStripLastExtension() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | FmLayoutToActivityMethod.java | 18 import static com.android.ide.eclipse.adt.AdtUtils.extractClassName; 22 import com.android.ide.eclipse.adt.AdtUtils; 52 name = AdtUtils.underlinesToCamelCase(name); in exec()
|
D | FmUnderscoreToCamelCaseMethod.java | 18 import com.android.ide.eclipse.adt.AdtUtils; 37 return new SimpleScalar(AdtUtils.underlinesToCamelCase(args.get(0).toString())); in exec()
|
D | FmCamelCaseToUnderscoreMethod.java | 18 import com.android.ide.eclipse.adt.AdtUtils; 36 return new SimpleScalar(AdtUtils.camelCaseToUnderlines(args.get(0).toString())); in exec()
|
D | FmActivityToLayoutMethod.java | 21 import com.android.ide.eclipse.adt.AdtUtils; 60 String name = LAYOUT_NAME_PREFIX + AdtUtils.camelCaseToUnderlines(activityName); in exec()
|
D | FmClassNameToResourceMethod.java | 20 import com.android.ide.eclipse.adt.AdtUtils; 51 return new SimpleScalar(AdtUtils.camelCaseToUnderlines(name)); in exec()
|
D | NewProjectWizardState.java | 21 import com.android.ide.eclipse.adt.AdtUtils; 84 public int targetSdkLevel = AdtUtils.getHighestKnownApiLevel();
|
D | CreateFileChange.java | 21 import com.android.ide.eclipse.adt.AdtUtils; 93 AdtUtils.ensureExists(folder); in perform()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
D | RunLintAction.java | 22 import com.android.ide.eclipse.adt.AdtUtils; 81 List<IProject> projects = AdtUtils.getSelectedProjects(selection); in getProjects() 119 IJavaProject[] projects = AdtUtils.getOpenAndroidProjects(); in getMenu() 130 ITextEditor textEditor = AdtUtils.getActiveTextEditor(); in getMenu() 132 IFile file = AdtUtils.getActiveFile(); in getMenu() 215 IJavaProject[] open = AdtUtils.getOpenAndroidProjects(); in run()
|
D | UseCompoundDrawableDetectorFix.java | 20 import com.android.ide.eclipse.adt.AdtUtils; 76 LayoutEditorDelegate.fromEditor(AdtUtils.getActiveEditor()); in apply()
|
D | ProjectLintConfiguration.java | 21 import com.android.ide.eclipse.adt.AdtUtils; 51 File dir = AdtUtils.getAbsolutePath(project).toFile(); in create()
|
D | ExtractStringFix.java | 18 import com.android.ide.eclipse.adt.AdtUtils; 63 IEditorPart editorPart = AdtUtils.getActiveEditor(); in apply()
|
D | RemoveUselessViewFix.java | 18 import com.android.ide.eclipse.adt.AdtUtils; 67 LayoutEditorDelegate.fromEditor(AdtUtils.getActiveEditor()); in apply()
|
D | SetPropertyFix.java | 21 import com.android.ide.eclipse.adt.AdtUtils; 122 IEditorPart editor = AdtUtils.getActiveEditor(); in apply()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
D | ManifestContentAssist.java | 23 import com.android.ide.eclipse.adt.AdtUtils; 61 int max = AdtUtils.getHighestKnownApiLevel(); in computeAttributeValues() 81 String name = AdtUtils.getAndroidName(api); in computeAttributeValues()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/uimodel/ |
D | UiItemElementNode.java | 20 import com.android.ide.eclipse.adt.AdtUtils; 51 type = AdtUtils.capitalize(type); in getShortDescription()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | LayoutMetadata.java | 33 import com.android.ide.eclipse.adt.AdtUtils; 183 AdtUtils.setToolsAttribute(editor, element, undoLabel, name, value, in setProperty() 190 final List<IFile> variations = AdtUtils.getResourceVariations(file, false); in setProperty() 240 AdtUtils.findEditorsFor(variation, false /*restore*/); in setPropertyInEditor() 242 AndroidXmlEditor editor = AdtUtils.getXmlEditor(part); in setPropertyInEditor() 248 AdtUtils.setToolsAttribute(editor, element, undoLabel, name, in setPropertyInEditor() 274 AdtUtils.setToolsAttribute(variation, other, undoLabel, in setPropertyInFile()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
D | ImportProjectWizard.java | 22 import com.android.ide.eclipse.adt.AdtUtils; 54 mImportPage.init(mSelection, AdtUtils.getActivePart()); in addPages()
|
D | NewProjectWizard.java | 22 import com.android.ide.eclipse.adt.AdtUtils; 84 mNamePage.init(mSelection, AdtUtils.getActivePart()); in addPages()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | VisualRefactoringAction.java | 20 import com.android.ide.eclipse.adt.AdtUtils; 82 editor = AdtUtils.getActiveEditor(); in selectionChanged() 88 editor = AdtUtils.getActiveEditor(); in selectionChanged()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | UseCompoundDrawableRefactoringTest.java | 20 import com.android.ide.eclipse.adt.AdtUtils; 110 addCleanupDir(AdtUtils.getAbsolutePath(getProject()).toFile()); in checkRefactoring()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
D | ExtractStringProposal.java | 19 import com.android.ide.eclipse.adt.AdtUtils; 51 IEditorPart editor = AdtUtils.getActiveEditor(); in apply() 52 IFile file = AdtUtils.getActiveFile(); in apply()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
D | SupportLibraryHelper.java | 26 import com.android.ide.eclipse.adt.AdtUtils; 163 for (IJavaProject javaProject : AdtUtils.getOpenAndroidProjects()) { in findSupportProjectV7()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/menu/descriptors/ |
D | MenuDescriptors.java | 24 import com.android.ide.eclipse.adt.AdtUtils; 189 String styleName = AdtUtils.capitalize(xmlName); in getStyleName()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/ |
D | AnimationEditorDelegate.java | 23 import com.android.ide.eclipse.adt.AdtUtils; 155 String folderName = AdtUtils.getParentFolderName(getEditor().getEditorInput()); in getFolderType()
|