/development/perftests/panorama/feature_stab/src/dbreg/ |
dbstabsmooth.cpp | 111 VP_PAR p1x, p2x, p3x, p4x; local 155 VP_WARP_POINT_2D(hsize - 1, 0, testMotion, p2x, p2y); 162 if (!is_point_in_rect((double)p2x, (double)p2y,-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 155 VP_WARP_POINT_2D(hsize - 1, 0, testMotion, p2x, p2y); 162 if (!is_point_in_rect((double)p2x, (double)p2y,-border_x,-border_y,(double)(hsize+2.0*border_x),(double)(vsize+2.0*border_y))) {
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/shapes/ |
EdgeShape.java | 148 final float p2x = xfq.c * tempx + xfq.s * tempy; local 151 final float dx = p2x - p1x;
|
PolygonShape.java | 447 final float p2x = xfqc * tempx + xfqs * tempy; local 450 final float dx = p2x - p1x;
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
ConvexHull.java | 158 float p2x = hull.get(size - 2);
local 160 return (p2x - p1x) * (p3y - p1y) - (p2y - p1y) * (p3x - p1x);
|
EarClippingTriangulator.java | 160 float p2x = vertices[p2], p2y = vertices[p2 + 1];
local 176 if (computeSpannedAreaSign(p1x, p1y, p2x, p2y, vx, vy) >= 0) {
177 if (computeSpannedAreaSign(p2x, p2y, p3x, p3y, vx, vy) >= 0) return false;
208 float area = 0, p1x, p1y, p2x, p2y;
local 212 p2x = vertices[i + 2];
214 area += p1x * p2y - p2x * p1y;
218 p2x = vertices[offset];
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) {
225 area += p2x * (p1y - p3y); [all...] |
GeometryUtils.java | 213 float area = 0, p1x, p1y, p2x, p2y;
local 217 p2x = polygon[i + 2];
219 area += p1x * p2y - p2x * p1y;
223 p2x = polygon[0];
225 return area + p1x * p2y - p2x * p1y < 0;
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
CpuSpriteBatch.java | 314 final float p2x = fx; local 338 x2 = cos * p2x - sin * p2y; 339 y2 = sin * p2x + cos * p2y; 350 x2 = p2x; 436 final float p2x = fx; local 460 x2 = cos * p2x - sin * p2y; 461 y2 = sin * p2x + cos * p2y; 472 x2 = p2x;
|
PolygonSpriteBatch.java | 404 final float p2x = fx;
local 428 x2 = cos * p2x - sin * p2y;
429 y2 = sin * p2x + cos * p2y;
440 x2 = p2x;
882 final float p2x = fx;
local 906 x2 = cos * p2x - sin * p2y;
907 y2 = sin * p2x + cos * p2y;
918 x2 = p2x;
1013 final float p2x = fx; local [all...] |
SpriteBatch.java | 259 final float p2x = fx;
local 283 x2 = cos * p2x - sin * p2y;
284 y2 = sin * p2x + cos * p2y;
295 x2 = p2x;
671 final float p2x = fx;
local 695 x2 = cos * p2x - sin * p2y;
696 y2 = sin * p2x + cos * p2y;
707 x2 = p2x;
791 final float p2x = fx;
local 815 x2 = cos * p2x - sin * p2y; [all...] |
SpriteCache.java | 519 final float p2x = fx;
local 543 x2 = cos * p2x - sin * p2y;
544 y2 = sin * p2x + cos * p2y;
555 x2 = p2x;
724 final float p2x = fx;
local 748 x2 = cos * p2x - sin * p2y;
749 y2 = sin * p2x + cos * p2y;
760 x2 = p2x;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
vlc_decode.cpp | 371 int p1x = 0, p2x = 0, p3x = 0; local 398 p2x = motxdata[indx]; 410 p2x = motxdata[indx]; 426 *mvx = (MOT)PV_MEDIAN(p1x, p2x, p3x); 432 *mvx = (MOT)(p1x + p2x + p3x); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
GestureTrailDrawingPoints.java | 198 final int p2x = getXCoordValue(xCoords[i]); local 205 final Path path = roundedLine.makePath(p1x, p1y, body1, p2x, p2y, body2); 221 p1x = p2x;
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
PolygonRegionTest.java | 205 final float p2x = fx1;
local 226 x2 = cos * p2x - sin * p2y;
227 y2 = sin * p2x + cos * p2y;
238 x2 = p2x;
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/broadphase/ |
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; 279 subInput.p2.x = p2x; 296 tempx = (p2x - p1x) * maxFraction + p1x;
|
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; 271 subInput.p2.x = p2x; 288 tempx = (p2x - p1x) * maxFraction + p1x;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
vlc_encode.cpp | 2540 Int p1x, p2x, p3x; local [all...] |
/external/skia/src/core/ |
SkPath.cpp | 2559 double p2x = SkScalarToDouble(p2.fX); local [all...] |