Home
last modified time | relevance | path

Searched refs:m2 (Results 1 – 17 of 17) sorted by relevance

/frameworks/native/libs/math/tests/
Dmat_test.cpp71 mat4 m2(vec4(2)); in TEST_F() local
72 mat4 m3(m2); in TEST_F()
74 EXPECT_EQ(m1, m2); in TEST_F()
75 EXPECT_EQ(m2, m3); in TEST_F()
85 mat4 m2(vec4(2)); in TEST_F() local
87 m1 += m2; in TEST_F()
90 m2 -= m1; in TEST_F()
91 EXPECT_EQ(mat4(-2), m2); in TEST_F()
123 mat4 m2(vec4(1, 5, 9, 13), vec4(2, 6, 10, 14), vec4(3, 7, 11, 15), vec4(4, 8, 12, 16)); in TEST_F() local
124 EXPECT_EQ(m1, transpose(m2)); in TEST_F()
[all …]
/frameworks/base/tests/JankBench/app/src/main/jni/
Dtest.cpp117 uint8_t * m2 = (uint8_t *)malloc(1024*1024*64); in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest() local
120 memset(m2, 0, 1024*1024*16); in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest()
128 memcpy(m1, m2, subtest); in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest()
138 memcpy(m1, m2, subtest); in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest()
152 free (m2); in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest()
/frameworks/rs/support/java/src/androidx/renderscript/
DMatrix4f.java334 Matrix4f m2 = new Matrix4f(); in loadProjectionNormalized() local
344 m2.loadRotate(180, 0, 1, 0); in loadProjectionNormalized()
345 m1.loadMultiply(m1, m2); in loadProjectionNormalized()
347 m2.loadScale(-2, 2, 1); in loadProjectionNormalized()
348 m1.loadMultiply(m1, m2); in loadProjectionNormalized()
350 m2.loadTranslate(0, 0, 2); in loadProjectionNormalized()
351 m1.loadMultiply(m1, m2); in loadProjectionNormalized()
/frameworks/base/rs/java/android/renderscript/
DMatrix4f.java333 Matrix4f m2 = new Matrix4f(); in loadProjectionNormalized() local
343 m2.loadRotate(180, 0, 1, 0); in loadProjectionNormalized()
344 m1.loadMultiply(m1, m2); in loadProjectionNormalized()
346 m2.loadScale(-2, 2, 1); in loadProjectionNormalized()
347 m1.loadMultiply(m1, m2); in loadProjectionNormalized()
349 m2.loadTranslate(0, 0, 2); in loadProjectionNormalized()
350 m1.loadMultiply(m1, m2); in loadProjectionNormalized()
/frameworks/layoutlib/bridge/tests/src/android/graphics/
DMatrix_DelegateTest.java39 Matrix m2 = new Matrix(m1); in testCopyConstructor() local
44 m2.getValues(v2); in testCopyConstructor()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DAdvancedBlendActivity.java71 Matrix m2 = new Matrix(); in ShadersView() local
72 m2.setScale(0.5f, 0.5f); in ShadersView()
73 mScaledShader.setLocalMatrix(m2); in ShadersView()
DMoreShadersActivity.java73 Matrix m2 = new Matrix(); in ShadersView() local
74 m2.setScale(0.1f, 0.1f); in ShadersView()
75 mScaledShader.setLocalMatrix(m2); in ShadersView()
/frameworks/base/packages/SystemUI/docs/
Ddagger.md149 [/prebuilts/tools/common/m2/repository/com/google/dagger/](http://cs/android/prebuilts/tools/common…
154 cd prebuilts/tools/common/m2/repository/com/google/dagger/
165 Then update `prebuilts/tools/common/m2/Android.bp` to point at your new jars.
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java172 … boolean m2 = (ai.getSuggestActionMsg() != null) && (ai.getSuggestActionMsg().length() > 0); in checkSearchable()
175 assertTrue(m1 || m2 || m3); in checkSearchable()
/frameworks/layoutlib/bridge/tests/
Drun_tests.sh20 …api/layoutlib_api-prebuilt.jar:${OUT_INTERMEDIATES}/prebuilts/tools/common/m2/trove-prebuilt/linux…
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DModuleInfoProviderTest.java52 Collections.sort(mi, (ModuleInfo m1, ModuleInfo m2) -> in testSuccessfulParse()
/frameworks/opt/setupwizard/library/
Dself.gradle12 maven { url "$rootDir/prebuilts/tools/common/m2/repository" }
/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub-test.cpp522 Metadata m2 = {}; in TEST_F() local
523 EXPECT_EQ(0, c->Acquire(&fence, &m2, sizeof(m2))); in TEST_F()
524 EXPECT_EQ(m.field1, m2.field1); in TEST_F()
525 EXPECT_EQ(m.field2, m2.field2); in TEST_F()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java740 Matrix m2 = new Matrix(); local
741 m2.setRotate(mRotation);
748 c1.setConcat(m2, m1);
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java774 MonitoredPackage m2 = wd.newMonitoredPackage(APP_B, LONG_DURATION, false); in testPackageHealthCheckStateTransitions() local
792 assertThat(m2.getHealthCheckStateLocked()).isEqualTo(HealthCheckState.INACTIVE); in testPackageHealthCheckStateTransitions()
794 assertThat(m2.setHealthCheckActiveLocked(SHORT_DURATION)).isEqualTo( in testPackageHealthCheckStateTransitions()
797 assertThat(m2.handleElapsedTimeLocked(SHORT_DURATION)).isEqualTo(HealthCheckState.FAILED); in testPackageHealthCheckStateTransitions()
/frameworks/base/services/tests/servicestests/res/raw/
Dbackup_telephony_with_password161 …,]kE/h��X��thD��'��Zӑ6���镰yּj��RNL�?4��Ή'p��� 8���B.���T���+�����e��Z�! ���A�z�W*mˬ�m2�t…
Dbackup_telephony_no_password83 …9_n��en���!i�3͌j�Ӧ_����o>my�L�5�+�J��f6�Dx6#B��H��Hǎ!��f�#����h���m2�6��k�Fvk������l�"�…