Searched refs:mtx (Results 1 – 11 of 11) sorted by relevance
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureClient_test.cpp | 578 float mtx[16] = {}; in TEST_F() local 584 mST->getTransformMatrix(mtx); in TEST_F() 586 EXPECT_EQ(1.f, mtx[0]); in TEST_F() 587 EXPECT_EQ(0.f, mtx[1]); in TEST_F() 588 EXPECT_EQ(0.f, mtx[2]); in TEST_F() 589 EXPECT_EQ(0.f, mtx[3]); in TEST_F() 591 EXPECT_EQ(0.f, mtx[4]); in TEST_F() 592 EXPECT_EQ(-1.f, mtx[5]); in TEST_F() 593 EXPECT_EQ(0.f, mtx[6]); in TEST_F() 594 EXPECT_EQ(0.f, mtx[7]); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | Description.cpp | 80 void Description::setProjectionMatrix(const mat4& mtx) { in setProjectionMatrix() argument 81 mProjectionMatrix = mtx; in setProjectionMatrix() 85 void Description::setColorMatrix(const mat4& mtx) { in setColorMatrix() argument 87 mColorMatrix = mtx; in setColorMatrix() 88 mColorMatrixEnabled = (mtx != identity); in setColorMatrix()
|
D | Description.h | 67 void setProjectionMatrix(const mat4& mtx); 68 void setColorMatrix(const mat4& mtx);
|
/frameworks/base/graphics/java/android/graphics/ |
D | SurfaceTexture.java | 305 public void getTransformMatrix(float[] mtx) { in getTransformMatrix() argument 308 if (mtx.length != 16) { in getTransformMatrix() 311 nativeGetTransformMatrix(mtx); in getTransformMatrix() 385 private native void nativeGetTransformMatrix(float[] mtx); in nativeGetTransformMatrix() argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Region_Delegate.java | 238 AffineTransform mtx = new AffineTransform(); in translate() local 239 mtx.translate(dx, dy); in translate() 240 targetRegionDelegate.mArea.transform(mtx); in translate() 260 AffineTransform mtx = new AffineTransform(); in scale() local 261 mtx.scale(scale, scale); in scale() 262 targetRegionDelegate.mArea.transform(mtx); in scale()
|
D | Canvas_Delegate.java | 317 float[] mtx = Matrix_Delegate.getSkew(kx, ky); in native_skew() local 318 AffineTransform matrixTx = Matrix_Delegate.getAffineTransform(mtx); in native_skew() 901 final AffineTransform mtx = matrixDelegate.getAffineTransform(); in nativeDrawBitmapMatrix() local 912 graphics.drawImage(image, mtx, null); in nativeDrawBitmapMatrix()
|
D | Matrix_Delegate.java | 730 private static void reset(float[] mtx) { in reset() argument 733 mtx[k] = ((i==j) ? 1 : 0); in reset()
|
/frameworks/base/core/jni/android/graphics/ |
D | SurfaceTexture.cpp | 361 float* mtx = env->GetFloatArrayElements(jmtx, NULL); in SurfaceTexture_getTransformMatrix() local 362 surfaceTexture->getTransformMatrix(mtx); in SurfaceTexture_getTransformMatrix() 363 env->ReleaseFloatArrayElements(jmtx, mtx, 0); in SurfaceTexture_getTransformMatrix()
|
/frameworks/native/include/gui/ |
D | GLConsumer.h | 133 void getTransformMatrix(float mtx[16]);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 709 AffineTransform mtx = getTransform(); in doRestore() local 711 layer.getGraphics().setTransform(mtx); in doRestore()
|
/frameworks/native/libs/gui/ |
D | GLConsumer.cpp | 776 void GLConsumer::getTransformMatrix(float mtx[16]) { in getTransformMatrix() 778 memcpy(mtx, mCurrentTransformMatrix, sizeof(mCurrentTransformMatrix)); in getTransformMatrix()
|