Home
last modified time | relevance | path

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

12

/frameworks/base/tools/layoutlib/bridge/tests/src/android/graphics/
DMatrix_DelegateTest.java29 assertTrue(m1.isIdentity()); in testIdentity()
32 assertTrue(m1.isIdentity()); in testIdentity()
/frameworks/base/graphics/java/android/graphics/
DShader.java72 return !mLocalMatrix.isIdentity(); in getLocalMatrix()
DBitmap.java742 height == source.getHeight() && (m == null || m.isIdentity())) { in createBitmap()
775 if (m == null || m.isIdentity()) { in createBitmap()
DMatrix.java243 public boolean isIdentity() { in isIdentity() method in Matrix
/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.h524 return getTransformMatrix() && !getTransformMatrix()->isIdentity(); in hasTransformMatrix()
DDisplayListCanvas.cpp246 if (matrix.isIdentity()) { in drawBitmap()
DOpenGLRenderer.cpp2243 if (!transform->isIdentity()) {
2255 if (transform && !transform->isIdentity()) {
2298 if (transform && !transform->isIdentity()) {
DRecordingCanvas.cpp480 if (matrix.isIdentity()) { in drawBitmap()
/frameworks/support/design/honeycomb/android/support/design/widget/
DViewGroupUtilsHoneycomb.java62 if (!view.getMatrix().isIdentity()) { in offsetDescendantMatrix()
/frameworks/base/libs/hwui/tests/unit/
DRecordingCanvasTests.cpp181 EXPECT_TRUE(op.localMatrix.isIdentity()); in TEST()
326 ASSERT_TRUE(op.localMatrix.isIdentity()) << "Op must not apply matrix at record time."; in RENDERTHREAD_TEST()
344 EXPECT_TRUE(op.localMatrix.isIdentity()); in TEST()
422 EXPECT_TRUE(op.localMatrix.isIdentity()); in TEST()
428 EXPECT_TRUE(op.localMatrix.isIdentity()); in TEST()
793 EXPECT_TRUE(op.localMatrix.isIdentity()); in TEST()
DFrameBuilderTests.cpp790 EXPECT_TRUE(state.computedState.transform.isIdentity()); in RENDERTHREAD_TEST()
835 EXPECT_TRUE(state.computedState.transform.isIdentity()); in RENDERTHREAD_TEST()
972 EXPECT_TRUE(state.computedState.transform.isIdentity()); in RENDERTHREAD_TEST()
984 EXPECT_TRUE(state.computedState.transform.isIdentity()); in RENDERTHREAD_TEST()
990 EXPECT_TRUE(state.computedState.transform.isIdentity()); in RENDERTHREAD_TEST()
1243 EXPECT_TRUE(state.computedState.transform.isIdentity()) in RENDERTHREAD_TEST()
1416 EXPECT_TRUE(state.computedState.transform.isIdentity()) in RENDERTHREAD_TEST()
1699 EXPECT_TRUE(state.computedState.transform.isIdentity()); in RENDERTHREAD_TEST()
1706 EXPECT_TRUE(state.computedState.transform.isIdentity()); in RENDERTHREAD_TEST()
/frameworks/base/core/jni/android/graphics/
DMatrix.cpp46 static jboolean isIdentity(JNIEnv* env, jobject clazz, jlong objHandle) { in isIdentity() function in android::SkMatrixGlue
48 return obj->isIdentity() ? JNI_TRUE : JNI_FALSE; in isIdentity()
309 {"native_isIdentity","!(J)Z", (void*) SkMatrixGlue::isIdentity},
/frameworks/base/core/java/android/transition/
DChangeImageTransform.java102 if (!matrix.isIdentity()) { in captureValues()
DChangeTransform.java193 if (matrix == null || matrix.isIdentity()) { in captureValues()
/frameworks/base/core/java/android/view/
DViewOverlay.java329 if (!child.getMatrix().isIdentity()) { in damageChild()
DViewGroup.java5176 child.getAnimation() == null && childMatrix.isIdentity(); in invalidateChild()
5189 if (!childMatrix.isIdentity() || in invalidateChild()
5200 if (!childMatrix.isIdentity()) { in invalidateChild()
5246 if (!m.isIdentity()) { in invalidateChild()
5362 if (!child.getMatrix().isIdentity()) { in damageChild()
5407 if (!getMatrix().isIdentity()) { in damageChildInParent()
/frameworks/base/core/java/android/widget/
DImageView.java800 if (matrix != null && matrix.isIdentity()) {
805 if (matrix == null && !mMatrix.isIdentity() ||
1182 if (mMatrix.isIdentity()) {
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp741 bool isIdentity = transform == mat4(); in setColorTransform() local
743 isIdentity ? HAL_COLOR_TRANSFORM_IDENTITY : in setColorTransform()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DMatrix_Delegate.java106 public boolean isIdentity() { in isIdentity() method in Matrix_Delegate
202 return d.isIdentity(); in native_isIdentity()
/frameworks/base/libs/hwui/font/
DFont.cpp487 font->mIdentityTransform = matrix.isIdentity(); in create()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java823 if (fits || mMatrix.isIdentity()) { in configureBounds()

12