Searched refs:translate (Results 76 - 100 of 126) sorted by relevance

123456

/frameworks/base/libs/hwui/
H A DRect.h155 void translate(float dx, float dy) { function in class:android::uirenderer::Rect
H A DLayerRenderer.cpp442 renderer.translate(0.0f, bitmap->height());
448 invert.translate(0.0f, 1.0f, 0.0f);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DAlphaLayersActivity.java106 canvas.translate(20.0f, 20.0f);
/frameworks/ex/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java245 translate(-distanceX, -distanceY);
500 // translate to the origin & scale
785 * @param tx how many pixels to translate horizontally
786 * @param ty how many pixels to translate vertically
790 private boolean translate(float tx, float ty) { method in class:PhotoView
855 // Image is narrower than view; translate to the center of the view
875 // Image is shorter than view; translate to the bottom edge of the view
1079 final boolean didTranslate = mHeader.translate(mVelocityX * delta, mVelocityY * delta);
1196 mHeader.translate(transX, transY);
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java243 translate(-distanceX, -distanceY);
498 // translate to the origin & scale
787 * @param tx how many pixels to translate horizontally
788 * @param ty how many pixels to translate vertically
792 private boolean translate(float tx, float ty) { method in class:PhotoView
857 // Image is narrower than view; translate to the center of the view
877 // Image is shorter than view; translate to the bottom edge of the view
1081 final boolean didTranslate = mHeader.translate(mVelocityX * delta, mVelocityY * delta);
1198 mHeader.translate(transX, transY);
/frameworks/rs/
H A DrsScriptC.cpp243 if (!BT->translate()) {
244 ALOGE("Failed to translate bitcode from version: %u", sdkVersion);
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DMatrix3f.java299 public void translate(float x, float y) { method in class:Matrix3f
H A DMatrix4f.java399 public void translate(float x, float y, float z) { method in class:Matrix4f
/frameworks/base/core/java/android/gesture/
H A DGestureUtils.java500 translate(points, -centroid[0], -centroid[1]);
576 static float[] translate(float[] points, float dx, float dy) { method in class:GestureUtils
/frameworks/native/opengl/libagl/
H A Dcontext.h398 void translate(GLfloat x, GLfloat y, GLfloat z);
458 void translate(GLfloat x, GLfloat y, GLfloat z);
H A Dmatrix.cpp317 void matrixf_t::translate(GLfloat x, GLfloat y, GLfloat z) { function in class:android::matrixf_t
425 void matrix_stack_t::translate(GLfloat x, GLfloat y, GLfloat z) function in class:android::matrix_stack_t
427 stack[depth].translate(x,y,z);
1070 c->transforms.current->translate(x, y, z);
1077 c->transforms.current->translate(
/frameworks/base/graphics/java/android/graphics/drawable/
H A DShapeDrawable.java221 // need the save both for the translate, and for the (unknown) Shape
223 canvas.translate(r.left, r.top);
/frameworks/compile/libbcc/bcinfo/tools/
H A Dmain.cpp293 if (!BT->translate()) {
294 fprintf(stderr, "failed to translate bitcode\n");
/frameworks/native/services/surfaceflinger/
H A DTransform.cpp243 out = reg.translate(xpos, ypos);
/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/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/widget/
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 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 DScrollView.java1583 canvas.translate(mPaddingLeft, Math.min(0, scrollY));
1595 canvas.translate(-width + mPaddingLeft,
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp181 static void translate(JNIEnv* env, jobject jcanvas, jfloat dx, jfloat dy) { function in class:android::SkCanvasGlue
185 (void)GraphicsJNI::getNativeCanvas(env, jcanvas)->translate(dx_, dy_);
477 canvas->translate(left_, top_);
976 {"translate","(FF)V", (void*) SkCanvasGlue::translate},
/frameworks/base/graphics/java/android/renderscript/
H A DMatrix4f.java399 public void translate(float x, float y, float z) { method in class:Matrix4f
/frameworks/base/core/java/android/webkit/
H A DZoomManager.java506 canvas.translate(tx, ty);
519 canvas.translate(tx, ty);

Completed in 432 milliseconds

123456