/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureClient_test.cpp | 579 float mtx[16] = {}; in TEST_F() local 585 mST->getTransformMatrix(mtx); in TEST_F() 587 EXPECT_EQ(1.f, mtx[0]); in TEST_F() 588 EXPECT_EQ(0.f, mtx[1]); in TEST_F() 589 EXPECT_EQ(0.f, mtx[2]); in TEST_F() 590 EXPECT_EQ(0.f, mtx[3]); in TEST_F() 592 EXPECT_EQ(0.f, mtx[4]); in TEST_F() 593 EXPECT_EQ(-1.f, mtx[5]); in TEST_F() 594 EXPECT_EQ(0.f, mtx[6]); in TEST_F() 595 EXPECT_EQ(0.f, mtx[7]); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | Description.cpp | 50 void Description::setProjectionMatrix(const mat4& mtx) { in setProjectionMatrix() argument 51 mProjectionMatrix = mtx; in setProjectionMatrix() 54 void Description::setSaturationMatrix(const mat4& mtx) { in setSaturationMatrix() argument 55 mSaturationMatrix = mtx; in setSaturationMatrix() 58 void Description::setColorMatrix(const mat4& mtx) { in setColorMatrix() argument 59 mColorMatrix = mtx; in setColorMatrix()
|
D | Description.h | 44 void setProjectionMatrix(const mat4& mtx); 45 void setSaturationMatrix(const mat4& mtx); 46 void setColorMatrix(const mat4& mtx);
|
/frameworks/base/graphics/java/android/graphics/ |
D | SurfaceTexture.java | 308 public void getTransformMatrix(float[] mtx) { in getTransformMatrix() argument 311 if (mtx.length != 16) { in getTransformMatrix() 314 nativeGetTransformMatrix(mtx); in getTransformMatrix() 403 private native void nativeGetTransformMatrix(float[] mtx); in nativeGetTransformMatrix() argument
|
/frameworks/base/native/android/ |
D | surface_texture.cpp | 69 void ASurfaceTexture_getTransformMatrix(ASurfaceTexture* st, float mtx[16]) { in ASurfaceTexture_getTransformMatrix() 70 st->consumer->getTransformMatrix(mtx); in ASurfaceTexture_getTransformMatrix()
|
/frameworks/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 | 291 float[] mtx = Matrix_Delegate.getSkew(kx, ky); in nSkew() local 292 AffineTransform matrixTx = Matrix_Delegate.getAffineTransform(mtx); in nSkew()
|
D | BaseCanvas_Delegate.java | 444 final AffineTransform mtx = matrixDelegate.getAffineTransform(); in nDrawBitmapMatrix() local 453 graphics.drawImage(image, mtx, null); in nDrawBitmapMatrix()
|
D | Matrix_Delegate.java | 736 private static void reset(float[] mtx) { in reset() argument 739 mtx[k] = ((i==j) ? 1 : 0); in reset()
|
/frameworks/native/include/android/ |
D | surface_texture.h | 139 void ASurfaceTexture_getTransformMatrix(ASurfaceTexture* st, float mtx[16]);
|
/frameworks/base/core/jni/android/graphics/ |
D | SurfaceTexture.cpp | 362 float* mtx = env->GetFloatArrayElements(jmtx, NULL); in SurfaceTexture_getTransformMatrix() local 363 surfaceTexture->getTransformMatrix(mtx); in SurfaceTexture_getTransformMatrix() 364 env->ReleaseFloatArrayElements(jmtx, mtx, 0); in SurfaceTexture_getTransformMatrix()
|
/frameworks/native/services/surfaceflinger/ |
D | BufferLayerConsumer.h | 114 void getTransformMatrix(float mtx[16]);
|
D | BufferLayerConsumer.cpp | 407 void BufferLayerConsumer::getTransformMatrix(float mtx[16]) { in getTransformMatrix() 409 memcpy(mtx, mCurrentTransformMatrix, sizeof(mCurrentTransformMatrix)); in getTransformMatrix()
|
/frameworks/native/libs/gui/include/gui/ |
D | GLConsumer.h | 133 void getTransformMatrix(float mtx[16]);
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 712 AffineTransform mtx = getTransform(); in doRestore() local 714 layer.getGraphics().setTransform(mtx); in doRestore()
|
/frameworks/native/libs/gui/ |
D | GLConsumer.cpp | 741 void GLConsumer::getTransformMatrix(float mtx[16]) { in getTransformMatrix() 743 memcpy(mtx, mCurrentTransformMatrix, sizeof(mCurrentTransformMatrix)); in getTransformMatrix()
|