Home
last modified time | relevance | path

Searched refs:AdtUtils (Results 1 – 25 of 84) sorted by relevance

1234

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/
DAdtUtilsTest.java25 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/
DFmLayoutToActivityMethod.java18 import static com.android.ide.eclipse.adt.AdtUtils.extractClassName;
22 import com.android.ide.eclipse.adt.AdtUtils;
52 name = AdtUtils.underlinesToCamelCase(name); in exec()
DFmUnderscoreToCamelCaseMethod.java18 import com.android.ide.eclipse.adt.AdtUtils;
37 return new SimpleScalar(AdtUtils.underlinesToCamelCase(args.get(0).toString())); in exec()
DFmCamelCaseToUnderscoreMethod.java18 import com.android.ide.eclipse.adt.AdtUtils;
36 return new SimpleScalar(AdtUtils.camelCaseToUnderlines(args.get(0).toString())); in exec()
DFmActivityToLayoutMethod.java21 import com.android.ide.eclipse.adt.AdtUtils;
60 String name = LAYOUT_NAME_PREFIX + AdtUtils.camelCaseToUnderlines(activityName); in exec()
DFmClassNameToResourceMethod.java20 import com.android.ide.eclipse.adt.AdtUtils;
51 return new SimpleScalar(AdtUtils.camelCaseToUnderlines(name)); in exec()
DNewProjectWizardState.java21 import com.android.ide.eclipse.adt.AdtUtils;
84 public int targetSdkLevel = AdtUtils.getHighestKnownApiLevel();
DCreateFileChange.java21 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/
DRunLintAction.java22 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()
DUseCompoundDrawableDetectorFix.java20 import com.android.ide.eclipse.adt.AdtUtils;
76 LayoutEditorDelegate.fromEditor(AdtUtils.getActiveEditor()); in apply()
DProjectLintConfiguration.java21 import com.android.ide.eclipse.adt.AdtUtils;
51 File dir = AdtUtils.getAbsolutePath(project).toFile(); in create()
DExtractStringFix.java18 import com.android.ide.eclipse.adt.AdtUtils;
63 IEditorPart editorPart = AdtUtils.getActiveEditor(); in apply()
DRemoveUselessViewFix.java18 import com.android.ide.eclipse.adt.AdtUtils;
67 LayoutEditorDelegate.fromEditor(AdtUtils.getActiveEditor()); in apply()
DSetPropertyFix.java21 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/
DManifestContentAssist.java23 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/
DUiItemElementNode.java20 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/
DLayoutMetadata.java33 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/
DImportProjectWizard.java22 import com.android.ide.eclipse.adt.AdtUtils;
54 mImportPage.init(mSelection, AdtUtils.getActivePart()); in addPages()
DNewProjectWizard.java22 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/
DVisualRefactoringAction.java20 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/
DUseCompoundDrawableRefactoringTest.java20 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/
DExtractStringProposal.java19 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/
DSupportLibraryHelper.java26 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/
DMenuDescriptors.java24 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/
DAnimationEditorDelegate.java23 import com.android.ide.eclipse.adt.AdtUtils;
155 String folderName = AdtUtils.getParentFolderName(getEditor().getEditorInput()); in getFolderType()

1234