/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/ |
D | StretchesViewer.java | 214 Rectangle dest = new Rectangle(0, 0, 0, 0); in paintControl() local 247 dest.x = (int) Math.ceil(p.dest.x * ratio); in paintControl() 248 dest.y = (int) Math.ceil(p.dest.y * ratio); in paintControl() 249 dest.width = (int) Math.ceil(p.dest.width * ratio); in paintControl() 250 dest.height = (int) Math.ceil(p.dest.height * ratio); in paintControl() 254 (mPadding.x + dest.x), (mPadding.y + dest.y), in paintControl() 255 dest.width, dest.height); in paintControl() 260 (mPadding.x + dest.x), (mPadding.y + dest.y), in paintControl() 261 dest.width, dest.height); in paintControl()
|
/sdk/find_lock/ |
D | find_lock.cpp | 260 char *dest = buf; in getHandleType() local 261 char *dend = dest + 9; in getHandleType() 262 for (; c < e && dest < dend && c[0] != '\0' && c[1] == '\0'; c += 2, dest++) { in getHandleType() 263 *dest = *c; in getHandleType() 265 *(dest++) = '\0'; in getHandleType() 266 type->set(buf, dest - buf); in getHandleType() 343 unsigned char *dest = (unsigned char *)buf + 4; in FileNameThreadFunc() local 345 for (DWORD i = 0; i < len; dest++, src += 2, i += 2) { in FileNameThreadFunc() 347 *dest = *src; in FileNameThreadFunc() 349 *dest = 0xFF; in FileNameThreadFunc() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/ |
D | NinePatchedImage.java | 777 p.dest.x = destX; in getProjections() 778 p.dest.y = destY; in getProjections() 781 p.dest.width = chunk.rect.width; in getProjections() 782 p.dest.height = chunk.rect.height; in getProjections() 786 p.dest.width = Math.round(streatchableWidth * chunk.horizontalWeight); in getProjections() 790 p.dest.height = Math.round(streatchableHeight * chunk.verticalWeight); in getProjections() 793 destX += p.dest.width; in getProjections() 795 destY += p.dest.height; in getProjections() 806 public final Rectangle dest = new Rectangle(0, 0, 0, 0); field in NinePatchedImage.Projection 812 dest.x, dest.y, dest.width, dest.height); in toString()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/ |
D | NinePatchedImageTest.java | 789 assertEquals(projections[y][x].dest.width, chunks[y][x].rect.width); in testProjection() 790 assertEquals(projections[y][x].dest.height, chunks[y][x].rect.height); in testProjection() 806 assertEquals(0, p.dest.x); in testProjection() 807 assertEquals(0, p.dest.y); in testProjection() 811 rect = p.dest; in testProjection() 818 rect = p.dest; in testProjection() 825 rect = p.dest; in testProjection() 833 rect = p.dest; in testProjection() 840 rect = p.dest; in testProjection() 847 rect = p.dest; in testProjection() [all …]
|
/sdk/eclipse/ |
D | build.gradle | 123 File dest = new File(pluginFile, "libs") 124 if (!manifestDeps.isEmpty() && !dest.isDirectory()) { 125 dest.mkdirs() 135 logger.info("\tCopying " + destName + " to " + dest) 136 ant.copy(file: destName, tofile: new File(dest, it)) 149 ant.unzip(src: v, dest: d)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ |
D | BuildFileCreator.java | 319 File dest = new File(to, file); in copyGradleWrapper() local 322 dest.getParentFile().mkdirs(); in copyGradleWrapper() 323 new FileOp().copyFile(src, dest); in copyGradleWrapper() 326 updateGradleDistributionUrl(GRADLE_LATEST_VERSION, dest); in copyGradleWrapper() 328 dest.setExecutable(src.canExecute()); in copyGradleWrapper() 329 status.addFileStatus(ExportStatus.FileStatus.OK, dest); in copyGradleWrapper() 331 status.addFileStatus(ExportStatus.FileStatus.IO_FAILURE, dest); in copyGradleWrapper()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | TemplateHandler.java | 1095 private static boolean isIdentical(@Nullable byte[] data, @NonNull IFile dest) { in isIdentical() argument 1096 assert dest.exists(); in isIdentical() 1097 byte[] existing = AdtUtils.readData(dest); in isIdentical() 1115 IResource dest = mProject.getFile(path); in copy() local 1116 if (dest.exists() && !(dest instanceof IFile)) {// Don't attempt to overwrite a folder in copy() 1117 assert false : dest.getClass().getName(); in copy() 1120 IFile file = (IFile) dest; in copy() 1122 if (dest instanceof IFile) { in copy() 1123 if (dest.exists() && isIdentical(Files.toByteArray(src), file)) { in copy()
|
D | ProjectContentsPage.java | 324 File dest = Platform.getLocation().append(values.projectName).toFile(); in validateLocationInWorkspace() local 325 if (dest.exists()) { in validateLocationInWorkspace()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ |
D | Draw9PatchEditor.java | 213 IFile dest = mProject.getFile(NinePatchedImage.getNinePatchedFileName( in showSaveAsDialog() local 215 dialog.setOriginalFile(dest); in showSaveAsDialog()
|
/sdk/find_java/src/source/ |
D | utils.h | 329 bool toShortPath(CPath *dest) { in toShortPath() argument 345 if (length != 0) dest->set(shortPath); in toShortPath()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | ImageUtilsTest.java | 247 BufferedImage dest = new BufferedImage(destWidth, destHeight, image.getType()); in drawRectangles() local 249 Graphics2D g = dest.createGraphics(); in drawRectangles() 272 return dest; in drawRectangles()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
D | CreateAssetSetWizard.java | 105 IPath dest = new Path(relativePath); in performFinish() local 106 IFile file = project.getFile(dest); in performFinish()
|
D | ConfigureAssetSetPage.java | 1200 IPath dest = new Path(relativePath); in generateIcons() local 1201 IFile file = newProject.getFile(dest); in generateIcons()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.traceview/src/com/android/ide/eclipse/traceview/editors/ |
D | TraceviewEditor.java | 202 private IFileStore copy(Shell shell, URI source, URI dest) { in copy() argument 206 destFileStore = EFS.getStore(dest); in copy()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/ |
D | NewXmlFileWizard.java | 424 IPath dest = new Path(folderPath).append(fileName); in getDestinationFile() local 425 IFile file = project.getFile(dest); in getDestinationFile()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
D | ProjectNamePage.java | 515 File dest = path.toFile(); in validateLocation() local 516 if (dest.exists()) { in validateLocation()
|
D | NewProjectCreator.java | 1204 private void addFile(IFile dest, byte[] source, IProgressMonitor monitor) throws CoreException { in addFile() argument 1208 dest.create(stream, false /* force */, new SubProgressMonitor(monitor, 10)); in addFile() 1365 IFile dest = project.getFile(destName); in addLocalFile() local 1366 if (dest.exists() == false) { in addLocalFile() 1368 dest.create(stream, false /* force */, new SubProgressMonitor(monitor, 10)); in addLocalFile()
|
D | ApplicationInfoPage.java | 544 File dest = destPath.toFile(); in validateTestProjectLocation() local 545 if (dest.exists()) { in validateTestProjectLocation()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
D | Configuration.java | 395 public void copyFullConfig(FolderConfiguration dest) { in copyFullConfig() argument 396 dest.set(mFullConfig); in copyFullConfig()
|