/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
D | LintColumn.java | 235 int delta = mList.getSeverity(issue1).ordinal() - in compare() local 237 if (delta != 0) { in compare() 238 return delta; in compare() 240 delta = issue2.getPriority() - issue1.getPriority(); in compare() 241 if (delta != 0) { in compare() 242 return delta; in compare() 244 delta = issue1.getCategory().compareTo(issue2.getCategory()); in compare() 245 if (delta != 0) { in compare() 246 return delta; in compare() 248 delta = id1.compareTo(id2); in compare() [all …]
|
D | LintDeltaProcessor.java | 77 public void process(@NonNull IResourceDelta delta) { in process() argument 83 gatherFiles(delta); in process() 113 private void gatherFiles(@NonNull IResourceDelta delta) { in gatherFiles() argument 114 IResource resource = delta.getResource(); in gatherFiles() 136 IResourceDelta[] children = delta.getAffectedChildren(); in gatherFiles()
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/packages/ |
D | FullRevision.java | 221 int delta = mMajor - rhs.mMajor; in compareTo() local 222 if (delta != 0) { in compareTo() 223 return delta; in compareTo() 226 delta = mMinor - rhs.mMinor; in compareTo() 227 if (delta != 0) { in compareTo() 228 return delta; in compareTo() 231 delta = mMicro - rhs.mMicro; in compareTo() 232 if (delta != 0) { in compareTo() 233 return delta; in compareTo() 238 delta = p1 - p2; in compareTo() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
D | Match.java | 35 public final int delta; field in Match 56 ConstraintType type, int delta) { in Match() argument 62 this.delta = delta; in Match() 97 return "Match [type=" + type + ", delta=" + delta + ", edge=" + edge in toString()
|
D | ResizeHandler.java | 153 protected boolean isEdgeTypeCompatible(SegmentType edge, SegmentType dragged, int delta) { in isEdgeTypeCompatible() argument 154 boolean compatible = super.isEdgeTypeCompatible(edge, dragged, delta); in isEdgeTypeCompatible() 164 return delta <= 0; in isEdgeTypeCompatible() 166 return delta >= 0; in isEdgeTypeCompatible() 220 && (!mSnap || Math.abs(match.delta) < BaseLayoutRule.getMaxMatchDistance())) { in updateResize() 244 && (!mSnap || Math.abs(match.delta) < BaseLayoutRule.getMaxMatchDistance())) { in updateResize()
|
D | GuidelineHandler.java | 404 protected boolean isEdgeTypeCompatible(SegmentType edge, SegmentType dragged, int delta) { in isEdgeTypeCompatible() argument 406 if (Math.abs(delta) > BaseLayoutRule.getMaxMatchDistance()) { in isEdgeTypeCompatible() 408 if (delta > 0) { in isEdgeTypeCompatible() 412 if (delta < 0) { in isEdgeTypeCompatible() 431 return dragged == edge && Math.abs(delta) < getMaxMatchDistance(); in isEdgeTypeCompatible() 450 int closestDelta = closest.size() > 0 ? closest.get(0).delta : Integer.MAX_VALUE; in addClosest() 455 int delta = edge.at - at; in addClosest() local 456 int distance = abs(delta); in addClosest() 461 if (!isEdgeTypeCompatible(edge.edgeType, draggedEdge.edgeType, delta)) { in addClosest() 481 Match match = new Match(this, edge, draggedEdge, type, delta); in addClosest() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ |
D | GlobalProjectMonitor.java | 157 public void visitDelta(IResourceDelta delta); in visitDelta() argument 217 public boolean visit(IResourceDelta delta) { in visit() argument 219 IResource r = delta.getResource(); in visit() 222 int kind = delta.getKind(); in visit() 228 bundle.listener.fileChanged((IFile)r, delta.getMarkerDeltas(), kind, in visit() 229 r.getFileExtension(), delta.getFlags()); in visit() 237 int kind = delta.getKind(); in visit() 251 int flags = delta.getFlags(); in visit() 278 IPath from = delta.getMovedFromPath(); in visit() 501 IResourceDelta delta = event.getDelta(); [all …]
|
D | ResourceManager.java | 176 public void processDelta(IResourceDelta delta, IdeScanningContext context) { in processDelta() argument 177 doProcessDelta(delta, context); in processDelta() 194 private void doProcessDelta(IResourceDelta delta, IdeScanningContext context) { in doProcessDelta() argument 197 int kind = delta.getKind(); in doProcessDelta() 204 IResource r = delta.getResource(); in doProcessDelta() 209 updateFile((IFile)r, delta.getMarkerDeltas(), kind, context); in doProcessDelta() 217 IResourceDelta[] children = delta.getAffectedChildren(); in doProcessDelta() 422 for (IResourceDelta delta : projectDeltas) { 423 if (delta.getResource() instanceof IProject) { 424 IProject project = (IProject) delta.getResource(); [all …]
|
/sdk/assetstudio/src/com/android/assetstudiolib/ |
D | TextRenderUtil.java | 73 double delta = minDimension * paddingPercentage / 100; in renderTextImage() local 74 bounds.setRect(bounds.getMinX() - delta, bounds.getMinY() - delta, in renderTextImage() 75 bounds.getWidth() + 2 * delta, bounds.getHeight() + 2 * delta); in renderTextImage()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | CanvasTransform.java | 133 int delta = mClientSize - sx; in resizeScrollbar() local 134 if (delta < 0) { in resizeScrollbar() 136 } else if (delta < 2 * DEFAULT_MARGIN) { in resizeScrollbar() 137 mMargin = delta / 2; in resizeScrollbar() 141 && delta >= SHADOW_SIZE / 2) { in resizeScrollbar()
|
D | GCWrapper.java | 546 int delta = (MIN_LENGTH - Math.abs(y1 - y2)) / 2; in drawArrow() local 548 y1 -= delta; in drawArrow() 549 y2 += delta; in drawArrow() 551 y1 += delta; in drawArrow() 552 y2-= delta; in drawArrow() 556 int delta = (MIN_LENGTH - Math.abs(x1 - x2)) / 2; in drawArrow() local 558 x1 -= delta; in drawArrow() 559 x2 += delta; in drawArrow() 561 x1 += delta; in drawArrow() 562 x2-= delta; in drawArrow()
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/tasks/ |
D | ProgressTaskFactory.java | 59 int delta = in start() local 61 if (delta > 0) { in start() 62 sub.incProgress(delta); in start()
|
D | TaskMonitorImpl.java | 133 public void incProgress(int delta) { in incProgress() argument 134 if (delta > 0 && mIncCoef > 0) { in incProgress() 135 internalIncProgress(delta * mIncCoef); in incProgress() 311 public void incProgress(int delta) { in incProgress() argument 312 if (delta > 0 && mSubCoef > 0) { in incProgress() 313 subIncProgress(delta * mSubCoef); in incProgress()
|
D | ProgressView.java | 142 int delta = in startTask() 144 if (delta > 0) { in startTask() 145 sub.incProgress(delta); in startTask()
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
D | DisplaySyncHistogram.java | 108 double delta = (stopTime - startTime) * 100. / 1000 / 3600; // Percent of hour in processSyncEvent() local 109 addHistEvent(0, auth, delta); in processSyncEvent() 114 double delta = (stopTime - startTime) * 100. / 1000 / 3600; // Percent of hour in processSyncEvent() local 115 addHistEvent(0, auth, -delta); in processSyncEvent() 116 addHistEvent(0, ERRORS, delta); in processSyncEvent()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
D | AndroidXmlFormatter.java | 69 final int delta= offset - document.getLineInformationOfOffset(offset).getOffset(); in formatMaster() local 70 offset -= delta; in formatMaster() 71 length += delta; in formatMaster()
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/ |
D | SdkUpdaterNoWindow.java | 179 int delta = in start() local 181 if (delta > 0) { in start() 182 sub.incProgress(delta); in start() 311 public void incProgress(int delta) { in incProgress() argument 312 if (delta > 0 && mIncCoef > 0) { in incProgress() 313 internalIncProgress(delta * mIncCoef); in incProgress() 566 public void incProgress(int delta) { in incProgress() argument 567 if (delta > 0 && mSubCoef > 0) { in incProgress() 568 subIncProgress(delta * mSubCoef); in incProgress()
|
/sdk/lint/cli/src/com/android/tools/lint/ |
D | MultiProjectHtmlReporter.java | 233 int delta = other.errorCount - errorCount; in compareTo() local 234 if (delta != 0) { in compareTo() 235 return delta; in compareTo() 238 delta = other.warningCount - warningCount; in compareTo() 239 if (delta != 0) { in compareTo() 240 return delta; in compareTo()
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/ |
D | AbstractBufferFindTarget.java | 81 public void scrollBy(int delta) { in scrollBy() argument 84 mCurrentSearchIndex = Math.max(0, mCurrentSearchIndex - delta); in scrollBy()
|
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/ |
D | TypoLookup.java | 476 int delta = b - cb; in compare() local 477 if (delta != 0) { in compare() 482 delta = b - cb; in compare() 483 if (delta != 0) { in compare() 484 return delta; in compare() 533 int delta = b - cb; in compare() local 534 if (delta != 0) { in compare() 537 delta = b - cb; in compare() 538 if (delta != 0) { in compare() 539 return delta; in compare() [all …]
|
/sdk/assetstudio/tests/src/com/android/assetstudiolib/ |
D | GeneratorTest.java | 123 long delta = 0; in assertImageSimilar() local 152 delta += Math.abs(deltaR); in assertImageSimilar() 153 delta += Math.abs(deltaG); in assertImageSimilar() 154 delta += Math.abs(deltaB); in assertImageSimilar() 160 float percentDifference = (float) (delta * 100 / (double) total); in assertImageSimilar()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/ |
D | PreCompilerDeltaVisitor.java | 175 public boolean visit(IResourceDelta delta) throws CoreException { in visit() argument 182 IResource resource = delta.getResource(); in visit() 210 if (delta.getKind() != IResourceDelta.REMOVED) { in visit() 265 int kind = delta.getKind(); in visit() 332 int kind = delta.getKind(); in visit()
|
D | PatternBasedDeltaVisitor.java | 84 public boolean visit(IResourceDelta delta) throws CoreException { in visit() argument 85 IResource resource = delta.getResource(); in visit() 116 } else if (delta.getKind() == IResourceDelta.REMOVED && in visit()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | TemplateManager.java | 213 int delta = template2.getRevision() - template1.getRevision(); in compareTemplates() local 214 if (delta == 0) { in compareTemplates() 215 delta = (int) (file2.lastModified() - file1.lastModified()); in compareTemplates() 217 return delta; in compareTemplates()
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
D | ITaskMonitor.java | 100 public void incProgress(int delta); in incProgress() argument
|