/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | FmClassNameToResourceMethod.java | 40 String name = args.get(0).toString(); in exec() local 42 if (name.isEmpty()) { in exec() 46 name = stripSuffix(name, ACTIVITY_NAME_SUFFIX); in exec() 47 name = stripSuffix(name, "Fragment"); //$NON-NLS-1$ in exec() 48 name = stripSuffix(name, "Service"); //$NON-NLS-1$ in exec() 49 name = stripSuffix(name, "Provider"); //$NON-NLS-1$ in exec() 51 return new SimpleScalar(AdtUtils.camelCaseToUnderlines(name)); in exec() 57 private static String stripSuffix(String name, String suffix) { in stripSuffix() argument 58 int suffixStart = name.lastIndexOf(suffix.charAt(0)); in stripSuffix() 59 if (suffixStart != -1 && name.regionMatches(suffixStart, suffix, 0, in stripSuffix() [all …]
|
D | FmLayoutToActivityMethod.java | 42 String name = args.get(0).toString(); in exec() local 48 if (name.startsWith(LAYOUT_NAME_PREFIX)) { in exec() 49 name = name.substring(LAYOUT_NAME_PREFIX.length()); in exec() 52 name = AdtUtils.underlinesToCamelCase(name); in exec() 53 String className = extractClassName(name); in exec()
|
D | TypedVariable.java | 13 public static Type get(String name) { in get() argument 14 if (name == null) { in get() 18 return valueOf(name.toUpperCase(Locale.US)); in get() 20 System.err.println("Unexpected global type '" + name + "'"); in get() 23 System.err.println(" " + s.name().toLowerCase(Locale.US)); in get()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/ |
D | plugin.properties | 4 category.name = Android 5 view.name.Devices = Devices 6 view.name.LogCat = LogCat 7 view.name.Threads = Threads 8 view.name.Heap = Heap 9 view.name.File_Explorer = File Explorer 10 view.name.Emulator_Control = Emulator Control 11 view.name.Allocation_Tracker = Allocation Tracker 12 view.name.Network_Stats = Network Statistics 13 view.name.SysInfo = System Information [all …]
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
D | ViewNode.java | 28 public String name; field in ViewNode 94 private boolean getBoolean(String name, boolean defaultValue) { in getBoolean() argument 95 Property p = namedProperties.get(name); in getBoolean() 106 private int getInt(String name, int defaultValue) { in getInt() argument 107 Property p = namedProperties.get(name); in getInt() 150 return !(this.name != other.name && (this.name == null || !this.name.equals(other.name))); in equals() 155 return name; in toString() 161 hash = 67 * hash + (this.name != null ? this.name.hashCode() : 0); in hashCode() 166 public String name; field in ViewNode.Property 171 return name + '=' + value; in toString() [all …]
|
D | ViewHierarchyLoader.java | 90 lastNode.name = line.substring(0, index); in loadScene() 104 final String edge = parent.name + lastNode.name; in loadScene() 161 property.name = data.substring(start, index); in loadProperties() 163 int colonIndex = property.name.indexOf(':'); in loadProperties() 165 property.name = property.name.substring(colonIndex + 1); in loadProperties() 174 node.namedProperties.put(property.name, property); in loadProperties() 184 return source.name.compareTo(destination.name); in loadProperties()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
D | newstyles7-expected-extract6.diff | 5 > <style name="newstyle"> 6 > <item name="android:layout_alignParentBottom">true</item> 7 > <item name="android:layout_height">wrap_content</item> 8 > <item name="android:layout_width">wrap_content</item> 9 > <item name="android:text">Button</item> 10 > <item name="android:textColor">#FF0000</item> 11 > <item name="android:textSize">20pt</item>
|
D | navigationstyles-expected-extract2.diff | 2 + <style name="newstyle"> 3 + <item name="android:textColor">#FF00FF</item> 4 + <item name="android:textSize">20pt</item>
|
D | completionvalues1-expected-applyCompletion32.diff | 1 Code completion in completionvalues1.xml for <item name="^"></item> selecting android:background: 3 - <item name="^"></item> 4 + <item name="android:background"^></item>
|
D | completionvalues1-expected-applyCompletion27.diff | 1 Code completion in completionvalues1.xml for <item name="android:gravity">^ </item> selecting cent… 3 - <item name="android:gravity">^ </item> 4 + <item name="android:gravity">center_vertical^</item>
|
D | completionvalues1-expected-applyCompletion33.diff | 1 Code completion in completionvalues1.xml for <item name="android:allowSingleTap">^</item> selecting… 3 - <item name="android:allowSingleTap">^</item> 4 + <item name="android:allowSingleTap">true^</item>
|
D | completionvalues1-expected-applyCompletion28.diff | 1 Code completion in completionvalues1.xml for <item name="android:gravity"> ^</item> selecting left: 3 - <item name="android:gravity"> ^</item> 4 + <item name="android:gravity"> left^</item>
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
D | XmlProperty.java | 91 String name = mDescriptor.getXmlLocalName(); in getTitle() local 92 int nameLength = name.length(); in getTitle() 94 if (name.startsWith(ATTR_LAYOUT_RESOURCE_PREFIX)) { in getTitle() 95 if (name.startsWith(ATTR_LAYOUT_MARGIN) in getTitle() 97 name = name.substring(ATTR_LAYOUT_MARGIN.length()); in getTitle() 99 name = name.substring(ATTR_LAYOUT_RESOURCE_PREFIX.length()); in getTitle() 104 name = DescriptorsUtils.capitalize(name); in getTitle() 110 if (name.startsWith(parentTitle)) { in getTitle() 114 Character.isWhitespace(name.charAt(parentTitleLength))) { in getTitle() 117 name = name.substring(parentTitleLength); in getTitle() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
D | DescriptorsUtils.java | 264 public static String prettyAttributeUiName(String name) { 265 if (name.length() < 1) { 266 return name; 268 StringBuilder buf = new StringBuilder(2 * name.length()); 270 char c = name.charAt(0); 273 int len = name.length(); 275 c = name.charAt(i); 283 (i < len-1 && Character.isUpperCase(name.charAt(i+1))))) { 295 name = buf.toString(); 297 name = replaceAcronyms(name); [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
D | BasePullParser.java | 48 public void setFeature(String name, boolean state) throws XmlPullParserException { in setFeature() argument 49 if (FEATURE_PROCESS_NAMESPACES.equals(name) && state) { in setFeature() 52 if (FEATURE_REPORT_NAMESPACE_ATTRIBUTES.equals(name) && state) { in setFeature() 55 throw new XmlPullParserException("Unsupported feature: " + name); in setFeature() 59 public boolean getFeature(String name) { in getFeature() argument 60 if (FEATURE_PROCESS_NAMESPACES.equals(name)) { in getFeature() 63 if (FEATURE_REPORT_NAMESPACE_ATTRIBUTES.equals(name)) { in getFeature() 70 public void setProperty(String name, Object value) throws XmlPullParserException { in setProperty() argument 75 public Object getProperty(String name) { in getProperty() argument 239 public void require(int type, String namespace, String name) throws XmlPullParserException { in require() argument [all …]
|
D | ContextPullParser.java | 91 String name = super.getName(); in getViewCookie() local 92 if (name == null) { in getViewCookie() 98 if (LIST_VIEW.equals(name) in getViewCookie() 99 || EXPANDABLE_LIST_VIEW.equals(name) in getViewCookie() 100 || GRID_VIEW.equals(name) in getViewCookie() 101 || SPINNER.equals(name)) { in getViewCookie() 128 String name = super.getName(); in getName() local 131 if (name.equals(VIEW_FRAGMENT)) { in getName() 141 return name; in getName()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/ |
D | AttrsXmlParser.java | 141 mFormatNames.put(f.name().toLowerCase(Locale.US), f); in AttrsXmlParser() 292 String name = nameNode.getNodeValue(); in parseResources() local 297 if (name != null && !mStyleMap.containsKey(name)) { in parseResources() 298 DeclareStyleableInfo style = parseDeclaredStyleable(name, node); in parseResources() 304 mStyleMap.put(name, style); in parseResources() 305 unknownParents.remove(name); in parseResources() 309 mStyleMap.remove(name); in parseResources() 326 String name = entry.getKey(); in parseResources() local 329 DeclareStyleableInfo style = new DeclareStyleableInfo(name, (AttributeInfo[])null); in parseResources() 333 mStyleMap.put(name, style); in parseResources() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | AdtProjectTest.java | 203 protected IFile getTestDataFile(IProject project, String name) throws Exception { in getTestDataFile() argument 204 return getTestDataFile(project, name, name); in getTestDataFile() 207 protected IFile getLayoutFile(IProject project, String name) throws Exception { in getLayoutFile() argument 208 return getTestDataFile(project, name, FD_RES + "/" + FD_RES_LAYOUT + "/" + name); in getLayoutFile() 211 protected IFile getValueFile(IProject project, String name) throws Exception { in getValueFile() argument 212 return getTestDataFile(project, name, FD_RES + "/" + FD_RES_VALUES + "/" + name); in getValueFile() 224 String name; in getTestDataFile() local 227 name = destPath; in getTestDataFile() 241 name = split[split.length - 1]; in getTestDataFile() 244 IFile file = parent.getFile(new Path(name)); in getTestDataFile() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/ |
D | AndroidContentAssistTest.java | 829 private void checkLayoutCompletion(String name, String caretLocation) throws Exception { in checkLayoutCompletion() argument 830 IFile file = getLayoutFile(getProject(), name); in checkLayoutCompletion() 832 checkCompletion(name, file, caretLocation, in checkLayoutCompletion() 836 private void checkColorCompletion(String name, String caretLocation) throws Exception { in checkColorCompletion() argument 837 IFile file = getTestDataFile(getProject(), name, FD_RES + "/" + FD_RES_COLOR + "/" + name); in checkColorCompletion() 839 checkCompletion(name, file, caretLocation, new ColorContentAssist()); in checkColorCompletion() 842 private void checkAnimCompletion(String name, String caretLocation) throws Exception { in checkAnimCompletion() argument 843 IFile file = getTestDataFile(getProject(), name, FD_RES + "/" + FD_RES_ANIM + "/" + name); in checkAnimCompletion() 845 checkCompletion(name, file, caretLocation, new AnimationContentAssist()); in checkAnimCompletion() 848 private void checkAnimatorCompletion(String name, String caretLocation) throws Exception { in checkAnimatorCompletion() argument [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
D | RenameResult.java | 74 public static RenameResult name(@Nullable String name) { in name() method in RenameResult 75 return new RenameResult().setName(name); in name() 109 public RenameResult setName(@Nullable String name) { in setName() argument 110 mName = name; in setName()
|
/sdk/find_java/ |
D | build.gradle | 24 name 'find_java32.exe' 30 name 'find_java64.exe' 41 def getExeName(String name) { 43 def binaries = executables.findJava.binaries.matching { it.name == name }
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/ |
D | ViewElementDescriptor.java | 187 String name = mXmlName; in getGenericIcon() local 188 if (name.indexOf('.') != -1) { in getGenericIcon() 192 name = name.substring(name.lastIndexOf('.') + 1); in getGenericIcon() 193 } else if (VIEW_TAG.equals(name)) { in getGenericIcon() 196 name = VIEW; in getGenericIcon() 199 Image icon = factory.getIcon(name); in getGenericIcon()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/ |
D | SampleProjectTest.java | 93 private void doTestSampleProject(String name, String path, IAndroidTarget target) in doTestSampleProject() argument 97 sLogger.log(Level.INFO, String.format("Testing sample %s for target %s", name, in doTestSampleProject() 110 state.projectName = name; in doTestSampleProject() 113 state.activityName = name; in doTestSampleProject() 114 state.applicationName = name; in doTestSampleProject() 121 iproject = validateProjectExists(name); in doTestSampleProject() 127 "for target %s", name, target.getName())); in doTestSampleProject() 149 private IProject validateProjectExists(String name) { in validateProjectExists() argument 150 IProject iproject = getIProject(name); in validateProjectExists() 151 assertTrue(String.format("%s project not created", name), iproject.exists()); in validateProjectExists() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/io/ |
D | IFolderWrapper.java | 97 public boolean hasFile(String name) { in hasFile() argument 101 if (name.equals(file.getName())) { in hasFile() 113 public IAbstractFile getFile(String name) { in getFile() argument 115 IFile file = mFolder.getFile(name); in getFile() 119 IFile file = mContainer.getFile(new Path(name)); in getFile() 150 public IAbstractFolder getFolder(String name) { in getFolder() argument 152 IFolder folder = mFolder.getFolder(name); in getFolder() 156 IFolder folder = mContainer.getFolder(new Path(name)); in getFolder()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
D | FolderDecorator.java | 60 String name = folder.getName(); in decorate() local 61 if (name.equals(SdkConstants.FD_ASSETS)) { in decorate() 63 } else if (name.equals(SdkConstants.FD_RESOURCES)) { in decorate() 65 } else if (name.equals(SdkConstants.FD_GEN_SOURCES)) { in decorate() 67 } else if (name.equals(SdkConstants.FD_NATIVE_LIBS)) { in decorate() 69 } else if (name.equals(SdkConstants.FD_OUTPUT)) { in decorate()
|