Home
last modified time | relevance | path

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

12

/frameworks/layoutlib/bridge/tests/src/android/graphics/
DMatrix_DelegateTest.java29 assertTrue(m1.isIdentity()); in testIdentity()
32 assertTrue(m1.isIdentity()); in testIdentity()
/frameworks/support/transition/api14/android/support/transition/
DViewUtilsApi14.java86 if (!vm.isIdentity()) { in transformMatrixToGlobal()
101 if (!vm.isIdentity()) { in transformMatrixToLocal()
111 if (matrix == null || matrix.isIdentity()) { in setAnimationMatrix()
/frameworks/base/libs/hwui/
DMatrix.h142 if (!v.isIdentity()) { in multiply()
199 bool isIdentity() const;
DUvMapper.h52 bool isIdentity() const { in isIdentity() function
DDamageAccumulator.cpp143 if (transform && !transform->isIdentity()) { in mapRect()
DMatrix.cpp142 bool Matrix4::isIdentity() const { in isIdentity() function in android::uirenderer::Matrix4
449 if (isIdentity()) return; in mapRect()
DRenderProperties.h526 return getTransformMatrix() && !getTransformMatrix()->isIdentity(); in hasTransformMatrix()
/frameworks/base/libs/hwui/pipeline/skia/
DLayerDrawable.cpp37 if (!layer->getTransform().isIdentity()) { in DrawLayer()
/frameworks/base/graphics/java/android/graphics/
DShader.java99 if (localM == null || localM.isIdentity()) { in setLocalMatrix()
DBitmap.java792 height == source.getHeight() && (m == null || m.isIdentity())) { in createBitmap()
834 if (m == null || m.isIdentity()) { in createBitmap()
DMatrix.java257 public boolean isIdentity() { in isIdentity() method in Matrix
/frameworks/support/design/src/android/support/design/widget/
DViewGroupUtils.java83 if (!view.getMatrix().isIdentity()) { in offsetDescendantMatrix()
/frameworks/base/libs/hwui/tests/unit/
DRecordingCanvasTests.cpp188 EXPECT_TRUE(op.localMatrix.isIdentity()); in OPENGL_PIPELINE_TEST()
342 ASSERT_TRUE(op.localMatrix.isIdentity()) << "Op must not apply matrix at record time."; in RENDERTHREAD_OPENGL_PIPELINE_TEST()
360 EXPECT_TRUE(op.localMatrix.isIdentity()); in OPENGL_PIPELINE_TEST()
438 EXPECT_TRUE(op.localMatrix.isIdentity()); in OPENGL_PIPELINE_TEST()
444 EXPECT_TRUE(op.localMatrix.isIdentity()); in OPENGL_PIPELINE_TEST()
817 EXPECT_TRUE(op.localMatrix.isIdentity()); in OPENGL_PIPELINE_TEST()
DRenderNodeDrawableTests.cpp195 EXPECT_TRUE(getRecorderMatrix(recorder).isIdentity()); in TEST()
200 EXPECT_TRUE(getRecorderMatrix(recorder).isIdentity()); in TEST()
210 EXPECT_TRUE(getRecorderMatrix(recorder).isIdentity()); in TEST()
481 EXPECT_TRUE(getTotalMatrix().isIdentity()); in RENDERTHREAD_TEST()
486 EXPECT_TRUE(getTotalMatrix().isIdentity()); in RENDERTHREAD_TEST()
DSkiaCanvasTests.cpp152 ASSERT_TRUE(newCanvas->getTotalMatrix().isIdentity()); in TEST()
DFrameBuilderTests.cpp876 EXPECT_TRUE(state.computedState.transform.isIdentity()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
921 EXPECT_TRUE(state.computedState.transform.isIdentity()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
1058 EXPECT_TRUE(state.computedState.transform.isIdentity()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
1070 EXPECT_TRUE(state.computedState.transform.isIdentity()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
1076 EXPECT_TRUE(state.computedState.transform.isIdentity()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
1329 EXPECT_TRUE(state.computedState.transform.isIdentity()) in RENDERTHREAD_OPENGL_PIPELINE_TEST()
1502 EXPECT_TRUE(state.computedState.transform.isIdentity()) in RENDERTHREAD_OPENGL_PIPELINE_TEST()
1812 EXPECT_TRUE(state.computedState.transform.isIdentity()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
1819 EXPECT_TRUE(state.computedState.transform.isIdentity()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
DSkiaPipelineTests.cpp305 EXPECT_TRUE(getTotalMatrix().isIdentity()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/frameworks/base/core/jni/android/graphics/
DMatrix.cpp143 static jboolean isIdentity(jlong objHandle) { in isIdentity() function in android::SkMatrixGlue
145 return obj->isIdentity() ? JNI_TRUE : JNI_FALSE; in isIdentity()
349 {"nIsIdentity","(J)Z", (void*) SkMatrixGlue::isIdentity},
/frameworks/base/core/java/android/transition/
DChangeImageTransform.java102 if (!matrix.isIdentity()) { in captureValues()
DChangeTransform.java195 if (matrix == null || matrix.isIdentity()) { in captureValues()
/frameworks/base/core/java/android/widget/
DImageView.java859 if (matrix != null && matrix.isIdentity()) {
864 if (matrix == null && !mMatrix.isIdentity() ||
1241 if (mMatrix.isIdentity()) {
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp737 bool isIdentity = transform == mat4(); in setColorTransform() local
739 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
205 return d.isIdentity(); in nIsIdentity()
/frameworks/support/transition/src/android/support/transition/
DChangeTransform.java200 if (matrix == null || matrix.isIdentity()) { in captureValues()
/frameworks/base/libs/hwui/font/
DFont.cpp493 font->mIdentityTransform = matrix.isIdentity(); in create()

12