/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
CoordinateUtils.java | 32 public static int x(final int[] coords) { 33 return coords[INDEX_X]; 36 public static int y(final int[] coords) { 37 return coords[INDEX_Y]; 40 public static void set(final int[] coords, final int x, final int y) { 41 coords[INDEX_X] = x; 42 coords[INDEX_Y] = y;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
vg_context.h | 194 static INLINE void vg_shift_rectx(VGfloat coords[4], 198 coords[0] += shift; 199 coords[2] -= shift; 201 coords[2] = MIN2(coords[2], bounds[2]); 203 if ((coords[0] + coords[2]) > (bounds[0] + bounds[2])) { 204 coords[2] = (bounds[0] + bounds[2]) - coords[0]; 209 static INLINE void vg_shift_recty(VGfloat coords[4] [all...] |
vgu.c | 44 const VGfloat *coords, 50 vg_float_to_datatype(path_datatype(p), common_data, coords, num_coords); local 59 VGfloat coords[4]; local 70 coords[0] = x0; 71 coords[1] = y0; 72 coords[2] = x1; 73 coords[3] = y1; 75 vgu_append_float_coords(path, cmds, 2, coords, 4); 86 VGfloat *coords; local 104 coords = malloc(sizeof(VGfloat) * count * 2) 138 VGfloat coords[5]; local 232 VGfloat coords[12]; local 267 VGfloat coords[40]; local [all...] |
stroker.c | 71 void (*current_coords)(struct stroke_iterator *it, VGfloat *coords); 77 const VGfloat *coords; member in struct:stroke_iterator 90 static void stroke_itr_coords(struct stroke_iterator *itr, VGfloat *coords) 92 itr->current_coords(itr, coords); 95 static void stroke_fw_itr_coords(struct stroke_iterator *itr, VGfloat *coords) 101 coords[0] = itr->coords[itr->coord_position]; 102 coords[1] = itr->coords[itr->coord_position + 1]; 105 coords[0] = itr->coords[itr->coord_position] 553 VGfloat coords[2] = {x, y}; local 570 VGfloat coords[2] = {x, y}; local 588 VGfloat coords[6] = {px1, py1, px2, py2, x, y}; local 800 VGfloat coords[2] = {x, y}; local 816 VGfloat coords[] = {x, y}; local 831 VGfloat coords[] = {px1, py1, local 906 VGfloat coords[8]; local 1056 VGfloat data[8], coords[8]; local 1169 VGfloat coords[8]; local [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
vg_context.h | 194 static INLINE void vg_shift_rectx(VGfloat coords[4], 198 coords[0] += shift; 199 coords[2] -= shift; 201 coords[2] = MIN2(coords[2], bounds[2]); 203 if ((coords[0] + coords[2]) > (bounds[0] + bounds[2])) { 204 coords[2] = (bounds[0] + bounds[2]) - coords[0]; 209 static INLINE void vg_shift_recty(VGfloat coords[4] [all...] |
vgu.c | 44 const VGfloat *coords, 50 vg_float_to_datatype(path_datatype(p), common_data, coords, num_coords); local 59 VGfloat coords[4]; local 70 coords[0] = x0; 71 coords[1] = y0; 72 coords[2] = x1; 73 coords[3] = y1; 75 vgu_append_float_coords(path, cmds, 2, coords, 4); 86 VGfloat *coords; local 104 coords = malloc(sizeof(VGfloat) * count * 2) 138 VGfloat coords[5]; local 232 VGfloat coords[12]; local 267 VGfloat coords[40]; local [all...] |
stroker.c | 71 void (*current_coords)(struct stroke_iterator *it, VGfloat *coords); 77 const VGfloat *coords; member in struct:stroke_iterator 90 static void stroke_itr_coords(struct stroke_iterator *itr, VGfloat *coords) 92 itr->current_coords(itr, coords); 95 static void stroke_fw_itr_coords(struct stroke_iterator *itr, VGfloat *coords) 101 coords[0] = itr->coords[itr->coord_position]; 102 coords[1] = itr->coords[itr->coord_position + 1]; 105 coords[0] = itr->coords[itr->coord_position] 553 VGfloat coords[2] = {x, y}; local 570 VGfloat coords[2] = {x, y}; local 588 VGfloat coords[6] = {px1, py1, px2, py2, x, y}; local 800 VGfloat coords[2] = {x, y}; local 816 VGfloat coords[] = {x, y}; local 831 VGfloat coords[] = {px1, py1, local 906 VGfloat coords[8]; local 1056 VGfloat data[8], coords[8]; local 1169 VGfloat coords[8]; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
drawtex.c | 69 _mesa_DrawTexfv(const GLfloat *coords) 72 draw_texture(ctx, coords[0], coords[1], coords[2], coords[3], coords[4]); 86 _mesa_DrawTexiv(const GLint *coords) 89 draw_texture(ctx, (GLfloat) coords[0], (GLfloat) coords[1], 90 (GLfloat) coords[2], (GLfloat) coords[3], (GLfloat) coords[4]) [all...] |
drawtex.h | 38 _mesa_DrawTexfv(const GLfloat *coords); 44 _mesa_DrawTexiv(const GLint *coords); 50 _mesa_DrawTexsv(const GLshort *coords); 56 _mesa_DrawTexxv(const GLfixed *coords);
|
/external/mesa3d/src/mesa/main/ |
drawtex.c | 69 _mesa_DrawTexfv(const GLfloat *coords) 72 draw_texture(ctx, coords[0], coords[1], coords[2], coords[3], coords[4]); 86 _mesa_DrawTexiv(const GLint *coords) 89 draw_texture(ctx, (GLfloat) coords[0], (GLfloat) coords[1], 90 (GLfloat) coords[2], (GLfloat) coords[3], (GLfloat) coords[4]) [all...] |
drawtex.h | 38 _mesa_DrawTexfv(const GLfloat *coords); 44 _mesa_DrawTexiv(const GLint *coords); 50 _mesa_DrawTexsv(const GLshort *coords); 56 _mesa_DrawTexxv(const GLfixed *coords);
|
/external/chromium_org/third_party/WebKit/Source/modules/geolocation/ |
Geoposition.idl | 29 readonly attribute Coordinates coords;
|
/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/chromium_org/chrome/test/chromedriver/js/ |
get_element_region.js | 17 var coords = element.coords.split(','); 19 if (coords.length != 4) 21 var leftX = Number(coords[0]); 22 var topY = Number(coords[1]); 23 var rightX = Number(coords[2]); 24 var bottomY = Number(coords[3]); 32 if (coords.length != 3) 34 var centerX = Number(coords[0]); 35 var centerY = Number(coords[1]) [all...] |
/external/chromium_org/third_party/skia/src/gpu/gl/ |
GrGLVertexEffect.h | 32 const TransformedCoordsArray& coords, 43 const TransformedCoordsArray& coords,
|
/external/skia/src/gpu/gl/ |
GrGLVertexEffect.h | 32 const TransformedCoordsArray& coords, 43 const TransformedCoordsArray& 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
|
/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(0x00000002ULL, coords.bits); 57 ASSERT_EQ(5, coords.values[0]) [all...] |
/external/chromium_org/third_party/freetype/include/freetype/ |
ftmm.h | 165 /* coords :: The design coordinates for this style. */ 172 FT_Fixed* coords; member in struct:FT_Var_Named_Style_ 290 /* coords :: An array of design coordinates. */ 298 FT_Long* coords ); 317 /* coords :: An array of design coordinates. */ 325 FT_Fixed* coords ); 344 /* coords :: The design coordinates array (each element must be */ 353 FT_Fixed* coords ); 367 FT_Fixed* coords );
|
/external/freetype/include/freetype/ |
ftmm.h | 165 /* coords :: The design coordinates for this style. */ 172 FT_Fixed* coords; member in struct:FT_Var_Named_Style_ 290 /* coords :: An array of design coordinates. */ 298 FT_Long* coords ); 317 /* coords :: An array of design coordinates. */ 325 FT_Fixed* coords ); 344 /* coords :: The design coordinates array (each element must be */ 353 FT_Fixed* coords ); 367 FT_Fixed* coords );
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLAreaElement.idl | 23 [Reflect] attribute DOMString coords;
|
/external/chromium_org/third_party/freetype/src/base/ |
ftmm.c | 114 FT_Long* coords ) 125 error = service->set_mm_design( face, num_coords, coords ); 137 FT_Fixed* coords ) 148 error = service->set_var_design( face, num_coords, coords ); 160 FT_Fixed* coords ) 171 error = service->set_mm_blend( face, num_coords, coords ); 186 FT_Fixed* coords ) 197 error = service->set_mm_blend( face, num_coords, coords );
|
/external/freetype/src/base/ |
ftmm.c | 114 FT_Long* coords ) 125 error = service->set_mm_design( face, num_coords, coords ); 137 FT_Fixed* coords ) 148 error = service->set_var_design( face, num_coords, coords ); 160 FT_Fixed* coords ) 171 error = service->set_mm_blend( face, num_coords, coords ); 186 FT_Fixed* coords ) 197 error = service->set_mm_blend( face, num_coords, coords );
|
/cts/suite/cts/deviceTests/opengl/assets/fragment/ |
blur | 33 vec2 coords = v_TexCoordinate.xy + ((float(i) - 5.0) * u_Scale); 34 color += texture2D(u_Texture, coords) * weights[i];
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
InsertionHandleController.java | 296 final int[] coords = new int[2]; local 297 mParent.getLocationInWindow(coords); 298 coords[0] += mPositionX; 299 coords[1] += mPositionY; 302 if (coords[1] < 0) { 311 coords[1] += height; 312 coords[1] += lineHeight; 319 coords[0] += handleHalfWidth + width / 2; 321 coords[0] -= handleHalfWidth + width / 2; 325 coords[0] = Math.max(0, coords[0]) [all...] |