/frameworks/native/libs/math/tests/ |
D | vec_test.cpp | 33 vec3& v3(v4.xyz); in TEST_F() 36 EXPECT_EQ(sizeof(vec3), sizeof(float)*3); in TEST_F() 72 vec4 v5(vec3(v2.xy, 42), 24); in TEST_F() 106 v0.xyz = vec3(1, 2, 3); in TEST_F() 238 vec3 east(1, 0, 0); in TEST_F() 239 vec3 north(0, 1, 0); in TEST_F() 240 vec3 up(cross(east, north)); in TEST_F() 241 EXPECT_EQ(up, vec3(0, 0, 1)); in TEST_F() 246 vec3 v0(1, 2, 3); in TEST_F() 247 vec3 vn(normalize(v0)); in TEST_F() [all …]
|
D | mat_test.cpp | 202 mat3 m2(vec3(2)); in TEST_F() 213 mat3 m2(vec3(2)); in TEST_F() 236 EXPECT_EQ(mat3(vec3(-1, 0, 0), in TEST_F() 237 vec3(0, -1, 0), in TEST_F() 238 vec3(0, 0, -1)), m0); in TEST_F() 249 mat3 m1(vec3(1, 2, 3), vec3(4, 5, 6), vec3(7, 8, 9)); in TEST_F() 250 mat3 m2(vec3(1, 4, 7), vec3(2, 5, 8), vec3(3, 6, 9)); in TEST_F() 253 EXPECT_EQ(vec3(1, 5, 9), diag(m1)); in TEST_F() 257 mat3 m3(vec3(4, 3, 0), vec3(3, 2, 0), vec3(0, 0, 1)); in TEST_F()
|
/frameworks/native/libs/ui/include/ui/ |
D | Transform.h | 67 const vec3& operator [] (size_t i) const; // returns column i 90 vec3 transform(const vec3& v) const; 103 vec3 v[3]; 104 inline const vec3& operator [] (size_t i) const { return v[i]; } 105 inline vec3& operator [] (size_t i) { return v[i]; }
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Transform.h | 67 const vec3& operator [] (size_t i) const; // returns column i 90 vec3 transform(const vec3& v) const; 103 vec3 v[3]; 104 inline const vec3& operator [] (size_t i) const { return v[i]; } 105 inline vec3& operator [] (size_t i) { return v[i]; }
|
/frameworks/native/services/surfaceflinger/Effects/ |
D | Daltonizer.cpp | 79 const vec3& lms_r(rgb2lms[0].rgb); in update() 81 const vec3& lms_b(rgb2lms[2].rgb); in update() 83 const vec3 lms_w((rgb2lms * vec4(1)).rgb); in update() 88 const vec3 p0 = cross(lms_w, lms_b); // protanopia/deuteranopia in update() 89 const vec3 p1 = cross(lms_w, lms_r); // tritanopia in update()
|
/frameworks/base/packages/SystemUI/res/raw/ |
D | image_wallpaper_fragment_shader.glsl | 20 vec3 luminosity(vec3 color) { 22 return vec3(lum); 25 vec4 transform(vec3 diffuse) { 27 vec3 lum = luminosity(diffuse); 55 vec3 remaps = smoothstep(lower, 1., diffuse);
|
/frameworks/base/core/res/res/raw/ |
D | color_fade_frag.frag | 12 vec3 rgb = pow(color.rgb * opacity, vec3(gamma));
|
/frameworks/native/libs/ui/ |
D | Transform.cpp | 87 const vec3& Transform::operator [] (size_t i) const { in operator []() 110 vec3& v(mMatrix[i]); in reset() 189 vec3 Transform::transform(const vec3& v) const { in transform() 190 vec3 r; in transform()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | BufferGeneratorShader.h | 347 static const android::vec3 SPHERICAL_HARMONICS[4] =
|
D | BufferGenerator.cpp | 260 void bindVec3(GLint location, const vec3* v, uint32_t count) const { in bindVec3()
|
D | Transaction_test.cpp | 1884 const ubyte3 expected((vec3(color) * alpha + vec3(1.0f, 0.0f, 0.0f) * (1.0f - alpha)) * 255.0f); in TEST_P() 1910 const ubyte3 expected((vec3(color) * alpha + vec3(1.0f, 0.0f, 0.0f) * (1.0f - alpha)) * 255.0f); in TEST_P() 3080 .setColorTransform(colorLayer, matrix, vec3()).apply(); in TEST_P() 3134 .setColorTransform(parentLayer, matrix, vec3()) in TEST_P() 3194 .setColorTransform(parentLayer, matrixParent, vec3()) in TEST_P() 3195 .setColorTransform(colorLayer, matrixChild, vec3()) in TEST_P()
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
D | types.h | 29 using vec3 = vec3f; variable
|
D | numeric.h | 160 inline mat4 TranslationMatrix(const vec3& translation) { in TranslationMatrix()
|
/frameworks/native/libs/math/include/math/ |
D | vec3.h | 118 typedef details::TVec3<float> vec3; typedef
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | vlc_encode.cpp | 2544 Int vec1, vec2, vec3; in find_pmvs() local 2574 vec3 = 3 ; in find_pmvs() 2586 vec3 = 3 ; in find_pmvs() 2598 vec3 = 3 ; in find_pmvs() 2610 vec3 = 2 ; in find_pmvs() 2622 vec3 = 2 ; in find_pmvs() 2705 p3x = motdata[yin3*nMBPerRow+xin3][vec3].x; in find_pmvs() 2706 p3y = motdata[yin3*nMBPerRow+xin3][vec3].y; in find_pmvs()
|
/frameworks/native/libs/renderengine/gl/ |
D | GLESRenderEngine.cpp | 1093 m = mat4::rotate(rot90InRadians, vec3(0, 0, 1)) * m; in setViewportAndProjection() 1096 m = mat4::rotate(rot90InRadians * 2.0f, vec3(0, 0, 1)) * m; in setViewportAndProjection() 1099 m = mat4::rotate(rot90InRadians * 3.0f, vec3(0, 0, 1)) * m; in setViewportAndProjection()
|
/frameworks/native/libs/gui/include/gui/ |
D | SurfaceComposerClient.h | 446 const vec3& translation);
|
/frameworks/native/libs/gui/ |
D | SurfaceComposerClient.cpp | 1139 const sp<SurfaceControl>& sc, const mat3& matrix, const vec3& translation) { in setColorTransform()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 6042 rotMatrix = mat4::rotate(rot90InRadians, vec3(0, 0, 1)); in renderScreenImplLocked() 6046 rotMatrix = mat4::rotate(rot90InRadians * 2.0f, vec3(0, 0, 1)); in renderScreenImplLocked() 6051 rotMatrix = mat4::rotate(rot90InRadians * 3.0f, vec3(0, 0, 1)); in renderScreenImplLocked()
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 516 vec3 translation(floatTranslation[0], floatTranslation[1], floatTranslation[2]); in nativeSetColorTransform()
|