Searched refs:mtx (Results 1 - 11 of 11) sorted by relevance

/frameworks/native/services/surfaceflinger/RenderEngine/
H A DDescription.cpp80 void Description::setProjectionMatrix(const mat4& mtx) { argument
81 mProjectionMatrix = mtx;
85 void Description::setColorMatrix(const mat4& mtx) { argument
87 mColorMatrix = mtx;
88 mColorMatrixEnabled = (mtx != identity);
H A DDescription.h67 void setProjectionMatrix(const mat4& mtx);
68 void setColorMatrix(const mat4& mtx);
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureClient_test.cpp554 float mtx[16] = {}; local
559 mST->getTransformMatrix(mtx);
561 EXPECT_EQ(1.f, mtx[0]);
562 EXPECT_EQ(0.f, mtx[1]);
563 EXPECT_EQ(0.f, mtx[2]);
564 EXPECT_EQ(0.f, mtx[3]);
566 EXPECT_EQ(0.f, mtx[4]);
567 EXPECT_EQ(-1.f, mtx[5]);
568 EXPECT_EQ(0.f, mtx[6]);
569 EXPECT_EQ(0.f, mtx[
584 float mtx[16] = {}; local
615 float mtx[16] = {}; local
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DSurfaceTexture.java302 * @param mtx the array into which the 4x4 matrix will be stored. The array must have exactly
305 public void getTransformMatrix(float[] mtx) { argument
306 // Note we intentionally don't check mtx for null, so this will result in a
308 if (mtx.length != 16) {
311 nativeGetTransformMatrix(mtx);
377 private native void nativeGetTransformMatrix(float[] mtx); argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRegion_Delegate.java238 AffineTransform mtx = new AffineTransform();
239 mtx.translate(dx, dy);
240 targetRegionDelegate.mArea.transform(mtx);
260 AffineTransform mtx = new AffineTransform();
261 mtx.scale(scale, scale);
262 targetRegionDelegate.mArea.transform(mtx);
H A DCanvas_Delegate.java302 float[] mtx = Matrix_Delegate.getSkew(kx, ky);
303 AffineTransform matrixTx = Matrix_Delegate.getAffineTransform(mtx);
807 final AffineTransform mtx = matrixDelegate.getAffineTransform();
818 graphics.drawImage(image, mtx, null);
H A DMatrix_Delegate.java731 private static void reset(float[] mtx) { argument
734 mtx[k] = ((i==j) ? 1 : 0);
/frameworks/base/core/jni/android/graphics/
H A DSurfaceTexture.cpp327 float* mtx = env->GetFloatArrayElements(jmtx, NULL); local
328 surfaceTexture->getTransformMatrix(mtx);
329 env->ReleaseFloatArrayElements(jmtx, mtx, 0);
/frameworks/native/include/gui/
H A DGLConsumer.h138 void getTransformMatrix(float mtx[16]);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java683 AffineTransform mtx = getTransform();
685 layer.getGraphics().setTransform(mtx);
/frameworks/native/libs/gui/
H A DGLConsumer.cpp725 void GLConsumer::getTransformMatrix(float mtx[16]) { argument
727 memcpy(mtx, mCurrentTransformMatrix, sizeof(mCurrentTransformMatrix));

Completed in 200 milliseconds