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()
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/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.cpp415 float m3 = m[3]; in computeFrustum() local
420 f[0] = m3 - m[0]; in computeFrustum()
428 f[0] = m3 + m[0]; in computeFrustum()
436 f[0] = m3 - m[1]; in computeFrustum()
444 f[0] = m3 + m[1]; in computeFrustum()
452 f[0] = m3 - m[2]; in computeFrustum()
460 f[0] = m3 + m[2]; in computeFrustum()
/frameworks/native/libs/tonemap/
Dtonemap.cpp343 double m3 = (metadata.displayMaxLuminance - y2) / h23; in lookupTonemapGain() local
344 double m2 = (m1 + m3) / 2.0; in lookupTonemapGain()
367 h23 * m3 * (t - 1.0)) * in lookupTonemapGain()
/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.java742 Matrix m3 = new Matrix(); local
743 m3.setTranslate(dimsAfter[0] / 2f, dimsAfter[1] / 2f);
750 c2.setConcat(m4, m3);
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java775 MonitoredPackage m3 = wd.newMonitoredPackage(APP_C, LONG_DURATION, false); in testPackageHealthCheckStateTransitions() local
801 assertThat(m3.getHealthCheckStateLocked()).isEqualTo(HealthCheckState.INACTIVE); in testPackageHealthCheckStateTransitions()
803 assertThat(m3.handleElapsedTimeLocked(LONG_DURATION)).isEqualTo(HealthCheckState.FAILED); in testPackageHealthCheckStateTransitions()
805 assertThat(m3.tryPassHealthCheckLocked()).isEqualTo(HealthCheckState.FAILED); in testPackageHealthCheckStateTransitions()