/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
CropFilter.java | 62 "varying vec2 v_texcoord;\n" + 64 " const vec2 lo = vec2(0.0, 0.0);\n" + 65 " const vec2 hi = vec2(1.0, 1.0);\n" +
|
LomoishFilter.java | 49 "uniform vec2 seed;\n" + 53 "uniform vec2 scale;\n" + 55 "varying vec2 v_texcoord;\n" + 56 "float rand(vec2 loc) {\n" + 57 " float theta1 = dot(loc, vec2(0.9898, 0.233));\n" + 58 " float theta2 = dot(loc, vec2(12.0, 78.0));\n" + 70 " vec2 coord;\n" + 117 " coord = v_texcoord - vec2(0.5, 0.5);\n" +
|
FisheyeFilter.java | 61 "uniform vec2 scale;\n" + 65 "varying vec2 v_texcoord;\n" + 68 " vec2 coord = v_texcoord - vec2(0.5, 0.5);\n" + 72 " vec2 new_coord = coord * scalar + vec2(0.5, 0.5);\n" +
|
BlackWhiteFilter.java | 53 "uniform vec2 seed;\n" + 57 "varying vec2 v_texcoord;\n" + 58 "float rand(vec2 loc) {\n" + 63 " float theta1 = dot(loc, vec2(0.9898, 0.233));\n" + 64 " float theta2 = dot(loc, vec2(12.0, 78.0));\n" +
|
/frameworks/native/services/surfaceflinger/ |
Transform.h | 98 struct vec2 { struct in class:android::Transform 100 inline vec2() { } function in struct:android::Transform::vec2 101 inline vec2(float a, float b) { function in struct:android::Transform::vec2 116 vec2 transform(const vec2& v) const;
|
/packages/wallpapers/Basic/src/com/android/wallpaper/fall/ |
FallRS.java | 321 "varying vec2 varTex0;\n" + 323 "vec2 addDrop(vec4 d, vec2 pos, float dxMul) {\n" + 324 " vec2 ret = vec2(0.0, 0.0);\n" + 325 " vec2 delta = d.xy - pos;\n" + 338 " vec2 pos = ATTRIB_position.xy;\n" + 342 " varTex0 = vec2((pos.x + 1.0), (pos.y + 1.6666));\n" + 345 " varTex0.xy *= vec2(0.25, 0.33);\n" + 349 " varTex0.xy *= vec2(0.5, 0.3125);\n" [all...] |
/frameworks/base/libs/hwui/ |
ProgramCache.cpp | 46 "attribute vec2 texCoords;\n"; 62 "uniform mediump vec2 textureDimension;\n"; 64 "varying vec2 outTexCoords;\n"; 70 "varying highp vec2 outBitmapTexCoords;\n"; 72 "varying highp vec2 outPointBitmapTexCoords;\n"; 75 "varying highp vec2 linear;\n" 76 "varying vec2 ditherTexCoords;\n", 78 "varying vec2 ditherTexCoords;\n", 81 "varying highp vec2 circular;\n" 82 "varying vec2 ditherTexCoords;\n" [all...] |
PathTessellator.cpp | 87 inline vec2 totalOffsetFromNormals(const vec2& normalA, const vec2& normalB) { 127 inline void scaleOffsetForStrokeWidth(vec2& offset) const { 141 inline vec2 deriveAAOffset(const vec2& offset) const { 142 return vec2(offset.x * 0.5f * inverseScaleX, 195 vec2 lastNormal(current->position[1] - last->position[1], 200 vec2 nextNormal(next->position[1] - current->position[1], 204 vec2 totalOffset = totalOffsetFromNormals(lastNormal, nextNormal) [all...] |
/external/eigen/test/ |
eigensolver_complex.cpp | 19 void verify_is_approx_upto_permutation(const VectorType& vec1, const VectorType& vec2) 24 VERIFY(vec2.cols() == 1); 25 VERIFY(vec1.rows() == vec2.rows()); 28 VERIFY_IS_APPROX(vec1.array().pow(RealScalar(k)).sum(), vec2.array().pow(RealScalar(k)).sum());
|
/frameworks/base/tests/RenderScriptTests/MiscSamples/res/raw/ |
shader2movev.glsl | 3 varying vec2 varTex0;
|
shaderv.glsl | 5 varying vec2 varTex0;
|
/frameworks/base/tests/RenderScriptTests/PerfTest/res/raw/ |
shader2movev.glsl | 3 varying vec2 varTex0;
|
shaderv.glsl | 5 varying vec2 varTex0;
|
/external/clang/test/Sema/ |
ext_vector_casts.c | 10 float2 vec2; local 32 vec4 = (float4)vec2; // expected-error {{invalid conversion between ext-vector type 'float4' and 'float2'}}
|
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
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);
|
/external/eigen/test/eigen2/ |
eigen2_sparse_solvers.cpp | 47 DenseVector vec2 = vec1, vec3 = vec1; local 53 VERIFY_IS_APPROX(refMat2.template marked<LowerTriangular>().solveTriangular(vec2), 58 VERIFY_IS_APPROX(refMat2.template marked<LowerTriangular>().transpose().solveTriangular(vec2), 63 VERIFY_IS_APPROX(refMat2.template marked<UpperTriangular>().solveTriangular(vec2), 68 VERIFY_IS_APPROX(refMat2.template marked<UpperTriangular>().transpose().solveTriangular(vec2),
|
/development/samples/HelloEffects/src/com/example/android/mediafx/ |
TextureRenderer.java | 43 "attribute vec2 a_texcoord;\n" + 44 "varying vec2 v_texcoord;\n" + 53 "varying vec2 v_texcoord;\n" +
|
/external/jmonkeyengine/engine/src/core/com/jme3/shader/ |
UniformBinding.java | 113 * Type: vec2
119 * Type: vec2
125 * Type: vec2
|
/packages/apps/Camera/jni/feature_mos/src/mosaic_renderer/ |
WarpRenderer.cpp | 165 "attribute vec2 a_texCoord; \n" 166 "varying vec2 v_texCoord; \n" 180 "varying vec2 v_texCoord; \n"
|
YVURenderer.cpp | 128 "attribute vec2 a_texCoord;\n" 129 "varying vec2 v_texCoord;\n" 146 "varying vec2 v_texCoord;\n"
|
/packages/apps/Gallery2/jni_mosaic/feature_mos/src/mosaic_renderer/ |
WarpRenderer.cpp | 165 "attribute vec2 a_texCoord; \n" 166 "varying vec2 v_texCoord; \n" 180 "varying vec2 v_texCoord; \n"
|
YVURenderer.cpp | 128 "attribute vec2 a_texCoord;\n" 129 "varying vec2 v_texCoord;\n" 146 "varying vec2 v_texCoord;\n"
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/ |
WarpRenderer.cpp | 165 "attribute vec2 a_texCoord; \n" 166 "varying vec2 v_texCoord; \n" 180 "varying vec2 v_texCoord; \n"
|
YVURenderer.cpp | 128 "attribute vec2 a_texCoord;\n" 129 "varying vec2 v_texCoord;\n" 146 "varying vec2 v_texCoord;\n"
|
/external/clang/test/CodeGen/ |
ext-vector.c | 20 float2 vec2, vec2_2; variable 31 vec2 = vec4.xy; // shorten 32 f = vec2.x; // extract elt 35 vec2.x = f; // insert one. 36 vec2.yx = vec2; // reverse
|