Home
last modified time | relevance | path

Searched refs:m3 (Results 1 – 10 of 10) 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()
130 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
131 mat4 m3i(inverse(m3)); in TEST_F()
138 EXPECT_FLOAT_EQ(m3[0][0], m3ii[0][0]); in TEST_F()
139 EXPECT_FLOAT_EQ(m3[0][1], m3ii[0][1]); in TEST_F()
140 EXPECT_FLOAT_EQ(m3[1][0], m3ii[1][0]); in TEST_F()
141 EXPECT_FLOAT_EQ(m3[1][1], m3ii[1][1]); in TEST_F()
203 mat3 m3(m2); in TEST_F() local
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DMatrixTest.java61 Matrix m3 = new Matrix(2, new double[]{11, 22, 33, 44}); in testAddition() local
62 assertEquals(m3, m1.plus(m2)); in testAddition()
72 Matrix m3 = new Matrix(2, new double[]{11, 22, 33, 44}); in testSubtraction() local
73 assertEquals(m1, m3.minus(m2)); in testSubtraction()
94 Matrix m3 = new Matrix(2, new double[]{11, 5, 19, 13}); in testMultiplication() local
95 assertEquals(m3, m1.dot(m2)); in testMultiplication()
138 Matrix m3 = m1.transpose(); in testInverseOfPermutation() local
139 assertEquals(m3, m2); in testInverseOfPermutation()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLinkLayerStatsTest.java59 int m3 = ~a & ~b; in bumpCounters() local
60 assertEquals(-1, m0 + m1 + m2 + m3); in bumpCounters()
77 s.rxmpdu_vo += rxg & m3; in bumpCounters()
78 s.txmpdu_vo += txg & m3; in bumpCounters()
79 s.lostmpdu_vo += txb & m3; in bumpCounters()
80 s.retries_vo += txr & m3; in bumpCounters()
/frameworks/native/libs/ui/tests/
DBufferHubMetadata_test.cpp84 BufferHubMetadata m3{std::move(m2)}; in TEST_F() local
88 EXPECT_NE(m3.metadataHeader(), nullptr); in TEST_F()
91 EXPECT_NE(m3.ashmemFd().get(), -1); in TEST_F()
94 EXPECT_EQ(m3.userMetadataSize(), sizeof(int)); in TEST_F()
/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.cpp413 float m3 = m[3]; in computeFrustum() local
418 f[0] = m3 - m[0]; in computeFrustum()
426 f[0] = m3 + m[0]; in computeFrustum()
434 f[0] = m3 - m[1]; in computeFrustum()
442 f[0] = m3 + m[1]; in computeFrustum()
450 f[0] = m3 - m[2]; in computeFrustum()
458 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/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java701 MonitoredPackage m3 = wd.new MonitoredPackage(APP_C, LONG_DURATION, false); in testPackageHealthCheckStateTransitions() local
724 assertEquals(MonitoredPackage.STATE_INACTIVE, m3.getHealthCheckStateLocked()); in testPackageHealthCheckStateTransitions()
726 assertEquals(MonitoredPackage.STATE_FAILED, m3.handleElapsedTimeLocked(LONG_DURATION)); in testPackageHealthCheckStateTransitions()
728 assertEquals(MonitoredPackage.STATE_FAILED, m3.tryPassHealthCheckLocked()); in testPackageHealthCheckStateTransitions()
/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);