/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
GeometryMathUtils.java | 132 float y2 = line[3]; local 134 float ydelt = y2 - y1; 140 (x1 + u * (x2 - x1)), (y1 + u * (y2 - y1))
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Blend.cpp | 144 double z, x0, y0, x1, y1, x2, y2, x3, y3; local 171 FrameToMosaic(mb->trs, mb->width-1.0, mb->height-1.0, x2, y2); 192 if(y1 > yBottomCorners[0] || y2 > yBottomCorners[1]) // If either of the bottom corners is higher 195 yBottomCorners[1] = y2; 200 FindQuadCentroid(x0, y0, x1, y1, x2, y2, x3, y3, csite->getVCenter().x, csite->getVCenter().y); 1005 int y2 = y1 + 1; local [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
proximity_info_state_utils.cpp | 308 const int y2 = (*sampledInputYs)[index1]; local 309 return GeometryUtils::getAngle(x1, y1, x2, y2); 530 const int y2 = yCoordinates[start]; local 533 const int beelineDistance = GeometryUtils::getDistanceInt(x2, y2, x3, y3); [all...] |
/prebuilts/misc/windows/sdl2/test/ |
testautomation_rect.c | 21 int x1, int y1, int x2, int y2, 34 SDLTest_AssertCheck(x1 == x1Ref && y1 == y1Ref && x2 == x2Ref && y2 == y2Ref, 36 x1, y1, x2, y2, 54 int x2, y2; local 65 y2 = 15; 67 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2); 68 _validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, 0, 15, 31, 15); 73 y2 = yBottom; 75 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2); 76 _validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, 15, 0, 15, 31) 125 int x2, y2; local 192 int x2, y2; local 247 int x2, y2, x2Ref, y2Ref; local 283 int y2 = 2 * rect.h; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageUtils.java | 241 int x1, y1, x2, y2; local 246 y2 = initialCrop.y + initialCrop.h; 251 y2 = image.getHeight(); 255 if (x1 == x2 || y1 == y2) { 269 topEdge: for (; y1 < y2; y1++) { 284 for (int y = y1; y < y2; y++) { 293 for (int y = y1; y < y2; y++) { 301 bottomEdge: for (; y2 > y1; y2--) { 303 if (!filter.crop(image, x, y2 - 1)) [all...] |
PreviewIconFactory.java | 332 int y2 = parentY + info.getBottom(); local 333 if (x1 != x2 && y1 != y2) { 334 savePreview(file, image, x1, y1, x2, y2);
|
/system/core/libmincrypt/ |
p256_ec.c | 1248 felem x1, y1, z1, x2, y2, z2, px, py; local [all...] |
/system/core/libpixelflinger/ |
trap.cpp | 519 int32_t y2 = v2[1]; local 522 int32_t dy20 = y2 - y0; 534 dy20 = y2 - y0; 537 int32_t dy12 = y1 - y2; 541 const int32_t bminy = TRI_FLOOR(min(y0, y1, y2)) >> TRI_FRACTION_BITS; 543 const int32_t bmaxy = TRI_CEIL( max(y0, y1, y2)) >> TRI_FRACTION_BITS; 556 int32_t ey2 = dy20 * (x2 - mx) - dx20 * (y2 - my); 679 int y2 = bot[1] | 1; local 680 int dy = y2 - y1; 682 if ( dy == 0 || y1 > ymax || y2 < ymin 868 int y2 = bot[1]; local [all...] |
/external/ImageMagick/Magick++/lib/ |
Drawable.cpp | 2095 double y2 = p->y(); local 2131 double y2 = p->y(); local [all...] |
/external/ImageMagick/Magick++/lib/Magick++/ |
Drawable.h | 2310 void y2( ::ssize_t y2_ ) function in class:Magick::DrawableViewbox 2314 ::ssize_t y2( void ) const function in class:Magick::DrawableViewbox 2553 void y2( double y2_ ) function in class:Magick::PathCurvetoArgs 2557 double y2( void ) const function in class:Magick::PathCurvetoArgs [all...] |
/external/ImageMagick/MagickCore/ |
image.h | 113 y2; member in struct:_SegmentInfo
|
widget.c | 240 y2; 254 y2=bevel_info->y; 259 points[1].y=y2; 261 points[2].y=y2; 263 points[3].y=y2-bevel_width; 265 points[4].y=y2-bevel_width; 279 points[2].y=y2; 281 points[3].y=y2-bevel_width; 662 y2, 680 y2=triangle_info->y+(triangle_info->height >> 1) 232 y2; local 649 y2, local 775 y2, local 885 y2, local [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/table/ |
PropertyTable.java | 1229 int y2 = y + m_rowHeight * (index2 - index) + m_rowHeight \/ 2; local [all...] |
/external/icu/icu4c/source/test/intltest/ |
caltest.cpp | 1574 int32_t y2 = cal.get(UCAL_YEAR, status); local [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Intersector.java | 352 * @param y2 355 public static float intersectLinePlane (float x, float y, float z, float x2, float y2, float z2, Plane plane, 357 Vector3 direction = tmp.set(x2, y2, z2).sub(x, y, z); 732 float x1 = p1.x, y1 = p1.y, x2 = p2.x, y2 = p2.y, x3 = p3.x, y3 = p3.y, x4 = p4.x, y4 = p4.y; local 734 float d = (y4 - y3) * (x2 - x1) - (x4 - x3) * (y2 - y1); 739 intersection.set(x1 + (x2 - x1) * ua, y1 + (y2 - y1) * ua); 747 public static boolean intersectLines (float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, 749 float d = (y4 - y3) * (x2 - x1) - (x4 - x3) * (y2 - y1); 754 intersection.set(x1 + (x2 - x1) * ua, y1 + (y2 - y1) * ua); 766 float x1 = p1.x, y1 = p1.y, x2 = p2.x, y2 = p2.y local 807 float x1 = p1.x, y1 = p1.y, x2 = p2.x, y2 = p2.y; local 839 float x1 = p1.x, y1 = p1.y, x2 = p2.x, y2 = p2.y, x3 = p3.x, y3 = p3.y, x4 = p4.x, y4 = p4.y; local 962 float y2 = verts1[(i + 3) % count1]; local 1028 float y2 = verts2[(i + 3) % count2]; local [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
pickinter.c | 74 int y2 = signal[offsetx * stride + offsety + sgny]; local 77 return VPXMAX(VPXMAX(abs(y1 - y2), abs(y1 - y3)), abs(y1 - y4)); [all...] |
/external/opencv/cvaux/src/ |
cvtrifocal.cpp | 961 double x1,y1,x2,y2; local 965 y2 = cvmGet(points[currImage],1,i); 969 dy = y1-y2; 1242 double x1,y1,x2,y2; local 1469 double x1,y1,w1,x2,y2,w2; local [all...] |
/external/opencv/cxcore/src/ |
cxdrawing.cpp | 89 int x1, y1, x2, y2; local 99 x1 = pt1->x; y1 = pt1->y; x2 = pt2->x; y2 = pt2->y; 101 c2 = (x2 < 0) + (x2 > right) * 2 + (y2 < 0) * 4 + (y2 > bottom) * 8; 110 x1 += (int) (((int64) (a - y1)) * (x2 - x1) / (y2 - y1)); 117 x2 += (int) (((int64) (a - y2)) * (x2 - x1) / (y2 - y1)); 118 y2 = a; 126 y1 += (int) (((int64) (a - x1)) * (y2 - y1) / (x2 - x1)); 133 y2 += (int) (((int64) (a - x2)) * (y2 - y1) / (x2 - x1)) [all...] |
/external/opencv/otherlibs/highgui/ |
grfmt_jpeg.cpp | 1144 int x2, y2, x, y, xc; local [all...] |
/external/opencv3/modules/calib3d/test/ |
test_fundam.cpp | 1034 double y2 = p2.at<Point2d>(i).y; local 1036 double n2 = 1./sqrt(x2*x2 + y2*y2 + 1); 1038 f0[3]*y2*x1 + f0[4]*y2*y1 + f0[5]*y2 + 1041 f[3]*y2*x1 + f[4]*y2*y1 + f[5]*y2 + 1070 double sampson_error(const double* f, double x1, double y1, double x2, double y2); 1370 double y2 = p2.at<Point2d>(i).y; local [all...] |
/external/opencv3/modules/features2d/src/kaze/ |
AKAZEFeatures.cpp | 863 int x2 = 0, y2 = 0, kx = 0, ky = 0, i = 0, j = 0, dcount = 0; local 917 y2 = (int)(sample_y + .5); 925 res3 = *(evolution[level].Lx.ptr<float>(y2)+x1); 926 res4 = *(evolution[level].Lx.ptr<float>(y2)+x2); 931 res3 = *(evolution[level].Ly.ptr<float>(y2)+x1); 932 res4 = *(evolution[level].Ly.ptr<float>(y2)+x2); 986 int x1 = 0, y1 = 0, x2 = 0, y2 = 0, sample_step = 0, pattern_size = 0; local [all...] |
/external/opencv3/modules/imgproc/src/ |
drawing.cpp | 82 int64 x1, y1, x2, y2; local 89 x1 = pt1.x; y1 = pt1.y; x2 = pt2.x; y2 = pt2.y; 91 c2 = (x2 < 0) + (x2 > right) * 2 + (y2 < 0) * 4 + (y2 > bottom) * 8; 99 x1 += (a - y1) * (x2 - x1) / (y2 - y1); 106 x2 += (a - y2) * (x2 - x1) / (y2 - y1); 107 y2 = a; 115 y1 += (a - x1) * (y2 - y1) / (x2 - x1); 122 y2 += (a - x2) * (y2 - y1) / (x2 - x1) [all...] |
generalized_hough.cpp | 258 int y2 = yCell + 1; local 264 y2 = std::min(gridHeight - 1, y2); 266 for (int yy = y1; yy <= y2; ++yy)
|
lsd.cpp | 81 const double x2, const double y2) 83 return (x2 - x1)*(x2 - x1) + (y2 - y1)*(y2 - y1); 87 const double x2, const double y2) 89 return sqrt(distSq(x1, y1, x2, y2)); 195 * Where Vec4i/Vec4f is (x1, y1, x2, y2), point 1 is the start, point 2 - end. 275 double x1, y1, x2, y2; // first and second point of the line segment member in struct:cv::LineSegmentDetectorImpl::rect 290 * Where Vec4f is (x1, y1, x2, y2), point 1 is the start, point 2 - end. 510 rec.x2 += 0.5; rec.y2 += 0.5; 516 rec.x2 /= SCALE; rec.y2 /= SCALE [all...] |
/external/opencv3/modules/videoio/src/ |
cap_v4l.cpp | 1650 int r, g, b, cr, cg, cb, y1, y2; local 1696 int r, g, b, cr, cg, cb, y1, y2; local [all...] |