Searched refs:mtx (Results 1 - 11 of 11) sorted by path
/frameworks/base/core/jni/android/graphics/ |
H A D | SurfaceTexture.cpp | 327 float* mtx = env->GetFloatArrayElements(jmtx, NULL); local 328 surfaceTexture->getTransformMatrix(mtx); 329 env->ReleaseFloatArrayElements(jmtx, mtx, 0);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | SurfaceTexture.java | 302 * @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 D | Canvas_Delegate.java | 302 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 D | Matrix_Delegate.java | 731 private static void reset(float[] mtx) { argument 734 mtx[k] = ((i==j) ? 1 : 0);
|
H A D | Region_Delegate.java | 238 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);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 683 AffineTransform mtx = getTransform(); 685 layer.getGraphics().setTransform(mtx);
|
/frameworks/native/include/gui/ |
H A D | GLConsumer.h | 138 void getTransformMatrix(float mtx[16]);
|
/frameworks/native/libs/gui/ |
H A D | GLConsumer.cpp | 725 void GLConsumer::getTransformMatrix(float mtx[16]) { argument 727 memcpy(mtx, mCurrentTransformMatrix, sizeof(mCurrentTransformMatrix));
|
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureClient_test.cpp | 554 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/native/services/surfaceflinger/RenderEngine/ |
H A D | Description.cpp | 80 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 D | Description.h | 67 void setProjectionMatrix(const mat4& mtx); 68 void setColorMatrix(const mat4& mtx);
|
Completed in 1853 milliseconds