Home
last modified time | relevance | path

Searched refs:postTranslate (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
DTransformTestActivity.java106 mMatrix.postTranslate(-sizeX, -sizeY); in onScale()
108 mMatrix.postTranslate(mPosX, mPosY); in onScale()
140 mMatrix.postTranslate(-sizeX, -sizeY); in setDrawable()
142 mMatrix.postTranslate(mPosX, mPosY); in setDrawable()
169 mMatrix.postTranslate(-sizeX, -sizeY); in onTouchEvent()
171 mMatrix.postTranslate(mPosX, mPosY); in onTouchEvent()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGradientsActivity.java228 mMatrix.postTranslate(right, top); in onDraw()
237 mMatrix.postTranslate(left, top); in onDraw()
249 mMatrix.postTranslate(left, bottom); in onDraw()
259 mMatrix.postTranslate(left, top); in onDraw()
271 mMatrix.postTranslate(right, top); in onDraw()
DAdvancedGradientsActivity.java56 mMatrix.postTranslate(100.0f, 100.0f); in GradientsView()
DTransform3dActivity.java94 matrix.postTranslate(centerX, centerY); in rotate()
DAlpha8BitmapActivity.java83 matrix.postTranslate(0.0f, mBitmap1.getHeight()); in onDraw()
DShadersActivity.java89 mMtx3.postTranslate(0.0f, mDrawHeight); in ShadersView()
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
DGlifPatternDrawableTest.java94 expected.postTranslate(-100f, 0f); in testScaleToCanvasTall()
109 expected.postTranslate(0f, -87.5f); in testScaleToCanvasWide()
/frameworks/base/core/java/com/android/internal/widget/
DRotarySelector.java234 mBgMatrix.postTranslate(left, h); in onSizeChanged()
237 mBgMatrix.postTranslate(0, h - mBackgroundHeight); in onSizeChanged()
330 mArrowMatrix.postTranslate(0, height); in onDraw()
339 mArrowMatrix.postTranslate(0, height + (mBackgroundWidth - height)); in onDraw()
/frameworks/base/core/java/android/gesture/
DOrientedBoundingBox.java62 matrix.postTranslate(centerX, centerY); in toPath()
/frameworks/base/core/java/android/transition/
DPatternPathMotion.java138 mTempMatrix.postTranslate(startX, startY); in getPath()
DTransitionUtils.java163 matrix.postTranslate(-bounds.left, -bounds.top); in createViewBitmap()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
DPdfManipulationService.java141 matrix.postTranslate(bitmapWidth - srcWidthPts * displayScale, 0); in renderPage()
331 transform.postTranslate(dx, dy); in applyPrintAttributes()
/frameworks/base/core/jni/android/graphics/
DMatrix.cpp154 static void postTranslate(JNIEnv* env, jobject clazz, jlong objHandle, jfloat dx, jfloat dy) { in postTranslate() function in android::SkMatrixGlue
156 obj->postTranslate(dx, dy); in postTranslate()
332 {"native_postTranslate","!(JFF)V", (void*) SkMatrixGlue::postTranslate},
/frameworks/base/core/java/android/hardware/camera2/legacy/
DParameterUtils.java521 translateMatrix.postTranslate(-cropRect.centerX(), -cropRect.centerY()); in getPreviewCropRectangleUnzoomed()
816 transform.postTranslate(/*dx*/NORMALIZED_RECTANGLE_MIN, /*dy*/NORMALIZED_RECTANGLE_MIN); in convertMeteringRectangleToLegacy()
979 transform.postTranslate(previewCrop.left, previewCrop.top); in convertCameraAreaToActiveArrayRectangle()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DResourceModifiers.java93 mMtx3.postTranslate(0.0f, mDrawHeight); in ResourceModifiers()
/frameworks/support/v4/kitkat/android/support/v4/print/
DPrintHelperKitkat.java308 matrix.postTranslate(translateX, translateY); in getMatrix()
365 matrix.postTranslate(contentRect.left, contentRect.top); in writeBitmap()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DCircularBitmapDrawable.java146 mMatrix.postTranslate(dst.left, dst.top); in onDrawCircularBitmap()
/frameworks/base/libs/hwui/
DRenderProperties.cpp202 transform3D.postTranslate(getPivotX() + getTranslationX(), in updateMatrix()
DVectorDrawable.cpp369 outMatrix->postTranslate(-properties.getPivotX(), -properties.getPivotY()); in getLocalMatrix()
372 outMatrix->postTranslate(properties.getTranslateX() + properties.getPivotX(), in getLocalMatrix()
/frameworks/support/v4/java/android/support/v4/app/
DSharedElementCallback.java201 mTempMatrix.postTranslate(-screenBounds.left, -screenBounds.top); in onCaptureSharedElementSnapshot()
/frameworks/base/graphics/java/android/graphics/
DMatrix.java153 public boolean postTranslate(float dx, float dy) {
456 public boolean postTranslate(float dx, float dy) { in postTranslate() method in Matrix
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java636 matrix.postTranslate(-mCropRect.left, -mCropRect.top); in getCroppedPhoto()
1033 mMatrix.postTranslate(translateX, translateY); in translate()
1098 mMatrix.postTranslate(translateX, translateY); in snap()
/frameworks/base/services/core/java/com/android/server/wm/
DScreenRotationAnimation.java344 outMatrix.postTranslate(height, 0); in createRotationMatrix()
348 outMatrix.postTranslate(width, height); in createRotationMatrix()
352 outMatrix.postTranslate(0, width); in createRotationMatrix()
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
DCameraPreviewActivity.java275 transform.postTranslate(0, in startPreview()
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
DMainActivity.java204 mMatrix.postTranslate((1 + mXOffset) * (sw - iw * scale) / 2, in updateMatrix()

12