/external/eigen/bench/ |
sparse_setter.cpp | 47 EIGEN_DONT_INLINE Scalar* setinnerrand_eigen(const Coordinates& coords, const Values& vals); 48 EIGEN_DONT_INLINE Scalar* setrand_eigen_dynamic(const Coordinates& coords, const Values& vals); 49 EIGEN_DONT_INLINE Scalar* setrand_eigen_compact(const Coordinates& coords, const Values& vals); 50 EIGEN_DONT_INLINE Scalar* setrand_eigen_sumeq(const Coordinates& coords, const Values& vals); 51 EIGEN_DONT_INLINE Scalar* setrand_eigen_gnu_hash(const Coordinates& coords, const Values& vals); 52 EIGEN_DONT_INLINE Scalar* setrand_eigen_google_dense(const Coordinates& coords, const Values& vals); 53 EIGEN_DONT_INLINE Scalar* setrand_eigen_google_sparse(const Coordinates& coords, const Values& vals); 54 EIGEN_DONT_INLINE Scalar* setrand_scipy(const Coordinates& coords, const Values& vals); 55 EIGEN_DONT_INLINE Scalar* setrand_ublas_mapped(const Coordinates& coords, const Values& vals); 56 EIGEN_DONT_INLINE Scalar* setrand_ublas_coord(const Coordinates& coords, const Values& vals) 68 Coordinates coords; local [all...] |
/external/mesa3d/src/mesa/main/ |
drawtex.c | 65 _mesa_DrawTexfvOES(const GLfloat *coords) 68 draw_texture(ctx, coords[0], coords[1], coords[2], coords[3], coords[4]); 82 _mesa_DrawTexivOES(const GLint *coords) 85 draw_texture(ctx, (GLfloat) coords[0], (GLfloat) coords[1], 86 (GLfloat) coords[2], (GLfloat) coords[3], (GLfloat) coords[4]) [all...] |
drawtex.h | 35 _mesa_DrawTexfvOES(const GLfloat *coords); 41 _mesa_DrawTexivOES(const GLint *coords); 47 _mesa_DrawTexsvOES(const GLshort *coords); 53 _mesa_DrawTexxv(const GLfixed *coords);
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
CachedPathIteratorFactory.java | 36 * Coordinates or coords arrays store segment coordinates. They use the same format as 128 private static void quadCurveSegment(float[] coords, float t0, float t1) { 132 float mx = mu * mu * coords[0] + 2 * mu * mt * coords[2] + mt * mt * coords[4]; 133 float my = mu * mu * coords[1] + 2 * mu * mt * coords[3] + mt * mt * coords[5]; 138 // coords at t0 139 coords[0] = coords[0] * u0 * u0 + coords[2] * 2 * t0 * u0 + coords[4] * t0 * t0 [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRenderSwitchTests.cpp | 92 static void evalSwitchStatic (ShaderEvalContext& evalCtx) { evalCtx.color.xyz() = evalCtx.coords.swizzle(1,2,3); } 93 static void evalSwitchUniform (ShaderEvalContext& evalCtx) { evalCtx.color.xyz() = evalCtx.coords.swizzle(1,2,3); } 96 switch (int(deFloatFloor(evalCtx.coords.z()*1.5f + 2.0f))) 98 case 0: evalCtx.color.xyz() = evalCtx.coords.swizzle(0,1,2); break; 99 case 1: evalCtx.color.xyz() = evalCtx.coords.swizzle(3,2,1); break; 100 case 2: evalCtx.color.xyz() = evalCtx.coords.swizzle(1,2,3); break; 101 case 3: evalCtx.color.xyz() = evalCtx.coords.swizzle(2,1,0); break; 102 default: evalCtx.color.xyz() = evalCtx.coords.swizzle(0,0,0); break; 141 op << " highp vec4 coords = " << (isVertex ? "a_coords" : "v_coords") << ";\n"; 148 type == SWITCHTYPE_DYNAMIC ? "int(floor(coords.z*1.5 + 2.0))" : "???" [all...] |
vktShaderRenderReturnTests.cpp | 50 inline void evalReturnAlways (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(0,1,2); } 51 inline void evalReturnNever (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(3,2,1); } 52 inline void evalReturnDynamic (ShaderEvalContext& c) { c.color.xyz() = (c.coords.x()+c.coords.y() >= 0.0f) ? c.coords.swizzle(0,1,2) : c.coords.swizzle(3,2,1); } 142 "layout(location = ${COORDLOC}) in ${COORDPREC} vec4 ${COORDS};\n" 147 " return vec4(${COORDS}.xyz, 1.0);\n" 148 " return vec4(${COORDS}.wzy, 1.0);\n" 156 const char* coords = isVertex ? "a_coords" : "v_coords" local 211 const char* coords = isVertex ? "a_coords" : "v_coords"; local 257 const char* coords = isVertex ? "a_coords" : "v_coords"; local [all...] |
vktShaderRenderIndexingTests.cpp | 97 void evalArrayCoordsFloat (ShaderEvalContext& c) { c.color.x() = 1.875f * c.coords.x(); } 98 void evalArrayCoordsVec2 (ShaderEvalContext& c) { c.color.xy() = 1.875f * c.coords.swizzle(0,1); } 99 void evalArrayCoordsVec3 (ShaderEvalContext& c) { c.color.xyz() = 1.875f * c.coords.swizzle(0,1,2); } 100 void evalArrayCoordsVec4 (ShaderEvalContext& c) { c.color = 1.875f * c.coords; } 295 vtx << " ${PRECISION} ${VAR_TYPE} coords = ${VAR_TYPE}(a_coords);\n"; 298 vtx << " var[i] = ${VAR_TYPE}(coords);\n"; 299 vtx << " coords = coords * 0.5;\n"; 305 vtx << " ${PRECISION} ${VAR_TYPE} coords = ${VAR_TYPE}(a_coords);\n"; 308 vtx << " var[i] = ${VAR_TYPE}(coords);\n" [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderSwitchTests.cpp | 75 static void evalSwitchStatic (ShaderEvalContext& evalCtx) { evalCtx.color.xyz() = evalCtx.coords.swizzle(1,2,3); } 76 static void evalSwitchUniform (ShaderEvalContext& evalCtx) { evalCtx.color.xyz() = evalCtx.coords.swizzle(1,2,3); } 79 switch (int(deFloatFloor(evalCtx.coords.z()*1.5f + 2.0f))) 81 case 0: evalCtx.color.xyz() = evalCtx.coords.swizzle(0,1,2); break; 82 case 1: evalCtx.color.xyz() = evalCtx.coords.swizzle(3,2,1); break; 83 case 2: evalCtx.color.xyz() = evalCtx.coords.swizzle(1,2,3); break; 84 case 3: evalCtx.color.xyz() = evalCtx.coords.swizzle(2,1,0); break; 85 default: evalCtx.color.xyz() = evalCtx.coords.swizzle(0,0,0); break; 124 op << " highp vec4 coords = " << (isVertex ? "a_coords" : "v_coords") << ";\n"; 131 type == SWITCHTYPE_DYNAMIC ? "int(floor(coords.z*1.5 + 2.0))" : "???" [all...] |
es3fShaderStructTests.cpp | 148 spParams["COORDS"] = "a_coords"; 158 spParams["COORDS"] = "v_coords"; 206 << " S s = S(${COORDS}.x, vec3(0.0), ui_one);" 207 << " s.b = ${COORDS}.yzw;" 212 c.color.xyz() = c.coords.swizzle(0,1,2); 233 << " S s = S(${COORDS}.x, T(0, vec2(0.0)), ui_one);" 234 << " s.b = T(ui_zero, ${COORDS}.yz);" 239 c.color.xyz() = c.coords.swizzle(0,1,2); 256 << " s.a = ${COORDS}.w;" 258 << " s.b[0] = ${COORDS}.z; [all...] |
es3fShaderReturnTests.cpp | 58 inline void evalReturnAlways (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(0,1,2); } 59 inline void evalReturnNever (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(3,2,1); } 60 inline void evalReturnDynamic (ShaderEvalContext& c) { c.color.xyz() = (c.coords.x()+c.coords.y() >= 0.0f) ? c.coords.swizzle(0,1,2) : c.coords.swizzle(3,2,1); } 131 "in ${COORDPREC} vec4 ${COORDS};\n" 136 " return vec4(${COORDS}.xyz, 1.0);\n" 137 " return vec4(${COORDS}.wzy, 1.0);\n" 145 const char* coords = isVertex ? "a_coords" : "v_coords" local 201 const char* coords = isVertex ? "a_coords" : "v_coords"; local 247 const char* coords = isVertex ? "a_coords" : "v_coords"; local [all...] |
es3fShaderIndexingTests.cpp | 101 void evalArrayCoordsFloat (ShaderEvalContext& c) { c.color.x() = 1.875f * c.coords.x(); } 102 void evalArrayCoordsVec2 (ShaderEvalContext& c) { c.color.xy() = 1.875f * c.coords.swizzle(0,1); } 103 void evalArrayCoordsVec3 (ShaderEvalContext& c) { c.color.xyz() = 1.875f * c.coords.swizzle(0,1,2); } 104 void evalArrayCoordsVec4 (ShaderEvalContext& c) { c.color = 1.875f * c.coords; } 252 vtx << " ${PRECISION} ${VAR_TYPE} coords = ${VAR_TYPE}(a_coords);\n"; 255 vtx << " var[i] = ${VAR_TYPE}(coords);\n"; 256 vtx << " coords = coords * 0.5;\n"; 262 vtx << " ${PRECISION} ${VAR_TYPE} coords = ${VAR_TYPE}(a_coords);\n"; 265 vtx << " var[i] = ${VAR_TYPE}(coords);\n" [all...] |
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
CoordinateUtils.java | 35 public static int x(@Nonnull final int[] coords) { 36 return coords[INDEX_X]; 39 public static int y(@Nonnull final int[] coords) { 40 return coords[INDEX_Y]; 43 public static void set(@Nonnull final int[] coords, final int x, final int y) { 44 coords[INDEX_X] = x; 45 coords[INDEX_Y] = y; 78 final int[] coords = newInstance(); local 79 set(coords, xFromArray(coordsArray, index), yFromArray(coordsArray, index)); 80 return coords; [all...] |
/frameworks/native/opengl/tools/glgen/specs/jsr239/ |
glspec-1.1ext | 3 void glDrawTexfvOES ( const GLfloat *coords )
5 void glDrawTexivOES ( const GLint *coords )
7 void glDrawTexsvOES ( const GLshort *coords )
9 void glDrawTexxvOES ( const GLfixed *coords )
|
/external/freetype/src/base/ |
ftmm.c | 153 FT_Long* coords ) 161 if ( !coords ) 169 error = service->set_mm_design( face, num_coords, coords ); 188 FT_Fixed* coords ) 197 if ( !coords ) 205 error = service_mm->set_var_design( face, num_coords, coords ); 233 FT_Fixed* coords ) 241 if ( !coords ) 249 error = service->get_var_design( face, num_coords, coords ); 261 FT_Fixed* coords ) [all...] |
/external/deqp/modules/gles2/functional/ |
es2fShaderStructTests.cpp | 177 spParams["COORDS"] = "a_coords"; 184 spParams["COORDS"] = "v_coords"; 232 << " S s = S(${COORDS}.x, vec3(0.0), ui_one);" 233 << " s.b = ${COORDS}.yzw;" 238 c.color.xyz() = c.coords.swizzle(0,1,2); 259 << " S s = S(${COORDS}.x, T(0, vec2(0.0)), ui_one);" 260 << " s.b = T(ui_zero, ${COORDS}.yz);" 265 c.color.xyz() = c.coords.swizzle(0,1,2); 282 << " s.a = ${COORDS}.w;" 284 << " s.b[0] = ${COORDS}.z; [all...] |
es2fShaderReturnTests.cpp | 63 inline void evalReturnAlways (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(0,1,2); } 64 inline void evalReturnNever (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(3,2,1); } 65 inline void evalReturnDynamic (ShaderEvalContext& c) { c.color.xyz() = (c.coords.x()+c.coords.y() >= 0.0f) ? c.coords.swizzle(0,1,2) : c.coords.swizzle(3,2,1); } 157 "${COORDSTORAGE} ${COORDPREC} vec4 ${COORDS};\n" 162 " return vec4(${COORDS}.xyz, 1.0);\n" 163 " return vec4(${COORDS}.wzy, 1.0);\n" 171 const char* coords = isVertex ? "a_coords" : "v_coords" local 226 const char* coords = isVertex ? "a_coords" : "v_coords"; local 271 const char* coords = isVertex ? "a_coords" : "v_coords"; local [all...] |
/external/pdfium/third_party/freetype/src/base/ |
ftmm.c | 124 FT_Long* coords ) 132 if ( !coords ) 140 error = service->set_mm_design( face, num_coords, coords ); 152 FT_Fixed* coords ) 160 if ( !coords ) 168 error = service->set_var_design( face, num_coords, coords ); 180 FT_Fixed* coords ) 188 if ( !coords ) 196 error = service->set_mm_blend( face, num_coords, coords ); 211 FT_Fixed* coords ) [all...] |
/external/freetype/include/freetype/internal/services/ |
svmm.h | 49 FT_Long* coords ); 54 FT_Fixed* coords ); 59 FT_Long* coords ); 64 FT_Fixed* coords ); 69 FT_Long* coords ); 74 FT_Fixed* *coords,
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
GL11Ext.java | 55 float[] coords, 60 java.nio.FloatBuffer coords 72 int[] coords, 77 java.nio.IntBuffer coords 89 short[] coords, 94 java.nio.ShortBuffer coords 106 int[] coords, 111 java.nio.IntBuffer coords
|
/external/mesa3d/src/mapi/glapi/gen/ |
ARB_vertex_type_2_10_10_10_rev.xml | 42 <param name="coords" type="GLuint"/> 47 <param name="coords" type="GLuint"/> 52 <param name="coords" type="GLuint"/> 57 <param name="coords" type="GLuint"/> 62 <param name="coords" type="const GLuint *"/> 67 <param name="coords" type="const GLuint *"/> 72 <param name="coords" type="const GLuint *"/> 77 <param name="coords" type="const GLuint *"/> 83 <param name="coords" type="GLuint"/> 89 <param name="coords" type="GLuint"/ [all...] |
/frameworks/native/libs/input/tests/ |
InputEvent_test.cpp | 37 PointerCoords coords; local 38 coords.clear(); 40 ASSERT_EQ(0ULL, coords.bits); 45 PointerCoords coords; local 46 coords.clear(); 49 ASSERT_EQ(0, coords.getAxisValue(0)) 51 ASSERT_EQ(0, coords.getAxisValue(1)) 55 ASSERT_EQ(OK, coords.setAxisValue(1, 5)); 56 ASSERT_EQ(5, coords.values[0]); 57 ASSERT_EQ(0x4000000000000000ULL, coords.bits) [all...] |
/device/generic/goldfish-opengl/system/egl/ |
ClientAPIExts.in | 188 (const GLshort *coords), 189 (coords)) 192 (const GLint *coords), 193 (coords)) 196 (const GLfloat *coords), 197 (coords)) 200 (const GLfixed *coords), 201 (coords))
|
/external/proguard/docs/ |
screenshots.html | 32 <area shape="rect" coords="2,7,46,16" alt="ProGuard" href="screenshot_gui1.gif" target="other"> 33 <area shape="rect" coords="2,17,46,27" alt="Input/Output" href="screenshot_gui2.gif" target="other"> 34 <area shape="rect" coords="2,28,46,37" alt="Shrinking" href="screenshot_gui3.gif" target="other"> 35 <area shape="rect" coords="2,38,46,48" alt="Optimization" href="screenshot_gui4.gif" target="other"> 36 <area shape="rect" coords="2,49,46,58" alt="Obfuscation" href="screenshot_gui5.gif" target="other"> 37 <area shape="rect" coords="2,59,46,69" alt="Information" href="screenshot_gui6.gif" target="other"> 38 <area shape="rect" coords="2,70,46,79" alt="Process" href="screenshot_gui7.gif" target="other"> 39 <area shape="rect" coords="2,80,46,90" alt="ReTrace" href="screenshot_gui8.gif" target="other">
|
/prebuilts/tools/common/proguard/proguard4.7/docs/ |
screenshots.html | 30 <area shape="rect" coords="2,7,46,16" alt="ProGuard" href="screenshot_gui1.gif" target="other"> 31 <area shape="rect" coords="2,17,46,27" alt="Input/Output" href="screenshot_gui2.gif" target="other"> 32 <area shape="rect" coords="2,28,46,37" alt="Shrinking" href="screenshot_gui3.gif" target="other"> 33 <area shape="rect" coords="2,38,46,48" alt="Optimization" href="screenshot_gui4.gif" target="other"> 34 <area shape="rect" coords="2,49,46,58" alt="Obfuscation" href="screenshot_gui5.gif" target="other"> 35 <area shape="rect" coords="2,59,46,69" alt="Information" href="screenshot_gui6.gif" target="other"> 36 <area shape="rect" coords="2,70,46,79" alt="Process" href="screenshot_gui7.gif" target="other"> 37 <area shape="rect" coords="2,80,46,90" alt="ReTrace" href="screenshot_gui8.gif" target="other">
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/ |
LayoutManager.java | 96 PointF coords = widget.getElementCoordinates(elementHeight,
local 99 //RectF widgetRect = new RectF(coords.x, coords.y, coords.x + elementWidth, coords.y + elementHeight);
131 Widget.getAnchorCoordinates(coords.x, coords.y, elementWidth,
160 protected void drawAnchor(Canvas canvas, PointF coords) {
162 canvas.drawRect(coords.x-anchorSize, coords.y-anchorSize, coords.x+anchorSize, coords.y+anchorSize, anchorPaint); [all...] |