Searched refs:coords (Results 1 - 25 of 143) sorted by relevance

123456

/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dvg_context.h194 static INLINE void vg_shift_rectx(VGfloat coords[4], argument
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[ argument
223 vg_bound_rect(VGfloat coords[4], const VGfloat bounds[4], VGfloat shift[4]) argument
[all...]
H A Dvgu.c44 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
41 vgu_append_float_coords(VGPath path, const VGubyte *cmds, VGint num_cmds, const VGfloat *coords, VGint num_coords) argument
138 VGfloat coords[5]; local
232 VGfloat coords[12]; local
267 VGfloat coords[40]; local
[all...]
H A Dstroker.c71 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) argument
92 itr->current_coords(itr, coords);
95 static void stroke_fw_itr_coords(struct stroke_iterator *itr, VGfloat *coords) argument
101 coords[0] = itr->coords[itr->coord_position];
102 coords[1] = itr->coords[itr->coord_position + 1];
105 coords[
122 stroke_bw_itr_coords(struct stroke_iterator *itr, VGfloat *coords) argument
196 stroke_itr_common_init(struct stroke_iterator *itr, struct array *cmds, struct array *coords) argument
207 stroke_forward_iterator(struct stroke_iterator *itr, struct array *cmds, struct array *coords) argument
221 stroke_backward_iterator(struct stroke_iterator *itr, struct array *cmds, struct array *coords) argument
305 stroke_flat_itr_coords(struct stroke_iterator *itr, VGfloat *coords) argument
331 stroke_flat_iterator(struct stroke_iterator *itr, struct array *cmds, struct array *coords) argument
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
750 stroker_add_segment(struct stroker *stroker, VGPathCommand cmd, const VGfloat *coords, VGint num_coords) argument
800 VGfloat coords[2] = {x, y}; local
816 VGfloat coords[] = {x, y}; local
831 VGfloat coords[] = {px1, py1, local
844 is_segment_null(VGPathCommand cmd, VGfloat *coords, VGfloat *res) argument
906 VGfloat coords[8]; local
1056 VGfloat data[8], coords[8]; local
1169 VGfloat coords[8]; local
[all...]
H A Dpaint.h63 const VGfloat *coords);
65 VGfloat *coords);
67 const VGint *coords);
69 VGint *coords);
75 VGfloat *coords);
79 VGint *coords);
H A Dpath.c173 void *coords = (VGfloat *)pdata; local
179 data_at(&coords, p, 0, 1, data);
262 VGubyte *coords = (VGubyte*)p->control_points->data; local
264 coords + old_segments * p->control_points->datatype_size,
309 void *coords = (VGfloat *)p->control_points->data; local
315 data_at(&coords, p, 0, 1, data);
367 void *coords = (VGfloat *)p->control_points->data; local
411 data_at(&coords, p, 0, 2, data);
425 data_at(&coords, p, 0, 2, data);
437 data_at(&coords,
679 void *coords = (VGfloat *)path->control_points->data; local
810 struct array *coords; member in struct:transform_data
951 void *coords; member in struct:path_iter_data
1236 void *coords = (VGfloat *)p->control_points->data; local
1714 VGfloat coords[8]; local
1798 VGfloat coords[8]; local
1884 path_point_segment(struct path_iter_data iter, struct path_iter_data prev_iter, VGfloat coords[8], VGfloat distance, VGfloat length, VGfloat *current_length, VGfloat *point, VGfloat *normal) argument
1972 VGfloat coords[8]; local
[all...]
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dvg_context.h194 static INLINE void vg_shift_rectx(VGfloat coords[4], argument
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[ argument
223 vg_bound_rect(VGfloat coords[4], const VGfloat bounds[4], VGfloat shift[4]) argument
[all...]
H A Dvgu.c44 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
41 vgu_append_float_coords(VGPath path, const VGubyte *cmds, VGint num_cmds, const VGfloat *coords, VGint num_coords) argument
138 VGfloat coords[5]; local
232 VGfloat coords[12]; local
267 VGfloat coords[40]; local
[all...]
H A Dstroker.c71 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) argument
92 itr->current_coords(itr, coords);
95 static void stroke_fw_itr_coords(struct stroke_iterator *itr, VGfloat *coords) argument
101 coords[0] = itr->coords[itr->coord_position];
102 coords[1] = itr->coords[itr->coord_position + 1];
105 coords[
122 stroke_bw_itr_coords(struct stroke_iterator *itr, VGfloat *coords) argument
196 stroke_itr_common_init(struct stroke_iterator *itr, struct array *cmds, struct array *coords) argument
207 stroke_forward_iterator(struct stroke_iterator *itr, struct array *cmds, struct array *coords) argument
221 stroke_backward_iterator(struct stroke_iterator *itr, struct array *cmds, struct array *coords) argument
305 stroke_flat_itr_coords(struct stroke_iterator *itr, VGfloat *coords) argument
331 stroke_flat_iterator(struct stroke_iterator *itr, struct array *cmds, struct array *coords) argument
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
750 stroker_add_segment(struct stroker *stroker, VGPathCommand cmd, const VGfloat *coords, VGint num_coords) argument
800 VGfloat coords[2] = {x, y}; local
816 VGfloat coords[] = {x, y}; local
831 VGfloat coords[] = {px1, py1, local
844 is_segment_null(VGPathCommand cmd, VGfloat *coords, VGfloat *res) argument
906 VGfloat coords[8]; local
1056 VGfloat data[8], coords[8]; local
1169 VGfloat coords[8]; local
[all...]
H A Dpaint.h63 const VGfloat *coords);
65 VGfloat *coords);
67 const VGint *coords);
69 VGint *coords);
75 VGfloat *coords);
79 VGint *coords);
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Ddrawtex.c69 _mesa_DrawTexfv(const GLfloat *coords) argument
72 draw_texture(ctx, coords[0], coords[1], coords[2], coords[3], coords[4]);
86 _mesa_DrawTexiv(const GLint *coords) argument
89 draw_texture(ctx, (GLfloat) coords[0], (GLfloat) coords[1],
90 (GLfloat) coords[
104 _mesa_DrawTexsv(const GLshort *coords) argument
126 _mesa_DrawTexxv(const GLfixed *coords) argument
[all...]
H A Ddrawtex.h38 _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/
H A Ddrawtex.c69 _mesa_DrawTexfv(const GLfloat *coords) argument
72 draw_texture(ctx, coords[0], coords[1], coords[2], coords[3], coords[4]);
86 _mesa_DrawTexiv(const GLint *coords) argument
89 draw_texture(ctx, (GLfloat) coords[0], (GLfloat) coords[1],
90 (GLfloat) coords[
104 _mesa_DrawTexsv(const GLshort *coords) argument
126 _mesa_DrawTexxv(const GLfixed *coords) argument
[all...]
H A Ddrawtex.h38 _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/chrome/test/chromedriver/js/
H A Dget_element_region.js17 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[
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/geolocation/
H A DGeoposition.idl29 readonly attribute Coordinates coords;
/external/eigen/bench/
H A Dsparse_setter.cpp47 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, cons
68 Coordinates coords; local
194 setinnerrand_eigen(const Coordinates& coords, const Values& vals) argument
208 setrand_eigen_dynamic(const Coordinates& coords, const Values& vals) argument
222 setrand_eigen_sumeq(const Coordinates& coords, const Values& vals) argument
241 setrand_eigen_compact(const Coordinates& coords, const Values& vals) argument
255 setrand_eigen_gnu_hash(const Coordinates& coords, const Values& vals) argument
271 setrand_eigen_google_dense(const Coordinates& coords, const Values& vals) argument
284 setrand_eigen_google_sparse(const Coordinates& coords, const Values& vals) argument
405 setrand_scipy(const Coordinates& coords, const Values& vals) argument
425 setrand_ublas_mapped(const Coordinates& coords, const Values& vals) argument
464 setrand_ublas_genvec(const Coordinates& coords, const Values& vals) argument
[all...]
/external/chromium_org/third_party/freetype/include/freetype/
H A Dftmm.h165 /* 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/
H A Dftmm.h165 /* 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/content/public/android/java/src/org/chromium/content/browser/input/
H A DHandleView.java156 final int[] coords = mTempCoords;
157 mParent.getLocationInWindow(coords);
158 mContainerPositionX = coords[0] + mPositionX;
159 mContainerPositionY = coords[1] + mPositionY;
206 final int[] coords = mTempCoords;
207 mParent.getLocationInWindow(coords);
208 final int posX = coords[0] + mPositionX + (int) mHotspotX;
209 final int posY = coords[1] + mPositionY + (int) mHotspotY;
220 int[] coords = null;
222 coords
[all...]
H A DInsertionHandleController.java281 final int[] coords = new int[2];
282 mParent.getLocationInWindow(coords);
283 coords[0] += mPositionX;
284 coords[1] += mPositionY;
287 if (coords[1] < 0) {
296 coords[1] += height;
297 coords[1] += lineHeight;
304 coords[0] += handleHalfWidth + width / 2;
306 coords[0] -= handleHalfWidth + width / 2;
310 coords[
[all...]
/external/chromium_org/third_party/freetype/src/base/
H A Dftmm.c112 FT_Long* coords )
123 error = service->set_mm_design( face, num_coords, coords );
135 FT_Fixed* coords )
146 error = service->set_var_design( face, num_coords, coords );
158 FT_Fixed* coords )
169 error = service->set_mm_blend( face, num_coords, coords );
184 FT_Fixed* coords )
195 error = service->set_mm_blend( face, num_coords, coords );
/external/freetype/src/base/
H A Dftmm.c114 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/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
H A DMidpointDisplacementHeightMap.java159 * Will fill the value at (coords[0]+stepSize/2, coords[1]+stepSize/2) with
160 * the average from the corners of the square with topleft corner at (coords[0],coords[1])
163 * @param coords an int array of lenght 2 with the x coord in position 0
169 protected int[] doSquareStep(float[][] tempBuffer, int[] coords, int stepSize, float offsetRange, Random random) { argument
171 int x = coords[0];
172 int y = coords[1];
178 float offset = getOffset(random, offsetRange, coords, cornerAverage);
195 * @param coords
201 doDiamondStep(float[][] tempBuffer, int[] coords, int stepSize, float offsetRange, Random random) argument
246 getOffset(Random random, float offsetRange, int[] coords, float average) argument
[all...]
/external/chromium_org/third_party/freetype/include/freetype/internal/services/
H A Dsvmm.h49 FT_Long* coords );
54 FT_Fixed* coords );
59 FT_Long* coords );
/external/freetype/include/freetype/internal/services/
H A Dsvmm.h49 FT_Long* coords );
54 FT_Fixed* coords );
59 FT_Long* coords );

Completed in 513 milliseconds

123456