Home
last modified time | relevance | path

Searched refs:url (Results 1 – 25 of 26) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/
DAdtTestData.java57 URL url = this.getClass().getClassLoader().getResource("."); //$NON-NLS-1$ in AdtTestData() local
62 mOsRootDataPath = FileLocator.resolve(url).getFile(); in AdtTestData()
79 mOsRootDataPath = url.getFile(); in AdtTestData()
83 mOsRootDataPath = url.getFile(); in AdtTestData()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/
DAttributeInfo.java251 String url = value; in isValid() local
252 int typeEnd = url.indexOf('/', 1); in isValid()
254 int typeBegin = url.startsWith("@+") ? 2 : 1; //$NON-NLS-1$ in isValid()
255 int colon = url.lastIndexOf(':', typeEnd); in isValid()
259 String typeName = url.substring(typeBegin, typeEnd); in isValid()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRenameResourceParticipantTest.java366 String url = (String) resource; in renameResource() local
367 assert url.startsWith("@") : resource; in renameResource()
369 ResourceUrl parsedUrl = ResourceUrl.parse(url); in renameResource()
370 assertNotNull(url, parsedUrl); in renameResource()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DHyperlinks.java322 URL url = getDocUrl(relative); in openManifestName() local
323 if (url != null) { in openManifestName()
324 AdtPlugin.openUrl(url); in openManifestName()
343 URL url = getDocUrl(relative); in openManifestName() local
344 if (url != null) { in openManifestName()
345 AdtPlugin.openUrl(url); in openManifestName()
1139 private static IHyperlink[] getStyleLinks(XmlContext context, IRegion range, String url) { in getStyleLinks() argument
1149 url = url.substring(0, index); in getStyleLinks()
1155 ResourceUrl resource = ResourceUrl.parse(url); in getStyleLinks()
1158 if (url.startsWith(ANDROID_PREFIX)) { in getStyleLinks()
[all …]
DIconFactory.java266 public Image getIcon(URL url) { in getIcon() argument
267 Image image = mUrlMap.get(url); in getIcon()
269 ImageDescriptor descriptor = ImageDescriptor.createFromURL(url); in getIcon()
271 mUrlMap.put(url, image); in getIcon()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DRuleLoader.java129 URL url; in computeUserClassLoader() local
131 url = pathFile.toURI().toURL(); in computeUserClassLoader()
132 urls.add(url); in computeUserClassLoader()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DIncludeFinder.java560 String url; in findIncludesInDocument() local
562 url = element.getAttribute(ATTR_LAYOUT); in findIncludesInDocument()
564 url = element.getAttributeNS(TOOLS_URI, ATTR_LAYOUT); in findIncludesInDocument()
566 if (url.length() > 0) { in findIncludesInDocument()
567 String resourceName = urlToLocalResource(url); in findIncludesInDocument()
592 private static String urlToLocalResource(String url) { in urlToLocalResource() argument
593 if (!url.startsWith("@")) { //$NON-NLS-1$ in urlToLocalResource()
596 int typeEnd = url.indexOf('/', 1); in urlToLocalResource()
602 int colon = url.lastIndexOf(':', typeEnd); in urlToLocalResource()
604 String packageName = url.substring(typeBegin, colon); in urlToLocalResource()
[all …]
DCanvasViewInfo.java572 String url = element.getAttribute(SdkConstants.ATTR_LAYOUT); in getIncludeUrl() local
573 if (url.length() > 0) { in getIncludeUrl()
574 return url; in getIncludeUrl()
577 String url = FragmentMenu.getFragmentLayout(node); in getIncludeUrl() local
578 if (url != null) { in getIncludeUrl()
579 return url; in getIncludeUrl()
DLayoutCanvas.java1130 String url = vi.getIncludeUrl(); in show() local
1131 if (url != null) { in show()
1132 showInclude(url); in show()
1143 private void showInclude(String url) { in showInclude() argument
1145 IPath filePath = graphicalEditor.findResourceFile(url); in showInclude()
1211 AdtPlugin.log(ex, "Can't open %$1s", url); //$NON-NLS-1$ in showInclude()
1224 AdtPlugin.log(ex, "Can't open %$1s", url); //$NON-NLS-1$ in showInclude()
1231 String message = String.format("Could not find resource %1$s", url); in showInclude()
DGraphicalEditorPart.java2332 public IPath findResourceFile(String url) { in findResourceFile() argument
2333 if (!url.startsWith("@")) { //$NON-NLS-1$ in findResourceFile()
2336 int typeEnd = url.indexOf('/', 1); in findResourceFile()
2342 int colon = url.lastIndexOf(':', typeEnd); in findResourceFile()
2349 String packageName = url.substring(typeBegin, colon); in findResourceFile()
2357 String typeName = url.substring(typeBegin, typeEnd); in findResourceFile()
2363 String name = url.substring(nameBegin); in findResourceFile()
/sdk/eclipse/sites/external/web/
Dsite.xsl9 <style>@import url("web/site.css");</style>
42 <a href="{ancestor::feature//@url}"><xsl:value-of select="ancestor::feature//@label"/></a>
49 …<a href="{ancestor::feature//@url}"><xsl:value-of select="ancestor::feature//@id"/> - <xsl:value-o…
114 <a href="{@url}"><xsl:value-of select="@label"/></a>
121 <a href="{@url}"><xsl:value-of select="@id"/> - <xsl:value-of select="@version"/></a>
169 <a href="{@url}"><xsl:value-of select="@label"/></a>
176 <a href="{@url}"><xsl:value-of select="@id"/> - <xsl:value-of select="@version"/></a>
/sdk/eclipse/sites/internal/web/
Dsite.xsl9 <style>@import url("web/site.css");</style>
42 <a href="{ancestor::feature//@url}"><xsl:value-of select="ancestor::feature//@label"/></a>
49 …<a href="{ancestor::feature//@url}"><xsl:value-of select="ancestor::feature//@id"/> - <xsl:value-o…
114 <a href="{@url}"><xsl:value-of select="@label"/></a>
121 <a href="{@url}"><xsl:value-of select="@id"/> - <xsl:value-of select="@version"/></a>
169 <a href="{@url}"><xsl:value-of select="@label"/></a>
176 <a href="{@url}"><xsl:value-of select="@id"/> - <xsl:value-of select="@version"/></a>
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DDescriptorsUtils.java512 String url = null;
516 url = base;
520 int pos = url.lastIndexOf('#');
522 url += "#"; //$NON-NLS-1$
523 } else if (pos < url.length() - 1) {
524 url = url.substring(0, pos + 1);
527 url += anchor;
535 if (url != null && text != null) {
537 sb.append(url);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRenameResourceProcessor.java207 String url = PREFIX_RESOURCE_REF + mType.getName() + '/' + mCurrentName; in loadParticipants() local
208 return ParticipantManager.loadRenameParticipants(status, this, url, mRenameArguments, in loadParticipants()
DRenameResourceXmlTextAction.java215 String url = document.get(start, end - start); in findResource() local
218 if (url.startsWith(ANDROID_PREFIX) || url.startsWith(ANDROID_THEME_PREFIX)) { in findResource()
222 return ResourceUrl.parse(url); in findResource()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DDexWrapper.java77 URL url = f.toURI().toURL(); in loadDex() local
80 URLClassLoader loader = new URLClassLoader(new URL[] { url }, in loadDex()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DAndroidClasspathContainerInitializer.java436 URL url = null;
438 url = FileLocator.resolve(sourceURL);
441 if (url != null) {
442 androidSrcOsPath = url.getFile();
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAdtPlugin.java830 URL url = getEmbeddedFileUrl(AdtConstants.WS_SEP + filepath);
831 if (url != null) {
832 return url.openStream();
867 URL url = bundle.getEntry(path);
869 if (url == null) {
873 return url;
1938 public static void openUrl(URL url) {
1943 browser.openURL(url);
DAdtUtils.java415 public static File getFile(@NonNull URL url) { in getFile() argument
420 return new File(url.toURI()); in getFile()
423 return new File(url.getPath()); in getFile()
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/discovery/
DNdkDiscoveryUpdater.java95 URL url = Activator.findFile(new Path( in runUpdate() local
97 File testFile = new File(FileLocator.toFileURL(url).toURI()); in runUpdate()
/sdk/eclipse/
Ddictionary.txt339 url
Dbuild.gradle20 maven { url '../../prebuilts/tools/common/m2/repository' }
21 maven { url outPath + '/repo' }
/sdk/templates/docs/
Ddefault.css123 …background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdm…
/sdk/eclipse/buildConfig/
Dbuild.properties81 #jnlp.codebase=<codebase url>
157 eclipseURL=<url for eclipse download site>
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DSdk.java1003 URL url = new URL("file", null, "//" + path); //$NON-NLS-1$ //$NON-NLS-2$ in getDocumentationBaseUrl() local
1004 String result = url.toString(); in getDocumentationBaseUrl()

12