HomeSort by relevance Sort by last modified time
    Searched refs:p1x (Results 1 - 23 of 23) sorted by null

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
RoundedLine.java 34 * @param p1x the x-coordinate of the start point.
43 public Path makePath(final float p1x, final float p1y, final float r1,
46 final double dx = p2x - p1x;
68 final float p1ax = p1x + r1 * cosa;
71 final float p1bx = p1x + r1 * cosb;
86 mArc1.set(p1x, p1y, p1x, p1y);
92 mPath.moveTo(p1x, p1y);
99 mPath.lineTo(p1x, p1y);
GestureTrailDrawingPoints.java 192 int p1x = getXCoordValue(xCoords[startIndex]); local
205 final Path path = roundedLine.makePath(p1x, p1y, body1, p2x, p2y, body2);
221 p1x = p2x;
  /external/libgdx/gdx/src/com/badlogic/gdx/math/
EarClippingTriangulator.java 159 float p1x = vertices[p1], p1y = vertices[p1 + 1]; local
175 if (computeSpannedAreaSign(p3x, p3y, p1x, p1y, vx, vy) >= 0) {
176 if (computeSpannedAreaSign(p1x, p1y, p2x, p2y, vx, vy) >= 0) {
208 float area = 0, p1x, p1y, p2x, p2y; local
210 p1x = vertices[i];
214 area += p1x * p2y - p2x * p1y;
216 p1x = vertices[offset + count - 2];
220 return area + p1x * p2y - p2x * p1y < 0;
223 static private int computeSpannedAreaSign (float p1x, float p1y, float p2x, float p2y, float p3x, float p3y) {
224 float area = p1x * (p3y - p2y);
    [all...]
GeometryUtils.java 213 float area = 0, p1x, p1y, p2x, p2y; local
215 p1x = polygon[i];
219 area += p1x * p2y - p2x * p1y;
221 p1x = polygon[count - 2];
225 return area + p1x * p2y - p2x * p1y < 0;
ConvexHull.java 156 float p1x = hull.get(size - 4); local
160 return (p2x - p1x) * (p3y - p1y) - (p2y - p1y) * (p3x - p1x);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
GradControl.java 209 void paintLines(Canvas canvas, float p1x, float p1y, float p2x, float p2y) {
220 paintOvallines(canvas, mPaint, p1x, p1y, p2x, p2y);
225 paintOvallines(canvas, mPaint, p1x, p1y, p2x, p2y);
229 Canvas canvas, Paint paint, float p1x, float p1y, float p2x, float p2y) {
233 canvas.drawLine(p1x, p1y, p2x, p2y, paint);
235 float cx = (p1x + p2x) / 2;
237 float dx = p1x - p2x;
243 canvas.drawLine(p1x + dy, p1y - dx, p1x - dy, p1y + dx, paint);
247 public void fillHandles(Canvas canvas, float p1x, float p1y, float p2x, float p2y)
    [all...]
  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/broadphase/
DynamicTree.java 200 float p1x = p1.x, p2x = p2.x, p1y = p1.y, p2y = p2.y; local
207 r.x = p2x - p1x;
232 tempx = (p2x - p1x) * maxFraction + p1x;
234 segAABB.lowerBound.x = p1x < tempx ? p1x : tempx;
236 segAABB.upperBound.x = p1x > tempx ? p1x : tempx;
261 tempx = p1x - cx;
269 subInput.p1.x = p1x;
    [all...]
DynamicTreeFlatNodes.java 207 float p1x = p1.x, p2x = p2.x, p1y = p1.y, p2y = p2.y; local
214 r.x = p2x - p1x;
239 tempx = (p2x - p1x) * maxFraction + p1x;
241 segAABB.lowerBound.x = p1x < tempx ? p1x : tempx;
243 segAABB.upperBound.x = p1x > tempx ? p1x : tempx;
268 tempx = p1x - cx;
277 subInput.p1.x = p1x;
    [all...]
  /frameworks/base/libs/hwui/
PathTessellator.h 138 float p1x, float p1y,
PathTessellator.cpp     [all...]
  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/shapes/
EdgeShape.java 143 final float p1x = xfq.c * tempx + xfq.s * tempy; local
151 final float dx = p2x - p1x;
165 tempx = v1.x - p1x;
180 final float qx = p1x + t * dx;
PolygonShape.java 442 final float p1x = xfqc * tempx + xfqs * tempy; local
450 final float dx = p2x - p1x;
463 float tempxn = vertex.x - p1x;
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
PolygonRegionTest.java 203 final float p1x = fx1; local
223 x1 = cos * p1x - sin * p1y;
224 y1 = sin * p1x + cos * p1y;
235 x1 = p1x;
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
SpriteBatch.java 257 final float p1x = fx; local
280 x1 = cos * p1x - sin * p1y;
281 y1 = sin * p1x + cos * p1y;
292 x1 = p1x;
669 final float p1x = fx; local
692 x1 = cos * p1x - sin * p1y;
693 y1 = sin * p1x + cos * p1y;
704 x1 = p1x;
789 final float p1x = fx; local
812 x1 = cos * p1x - sin * p1y;
    [all...]
CpuSpriteBatch.java 312 final float p1x = fx; local
335 x1 = cos * p1x - sin * p1y;
336 y1 = sin * p1x + cos * p1y;
347 x1 = p1x;
434 final float p1x = fx; local
457 x1 = cos * p1x - sin * p1y;
458 y1 = sin * p1x + cos * p1y;
469 x1 = p1x;
SpriteCache.java 517 final float p1x = fx; local
540 x1 = cos * p1x - sin * p1y;
541 y1 = sin * p1x + cos * p1y;
552 x1 = p1x;
722 final float p1x = fx; local
745 x1 = cos * p1x - sin * p1y;
746 y1 = sin * p1x + cos * p1y;
757 x1 = p1x;
PolygonSpriteBatch.java 402 final float p1x = fx; local
425 x1 = cos * p1x - sin * p1y;
426 y1 = sin * p1x + cos * p1y;
437 x1 = p1x;
880 final float p1x = fx; local
903 x1 = cos * p1x - sin * p1y;
904 y1 = sin * p1x + cos * p1y;
915 x1 = p1x;
1011 final float p1x = fx; local
    [all...]
  /development/perftests/panorama/feature_stab/src/dbreg/
dbstabsmooth.cpp 111 VP_PAR p1x, p2x, p3x, p4x; local
154 VP_WARP_POINT_2D(0, 0, testMotion, p1x, p1y);
159 if (!is_point_in_rect((double)p1x,(double)p1y,-border_x,-border_y,(double)(hsize+2.0*border_x),(double)(vsize+2.0*border_y))) {
  /packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
dbstabsmooth.cpp 111 VP_PAR p1x, p2x, p3x, p4x; local
154 VP_WARP_POINT_2D(0, 0, testMotion, p1x, p1y);
159 if (!is_point_in_rect((double)p1x,(double)p1y,-border_x,-border_y,(double)(hsize+2.0*border_x),(double)(vsize+2.0*border_y))) {
  /frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
vlc_decode.cpp 371 int p1x = 0, p2x = 0, p3x = 0; local
380 p1x = motxdata[indx];
388 p1x = motxdata[indx];
426 *mvx = (MOT)PV_MEDIAN(p1x, p2x, p3x);
432 *mvx = (MOT)(p1x + p2x + p3x);
    [all...]
  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
vlc_encode.cpp 2540 Int p1x, p2x, p3x; local
    [all...]
  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/particle/
ParticleSystem.java 670 final float p1x = p1.x;
672 final float p2x = p1x + step.dt * v.x;
674 final float bx = p1x < p2x ? p1x : p2x;
678 final float b1x = p1x > p2x ? p1x : p2x;
    [all...]
  /external/skia/src/core/
SkPath.cpp 2556 double p1x = SkScalarToDouble(p1.fX); local
    [all...]

Completed in 1670 milliseconds