Home
last modified time | relevance | path

Searched refs:x1 (Results 1 – 25 of 64) sorted by relevance

123

/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DGeometry.h65 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 …]
DBlend.cpp144 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/
DDebugBoundsRenderer.java48 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/TV/libs/m2/
Dprotobuf-java-3.7.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Djavapoet-1.11.1.jar ... x0 com.squareup.javapoet.FieldSpec$1 x1 } com/squareup/javapoet/CodeBlock.class ...
Ddagger-producers-2.23.jar ... ) Throwable x0 dagger.producers.Produced$1 x1 } dagger/producers/Produced$Successful.class ...
Ddagger-2.23.jarMETA-INF/ META-INF/MANIFEST.MF dagger/ dagger/Binds.class Binds ...
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_image_homography.cpp80 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 …]
Ddb_image_homography.h47 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 …
Ddb_metrics.h121 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/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_utils.h89 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()
Dgeometry_utils.h33 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/
DPreviewOverlay.java175 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/modules/ArtPrebuilt/iorap/test/src/IorapTestApp/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/packages/apps/Car/tests/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/packages/services/Telecomm/libs/
Dguava.jar ... ExecutionException long x0 java.util.concurrent.TimeUnit x1 synthetic void <init> (com.google. ...
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DSplineMath.java50 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()
/packages/services/Car/tests/BugReportApp/libs/
Dgrpc-context-1.19.0.jar ... .Context x0 io.grpc.Context$1 x1 synthetic void <init> (io.grpc. ...
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Dbiginteger.h263 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/services/Car/car-lib/api/released/
D1.txt22 field public static final int VERSION = 1; // 0x1
34 field public static final int APP_FOCUS_REQUEST_SUCCEEDED = 1; // 0x1
35 field public static final int APP_FOCUS_TYPE_NAVIGATION = 1; // 0x1
86 field public static final int FLAG_BROWSABLE = 1; // 0x1
99 field public static final int WIDGET_CHECKBOX = 1; // 0x1
188 field public static final int DRIVE_STATUS_NO_VIDEO = 1; // 0x1
194 field public static final int GEAR_FIRST = 1; // 0x1
205 field public static final int INDEX_ENVIRONMENT_PRESSURE = 1; // 0x1
207 field public static final int INDEX_FUEL_LEVEL_IN_DISTANCE = 1; // 0x1
230 field public static final int SENSOR_RATE_FAST = 1; // 0x1
[all …]
D2.txt34 field public static final int APP_FOCUS_REQUEST_SUCCEEDED = 1; // 0x1
35 field public static final int APP_FOCUS_TYPE_NAVIGATION = 1; // 0x1
86 field public static final int FLAG_BROWSABLE = 1; // 0x1
99 field public static final int WIDGET_CHECKBOX = 1; // 0x1
188 field public static final int DRIVE_STATUS_NO_VIDEO = 1; // 0x1
194 field public static final int GEAR_FIRST = 1; // 0x1
206 field public static final int IGNITION_STATE_LOCK = 1; // 0x1
211 field public static final int INDEX_ENVIRONMENT_PRESSURE = 1; // 0x1
213 field public static final int INDEX_FUEL_LEVEL_IN_DISTANCE = 1; // 0x1
236 field public static final int SENSOR_RATE_FAST = 1; // 0x1
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DSpline.java183 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/
Ddbreg.h554 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/
Dcurrent.txt65 field public static final int APP_FOCUS_REQUEST_SUCCEEDED = 1; // 0x1
66 field public static final int APP_FOCUS_TYPE_NAVIGATION = 1; // 0x1
113 field public static final int DISPLAY_TYPE_MAIN = 1; // 0x1
116 field public static final int OCCUPANT_TYPE_FRONT_PASSENGER = 1; // 0x1
119 field public static final int ZONE_CONFIG_CHANGE_FLAG_DISPLAY = 1; // 0x1
142 field public static final int J1772 = 1; // 0x1
165 field public static final int UNLEADED = 1; // 0x1
170 field public static final int FRONT_LEFT = 1; // 0x1
180 field public static final int SEAT_ROW_1_LEFT = 1; // 0x1
201 field public static final int WHEEL_LEFT_FRONT = 1; // 0x1
[all …]

123