Searched refs:translate (Results 51 - 75 of 126) sorted by relevance

123456

/frameworks/base/libs/hwui/
H A DMatrix.h91 void translate(float x, float y, float z) { function in class:android::uirenderer::Matrix4
H A DProgram.cpp163 p.translate(.375, .375, 0);
H A DShapeCache.cpp126 canvas.translate(-left + offset, -top + offset);
H A DLayer.h69 regionRect.translate(layer.left, layer.top);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DClearActivity.java76 canvas.translate(400.0f, 400.0f);
H A DTransform3dActivity.java80 canvas.translate(offset, 0.0f);
H A DLinesActivity.java119 canvas.translate(100.0f, 20.0f);
143 canvas.translate(120.0f, 0.0f);
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTargetDrawable.java246 canvas.translate(mTranslationX + mPositionX, mTranslationY + mPositionY);
247 canvas.translate(-0.5f * getWidth(), -0.5f * getHeight());
H A DPointCloud.java223 canvas.translate(px - cx, py - cy);
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java310 * calls to translate,scale,rotate,skew,concat or clipRect,clipPath
321 * stack. Subsequent calls to translate,scale,rotate,skew,concat or
336 * the canvas (or the previous layer). Subsequent calls to translate,
368 * the canvas (or the previous layer). Subsequent calls to translate,
425 * @param dx The distance to translate in X
426 * @param dy The distance to translate in Y
428 public native void translate(float dx, float dy); method in class:Canvas
447 translate(px, py);
449 translate(-px, -py);
467 translate(p
[all...]
/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/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java127 private void setTranslation(View v, float translate) { argument
129 v.setTranslationX(translate);
131 v.setTranslationY(translate);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardGlowStripView.java100 canvas.translate(xOffset, mDotStripTop);
/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
/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);
/frameworks/base/core/jni/android/graphics/
H A DRegion.cpp123 rgn->translate(x, y, GetSkRegion(env, dst));
125 rgn->translate(x, y);
275 { "translate", "(IILandroid/graphics/Region;)V", (void*)Region_translate },
H A DCamera.cpp30 v->translate(SkFloatToScalar(dx), SkFloatToScalar(dy), SkFloatToScalar(dz));
105 { "translate", "(FFF)V", (void*)Camera_translate },
H A DNinePatch.cpp93 canvas->translate(bounds.fLeft, bounds.fTop);
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DPlaybackGraphs.java265 canvas.translate(0, 5 * PlaybackView.TILE_SCALE - viewRect.top);
279 canvas.translate(BAR_WIDTH * Metrics.length, 0);
/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/base/tools/layoutlib/bridge/src/android/graphics/
H A DRegion_Delegate.java223 /*package*/ static void translate(Region thisRegion, int dx, int dy, Region dst) { method in class:Region_Delegate
239 mtx.translate(dx, dy);
/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/base/core/java/android/widget/
H A DQuickContactBadge.java131 canvas.translate(mPaddingLeft, mPaddingTop);
/frameworks/base/graphics/java/android/renderscript/
H A DMatrix3f.java299 public void translate(float x, float y) { method in class:Matrix3f

Completed in 461 milliseconds

123456