Home
last modified time | relevance | path

Searched refs:postTranslate (Results 1 – 25 of 57) 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()
DRotationAnimationUtils.java128 outMatrix.postTranslate(height, 0); in createRotationMatrix()
132 outMatrix.postTranslate(width, height); in createRotationMatrix()
136 outMatrix.postTranslate(0, width); in createRotationMatrix()
/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.java368 m.postTranslate(-inset, 0); in addTranslationToMatrix()
372 m.postTranslate(0, -inset); in addTranslationToMatrix()
376 m.postTranslate(inset, 0); in addTranslationToMatrix()
380 m.postTranslate(0, inset); in addTranslationToMatrix()
/frameworks/base/apct-tests/perftests/core/src/android/view/
DCutoutSpecificationBenchmark.java137 m.postTranslate(offsetX, 0); in oldMethodParsingSpec()
157 m.postTranslate(0, displayHeight); in oldMethodParsingSpec()
/frameworks/base/core/java/android/gesture/
DOrientedBoundingBox.java62 matrix.postTranslate(centerX, centerY); in toPath()
/frameworks/base/libs/hwui/tests/common/scenes/
DSimpleColorMatrixAnimation.cpp59 cm.postTranslate(5.0f/255, 5.0f/255, 5.0f/255, 10.0f/255); in createCard()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DPathSpecCornerPathRenderer.java120 mMatrix.postTranslate(translateX, translateY); in getCornerPath()
/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/core/java/android/transition/
DPatternPathMotion.java138 mTempMatrix.postTranslate(startX, startY); in getPath()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_Matrix.cpp266 static void postTranslate(CRITICAL_JNI_PARAMS_COMMA jlong objHandle, jfloat dx, jfloat dy) { in postTranslate() function in android::SkMatrixGlue
268 obj->postTranslate(dx, dy); in postTranslate()
368 {"nPostTranslate","(JFF)V", (void*) SkMatrixGlue::postTranslate},
/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/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleFlyoutView.java451 outlineMatrix.postTranslate(getLeft() + mBgTranslationX, getTop() + mBgTranslationY); in getOutline()
462 outlineMatrix.postTranslate( in getOutline()
/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.java92 tmp.transformation.getMatrix().postTranslate(mPosition.x, mPosition.y); in apply()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DParameterUtils.java526 translateMatrix.postTranslate(-cropRect.centerX(), -cropRect.centerY()); in getPreviewCropRectangleUnzoomed()
909 transform.postTranslate(/*dx*/NORMALIZED_RECTANGLE_MIN, /*dy*/NORMALIZED_RECTANGLE_MIN); in convertMeteringRectangleToLegacy()
1072 transform.postTranslate(previewCrop.left, previewCrop.top); in convertCameraAreaToActiveArrayRectangle()
/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/graphics/java/android/graphics/pdf/
DPdfRenderer.java434 transform.postTranslate(contentLeft, contentTop); in render()

123