/packages/apps/Camera2/src/com/android/camera/util/ |
D | DebugBoundsRenderer.java | 49 float x2, float y2) { in drawBounds() argument 58 canvas.drawLine(x2 - size, y1, x2, y1, paint); in drawBounds() 60 canvas.drawLine(x2, y1, x2, y1 + size, paint); in drawBounds() 64 canvas.drawLine(x2 - size, y2, x2, y2, paint); in drawBounds() 66 canvas.drawLine(x2, y2- size, x2, y2, paint); in drawBounds() 75 float cX = (x1 + x2) / 2; in drawBounds()
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Geometry.h | 66 double x2, double y2, in FindTriangleCentroid() argument 70 centX = (x0 + x1 + x2) / 3.0; in FindTriangleCentroid() 78 mass = fabs((y1 - y0) * (x2 - x0)); // Special case 1a in FindTriangleCentroid() 85 else if (x0 == x2) in FindTriangleCentroid() 89 mass = fabs((x2 - x0) * (y2 - y0)); // Special case 2a in FindTriangleCentroid() 96 else if (x1 == x2) in FindTriangleCentroid() 103 double dx = x2 - x0; in FindTriangleCentroid() 124 mass = fabs( (y1 - y0) * (x2 - x0) ); in FindTriangleCentroid() 129 inline void FindQuadCentroid(double x0, double y0, double x1, double y1, double x2, double y2, doub… in FindQuadCentroid() argument 143 FindTriangleCentroid(x0, y0, x1, y1, x2, y2, mass1, cent1x, cent1y); in FindQuadCentroid() [all …]
|
D | Blend.cpp | 144 double z, x0, y0, x1, y1, x2, y2, x3, y3; in runBlend() local 171 FrameToMosaic(mb->trs, mb->width-1.0, mb->height-1.0, x2, y2); in runBlend() 180 … if(x3 > xRightCorners[0] || x2 > xRightCorners[1]) // If either of the right corners is higher in runBlend() 183 xRightCorners[1] = x2; in runBlend() 200 … FindQuadCentroid(x0, y0, x1, y1, x2, y2, x3, y3, csite->getVCenter().x, csite->getVCenter().y); in runBlend() 1004 int x2 = x1 + 1; in ProcessPyramidForThisFrame() local 1009 (sptr->ptr[y1][x2] - sptr->ptr[y1][x1]) * xfrac; in ProcessPyramidForThisFrame() 1011 (sptr->ptr[y2][x2] - sptr->ptr[y2][x1]) * xfrac; in ProcessPyramidForThisFrame() 1017 (suptr->ptr[y1][x2] - suptr->ptr[y1][x1]) * xfrac; in ProcessPyramidForThisFrame() 1019 (suptr->ptr[y2][x2] - suptr->ptr[y2][x1]) * xfrac; in ProcessPyramidForThisFrame() [all …]
|
/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() 87 db_SProjImagePointPointConstraints(c+18,c+27,xp2,x2); in db_StitchProjective2D_4Points() 95 double x1[3],double x2[3],double x3[3], in db_StitchAffine2D_3Points() 102 db_SAffineImagePointPointConstraints(c+14,c+21,xp2,x2); in db_StitchAffine2D_3Points() 114 …lLengthFromRotation_2Point(double fsol[3],int *nr_sols,double x1[3],double x2[3],double xp1[3],dou… in db_CommonFocalLengthFromRotation_2Point() 135 m=db_SafeReciprocal(x2[2]); in db_CommonFocalLengthFromRotation_2Point() 136 bx=x2[0]*m; in db_CommonFocalLengthFromRotation_2Point() 137 by=x2[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_metrics.h | 41 double x2,y2,r,r2,r2s,one_over_r2,fu,r_fu,one_over_r_fu; in db_CauchyDerivative() local 73 x2=db_sqr(f[0]); in db_CauchyDerivative() 75 r2=x2+y2; in db_CauchyDerivative() 121 double x0,x1,x2,mult; in db_SquaredReprojectionErrorHomography() local 126 x2=H[6]*x[0]+H[7]*x[1]+H[8]*x[2]; in db_SquaredReprojectionErrorHomography() 127 mult=1.0/((x2!=0.0)?x2:1.0); in db_SquaredReprojectionErrorHomography() 135 double x0,x1,x2,mult; in db_SquaredInhomogenousHomographyError() local 140 x2=H[6]*x[0]+H[7]*x[1]+H[8]; in db_SquaredInhomogenousHomographyError() 141 mult=1.0/((x2!=0.0)?x2:1.0); in db_SquaredInhomogenousHomographyError()
|
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() 85 x[1]=x2; in db_StitchCameraRotation_2Points() 100 DB_API int db_StitchRotationCommonFocalLength_3Points(double H[9],double x1[3],double x2[3],double …
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | PreviewOverlay.java | 185 float x2 = 0.5f * previewW; in onDraw() local 201 canvas.drawCircle(x2, y2, mLens * 0.25f * previewW, mPaint2); in onDraw() 204 canvas.drawText(text, x2, y2 - mLens * 0.25f * previewW - 7f, mPaint); in onDraw() 235 float x1, x2, y1, y2; in onDraw() local 255 x2 = previewW; 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/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
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()
|
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 98 const float ray2x = x2 - x1; in pointToLineSegSquaredDistanceFloat() 116 projectionX = x2; in pointToLineSegSquaredDistanceFloat()
|
/packages/services/Car/car-lib/api/released/ |
D | 2.txt | 22 field public static final int VERSION = 2; // 0x2 36 field public static final int APP_FOCUS_TYPE_VOICE_COMMAND = 2; // 0x2 87 field public static final int FLAG_FIRSTITEM = 2; // 0x2 100 field public static final int WIDGET_TEXT_VIEW = 2; // 0x2 187 field public static final int DRIVE_STATUS_NO_KEYBOARD_INPUT = 2; // 0x2 200 field public static final int GEAR_SECOND = 2; // 0x2 207 field public static final int IGNITION_STATE_OFF = 2; // 0x2 239 field public static final int SENSOR_RATE_UI = 2; // 0x2 240 field public static final int SENSOR_TYPE_CAR_SPEED = 2; // 0x2 274 field public static final int CAR_AUDIO_USAGE_RADIO = 2; // 0x2
|
D | 1.txt | 36 field public static final int APP_FOCUS_TYPE_VOICE_COMMAND = 2; // 0x2 87 field public static final int FLAG_FIRSTITEM = 2; // 0x2 100 field public static final int WIDGET_TEXT_VIEW = 2; // 0x2 187 field public static final int DRIVE_STATUS_NO_KEYBOARD_INPUT = 2; // 0x2 200 field public static final int GEAR_SECOND = 2; // 0x2 233 field public static final int SENSOR_RATE_UI = 2; // 0x2 234 field public static final int SENSOR_TYPE_CAR_SPEED = 2; // 0x2 267 field public static final int CAR_AUDIO_USAGE_RADIO = 2; // 0x2
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | SplineMath.java | 51 double x2 = next[0]; in calculatetCurve() local 57 double delta = (x2 - x1); in calculatetCurve() 92 double x2 = next[0]; in getValue() local 98 double delta = (x2 - x1); in getValue()
|
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/ |
D | dbreg.h | 554 double x0,x1,x2,mult; in SquaredInhomogenousHomographyError() local 559 x2=H[6]*x[0]+H[7]*x[1]+H[8]; in SquaredInhomogenousHomographyError() 560 mult=1.0/((x2!=0.0)?x2:1.0); in SquaredInhomogenousHomographyError()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | GridOccupancy.java | 62 int x2 = x + spanX - 1; in isRegionVacant() local 64 if (x < 0 || y < 0 || x2 >= mCountX || y2 >= mCountY) { in isRegionVacant() 67 for (int i = x; i <= x2; i++) { in isRegionVacant()
|
/packages/services/Car/car-lib/api/ |
D | current.txt | 55 field @Deprecated public static final int APP_FOCUS_TYPE_VOICE_COMMAND = 2; // 0x2 95 field public static final int MENNEKES = 2; // 0x2 111 field public static final int LEADED = 2; // 0x2 122 field public static final int FRONT_RIGHT = 2; // 0x2 130 field public static final int SEAT_ROW_1_CENTER = 2; // 0x2 148 field public static final int VEHICLE_AREA_TYPE_WINDOW = 2; // 0x2 312 field public static final int UX_RESTRICTIONS_NO_FILTERING = 2; // 0x2 365 field public static final int VEHICLE_PROPERTY_ACCESS_WRITE = 2; // 0x2 366 field public static final int VEHICLE_PROPERTY_CHANGE_MODE_CONTINUOUS = 2; // 0x2 381 field public static final int STATUS_ERROR = 2; // 0x2 [all …]
|
D | system-current.txt | 10 field public static final int RESULT_DO_NOT_SWITCH_TO_AOAP = 2; // 0x2 78 field public static final int KEY_EVENT_VOICE_SEARCH_LONG_PRESS_KEY_DOWN = 2; // 0x2 81 field @Deprecated public static final int PROJECTION_LONG_PRESS_VOICE_SEARCH = 2; // 0x2 94 field public static final int ERROR_GENERIC = 2; // 0x2 122 field public static final int MIRROR_DRIVER_RIGHT = 2; // 0x2 128 field public static final int WHEEL_RIGHT_FRONT = 2; // 0x2 135 field public static final int WINDOW_REAR_WINDSHIELD = 2; // 0x2 150 field public static final int WRITE = 2; // 0x2 177 field public static final int RPM = 2; // 0x2 244 field public static final int FLAG_WHOLE_ACTIVITY = 2; // 0x2 [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | Spline.java | 184 double x2 = next.x; in getAppliedCurve() local 190 double delta = (x2 - x1); in getAppliedCurve() 278 double x2 = points[i + 1].x; in draw() local 282 for (double x = x1; x < x2; x += 20) { in draw() 285 double delta = (x2 - x1); in draw()
|
D | GeometryMathUtils.java | 130 float x2 = line[2]; in shortestVectorFromPointToLine() local 133 float xdelt = x2 - x1; in shortestVectorFromPointToLine() 140 (x1 + u * (x2 - x1)), (y1 + u * (y2 - y1)) in shortestVectorFromPointToLine()
|
/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() 265 x1 += x2; in MulAdd64() 266 if (x1 < x2) in MulAdd64()
|
/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 34 mX2 = x2; 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
|
D | GLES11Canvas.java | 193 public void drawLine(float x1, float y1, float x2, float y2, GLPaint paint) { in drawLine() argument 201 scale(x2 - x1, y2 - y1, 1); in drawLine() 317 private float[] mapPoints(float m[], int x1, int y1, int x2, int y2) { in mapPoints() argument 328 float x4 = m[0] * x2 + m[4] * y2 + m[12]; in mapPoints() 329 float y4 = m[1] * x2 + m[5] * y2 + m[13]; in mapPoints() 330 float w4 = m[3] * x2 + m[7] * y2 + m[15]; in mapPoints()
|
/packages/modules/Cronet/api/ |
D | current.txt | 36 field public static final int HTTP_CACHE_DISK_NO_HTTP = 2; // 0x2 64 field public static final int ERROR_INTERNET_DISCONNECTED = 2; // 0x2 121 field public static final int REQUEST_PRIORITY_LOW = 2; // 0x2 148 field public static final int WAITING_FOR_AVAILABLE_SOCKET = 2; // 0x2
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | AppsDividerView.java | 194 int x2 = getWidth() - getPaddingRight() - side; in onDraw() local 195 canvas.drawLine(x1, y, x2, y, mPaint); in onDraw()
|