Searched refs:vec2 (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/tests/RenderScriptTests/SceneGraph/res/raw/
H A Dshader2v.glsl8 varying vec2 varTex0;
/frameworks/native/services/surfaceflinger/
H A DTransform.h25 #include <ui/vec2.h>
80 vec2 transform(int x, int y) const;
100 vec2 transform(const vec2& v) const;
H A DTransform.cpp176 vec2 Transform::transform(const vec2& v) const {
177 vec2 r;
193 vec2 Transform::transform(int x, int y) const
195 return transform(vec2(x,y));
206 vec2 lt( bounds.left, bounds.top );
207 vec2 rt( bounds.right, bounds.top );
208 vec2 lb( bounds.left, bounds.bottom );
209 vec2 rb( bounds.right, bounds.bottom );
H A DLayer.cpp677 Mesh::VertexArray<vec2> texCoords(mMesh.getTexCoordArray<vec2>());
678 texCoords[0] = vec2(left, 1.0f - top);
679 texCoords[1] = vec2(left, 1.0f - bottom);
680 texCoords[2] = vec2(right, 1.0f - bottom);
681 texCoords[3] = vec2(right, 1.0f - top);
747 Mesh::VertexArray<vec2> position(mesh.getPositionArray<vec2>());
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DGLES20RenderEngine.cpp298 Mesh::VertexArray<vec2> position(mesh.getPositionArray<vec2>());
299 Mesh::VertexArray<vec2> texCoord(mesh.getTexCoordArray<vec2>());
300 position[0] = vec2(0, 0);
301 position[1] = vec2(group.width, 0);
302 position[2] = vec2(group.width, group.height);
303 position[3] = vec2(0, group.height);
304 texCoord[0] = vec2(0, 0);
305 texCoord[1] = vec2(
[all...]
H A DRenderEngine.cpp203 Mesh::VertexArray<vec2> position(mesh.getPositionArray<vec2>());
/frameworks/native/include/ui/
H A Dvec2.h86 typedef tvec2<float> vec2; typedef in namespace:android
H A Dvec3.h23 #include <ui/vec2.h>
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvlc_encode.cpp2544 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 Dvec_test.cpp38 EXPECT_EQ(sizeof(vec2), sizeof(float)*2);

Completed in 258 milliseconds