Searched refs:translate (Results 1 - 25 of 126) sorted by path

123456

/frameworks/base/core/java/android/content/res/
H A DCompatibilityInfo.java286 * A helper object to translate the screen and window coordinates back and forth.
331 As a work-around, we translate by a tiny amount to avoid
342 canvas.translate(tinyOffset, tinyOffset);
/frameworks/base/core/java/android/gesture/
H A DGesture.java189 canvas.translate(edge, edge);
246 canvas.translate(inset, inset);
H A DGestureStroke.java165 GestureUtils.translate(pts, -rect.left, -rect.top);
H A DGestureUtils.java500 translate(points, -centroid[0], -centroid[1]);
576 static float[] translate(float[] points, float dx, float dy) { method in class:GestureUtils
H A DInstance.java107 GestureUtils.translate(pts, -center[0], -center[1]);
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java694 canvas.translate(key.x + kbdPaddingLeft, key.y + kbdPaddingTop);
722 canvas.translate(drawableX, drawableY);
726 canvas.translate(-drawableX, -drawableY);
728 canvas.translate(-key.x - kbdPaddingLeft, -key.y - kbdPaddingTop);
/frameworks/base/core/java/android/text/
H A DLayout.java193 * @param cursorOffsetVertical the amount to temporarily translate the
432 if (cursorOffsetVertical != 0) canvas.translate(0, cursorOffsetVertical);
434 if (cursorOffsetVertical != 0) canvas.translate(0, -cursorOffsetVertical);
/frameworks/base/core/java/android/text/style/
H A DBulletSpan.java103 c.translate(x + dir * BULLET_RADIUS, (top + bottom) / 2.0f);
H A DDynamicDrawableSpan.java106 canvas.translate(x, transY);
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java541 public void translate(float dx, float dy) { method in class:GLES20Canvas
1033 translate(dst.left, dst.top);
1048 translate(dst.left, dst.top);
H A DView.java12640 canvas.translate(-mScrollX, -mScrollY);
12953 canvas.translate(-mScrollX, -mScrollY);
13027 canvas.translate(-mScrollX, -mScrollY);
13456 canvas.translate(mLeft - sx, mTop - sy);
13459 canvas.translate(mLeft, mTop);
13490 // then redo the scroll translate to get the correct result.
13491 canvas.translate(-transX, -transY);
13493 canvas.translate(transX, transY);
13506 canvas.translate(-transX, -transY);
13508 canvas.translate(trans
[all...]
H A DViewRootImpl.java1434 layerCanvas.translate(0, -yoff);
1684 // in the attach info. We translate only the window frame since on window move
1686 // same and we do not want to translate them more than once.
1949 canvas.translate(0, -mHardwareYOffset);
2274 canvas.translate(0, -yoff);
3275 // mView consumed it. Because we will not translate the trackball
3819 // For events with a [screen] location, translate into window coordinates
/frameworks/base/core/java/android/webkit/
H A DOverScrollGlow.java168 canvas.translate(scrollX, mHostView.getVisibleTitleHeight() + Math.min(0, scrollY));
176 canvas.translate(-width + scrollX, Math.max(mHostView.computeMaxScrollY(), scrollY)
187 canvas.translate(-height - scrollY, Math.min(0, scrollX));
196 canvas.translate(scrollY,
H A DWebViewClassic.java4301 canvas.translate(getScrollX(), getScrollY());
4344 canvas.translate(0, getTitleHeight());
7820 canvas.translate(-tx, -ty);
7831 canvas.translate(tx, ty);
H A DZoomManager.java506 canvas.translate(tx, ty);
519 canvas.translate(tx, ty);
/frameworks/base/core/java/android/widget/
H A DAbsListView.java3663 canvas.translate(leftPadding, edgeY);
3680 canvas.translate(edgeX, edgeY);
3696 canvas.translate(0, (float) scrollY);
H A DAbsSeekBar.java331 canvas.translate(mPaddingLeft - mThumbOffset, mPaddingTop);
H A DEditor.java1355 hardwareCanvas.translate(-left, -top);
1402 final boolean translate = cursorOffsetVertical != 0;
1403 if (translate) canvas.translate(0, cursorOffsetVertical);
1407 if (translate) canvas.translate(0, -cursorOffsetVertical);
3691 canvas.translate(0, cursorOffsetVertical);
3697 canvas.translate(0, -cursorOffsetVertical);
H A DFastScroller.java354 canvas.translate(0, y);
356 canvas.translate(0, -y);
H A DHorizontalScrollView.java1570 canvas.translate(-height + mPaddingTop, Math.min(0, scrollX));
1583 canvas.translate(-mPaddingTop,
H A DImageView.java980 canvas.translate(mPaddingLeft, mPaddingTop);
H A DProgressBar.java1010 // onDraw will translate the canvas so we draw starting at 0,0.
1066 canvas.translate(getWidth() - mPaddingRight, mPaddingTop);
1069 canvas.translate(mPaddingLeft, mPaddingTop);
H A DQuickContactBadge.java131 canvas.translate(mPaddingLeft, mPaddingTop);
H A DScrollView.java1583 canvas.translate(mPaddingLeft, Math.min(0, scrollY));
1595 canvas.translate(-width + mPaddingLeft,
H A DSlidingDrawer.java304 canvas.translate(isVertical ? 0 : handle.getLeft() - mTopOffset,

Completed in 451 milliseconds

123456