Home
last modified time | relevance | path

Searched refs:delta (Results 1 – 23 of 23) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DLintColumn.java235 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 …]
DLintDeltaProcessor.java77 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/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DMatch.java35 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()
DResizeHandler.java153 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()
DGuidelineHandler.java404 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/
DGlobalProjectMonitor.java160 public void visitDelta(IResourceDelta delta); in visitDelta() argument
222 public boolean visit(IResourceDelta delta) { in visit() argument
224 IResource r = delta.getResource(); in visit()
227 int kind = delta.getKind(); in visit()
233 bundle.listener.fileChanged((IFile)r, delta.getMarkerDeltas(), kind, in visit()
234 r.getFileExtension(), delta.getFlags(), mIsAndroidProject); in visit()
242 int kind = delta.getKind(); in visit()
273 int flags = delta.getFlags(); in visit()
299 IPath from = delta.getMovedFromPath(); in visit()
528 IResourceDelta delta = event.getDelta();
[all …]
DResourceManager.java175 public void processDelta(IResourceDelta delta, IdeScanningContext context) { in processDelta() argument
176 doProcessDelta(delta, context); in processDelta()
193 private void doProcessDelta(IResourceDelta delta, IdeScanningContext context) { in doProcessDelta() argument
196 int kind = delta.getKind(); in doProcessDelta()
203 IResource r = delta.getResource(); in doProcessDelta()
208 updateFile((IFile)r, delta.getMarkerDeltas(), kind, context); in doProcessDelta()
216 IResourceDelta[] children = delta.getAffectedChildren(); in doProcessDelta()
421 for (IResourceDelta delta : projectDeltas) {
422 if (delta.getResource() instanceof IProject) {
423 IProject project = (IProject) delta.getResource();
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DCanvasTransform.java144 int delta = mClientSize - sx; in resizeScrollbar() local
145 if (delta < 0) { in resizeScrollbar()
147 } else if (delta < 2 * DEFAULT_MARGIN) { in resizeScrollbar()
148 mMargin = delta / 2; in resizeScrollbar()
152 && delta >= SHADOW_SIZE / 2) { in resizeScrollbar()
DGCWrapper.java546 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()
DRenderPreview.java1326 int delta = preview1.mY - preview2.mY;
1327 if (delta == 0) {
1328 delta = preview1.mX - preview2.mX;
1330 return delta;
DRenderPreviewManager.java1532 double delta = screen1.getDiagonalLength() in sortPreviewsByScreenSize()
1534 if (delta != 0.0) { in sortPreviewsByScreenSize()
1535 return (int) Math.signum(delta); in sortPreviewsByScreenSize()
/sdk/templates/docs/
Ddefault.js135 delta = (ev.type == 'DOMMouseScroll' ?
138 up = delta > 0;
140 if (!up && -delta > scrollHeight - height - scrollTop) {
143 } else if (up && delta > scrollTop) {
147 $this.scrollTop(scrollTop - delta);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DAndroidXmlFormatter.java69 final int delta= offset - document.getLineInformationOfOffset(offset).getOffset(); in formatMaster() local
70 offset -= delta; in formatMaster()
71 length += delta; in formatMaster()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/
DPreCompilerDeltaVisitor.java171 public boolean visit(IResourceDelta delta) throws CoreException { in visit() argument
178 IResource resource = delta.getResource(); in visit()
206 if (delta.getKind() != IResourceDelta.REMOVED) { in visit()
261 int kind = delta.getKind(); in visit()
328 int kind = delta.getKind(); in visit()
DPatternBasedDeltaVisitor.java84 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()
DPostCompilerBuilder.java248 IResourceDelta delta = getDelta(project); in build() local
249 if (delta == null) { in build()
258 LintDeltaProcessor.create().process(delta); in build()
278 delta.accept(dv); in build()
292 delta = getDelta(libProject); in build()
293 if (delta != null) { in build()
304 delta.accept(visitor); in build()
317 delta = getDelta(referencedJavaProject.getProject()); in build()
318 if (delta != null) { in build()
330 delta.accept(visitor); in build()
DPreCompilerBuilder.java328 IResourceDelta delta = getDelta(project); in build() local
329 if (delta == null) { in build()
338 delta.accept(dv); in build()
356 resManager.processDelta(delta, context); in build()
392 IResourceDelta delta = getDelta(libProject); in build() local
393 if (delta != null) { in build()
406 delta.accept(visitor); in build()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTemplateManager.java218 int delta = template2.getRevision() - template1.getRevision(); in compareTemplates() local
219 if (delta == 0) { in compareTemplates()
220 delta = (int) (file2.lastModified() - file1.lastModified()); in compareTemplates()
222 return delta; in compareTemplates()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlAutoEditStrategy.java200 int delta = offset - regionStart; in customizeDocumentCommand() local
202 for (int i = 0, n = Math.min(delta, text.length()); i < n; i++) { in customizeDocumentCommand()
246 for (int i = delta, n = text.length(); i < n; i++) { in customizeDocumentCommand()
261 for (int i = delta; i < text.length(); i++) { in customizeDocumentCommand()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DXmlPropertyEditor.java191 int delta = SAMPLE_SIZE + SAMPLE_MARGIN; in paint() local
192 x += delta; in paint()
193 width -= delta; in paint()
284 int delta = imageWidth + SAMPLE_MARGIN; in paint() local
285 x += delta; in paint()
286 width -= delta; in paint()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/
DSampleProjectTest.java247 public boolean visit(IResourceDelta delta) { in visit() argument
248 if (mIProject.equals(delta.getResource())) { in visit()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DExtractStyleWizard.java323 int delta = f2.intValue() - f1.intValue(); in initialize()
324 if (delta != 0) { in initialize()
325 return delta; in initialize()
/sdk/eclipse/buildConfig/
Dbuild.properties134 …lled Eclipse against which the application or plug-in code will be compiled and the RCP delta pack.