Searched refs:oldType (Results 1 – 7 of 7) sorted by relevance
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | ChangeViewWizard.java | 56 String oldType = null; in addUserInputPages() local 58 if (oldType == null) { in addUserInputPages() 59 oldType = type; in addUserInputPages() 60 } else if (!oldType.equals(type)) { in addUserInputPages() 62 oldType = null; in addUserInputPages() 66 addPage(new InputPage(mDelegate.getEditor().getProject(), oldType)); in addUserInputPages() 76 public InputPage(IProject project, String oldType) { in InputPage() argument 79 mOldType = oldType; in InputPage() 104 private List<String> getWidgetTypes(String oldType, Combo combo) { in getWidgetTypes() argument 115 if (oldType != null) { in getWidgetTypes() [all …]
|
D | ChangeLayoutRefactoring.java | 269 String oldType = getOldType(); in computeChanges() local 273 if (oldType.equals(FQCN_LINEAR_LAYOUT) && !mFlatten) { in computeChanges() 280 addMissingWrapContentAttributes(rootEdit, layout, oldType, newType, null); in computeChanges() 283 convertAnyToRelative(rootEdit, oldType, newType); 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() 335 String oldType, String newType, Set<Element> skip) { in addMissingWrapContentAttributes() argument [all …]
|
D | ChangeViewRefactoring.java | 270 String oldType = primary.getTagName(); in getOldTypes() local 271 if (oldType.indexOf('.') == -1 in getOldTypes() 272 && !oldType.equals(VIEW_INCLUDE) && !oldType.equals(VIEW_FRAGMENT)) { in getOldTypes() 273 oldType = ANDROID_WIDGET_PREFIX + oldType; in getOldTypes() 275 types.add(oldType); in getOldTypes()
|
D | WrapInWizard.java | 64 String oldType = ref.getOldType(); in addUserInputPages() local 65 addPage(new InputPage(mDelegate.getEditor().getProject(), oldType)); in addUserInputPages() 76 public InputPage(IProject project, String oldType) { in InputPage() argument 79 mOldType = oldType; in InputPage() 166 String oldType, Combo combo, in addLayouts() argument 171 if (oldType != null && oldType.equals(FQCN_RADIO_BUTTON)) { in addLayouts()
|
D | ChangeLayoutWizard.java | 57 String oldType = ref.getOldType(); in addUserInputPages() local 58 addPage(new InputPage(mDelegate.getEditor().getProject(), oldType)); in addUserInputPages() 69 public InputPage(IProject project, String oldType) { in InputPage() argument 72 mOldType = oldType; in InputPage()
|
D | WrapInRefactoring.java | 412 String oldType = primary.getTagName(); in getOldType() local 413 if (oldType.indexOf('.') == -1) { in getOldType() 414 oldType = ANDROID_WIDGET_PREFIX + oldType; in getOldType() 416 return oldType; in getOldType()
|
D | VisualRefactoring.java | 855 String oldType = element.getTagName(); in ensureIdMatchesType() local 856 if (oldType.indexOf('.') == -1) { in ensureIdMatchesType() 857 oldType = ANDROID_WIDGET_PREFIX + oldType; in ensureIdMatchesType() 859 String oldTypeBase = oldType.substring(oldType.lastIndexOf('.') + 1); in ensureIdMatchesType()
|