Home
last modified time | relevance | path

Searched refs:isIdentity (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/layoutlib/bridge/tests/src/android/graphics/
DMatrix_DelegateTest.java31 assertTrue(m1.isIdentity()); in testIdentity()
34 assertTrue(m1.isIdentity()); in testIdentity()
/frameworks/base/libs/hwui/
DMatrix.h132 if (!v.isIdentity()) { in multiply()
189 bool isIdentity() const;
DUvMapper.h51 bool isIdentity() const { return mIdentity; } in isIdentity() function
DDamageAccumulator.cpp144 if (transform && !transform->isIdentity()) { in mapRect()
DMatrix.cpp142 bool Matrix4::isIdentity() const { in isIdentity() function in android::uirenderer::Matrix4
454 if (isIdentity()) return; in mapRect()
DRenderProperties.h452 return getTransformMatrix() && !getTransformMatrix()->isIdentity(); in hasTransformMatrix()
DRecordingCanvas.cpp118 clipMatrix.isIdentity() ? nullptr : &clipMatrix, flags}); in draw()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutput.cpp96 const bool isIdentity = (transform == mat4()); in setColorTransform() local
98 isIdentity ? HAL_COLOR_TRANSFORM_IDENTITY : HAL_COLOR_TRANSFORM_ARBITRARY_MATRIX; in setColorTransform()
/frameworks/base/libs/hwui/tests/unit/
DRenderNodeDrawableTests.cpp197 EXPECT_TRUE(getRecorderMatrix(recorder).isIdentity()); in TEST()
202 EXPECT_TRUE(getRecorderMatrix(recorder).isIdentity()); in TEST()
212 EXPECT_TRUE(getRecorderMatrix(recorder).isIdentity()); in TEST()
567 EXPECT_TRUE(getTotalMatrix().isIdentity()); in RENDERTHREAD_TEST()
572 EXPECT_TRUE(getTotalMatrix().isIdentity()); in RENDERTHREAD_TEST()
1115 EXPECT_TRUE(matrix.isIdentity()); in TEST()
1116 EXPECT_TRUE(getTotalMatrix().isIdentity()); in TEST()
DSkiaCanvasTests.cpp101 ASSERT_TRUE(newCanvas->getTotalMatrix().isIdentity()); in TEST()
DSkiaPipelineTests.cpp339 EXPECT_TRUE(getTotalMatrix().isIdentity()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/frameworks/base/graphics/java/android/graphics/
DShader.java129 if (localM == null || localM.isIdentity()) { in setLocalMatrix()
DBitmap.java887 height == source.getHeight() && (m == null || m.isIdentity())) { in createBitmap()
931 if (m == null || m.isIdentity()) { in createBitmap()
DMatrix.java259 public boolean isIdentity() { in isIdentity() method in Matrix
/frameworks/base/core/jni/android/graphics/
DMatrix.cpp142 static jboolean isIdentity(jlong objHandle) { in isIdentity() function in android::SkMatrixGlue
144 return obj->isIdentity() ? JNI_TRUE : JNI_FALSE; in isIdentity()
348 {"nIsIdentity","(J)Z", (void*) SkMatrixGlue::isIdentity},
/frameworks/base/libs/hwui/pipeline/skia/
DLayerDrawable.cpp109 const bool nonIdentityMatrix = !matrix.isIdentity(); in DrawLayer()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DCoordinateTransformsTest.java191 assertTrue("expected identity, but was: " + concat, concat.isIdentity()); in assertMatricesAreInverses()
/frameworks/base/core/java/android/widget/
DImageView.java915 if (matrix != null && matrix.isIdentity()) {
920 if (matrix == null && !mMatrix.isIdentity() ||
1298 if (mMatrix.isIdentity()) { in configureBounds()
/frameworks/base/core/java/android/view/inputmethod/
DCursorAnchorInfo.java489 if (parentMatrix.isIdentity()) { in computeMatrixValues()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp662 bool isIdentity = transform == mat4(); in setColorTransform() local
664 isIdentity ? HAL_COLOR_TRANSFORM_IDENTITY : in setColorTransform()
/frameworks/layoutlib/bridge/src/android/graphics/
DMatrix_Delegate.java109 public boolean isIdentity() { in isIdentity() method in Matrix_Delegate
208 return d.isIdentity(); in nIsIdentity()
/frameworks/base/core/java/android/transition/
DChangeTransform.java195 if (matrix == null || matrix.isIdentity()) { in captureValues()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java823 if (fits || mMatrix.isIdentity()) { in configureBounds()
/frameworks/base/core/java/android/view/
DViewGroup.java5983 if (!childMatrix.isIdentity() || in invalidateChild()
5994 if (!childMatrix.isIdentity()) { in invalidateChild()
6036 if (!m.isIdentity()) { in invalidateChild()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java8714 if (childMatrix != null && !childMatrix.isIdentity()) { in getTransformedBoundingBox()

12