Searched refs:translate (Results 1 - 25 of 126) sorted by last modified time

123456

/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/driver/
H A DrsdRuntimeMath.cpp179 m->translate(x, y, z);
/frameworks/rs/
H A DrsMatrix4x4.h75 void translate(float x, float y, float z) { function in struct:android::renderscript::Matrix4x4
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/support/renderscript/v8/rs_support/driver/
H A DrsdRuntimeMath.cpp182 m->translate(x, y, z);
/frameworks/support/renderscript/v8/rs_support/
H A DrsMatrix4x4.h75 void translate(float x, float y, float z) { function in struct:android::renderscript::Matrix4x4
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java2105 canvas.translate(-height + getPaddingTop(), mFirstOffset * width);
2116 canvas.translate(-getPaddingTop(), -(mLastOffset + 1) * width);
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
H A DUiDevice.java847 c.translate(ss.getWidth() / 2, ss.getHeight() / 2);
849 c.translate(-dims[0] / 2, -dims[1] / 2);
/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/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java584 canvas.translate(-width, getHeight());
/frameworks/native/include/ui/
H A DRect.h144 void translate(int32_t dx, int32_t dy) { // legacy, don't use. function in class:android::Rect
H A DRegion.h81 // these translate rhs first
88 // these translate rhs first
89 const Region translate(int dx, int dy) const;
161 static void translate(Region& reg, int dx, int dy);
162 static void translate(Region& dst, const Region& reg, int dx, int dy);
188 return translate(pt.x, pt.y);
/frameworks/native/libs/ui/
H A DRegion.cpp160 if (x|y) translate(*this, x, y);
204 const Region Region::translate(int x, int y) const { function in class:android::Region
206 translate(result, *this, x, y);
557 void Region::translate(Region& reg, int dx, int dy) function in class:android::Region
561 validate(reg, "translate (before)");
566 rects->translate(dx, dy);
571 validate(reg, "translate (after)");
576 void Region::translate(Region& dst, const Region& reg, int dx, int dy) function in class:android::Region
579 translate(dst, dx, dy);
/frameworks/native/libs/ui/tests/region/
H A Dregion.cpp42 reg0 = reg0 | reg0.translate(150, 0);
46 reg0 = reg0 | reg0.translate(300, 0);
50 //reg2 = reg0 | reg0.translate(0, 100);
55 //reg3 = reg0 | reg0.translate(0, 150);
62 reg2 = reg0 | reg0.translate(100, 0);
/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/native/services/surfaceflinger/
H A DTransform.cpp243 out = reg.translate(xpos, ypos);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java418 public void translate(float dx, float dy) { method in class:GcSnapshot
421 layer.getGraphics().translate(dx, dy);
427 mTransform.translate(dx, dy);
/frameworks/compile/libbcc/bcinfo/
H A DBitcodeTranslator.cpp87 bool BitcodeTranslator::translate() { function in class:bcinfo::BitcodeTranslator
/frameworks/compile/libbcc/bcinfo/tools/
H A Dmain.cpp293 if (!BT->translate()) {
294 fprintf(stderr, "failed to translate bitcode\n");
/frameworks/compile/libbcc/include/bcinfo/
H A DBitcodeTranslator.h51 bool translate();
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java435 c.translate(x, y);
H A DSwipeHelper.java127 private void setTranslation(View v, float translate) { argument
129 v.setTranslationX(translate);
131 v.setTranslationY(translate);

Completed in 1019 milliseconds

123456