Home
last modified time | relevance | path

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

123

/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/services/core/java/com/android/server/wm/utils/
DCoordinateTransforms.java52 out.postTranslate(0, physicalWidth); in transformPhysicalToLogicalCoordinates()
56 out.postTranslate(physicalWidth, physicalHeight); in transformPhysicalToLogicalCoordinates()
60 out.postTranslate(physicalHeight, 0); in transformPhysicalToLogicalCoordinates()
/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/instrumentation/src/com/android/setupwizardlib/test/
DGlifPatternDrawableTest.java113 expected.postTranslate(-99.718f, 0f); in testScaleToCanvasTall()
130 expected.postTranslate(0f, -87.552f); in testScaleToCanvasWide()
147 expected.postTranslate(0f, 0f); in testScaleToCanvasMaxSize()
/frameworks/base/core/java/android/view/
DInsetsAnimationControlImpl.java248 m.postTranslate(-inset, 0); in addTranslationToMatrix()
252 m.postTranslate(0, -inset); in addTranslationToMatrix()
256 m.postTranslate(inset, 0); in addTranslationToMatrix()
260 m.postTranslate(0, inset); in addTranslationToMatrix()
DDisplayCutout.java673 m.postTranslate(offsetX, 0); in pathAndDisplayCutoutFromSpec()
691 m.postTranslate(0, displayHeight); in pathAndDisplayCutoutFromSpec()
/frameworks/base/core/java/android/gesture/
DOrientedBoundingBox.java62 matrix.postTranslate(centerX, centerY); in toPath()
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DPainting.kt329 matrix.postTranslate(0f, bits.height.toFloat()) in setupBitmaps()
333 matrix.postTranslate(bits.width.toFloat(), 0f) in setupBitmaps()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleFlyoutView.java392 outlineMatrix.postTranslate(getLeft() + mBgTranslationX, getTop() + mBgTranslationY); in getOutline()
403 outlineMatrix.postTranslate( in getOutline()
/frameworks/base/core/jni/android/graphics/
DMatrix.cpp269 static void postTranslate(jlong objHandle, jfloat dx, jfloat dy) { in postTranslate() function in android::SkMatrixGlue
271 obj->postTranslate(dx, dy); in postTranslate()
371 {"nPostTranslate","(JFF)V", (void*) SkMatrixGlue::postTranslate},
/frameworks/base/core/java/android/transition/
DPatternPathMotion.java138 mTempMatrix.postTranslate(startX, startY); in getPath()
DTransitionUtils.java180 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/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/opt/bitmap/src/com/android/bitmap/drawable/
DCircularBitmapDrawable.java146 mMatrix.postTranslate(dst.left, dst.top); in onDrawCircularBitmap()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowAnimationSpec.java98 tmp.transformation.getMatrix().postTranslate(mPosition.x, mPosition.y); in apply()
/frameworks/base/graphics/java/android/graphics/pdf/
DPdfRenderer.java432 transform.postTranslate(contentLeft, contentTop); in render()
/frameworks/base/graphics/java/android/graphics/
DMatrix.java160 public boolean postTranslate(float dx, float dy) {
464 public boolean postTranslate(float dx, float dy) { in postTranslate() method in Matrix
/frameworks/base/libs/hwui/
DRenderProperties.cpp204 transform3D.postTranslate(getPivotX() + getTranslationX(), in updateMatrix()
/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()

123