Searched refs:vec2 (Results 1 - 9 of 9) sorted by relevance
/frameworks/native/services/surfaceflinger/ |
H A D | Transform.h | 25 #include <ui/vec2.h> 79 vec2 transform(int x, int y) const; 85 vec2 transform(const vec2& v) const;
|
H A D | Transform.cpp | 172 vec2 Transform::transform(const vec2& v) const { 173 vec2 r; 189 vec2 Transform::transform(int x, int y) const 191 return transform(vec2(x,y)); 202 vec2 lt( bounds.left, bounds.top ); 203 vec2 rt( bounds.right, bounds.top ); 204 vec2 lb( bounds.left, bounds.bottom ); 205 vec2 rb( bounds.right, bounds.bottom ); 332 vec2 [all...] |
H A D | Layer.cpp | 1050 Mesh::VertexArray<vec2> texCoords(mMesh.getTexCoordArray<vec2>()); 1051 texCoords[0] = vec2(left, 1.0f - top); 1052 texCoords[1] = vec2(left, 1.0f - bottom); 1053 texCoords[2] = vec2(right, 1.0f - bottom); 1054 texCoords[3] = vec2(right, 1.0f - top); 1217 static void boundPoint(vec2* point, const Rect& crop) { 1245 vec2 lt = vec2(win.left, win.top); 1246 vec2 l [all...] |
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | Quaternion.java | 55 double[] vec2 = normal(v2);
56 double[] axis = normal(cross(vec1, vec2));
57 double angle = Math.acos(dot(vec1, vec2));
63 double[] vec2 = normal(v2);
64 return Math.acos(Math.min(dot(vec1, vec2), 1));
69 double[] vec2 = normal(v2);
70 return normal(cross(vec1, vec2));
|
/frameworks/native/include/ui/ |
H A D | vec2.h | 86 typedef tvec2<float> vec2; typedef in namespace:android
|
H A D | vec3.h | 23 #include <ui/vec2.h>
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | RenderEngine.cpp | 203 Mesh::VertexArray<vec2> position(mesh.getPositionArray<vec2>());
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | vlc_encode.cpp | 2544 Int vec1, vec2, vec3; local 2571 vec2 = 3 ; 2583 vec2 = 3 ; 2595 vec2 = 4 ; 2607 vec2 = 1 ; 2619 vec2 = 1 ; 2693 p2x = motdata[yin2*nMBPerRow+xin2][vec2].x; 2694 p2y = motdata[yin2*nMBPerRow+xin2][vec2].y; 2695 //p2x = motxdata[xin2*2+(vec2&0x1) + (yin2*2+(vec2>> [all...] |
/frameworks/native/libs/ui/tests/ |
H A D | vec_test.cpp | 39 EXPECT_EQ(sizeof(vec2), sizeof(float)*2);
|
Completed in 136 milliseconds