/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Geometry.h | 65 inline void FindTriangleCentroid(double x0, double y0, double x1, double y1, in FindTriangleCentroid() argument 70 centX = (x0 + x1 + x2) / 3.0; in FindTriangleCentroid() 76 if (x0 == x1) in FindTriangleCentroid() 82 mass = fabs((y1 - y0) * (x1 - x0)); // Special case 1b in FindTriangleCentroid() 87 if (x0 == x1) in FindTriangleCentroid() 93 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 2a in FindTriangleCentroid() 96 else if (x1 == x2) in FindTriangleCentroid() 98 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 3 in FindTriangleCentroid() 112 double b2 = y1 - m2 * x1; in FindTriangleCentroid() 118 dx = x1 - x; in FindTriangleCentroid() [all …]
|
D | Blend.cpp | 144 double z, x0, y0, x1, y1, x2, y2, x3, y3; in runBlend() local 170 FrameToMosaic(mb->trs, 0.0, mb->height-1.0, x1, y1); in runBlend() 174 … if(x0 < xLeftCorners[0] || x1 < xLeftCorners[1]) // If either of the left corners is lower in runBlend() 177 xLeftCorners[1] = x1; in runBlend() 200 … FindQuadCentroid(x0, y0, x1, y1, x2, y2, x3, y3, csite->getVCenter().x, csite->getVCenter().y); in runBlend() 981 int x1 = (xx >= 0.0) ? (int) xx : (int) floor(xx); in ProcessPyramidForThisFrame() local 986 if(inSegment(x1, sptr->width, BORDER-1) && in ProcessPyramidForThisFrame() 989 double xfrac = xx - x1; in ProcessPyramidForThisFrame() 992 wt1 * ciCalc(sptr, x1, y1, xfrac, yfrac)); in ProcessPyramidForThisFrame() 996 wt1 * ciCalc(suptr, x1, y1, xfrac, yfrac)); in ProcessPyramidForThisFrame() [all …]
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | DebugBoundsRenderer.java | 48 public static void drawBounds(Canvas canvas, Paint paint, float size, float x1, float y1, in drawBounds() argument 52 canvas.drawLine(x1, y1, x1 + size, y1, paint); in drawBounds() 54 canvas.drawLine(x1, y1, x1, y1 + size, paint); in drawBounds() 70 canvas.drawLine(x1, y2, x1 + size, y2, paint); in drawBounds() 72 canvas.drawLine(x1, y2 - size, x1, y2, paint); in drawBounds() 75 float cX = (x1 + x2) / 2; in drawBounds()
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_image_homography.cpp | 80 double x1[3],double x2[3],double x3[3],double x4[3], in db_StitchProjective2D_4Points() 86 db_SProjImagePointPointConstraints(c ,c+9 ,xp1,x1); in db_StitchProjective2D_4Points() 95 double x1[3],double x2[3],double x3[3], in db_StitchAffine2D_3Points() 101 db_SAffineImagePointPointConstraints(c ,c+7 ,xp1,x1); in db_StitchAffine2D_3Points() 114 inline void db_CommonFocalLengthFromRotation_2Point(double fsol[3],int *nr_sols,double x1[3],double… in db_CommonFocalLengthFromRotation_2Point() 129 m=db_SafeReciprocal(x1[2]); in db_CommonFocalLengthFromRotation_2Point() 130 ax=x1[0]*m; in db_CommonFocalLengthFromRotation_2Point() 131 ay=x1[1]*m; in db_CommonFocalLengthFromRotation_2Point() 177 int db_StitchRotationCommonFocalLength_3Points(double H[9],double x1[3],double x2[3],double x3[3],d… in db_StitchRotationCommonFocalLength_3Points() 186 db_CommonFocalLengthFromRotation_2Point(fsol,&nr_sols,x1,x2,xp1,xp2,signed_disambiguation); in db_StitchRotationCommonFocalLength_3Points() [all …]
|
D | db_image_homography.h | 47 double x1[3],double x2[3],double x3[3],double x4[3], 62 double x1[3],double x2[3],double x3[3], 77 double x1[3],double x2[3], in db_StitchCameraRotation_2Points() 84 x[0]=x1; in db_StitchCameraRotation_2Points() 100 DB_API int db_StitchRotationCommonFocalLength_3Points(double H[9],double x1[3],double x2[3],double …
|
D | db_metrics.h | 121 double x0,x1,x2,mult; in db_SquaredReprojectionErrorHomography() local 125 x1=H[3]*x[0]+H[4]*x[1]+H[5]*x[2]; in db_SquaredReprojectionErrorHomography() 128 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult)); in db_SquaredReprojectionErrorHomography() 135 double x0,x1,x2,mult; in db_SquaredInhomogenousHomographyError() local 139 x1=H[3]*x[0]+H[4]*x[1]+H[5]; in db_SquaredInhomogenousHomographyError() 142 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult)); in db_SquaredInhomogenousHomographyError()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
D | proximity_info_utils.h | 89 static inline float getSquaredDistanceFloat(const float x1, const float y1, const float x2, in getSquaredDistanceFloat() argument 91 return GeometryUtils::SQUARE_FLOAT(x1 - x2) + GeometryUtils::SQUARE_FLOAT(y1 - y2); in getSquaredDistanceFloat() 95 const float x1, const float y1, const float x2, const float y2, const bool extend) { in pointToLineSegSquaredDistanceFloat() argument 96 const float ray1x = x - x1; in pointToLineSegSquaredDistanceFloat() 98 const float ray2x = x2 - x1; in pointToLineSegSquaredDistanceFloat() 106 return getSquaredDistanceFloat(x, y, x1, y1); in pointToLineSegSquaredDistanceFloat() 113 projectionX = x1; in pointToLineSegSquaredDistanceFloat() 119 projectionX = x1 + projectionLengthSqr * ray2x; in pointToLineSegSquaredDistanceFloat()
|
D | geometry_utils.h | 33 static AK_FORCE_INLINE float getAngle(const int x1, const int y1, const int x2, const int y2) { in getAngle() argument 34 const int dx = x1 - x2; in getAngle() 52 static AK_FORCE_INLINE int getDistanceInt(const int x1, const int y1, const int x2, in getDistanceInt() argument 54 return static_cast<int>(hypotf(static_cast<float>(x1 - x2), static_cast<float>(y1 - y2))); in getDistanceInt()
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | PreviewOverlay.java | 175 float x1 = (0.92f * mLens + 0.04f) * previewW; in onDraw() local 178 canvas.drawCircle(x1, y1, 20, mPaint2); in onDraw() 180 canvas.drawCircle(x1, y1, 18, mPaint2); in onDraw() 235 float x1, x2, y1, y2; in onDraw() local 254 x1 = 0; in onDraw() 257 canvas.drawLine(x1, y1, x2, y2, mPaint); in onDraw() 262 x1 = x2 = previewW / 2 + focalLengthW * (float) Math.tan(i); in onDraw() 265 canvas.drawLine(x1, y1, x2, y2, mPaint); in onDraw()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | grad.rs | 57 float x1 = xPos1[i]; 62 float denom = (y2 * y2 - 2 * y1 * y2 + x2 * x2 - 2 * x1 * x2 + y1 * y1 + x1 * x1); 67 grads[k].dx = (x1 - x2) / denom; 68 grads[k].off = (y2 * y2 + x2 * x2 - x1 * x2 - y1 * y2) / denom;
|
D | SplineMath.java | 50 double x1 = cur[0]; in calculatetCurve() local 57 double delta = (x2 - x1); in calculatetCurve() 59 double b = (x - x1) / delta; in calculatetCurve() 91 double x1 = cur[0]; in getValue() local 98 double delta = (x2 - x1); in getValue() 100 double b = (x - x1) / delta; in getValue()
|
D | convolve3x3.rs | 29 uint32_t x1 = min((int32_t)x+1, gWidth-1); 34 float4 p00 = rsUnpackColor8888(gPixels[x1 + gWidth * y1]); 37 float4 p10 = rsUnpackColor8888(gPixels[x1 + gWidth * y]); 40 float4 p20 = rsUnpackColor8888(gPixels[x1 + gWidth * y2]);
|
D | ImageFilterGrad.java | 122 int[] x1 = mParameters.getXPos1(); in runFilter() local 131 for (int i = 0; i < x1.length; i++) { in runFilter() 132 coord[0] = x1[i]; in runFilter() 135 x1[i] = (int) coord[0]; in runFilter() 145 mScript.set_xPos1(x1); in runFilter()
|
/packages/services/Telecomm/libs/ |
D | guava.jar | ... ExecutionException
long x0
java.util.concurrent.TimeUnit x1
synthetic void <init> (com.google. ... |
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
D | biginteger.h | 263 uint64_t x0 = a0 * b0, x1 = a0 * b1, x2 = a1 * b0, x3 = a1 * b1; in MulAdd64() 264 x1 += (x0 >> 32); // can't give carry in MulAdd64() 265 x1 += x2; in MulAdd64() 266 if (x1 < x2) in MulAdd64() 268 uint64_t lo = (x1 << 32) + (x0 & 0xFFFFFFFF); in MulAdd64() 269 uint64_t hi = x3 + (x1 >> 32); in MulAdd64()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | Spline.java | 183 double x1 = cur.x; in getAppliedCurve() local 190 double delta = (x2 - x1); in getAppliedCurve() 192 double b = (x - x1) / delta; in getAppliedCurve() 277 double x1 = points[i].x; in draw() local 282 for (double x = x1; x < x2; x += 20) { in draw() 285 double delta = (x2 - x1); in draw() 287 double b = (x - x1) / delta; in draw()
|
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/ |
D | dbreg.h | 554 double x0,x1,x2,mult; in SquaredInhomogenousHomographyError() local 558 x1=H[3]*x[0]+H[4]*x[1]+H[5]; in SquaredInhomogenousHomographyError() 561 sd=(y[0]-x0*mult)*(y[0]-x0*mult)+(y[1]-x1*mult)*(y[1]-x1*mult); in SquaredInhomogenousHomographyError()
|
/packages/services/Car/car-lib/api/ |
D | system-current.txt | 67 field public static final int PROJECTION_VOICE_SEARCH = 1; // 0x1 80 field public static final int VEHICLE_AREA_TYPE_ZONE = 1; // 0x1 87 field public static final int DOOR_ROW_1_LEFT = 1; // 0x1 97 field public static final int SEAT_DRIVER_LHD = 1; // 0x1 112 field public static final int WINDOW_FRONT_WINDSHIELD = 1; // 0x1 128 field public static final int ZONE_ROW_1_LEFT = 1; // 0x1 184 field public static final int FLAG_BROWSABLE = 1; // 0x1 197 field public static final int WIDGET_CHECKBOX = 1; // 0x1 311 field public static final int FLAG_SYSTEM_APP = 1; // 0x1 344 field public static final int FLAG_SET_POLICY_WAIT_FOR_CHANGE = 1; // 0x1 [all …]
|
D | current.txt | 79 field public static final int FLAG_BROWSABLE = 1; // 0x1 92 field public static final int WIDGET_CHECKBOX = 1; // 0x1 192 field public static final int DRIVE_STATUS_NO_VIDEO = 1; // 0x1 198 field public static final int GEAR_FIRST = 1; // 0x1 209 field public static final int INDEX_ENVIRONMENT_PRESSURE = 1; // 0x1 211 field public static final int INDEX_FUEL_LEVEL_IN_DISTANCE = 1; // 0x1 285 field public static final int SENSOR_RATE_FAST = 1; // 0x1 316 field public static final int CAR_AUDIO_USAGE_MUSIC = 1; // 0x1
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InvariantDeviceProfile.java | 239 @Thunk float dist(float x0, float y0, float x1, float y1) { in dist() argument 240 return (float) Math.hypot(x1 - x0, y1 - y0); in dist() 295 private float weight(float x0, float y0, float x1, float y1, float pow) { in weight() argument 296 float d = dist(x0, y0, x1, y1); in weight()
|
/packages/services/Car/car-support-lib/api/ |
D | current.txt | 21 field public static final int CONNECTION_TYPE_USB = 1; // 0x1 333 field public static final int FLAG_BROWSABLE = 1; // 0x1 346 field public static final int WIDGET_CHECKBOX = 1; // 0x1 416 field public static final int DRIVE_STATUS_NO_VIDEO = 1; // 0x1 422 field public static final int GEAR_FIRST = 1; // 0x1 434 field public static final int INDEX_ACCELEROMETER_Y = 1; // 0x1 437 field public static final int INDEX_COMPASS_PITCH = 1; // 0x1 439 field public static final int INDEX_ENVIRONMENT_PRESSURE = 1; // 0x1 441 field public static final int INDEX_FUEL_LEVEL_IN_DISTANCE = 1; // 0x1 446 field public static final int INDEX_GPS_SATELLITE_ARRAY_INT_INTERVAL = 1; // 0x1 [all …]
|
/packages/apps/Messaging/build/gcheckstyle/ |
D | google-style-checker_deploy.jar | ... , java.lang.String)
String x0
String x1
static void <clinit> ()
}
com/ ... |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | BogusMoveEventDetector.java | 107 private static int getDistance(final int x1, final int y1, final int x2, final int y2) { in getDistance() argument 108 return (int)Math.hypot(x1 - x2, y1 - y2); in getDistance()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | CubicBezierInterpolator.java | 31 public CubicBezierInterpolator(final float x1, final float y1, final float x2, final float y2) { in CubicBezierInterpolator() argument 32 mX1 = x1; in CubicBezierInterpolator()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | GLCanvas.java | 85 public abstract void drawLine(float x1, float y1, float x2, float y2, GLPaint paint); in drawLine() argument 89 public abstract void drawRect(float x1, float y1, float x2, float y2, GLPaint paint); in drawRect() argument
|