Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/renamepackage/
DApplicationPackageNameRefactoringTest.java107 @NonNull String newName, in renamePackage() argument
110 renamePackage(project, newName, expected); in renamePackage()
115 @NonNull String newName, in renamePackage() argument
122 Name oldPackageName = astValidator.newName(currentPackage); in renamePackage()
123 Name newPackageName = astValidator.newName(newName); in renamePackage()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRenameResourcePage.java102 String newName = processor.getNewName(); in setVisible() local
103 if (newName != null && newName.length() > 0 in setVisible()
104 && !newName.equals(getInitialValue())) { in setVisible()
106 textField.setText(newName); in setVisible()
107 textField.setSelection(0, newName.length()); in setVisible()
115 protected RefactoringStatus validateTextField(String newName) { in validateTextField() argument
116 if (newName.isEmpty() && isEmptyInputValid()) { in validateTextField()
122 String error = mValidator.isValid(newName); in validateTextField()
128 processor.setNewName(newName); in validateTextField()
129 return processor.checkNewName(newName); in validateTextField()
DRenameResourceProcessor.java62 @Nullable String newName) { in RenameResourceProcessor() argument
66 mNewName = newName != null ? newName : currentName; in RenameResourceProcessor()
115 public void setNewName(@NonNull String newName) { in setNewName() argument
116 mNewName = newName; in setNewName()
DRenameResourceWizard.java88 @Nullable String newName, in renameResource() argument
92 currentName, newName); in renameResource()
DAndroidTypeRenameParticipant.java277 String newName = name.equals(mOldSimpleName) ? mNewSimpleName : in addJavaChanges() local
281 newName, true); in addJavaChanges()
DRenameResourceParticipant.java281 @NonNull String newName, in createFieldRefactoring() argument
289 processor.setNewElementName(newName); in createFieldRefactoring()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRenameResourceParticipantTest.java341 @NonNull String newName, in renameResource() argument
343 renameResource(testData, resource, updateReferences, newName, expected, null); in renameResource()
350 @NonNull String newName, in renameResource() argument
354 renameResource(project, resource, updateReferences, newName, expected, expectedWarnings); in renameResource()
361 @NonNull String newName, in renameResource() argument
375 p = new RenameResourceProcessor(project, type, currentName, newName); in renameResource()
385 p.setNewResourceName(newName + extension); in renameResource()
390 p.setNewElementName(newName); in renameResource()
DAndroidPackageRenameParticipantTest.java206 @NonNull String newName, in renamePackage() argument
212 renamePackage(project, renameSubpackages, updateReferences, newName, expected, in renamePackage()
220 @NonNull String newName, in renamePackage() argument
229 processor.setNewElementName(newName); in renamePackage()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
DResourceChooser.java476 String newName = createNewString(); in createNewResButtons()
477 selectAddedItem(newName); in createNewResButtons()
485 String newName = AdtUtils.stripAllExtensions(files.get(0).getName()); in createNewResButtons()
488 selectItemName(newName, items); in createNewResButtons()
492 String newName = createNewValue(mResourceType); in createNewResButtons()
493 if (newName != null) { in createNewResButtons()
494 selectAddedItem(newName); in createNewResButtons()
497 String newName = createNewFile(mResourceType); in createNewResButtons()
498 if (newName != null) { in createNewResButtons()
499 selectAddedItem(newName); in createNewResButtons()
[all …]
DConfigurationSelector.java914 String newName = ""; in onLanguageChange() local
918 newName = name; in onLanguageChange()
921 mName.setText(newName); in onLanguageChange()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/refactorings/core/
DAndroidTypeRenameParticipantTest.java140 @NonNull String newName, in renameType() argument
149 processor.setNewElementName(newName); in renameType()
/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/find_java/src/source/
Dutils.h309 void replaceName(const char *searchName, const char* newName) { in replaceName() argument
316 size_t 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/eclipse/adt/internal/wizards/newproject/
DImportedProject.java187 public void setProjectName(@NonNull String newName) { in setProjectName() argument
188 mProjectName = newName; in setProjectName()
/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/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DExtractIncludeRefactoring.java538 private static String computeIncludeString(Element primaryNode, String newName,
542 sb.append(newName);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DRenderPreview.java821 String newName = d.getValue(); in click() local
822 mConfiguration.setDisplayName(newName); in click()
824 mManager.rename(mDescription, newName); in click()
DRenderPreviewManager.java694 String newName = d.getValue(); in addAsThumbnail() local
697 configuration.setDisplayName(newName); in addAsThumbnail()
1143 void rename(ConfigurationDescription description, String newName) { in rename() argument
1152 description.displayName = newName; in rename()
/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()