Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardUnlockAnimationControllerTest.kt160 assertTrue(params.matrix.isIdentity) in <lambda>()
360 assertTrue(!params.matrix.isIdentity) in <lambda>()
404 assertTrue(params.matrix.isIdentity) in <lambda>()
438 assertTrue(params.matrix.isIdentity) in <lambda>()
/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
DLayer.cpp124 const bool nonIdentityMatrix = !matrix.isIdentity(); in draw()
DMatrix.cpp142 bool Matrix4::isIdentity() const { in isIdentity() function in android::uirenderer::Matrix4
454 if (isIdentity()) return; in mapRect()
DDamageAccumulator.cpp141 if (transform && !transform->isIdentity()) { in applyMatrix()
DRenderProperties.h469 return getTransformMatrix() && !getTransformMatrix()->isIdentity(); in hasTransformMatrix()
/frameworks/base/graphics/java/android/graphics/
DShader.java132 if (localM == null || localM.isIdentity()) { in setLocalMatrix()
DMatrix44.java203 public boolean isIdentity() { in isIdentity() method in Matrix44
DMatrix.java261 public boolean isIdentity() { in isIdentity() method in Matrix
DBitmap.java937 height == source.getHeight() && (m == null || m.isIdentity())) { in createBitmap()
981 if (m == null || m.isIdentity()) { in createBitmap()
/frameworks/base/libs/hwui/tests/unit/
DSkiaCanvasTests.cpp111 ASSERT_TRUE(newCanvas->getTotalMatrix().isIdentity()); in TEST()
DRenderNodeDrawableTests.cpp201 EXPECT_TRUE(getRecorderMatrix(recorder).isIdentity()); in TEST()
206 EXPECT_TRUE(getRecorderMatrix(recorder).isIdentity()); in TEST()
216 EXPECT_TRUE(getRecorderMatrix(recorder).isIdentity()); in TEST()
571 EXPECT_TRUE(getTotalMatrix().isIdentity()); in RENDERTHREAD_TEST()
576 EXPECT_TRUE(getTotalMatrix().isIdentity()); in RENDERTHREAD_TEST()
1123 EXPECT_TRUE(getTotalMatrix().isIdentity()); in TEST()
DSkiaPipelineTests.cpp311 EXPECT_TRUE(getTotalMatrix().isIdentity()); in RENDERTHREAD_TEST()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_Matrix.cpp137 static jboolean isIdentity(CRITICAL_JNI_PARAMS_COMMA jlong objHandle) { in isIdentity() function in android::SkMatrixGlue
139 return obj->isIdentity() ? JNI_TRUE : JNI_FALSE; in isIdentity()
340 {"nIsIdentity","(J)Z", (void*) SkMatrixGlue::isIdentity},
/frameworks/base/services/core/java/com/android/server/wm/
DAccessibilityWindowsPopulator.java719 && !magnificationInverseMatrix.isIdentity()) { in initializeData()
872 if ((!shouldMagnify || inverseMatrix.isIdentity()) && displayMatrix.isIdentity()) { in getUnMagnifiedTouchableRegion()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DCoordinateTransformsTest.java230 assertTrue("expected identity, but was: " + concat, concat.isIdentity()); in assertMatricesAreInverses()
/frameworks/base/core/java/android/widget/
DImageView.java923 if (matrix != null && matrix.isIdentity()) {
928 if (matrix == null && !mMatrix.isIdentity() ||
1308 if (mMatrix.isIdentity()) { in configureBounds()
/frameworks/base/core/java/android/view/inputmethod/
DCursorAnchorInfo.java621 if (parentMatrix.isIdentity()) { in computeMatrixValues()
/frameworks/base/core/java/android/transition/
DChangeTransform.java197 if (matrix == null || matrix.isIdentity()) { in captureValues()
/frameworks/base/core/java/android/view/
DAccessibilityInteractionController.java1014 return windowMatrix == null || windowMatrix.isIdentity(); in shouldBypassApplyWindowMatrix()
1091 if (transformMatrix.isIdentity()) { in transformBoundsWithScreenMatrix()
1123 if (scaleMatrix.isIdentity()) { in applyTransformMatrixToBoundsInParentIfNeeded()
DViewGroup.java6100 if (!childMatrix.isIdentity() || in invalidateChild()
6111 if (!childMatrix.isIdentity()) { in invalidateChild()
6153 if (!m.isIdentity()) { in invalidateChild()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHidlComposerHal.cpp640 const bool isIdentity = (mat4(matrix) == mat4()); in setColorTransform() local
642 isIdentity ? ColorTransform::IDENTITY in setColorTransform()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java823 if (fits || mMatrix.isIdentity()) { in configureBounds()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java8835 if (childMatrix != null && !childMatrix.isIdentity()) { in getTransformedBoundingBox()

12