Home
last modified time | relevance | path

Searched refs:m3 (Results 1 – 13 of 13) 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.java692 MonitoredPackage m3 = wd.new MonitoredPackage(APP_C, LONG_DURATION, false); in testPackageHealthCheckStateTransitions() local
715 assertEquals(MonitoredPackage.STATE_INACTIVE, m3.getHealthCheckStateLocked()); in testPackageHealthCheckStateTransitions()
717 assertEquals(MonitoredPackage.STATE_FAILED, m3.handleElapsedTimeLocked(LONG_DURATION)); in testPackageHealthCheckStateTransitions()
719 assertEquals(MonitoredPackage.STATE_FAILED, m3.tryPassHealthCheckLocked()); in testPackageHealthCheckStateTransitions()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java3537 TestAllTypesNanoHas m3 = new TestAllTypesNanoHas(); in testEqualsWithSpecialFloatingPointValues() local
3538 m3.optionalFloat = Float.NaN; in testEqualsWithSpecialFloatingPointValues()
3539 m3.hasOptionalFloat = true; in testEqualsWithSpecialFloatingPointValues()
3540 m3.optionalDouble = Double.NaN; in testEqualsWithSpecialFloatingPointValues()
3541 m3.hasOptionalDouble = true; in testEqualsWithSpecialFloatingPointValues()
3547 assertTrue(m3.equals(m4)); in testEqualsWithSpecialFloatingPointValues()
3548 assertTrue(m3.equals( in testEqualsWithSpecialFloatingPointValues()
3549 MessageNano.mergeFrom(new TestAllTypesNanoHas(), MessageNano.toByteArray(m3)))); in testEqualsWithSpecialFloatingPointValues()
3551 m3.optionalFloat = +0f; in testEqualsWithSpecialFloatingPointValues()
3553 assertFalse(m3.equals(m4)); in testEqualsWithSpecialFloatingPointValues()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/tests/
Dbasic.rb675 m3 = MapMessageWireEquiv.decode(MapMessage.encode(m))
676 assert m3.map_string_int32.length == 2
679 m3.map_string_int32.map { |msg| kv[msg.key] = msg.value }
683 m3.map_string_msg.map { |msg| kv[msg.key] = msg.value }
/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);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dreflection_test.py929 m3 = proto.repeated_nested_message.add()
932 [m1, m2, m3], proto.repeated_nested_message[1:4])
934 [m0, m1, m2, m3, m4], proto.repeated_nested_message[:])
938 [m2, m3, m4], proto.repeated_nested_message[2:])
948 self.assertListsEqual([m0, m1, m2, m3, m4], result)
952 self.assertListsEqual([m0, m1, m3, m4], proto.repeated_nested_message)