Home
last modified time | relevance | path

Searched refs:newType (Results 1 – 8 of 8) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/descriptors/
DPostActivityCreationAction.java52 public void processNewType(IType newType) { in processNewType() argument
62 newType.createMethod(methodContent, null /* sibling*/, false /* force */, in processNewType()
68 IJavaElement element = newType; in processNewType()
DPostReceiverCreationAction.java51 public void processNewType(IType newType) { in processNewType() argument
58 newType.createMethod(methodContent, null /* sibling*/, false /* force */, in processNewType()
64 IJavaElement element = newType; in processNewType()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DChangeLayoutRefactoring.java270 String newType = mTypeFqcn; in computeChanges() local
272 if (newType.equals(FQCN_RELATIVE_LAYOUT)) { in computeChanges()
280 addMissingWrapContentAttributes(rootEdit, layout, oldType, newType, null); in computeChanges()
283 convertAnyToRelative(rootEdit, oldType, newType); in computeChanges()
287 } else if (newType.equals(FQCN_GRID_LAYOUT)) { in computeChanges()
292 } else if (oldType.equals(FQCN_RELATIVE_LAYOUT) && newType.equals(FQCN_LINEAR_LAYOUT)) { in computeChanges()
295 addMissingWrapContentAttributes(rootEdit, layout, oldType, newType, null); in computeChanges()
296 } else if (oldType.equals(FQCN_LINEAR_LAYOUT) && newType.equals(FQCN_TABLE_LAYOUT)) { in computeChanges()
299 addMissingWrapContentAttributes(rootEdit, layout, oldType, newType, null); in computeChanges()
301 convertGeneric(rootEdit, oldType, newType, layout); in computeChanges()
[all …]
DVisualRefactoring.java854 protected String ensureIdMatchesType(Element element, String newType, MultiTextEdit rootEdit) { in ensureIdMatchesType() argument
863 String newTypeBase = newType.substring(newType.lastIndexOf('.') + 1); in ensureIdMatchesType()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DChangeViewRefactoringTest.java43 private void checkRefactoring(String basename, String newType, in checkRefactoring() argument
54 refactoring.setType(newType); in checkRefactoring()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DListViewTypeMenu.java179 String newType = dlg.getCurrentResource(); in run() local
180 setNewType(mType, newType); in run()
DFragmentMenu.java299 String newType = dlg.getCurrentResource(); in run() local
300 setNewLayout(newType); in run()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/
DUiClassAttributeNode.java212 public void processNewType(IType newType);