Home
last modified time | relevance | path

Searched refs:newName (Results 1 – 17 of 17) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactoring/changes/
DAndroidTypeMoveChange.java41 IDocument document, Map<String, String> elements, String newName, String oldName) { in AndroidTypeMoveChange() argument
42 super(androidManifest, manager, document, elements, newName, oldName); in AndroidTypeMoveChange()
DAndroidLayoutChangeDescription.java48 public AndroidLayoutChangeDescription(String className, String newName, int type) { in AndroidLayoutChangeDescription() argument
50 this.mNewName = newName; in AndroidLayoutChangeDescription()
DAndroidLayoutChange.java164 private List<TextEdit> createElementTextEdit(String className, String newName) { in createElementTextEdit() argument
175 edits.add(new ReplaceEdit(offset + 1, className.length(), newName)); in createElementTextEdit()
180 edits.add(new ReplaceEdit(offset + 2, className.length(), newName)); in createElementTextEdit()
234 String newName) { in createTextEdit() argument
241 if (name != null && newName != null) { in createTextEdit()
242 TextEdit edit = createTextEdit(attr, newName); in createTextEdit()
DAndroidTypeRenameChange.java52 IDocument document, Map<String, String> elements, String newName, String oldName) { in AndroidTypeRenameChange() argument
56 this.mNewName = newName; in AndroidTypeRenameChange()
DAndroidPackageRenameChange.java56 IDocument document, Map<String, String> elements, String newName, String oldName, in AndroidPackageRenameChange() argument
62 this.mNewName = newName; in AndroidPackageRenameChange()
DAndroidDocumentChange.java270 String newName, boolean combinePackage) { in createTextEdit() argument
280 newValue = AndroidManifest.extractActivityName(newName, getAppPackage()); in createTextEdit()
282 newValue = newName; in createTextEdit()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
DResourceChooser.java353 String newName = createNewString(); in createNewResButtons()
354 selectAddedItem(newName); in createNewResButtons()
362 String newName = AdtUtils.stripAllExtensions(files.get(0).getName()); in createNewResButtons()
365 selectItemName(newName, items); in createNewResButtons()
369 String newName = createNewValue(mResourceType); in createNewResButtons()
370 if (newName != null) { in createNewResButtons()
371 selectAddedItem(newName); in createNewResButtons()
374 String newName = createNewFile(mResourceType); in createNewResButtons()
375 if (newName != null) { in createNewResButtons()
376 selectAddedItem(newName); in createNewResButtons()
[all …]
DConfigurationSelector.java904 String newName = ""; in onLanguageChange() local
908 newName = name; in onLanguageChange()
911 mName.setText(newName); in onLanguageChange()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/renamepackage/
DRenamePackageAction.java126 Name oldPackageName = astValidator.newName(oldPackageNameString); in promptNewName()
133 astValidator.newName(newText); in promptNewName()
150 Name newPackageName = astValidator.newName(dialog.getValue()); in promptNewName()
/sdk/sdkmanager/app/src/com/android/sdkmanager/
DMain.java1191 String newName = mSdkCommandLine.getParamMoveNewName(); in moveAvd() local
1192 if (newName != null && newName.equals(info.getName())) { in moveAvd()
1194 newName = null; in moveAvd()
1216 if (newName == null && paramFolderPath == null) { in moveAvd()
1224 if (newName != null && paramFolderPath == null) { in moveAvd()
1235 newName + AvdManager.AVD_FOLDER_EXTENSION); in moveAvd()
1245 if (newName != null) { in moveAvd()
1246 if (avdManager.getAvd(newName, false /*validAvdOnly*/) != null) { in moveAvd()
1247 errorAndExit("There is already an AVD named '%s'.", newName); in moveAvd()
1252 if (ini.equals(AvdInfo.getDefaultIniFile(avdManager, newName))) { in moveAvd()
[all …]
/sdk/find_java/
Dutils.h309 void replaceName(const char *searchName, const char* newName) { in replaceName() argument
316 int sn2 = strlen(newName); in replaceName()
320 strcpy(mStr + n - sn, newName); in replaceName()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DDependencyGraph.java301 static String describePath(List<Constraint> path, String newName, String newId) { in describePath() argument
310 if (newName != null) { in describePath()
311 s = String.format(DEPENDENCY_FORMAT, s, stripLayoutAttributePrefix(newName), in describePath()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/
DAttrsXmlParser.java342 String newName = ANDROID_MANIFEST_STYLEABLE + key.substring(name.length()); in parseResources() local
345 new DeclareStyleableInfo(newName, mStyleMap.get(key)); in parseResources()
347 mStyleMap.put(newName, newStyle); in parseResources()
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/avd/
DAvdManager.java1178 public boolean moveAvd(AvdInfo avdInfo, String newName, String paramFolderPath, ILogger log) { in moveAvd() argument
1207 if (newName != null) { in moveAvd()
1209 File newIniFile = AvdInfo.getDefaultIniFile(this, newName); in moveAvd()
1220 newName, in moveAvd()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DExtractIncludeRefactoring.java537 private static String computeIncludeString(Element primaryNode, String newName,
541 sb.append(newName);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DReplaceStringsVisitor.java95 Name qualifierName = mAst.newName(mRQualifier + ".string"); //$NON-NLS-1$ in visit()
/sdk/lint/libs/lint_api/src/com/android/tools/lint/client/api/
DLintDriver.java1132 String newName = classNode.name; in runClassDetectors() local
1133 int newRootLength = newName.indexOf('$'); in runClassDetectors()
1135 newRootLength = newName.length(); in runClassDetectors()
1142 !sourceName.regionMatches(0, newName, 0, newRootLength)) { in runClassDetectors()