Searched refs:vec2 (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/core/res/res/raw/ |
D | color_fade_vert.vert | 4 attribute vec2 position; 5 attribute vec2 uv; 6 varying vec2 UV;
|
D | color_fade_frag.frag | 8 varying vec2 UV;
|
/frameworks/native/services/surfaceflinger/ |
D | Transform.cpp | 172 vec2 Transform::transform(const vec2& v) const { in transform() 173 vec2 r; in transform() 189 vec2 Transform::transform(int x, int y) const in transform() 191 return transform(vec2(x,y)); in transform() 202 vec2 lt( bounds.left, bounds.top ); in transform() 203 vec2 rt( bounds.right, bounds.top ); in transform() 204 vec2 lb( bounds.left, bounds.bottom ); in transform() 205 vec2 rb( bounds.right, bounds.bottom ); in transform() 325 vec2 T(-x, -y); in inverse()
|
D | Transform.h | 79 vec2 transform(int x, int y) const; 84 vec2 transform(const vec2& v) const;
|
D | Layer.cpp | 1026 Mesh::VertexArray<vec2> texCoords(mMesh.getTexCoordArray<vec2>()); 1027 texCoords[0] = vec2(left, 1.0f - top); 1028 texCoords[1] = vec2(left, 1.0f - bottom); 1029 texCoords[2] = vec2(right, 1.0f - bottom); 1030 texCoords[3] = vec2(right, 1.0f - top); 1151 static void boundPoint(vec2* point, const Rect& crop) { 1179 vec2 lt = vec2(win.left, win.top); 1180 vec2 lb = vec2(win.left, win.bottom); 1181 vec2 rb = vec2(win.right, win.bottom); 1182 vec2 rt = vec2(win.right, win.top); [all …]
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Quaternion.java | 55 double[] vec2 = normal(v2); in set() local 56 double[] axis = normal(cross(vec1, vec2)); in set() 57 double angle = Math.acos(dot(vec1, vec2)); in set() 63 double[] vec2 = normal(v2); in calcAngle() local 64 return Math.acos(Math.min(dot(vec1, vec2), 1)); in calcAngle() 69 double[] vec2 = normal(v2); in calcAxis() local 70 return normal(cross(vec1, vec2)); in calcAxis()
|
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
D | ball_physics.rs | 60 float2 vec2 = vec * vec; 61 float len2 = vec2.x + vec2.y; 79 float2 vec2 = vec * vec; 80 float len2 = max(2.f, vec2.x + vec2.y);
|
/frameworks/native/include/ui/ |
D | vec2.h | 86 typedef tvec2<float> vec2; typedef
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | RenderEngine.cpp | 203 Mesh::VertexArray<vec2> position(mesh.getPositionArray<vec2>()); in fillRegionWithColor()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | vlc_encode.cpp | 2544 Int vec1, vec2, vec3; in find_pmvs() local 2571 vec2 = 3 ; in find_pmvs() 2583 vec2 = 3 ; in find_pmvs() 2595 vec2 = 4 ; in find_pmvs() 2607 vec2 = 1 ; in find_pmvs() 2619 vec2 = 1 ; in find_pmvs() 2693 p2x = motdata[yin2*nMBPerRow+xin2][vec2].x; in find_pmvs() 2694 p2y = motdata[yin2*nMBPerRow+xin2][vec2].y; in find_pmvs()
|
/frameworks/native/libs/ui/tests/ |
D | vec_test.cpp | 39 EXPECT_EQ(sizeof(vec2), sizeof(float)*2); in TEST_F()
|