Home
last modified time | relevance | path

Searched refs:m3 (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/libs/math/tests/
Dmat_test.cpp72 mat4 m3(m2); in TEST_F() local
75 EXPECT_EQ(m2, m3); in TEST_F()
76 EXPECT_EQ(m3, m1); in TEST_F()
129 mat4 m3(vec4(4, 3, 0, 0), vec4(3, 2, 0, 0), vec4(0, 0, 1, 0), vec4(0, 0, 0, 1)); in TEST_F() local
130 mat4 m3i(inverse(m3)); in TEST_F()
137 EXPECT_FLOAT_EQ(m3[0][0], m3ii[0][0]); in TEST_F()
138 EXPECT_FLOAT_EQ(m3[0][1], m3ii[0][1]); in TEST_F()
139 EXPECT_FLOAT_EQ(m3[1][0], m3ii[1][0]); in TEST_F()
140 EXPECT_FLOAT_EQ(m3[1][1], m3ii[1][1]); in TEST_F()
202 mat3 m3(m2); in TEST_F() local
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DMatrixTest.java54 Matrix m3 = new Matrix(2, new double[]{11, 22, 33, 44}); in testAddition() local
55 assertEquals(m3, m1.plus(m2)); in testAddition()
65 Matrix m3 = new Matrix(2, new double[]{11, 22, 33, 44}); in testSubtraction() local
66 assertEquals(m1, m3.minus(m2)); in testSubtraction()
76 Matrix m3 = new Matrix(2, new double[]{11, 5, 19, 13}); in testMultiplication() local
77 assertEquals(m3, m1.dot(m2)); in testMultiplication()
/frameworks/support/room/runtime/src/test/java/android/arch/persistence/room/
DBuilderTest.java86 Migration m3 = new EmptyMigration(0, 1); in migrationOverride() local
88 .addMigrations(m1, m2, m3).build(); in migrationOverride()
91 assertThat(migrations.findMigrationPath(0, 1), is(asList(m3))); in migrationOverride()
100 Migration m3 = new EmptyMigration(2, 3); in migrationJump() local
103 .addMigrations(m1, m2, m3, m4).build(); in migrationJump()
107 assertThat(migrations.findMigrationPath(1, 3), is(asList(m2, m3))); in migrationJump()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DAdvancedBlendActivity.java77 Matrix m3 = new Matrix(); in ShadersView() local
78 m3.setScale(0.1f, 0.1f); in ShadersView()
79 mScaled2Shader.setLocalMatrix(m3); in ShadersView()
DMoreShadersActivity.java79 Matrix m3 = new Matrix(); in ShadersView() local
80 m3.setScale(0.1f, 0.1f); in ShadersView()
81 mScaled2Shader.setLocalMatrix(m3); in ShadersView()
/frameworks/base/core/jni/android/opengl/
Dutil.cpp411 float m3 = m[3]; in computeFrustum() local
416 f[0] = m3 - m[0]; in computeFrustum()
424 f[0] = m3 + m[0]; in computeFrustum()
432 f[0] = m3 - m[1]; in computeFrustum()
440 f[0] = m3 + m[1]; in computeFrustum()
448 f[0] = m3 - m[2]; in computeFrustum()
456 f[0] = m3 + m[2]; in computeFrustum()
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java173 boolean m3 = (ai.getSuggestActionMsgColumn() != null) && in checkSearchable()
175 assertTrue(m1 || m2 || m3); in checkSearchable()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java745 Matrix m3 = new Matrix(); local
746 m3.setTranslate(dimsAfter[0] / 2f, dimsAfter[1] / 2f);
753 c2.setConcat(m4, m3);