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.adt.package/src/com/android/ide/eclipse/adt/internal/
DAdtIntro.java122 private void createHyperlink(Composite c, String text, String url) { in createHyperlink() argument
124 link.setHref(url); in createHyperlink()
138 String url = (String) e.getHref();
139 if (url.isEmpty()) {
147 browser.openURL(new URL(url));
149 AdtPlugin.log(ex, "Error launching browser for URL: %1$s", url);
/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/eclipse/adt/internal/editors/
DHyperlinks.java300 URL url = getDocUrl(relative); in openManifestName() local
301 if (url != null) { in openManifestName()
302 AdtPlugin.openUrl(url); in openManifestName()
321 URL url = getDocUrl(relative); in openManifestName() local
322 if (url != null) { in openManifestName()
323 AdtPlugin.openUrl(url); in openManifestName()
1117 private static IHyperlink[] getStyleLinks(XmlContext context, IRegion range, String url) { in getStyleLinks() argument
1127 url = url.substring(0, index); in getStyleLinks()
1133 Pair<ResourceType,String> resource = parseResource(url); in getStyleLinks()
1136 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/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.java367 String url = (String) resource; in renameResource() local
368 assert url.startsWith("@") : resource; in renameResource()
369 Pair<ResourceType, String> pair = ResourceRepository.parseResource(url); in renameResource()
370 assertNotNull(url, pair); in renameResource()
/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.java2246 public IPath findResourceFile(String url) { in findResourceFile() argument
2247 if (!url.startsWith("@")) { //$NON-NLS-1$ in findResourceFile()
2250 int typeEnd = url.indexOf('/', 1); in findResourceFile()
2256 int colon = url.lastIndexOf(':', typeEnd); in findResourceFile()
2263 String packageName = url.substring(typeBegin, colon); in findResourceFile()
2271 String typeName = url.substring(typeBegin, typeEnd); in findResourceFile()
2277 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.java216 String url = document.get(start, end - start); in findResource() local
219 if (url.startsWith(ANDROID_PREFIX) || url.startsWith(ANDROID_THEME_PREFIX)) { in findResource()
223 return ResourceRepository.parseResource(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
79 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.java429 URL url = null;
431 url = FileLocator.resolve(sourceURL);
434 if (url != null) {
435 androidSrcOsPath = url.getFile();
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAdtPlugin.java839 URL url = getEmbeddedFileUrl(AdtConstants.WS_SEP + filepath);
840 if (url != null) {
841 return url.openStream();
876 URL url = bundle.getEntry(path);
878 if (url == null) {
882 return url;
1920 public static void openUrl(URL url) {
1925 browser.openURL(url);
DAdtUtils.java416 public static File getFile(@NonNull URL url) { in getFile() argument
421 return new File(url.toURI()); in getFile()
424 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.txt338 url
/sdk/templates/docs/
Ddefault.css118 …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.java971 URL url = new URL("file", null, "//" + path); //$NON-NLS-1$ //$NON-NLS-2$ in getDocumentationBaseUrl() local
972 String result = url.toString(); in getDocumentationBaseUrl()

12