Home
last modified time | relevance | path

Searched refs:translate (Results 1 – 18 of 18) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DGCWrapper.java250 x1 = mHScale.translate(x1); in drawLine()
251 y1 = mVScale.translate(y1); in drawLine()
252 x2 = mHScale.translate(x2); in drawLine()
253 y2 = mVScale.translate(y2); in drawLine()
268 int x = mHScale.translate(x1); in drawRect()
269 int y = mVScale.translate(y1); in drawRect()
284 int x = mHScale.translate(r.x); in drawRect()
285 int y = mVScale.translate(r.y); in drawRect()
295 int x = mHScale.translate(x1); in fillRect()
296 int y = mVScale.translate(y1); in fillRect()
[all …]
DLintOverlay.java80 int maxX = mHScale.translate(0) + mHScale.getScaledImgSize(); in paint()
81 int maxY = mVScale.translate(0) + mVScale.getScaledImgSize(); in paint()
90 int x = mHScale.translate(bounds.x); in paint()
91 int y = mVScale.translate(bounds.y); in paint()
DEmptyViewsOverlay.java85 int x = mHScale.translate(r.x); in paint()
86 int y = mVScale.translate(r.y); in paint()
DLayoutPoint.java112 int cx = mCanvas.getHorizontalTransform().translate(x); in toControl()
113 int cy = mCanvas.getVerticalTransform().translate(y); in toControl()
DOutlineOverlay.java90 int x = mHScale.translate(r.x); in drawOutline()
91 int y = mVScale.translate(r.y); in drawOutline()
DImageOverlay.java269 gc.drawImage(mPreScaledImage, hi.translate(0), vi.translate(0)); in paint()
284 int destX = hi.translate(0); in paint()
285 int destY = vi.translate(0); in paint()
DHoverOverlay.java148 int x = mHScale.translate(mHoverRect.x); in paint()
149 int y = mVScale.translate(mHoverRect.y); in paint()
DSelectionOverlay.java239 int cx = horizontalTransform.translate(handle.centerX); in paintSelection()
240 int cy = verticalTransform.translate(handle.centerY); in paintSelection()
DCanvasTransform.java200 public int translate(int canvasX) { in translate() method in CanvasTransform
DRenderPreviewManager.java610 int destX = hi.translate(0); in paint()
611 int destY = vi.translate(0); in paint()
1391 return mHScale.translate(0); in getX()
1395 return mVScale.translate(0); in getY()
1624 initialRect2 = new Rect(hi.translate(0), vi.translate(0), in SwapAnimation()
1639 targetRect1 = new Rect(hi.translate(0), vi.translate(0), in tick()
DLayoutCanvas.java924 int x = mHScale.translate(canvasX); in layoutToControlPoint()
925 int y = mVScale.translate(canvasY); in layoutToControlPoint()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Danim1-expected-completion54.txt1 Code completion in anim1.xml for ^<translate android:id=:
6 <translate />
Danim1-expected-completion53.txt6 <translate />
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DPointTestCases.java86 public TestCanvasTransform(ScrollBar scrollBar, float scale, float translate) { in TestCanvasTransform() argument
89 this.mTranslate = translate; in TestCanvasTransform()
93 public int translate(int value) { in translate() method in PointTestCases.TestCanvasTransform
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
DLayoutRenderer.java85 g.translate(insets.left + x, insets.top + y); in paintComponent()
99 s.translate(p.left - p.scrollX, p.top - p.scrollY); in paintComponent()
109 g.translate(-insets.left - x, -insets.top - y); in paintComponent()
113 g.translate(x, y); in drawChildren()
125 g.translate(-x, -y); in drawChildren()
DCaptureRenderer.java63 g.translate(x, y); in paintComponent()
83 g.translate(-x, -y); in paintComponent()
DScreenViewer.java280 g.translate(-left, -top); in paintComponent()
338 g.translate(left, top); in paintComponent()
585 s.translate(p.left - p.scrollX, p.top - p.scrollY); in paintComponent()
589 s.translate(node.left, node.top); in paintComponent()
/sdk/eclipse/
Dchanges.txt790 ready. This should translate in fewer failed launches.