/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
H A D | FileUtils.java | 32 public static File createTempFile(String prefix, String suffix) { argument 35 f = File.createTempFile(prefix, suffix, sCacheDir);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/ |
H A D | AndroidPrintStream.java | 28 * Additionally, a prefix can be set (and removed) at runtime. 41 * @param prefix A prefix to be printed before the actual message. Can be null 44 public AndroidPrintStream(IProject project, String prefix, OutputStream stream) { argument 50 * Updates the value of the prefix. 51 * @param prefix 53 public void setPrefix(String prefix) { argument 54 mPrefix = prefix;
|
/sdk/common/src/com/android/utils/ |
H A D | SdkUtils.java | 71 * Returns true if the given string starts with the given prefix, using a 75 * @param prefix the prefix to be checked for 76 * @return true if the string case-insensitively starts with the given prefix 78 public static boolean startsWithIgnoreCase(String string, String prefix) { argument 79 return string.regionMatches(true /* ignoreCase */, 0, prefix, 0, prefix.length()); 84 * given prefix, case insensitively. 88 * @param prefix the prefix t 92 startsWith(String string, int offset, String prefix) argument [all...] |
/sdk/common/src/com/android/xml/ |
H A D | AndroidXPathFactory.java | 34 /** Default prefix for android name space: 'android' */ 55 * Construct the context with the prefix associated with the android namespace. 64 public String getNamespaceURI(String prefix) { argument 65 if (prefix != null) { 66 if (prefix.equals(mAndroidPrefix)) { 94 * Creates a new XPath object, specifying which prefix in the query is used for the 96 * @param androidPrefix The namespace prefix. 105 * Creates a new XPath object using the default prefix for the android namespace.
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/ui/ |
H A D | ShellSizeAndPos.java | 45 public static void loadSizeAndPos(Shell shell, String prefix) { argument 49 int px = Integer.parseInt(props.getProperty(prefix + PX)); 50 int py = Integer.parseInt(props.getProperty(prefix + PY)); 51 int sx = Integer.parseInt(props.getProperty(prefix + SX)); 52 int sy = Integer.parseInt(props.getProperty(prefix + SY)); 100 public static void saveSizeAndPos(Shell shell, String prefix) { argument 106 props.setProperty(prefix + PX, Integer.toString(loc.x)); 107 props.setProperty(prefix + PY, Integer.toString(loc.y)); 108 props.setProperty(prefix + SX, Integer.toString(size.x)); 109 props.setProperty(prefix [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
H A D | ResourceValueCompleter.java | 90 AttributeDescriptor attributeDescriptor, String prefix) { 95 if (prefix.startsWith("@a") && //$NON-NLS-1$ 96 prefix.regionMatches(true /* ignoreCase */, 0, ANDROID_PREFIX, 0, 97 Math.min(prefix.length() - 1, ANDROID_PREFIX.length()))) { 101 addMatches(repository, prefix, true /* isSystem */, results); 103 } else if (prefix.startsWith("?") && //$NON-NLS-1$ 104 prefix.regionMatches(true /* ignoreCase */, 0, ANDROID_THEME_PREFIX, 0, 105 Math.min(prefix.length() - 1, ANDROID_THEME_PREFIX.length()))) { 109 addMatches(repository, prefix, true /* isSystem */, results); 115 // the prefix possibl 89 computeResourceStringMatches(AndroidXmlEditor editor, AttributeDescriptor attributeDescriptor, String prefix) argument 141 addMatches(ResourceRepository repository, String prefix, boolean isSystem, List<String> results) argument [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/ |
H A D | UiManifestPkgAttrNode.java | 309 * The prefix is not used. 314 public String[] getPossibleValues(String prefix) { argument
|
H A D | UiPackageAttributeNode.java | 316 public String[] getPossibleValues(String prefix) { argument
|
H A D | UiClassAttributeNode.java | 688 public String[] getPossibleValues(String prefix) { argument
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/ |
H A D | UiFlagAttributeNode.java | 131 public String[] getPossibleValues(String prefix) { argument
|
H A D | UiListAttributeNode.java | 133 public String[] getPossibleValues(String prefix) { argument 140 // FrameworkResourceManager expects a specific prefix for the attribute.
|
H A D | UiSeparatorAttributeNode.java | 105 public String[] getPossibleValues(String prefix) { argument
|
H A D | UiAttributeNode.java | 139 * @param prefix An optional prefix string, which is whatever the user has already started 141 * and only return strings that match this prefix. A lazy or default implementation can 145 public abstract String[] getPossibleValues(String prefix); argument 223 * @param prefix1 the namespace prefix, if any, of {@code name1} 225 * @param prefix2 the namespace prefix, if any, of {@code name2}
|
H A D | UiResourceAttributeNode.java | 196 * "prefix" is the value that the user has typed so far (or more exactly whatever is on the 218 public String[] getPossibleValues(String prefix) { argument 219 return computeResourceStringMatches(getUiParent().getEditor(), getDescriptor(), prefix); 223 * Computes the set of resource string matches for a given resource prefix in a given editor 227 * @param prefix the prefix, if any 234 @Nullable String prefix) { 236 if (prefix == null || !prefix.regionMatches(1, ANDROID_PKG, 0, ANDROID_PKG.length())) { 249 String[] projectMatches = computeResourceStringMatches(descriptor, prefix, 231 computeResourceStringMatches( @onNull AndroidXmlEditor editor, @Nullable AttributeDescriptor descriptor, @Nullable String prefix) argument 300 computeResourceStringMatches( @ullable AttributeDescriptor attributeDescriptor, @Nullable String prefix, @NonNull ResourceRepository repository, boolean isSystem) argument [all...] |
H A D | UiTextAttributeNode.java | 79 public String[] getPossibleValues(String prefix) { argument
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/ |
H A D | ValuesContentAssist.java | 141 String prefix) { 143 prefix); 187 prefix); 190 prefix = attrInfo.correctedPrefix; 196 prefix, needTag, isAttribute, isNew, 208 if (prefix.startsWith(PREFIX_RESOURCE_REF) || prefix.trim().length() == 0) { 210 mEditor, null /*attributeDescriptor*/, prefix); 233 prefix, (char) 0 /*needTag*/, true /* isAttribute */, false /*isNew*/, 139 computeTextValues(List<ICompletionProposal> proposals, int offset, Node parentNode, Node currentNode, UiElementNode uiParent, String prefix) argument
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
H A D | UseCompoundDrawableRefactoring.java | 428 * without a given namespace prefix. This is done when building a new Element 429 * in a temporary document such that the namespace prefix matches when the element is 432 private static void setAndroidAttribute(Element element, String prefix, String name, argument 434 element.setAttribute(prefix + ':' + name, value);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/ |
H A D | KeyCreationPage.java | 321 * @param prefix the prefix of the entry. 325 private void buildDName(String prefix, Text textField, StringBuilder sb) { argument 333 sb.append(prefix);
|
/sdk/monkeyrunner/src/com/android/monkeyrunner/ |
H A D | MonkeyRunnerHelp.java | 162 * HDF under this specified prefix. Each paragraph will appear 163 * numbered under the prefix. For example: 169 * @param prefix The prefix to put the values under. 173 private static void paragraphsIntoHDF(String prefix, String value, Data hdf) { argument 177 hdf.setValue(prefix + "." + x, para); 193 String prefix = HELP + "." + outputItemCount + "."; 195 hdf.setValue(prefix + NAME, clz.getCanonicalName()); 197 paragraphsIntoHDF(prefix + DOC, annotation.doc(), hdf); 198 hdf.setValue(prefix [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/sources/ |
H A D | SdkRepoSource.java | 232 String prefix = null; 235 prefix = null; 239 prefix = name.substring(0, pos); 245 if (prefix != null) { 246 xmlns += ":" + prefix; //$NON-NLS-1$ 260 // we must have found the root node, and it must have an XML namespace prefix. 261 if (oldRoot == null || prefix == null || prefix.length() == 0) { 267 newRoot.setPrefix(prefix); 280 while ((element = findChild(oldRoot, element, prefix, elementName 430 findChild(Node rootNode, Node after, String prefix, String[] nodeNames) argument 454 findChild(Node rootNode, Node after, String prefix, String nodeName) argument 462 duplicateNode(Element newRootNode, Element oldNode, String namespaceUri, String prefix) argument [all...] |
/sdk/device_validator/dvlib/tests/src/com/android/dvlib/ |
H A D | DeviceSchemaTest.java | 251 public void startPrefixMapping(String prefix, String uri) throws SAXException { argument 252 mPrefixes.put(prefix, uri);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
H A D | BasePullParser.java | 107 public String getNamespace(String prefix) { argument
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
H A D | DomUtilities.java | 487 * Returns a suitable new widget id (not including the {@code @id/} prefix) for the 493 * @param prefix an optional prefix to use for the generated name, or null to get a 495 * @return a unique id, never null, which does not include the {@code @id/} prefix 501 @Nullable String prefix) { 514 if (prefix == null) { 515 prefix = DescriptorsUtils.getBasename(element.getTagName()); 520 generated = String.format("%1$s%2$d", prefix, num++); //$NON-NLS-1$ 498 getFreeWidgetId( @onNull Element element, @Nullable Set<String> reserved, @Nullable String prefix) argument
|
H A D | RenderLogger.java | 277 * Returns true if the given tag prefix has been seen 279 * @param prefix the tag prefix to look for 280 * @return true iff any tags with the given prefix was seen during the render 282 public boolean seenTagPrefix(String prefix) { argument 285 if (tag.startsWith(prefix)) {
|
/sdk/lint/cli/src/com/android/tools/lint/ |
H A D | HtmlReporter.java | 761 /** Sets path prefix to strip from displayed file names */ 762 void setStripPrefix(String prefix) { argument 763 mStripPrefix = prefix;
|