Searched refs:x2 (Results 1 - 25 of 57) sorted by relevance

123

/packages/apps/Camera2/src/com/android/camera/util/
H A DDebugBoundsRenderer.java49 float x2, float y2) {
58 canvas.drawLine(x2 - size, y1, x2, y1, paint);
60 canvas.drawLine(x2, y1, x2, y1 + size, paint);
64 canvas.drawLine(x2 - size, y2, x2, y2, paint);
66 canvas.drawLine(x2, y2- size, x2, y2, paint);
75 float cX = (x1 + x2) /
48 drawBounds(Canvas canvas, Paint paint, float size, float x1, float y1, float x2, float y2) argument
[all...]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
H A Ddb_image_homography.h38 \param x2 image 1 point 2
47 double x1[3],double x2[3],double x3[3],double x4[3],
55 \param x2 image 1 point 2
62 double x1[3],double x2[3],double x3[3],
70 \param x2 image 1 point 2
77 double x1[3],double x2[3],
85 x[1]=x2;
96 is required, although it could be desirable to keep x1,x2,xp1 and xp2 of reasonable magnitude.
100 DB_API int db_StitchRotationCommonFocalLength_3Points(double H[9],double x1[3],double x2[3],double x3[3],
74 db_StitchCameraRotation_2Points(double R[9], double x1[3],double x2[3], double xp1[3],double xp2[3]) argument
H A Ddb_image_homography.cpp80 double x1[3],double x2[3],double x3[3],double x4[3],
87 db_SProjImagePointPointConstraints(c+18,c+27,xp2,x2);
95 double x1[3],double x2[3],double x3[3],
102 db_SAffineImagePointPointConstraints(c+14,c+21,xp2,x2);
114 inline void db_CommonFocalLengthFromRotation_2Point(double fsol[3],int *nr_sols,double x1[3],double x2[3],double xp1[3],double xp2[3],int signed_disambiguation=1) argument
135 m=db_SafeReciprocal(x2[2]);
136 bx=x2[0]*m;
137 by=x2[1]*m;
177 int db_StitchRotationCommonFocalLength_3Points(double H[9],double x1[3],double x2[3],double x3[3],double xp1[3],double xp2[3],double xp3[3],double *f,int signed_disambiguation) argument
186 db_CommonFocalLengthFromRotation_2Point(fsol,&nr_sols,x1,x2,xp
79 db_StitchProjective2D_4Points(double H[9], double x1[3],double x2[3],double x3[3],double x4[3], double xp1[3],double xp2[3],double xp3[3],double xp4[3]) argument
94 db_StitchAffine2D_3Points(double H[9], double x1[3],double x2[3],double x3[3], double xp1[3],double xp2[3],double xp3[3]) argument
[all...]
H A Ddb_metrics.h41 double x2,y2,r,r2,r2s,one_over_r2,fu,r_fu,one_over_r_fu; local
73 x2=db_sqr(f[0]);
75 r2=x2+y2;
121 double x0,x1,x2,mult; local
126 x2=H[6]*x[0]+H[7]*x[1]+H[8]*x[2];
127 mult=1.0/((x2!=0.0)?x2:1.0);
135 double x0,x1,x2,mult; local
140 x2=H[6]*x[0]+H[7]*x[1]+H[8];
141 mult=1.0/((x2!
[all...]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DGeometry.h66 double x2, double y2,
70 centX = (x0 + x1 + x2) / 3.0;
78 mass = fabs((y1 - y0) * (x2 - x0)); // Special case 1a
85 else if (x0 == x2)
89 mass = fabs((x2 - x0) * (y2 - y0)); // Special case 2a
96 else if (x1 == x2)
102 // Calculate line equation from x0,y0 to x2,y2
103 double dx = x2 - x0;
124 mass = fabs( (y1 - y0) * (x2 - x0) );
129 inline void FindQuadCentroid(double x0, double y0, double x1, double y1, double x2, doubl argument
65 FindTriangleCentroid(double x0, double y0, double x1, double y1, double x2, double y2, double &mass, double &centX, double &centY) argument
[all...]
/packages/services/Car/tools/emulator/
H A Dvhal_consts_2_0.py20 VEHICLEAUDIOCONTEXTFLAG_NAVIGATION_FLAG = 0x2
36 VEHICLEAUDIOFOCUSINDEX_EXTERNAL_FOCUS_STATE = 0x2
41 OBD2COMMONIGNITIONMONITORS_COMPONENTS_INCOMPLETE = 0x2
50 OBD2FUELTYPE_METHANOL = 0x2
79 VMSMESSAGEWITHLAYERINTEGERVALUESINDEX_LAYER_SUBTYPE = 0x2
111 OBD2SECONDARYAIRSTATUS_DOWNSTREAM_OF_CATALYCIC_CONVERTER = 0x2
137 VMSOFFERINGMESSAGEINTEGERVALUESINDEX_NUMBER_OF_OFFERS = 0x2
142 VEHICLEAREAZONE_ROW_1_CENTER = 0x2
165 VMSAVAILABILITYSTATEINTEGERVALUESINDEX_NUMBER_OF_ASSOCIATED_LAYERS = 0x2
170 VEHICLEAPPOWERSTATECONFIGFLAG_CONFIG_SUPPORT_TIMER_POWER_ON_FLAG = 0x2
[all...]
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
H A Dgeometry_utils.h33 static AK_FORCE_INLINE float getAngle(const int x1, const int y1, const int x2, const int y2) { argument
34 const int dx = x1 - x2;
52 static AK_FORCE_INLINE int getDistanceInt(const int x1, const int y1, const int x2, argument
54 return static_cast<int>(hypotf(static_cast<float>(x1 - x2), static_cast<float>(y1 - y2)));
H A Dproximity_info_utils.h89 static inline float getSquaredDistanceFloat(const float x1, const float y1, const float x2, argument
91 return GeometryUtils::SQUARE_FLOAT(x1 - x2) + GeometryUtils::SQUARE_FLOAT(y1 - y2);
95 const float x1, const float y1, const float x2, const float y2, const bool extend) {
98 const float ray2x = x2 - x1;
116 projectionX = x2;
94 pointToLineSegSquaredDistanceFloat(const float x, const float y, const float x1, const float y1, const float x2, const float y2, const bool extend) argument
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A Dconvolve3x3.rs30 uint32_t x2 = max((int32_t)x-1, 0);
36 float4 p02 = rsUnpackColor8888(gPixels[x2 + gWidth * y1]);
39 float4 p12 = rsUnpackColor8888(gPixels[x2 + gWidth * y]);
42 float4 p22 = rsUnpackColor8888(gPixels[x2 + gWidth * y2]);
H A Dgrad.rs59 float x2 = xPos2[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;
H A DImageFilterGrad.java124 int[] x2 = mParameters.getXPos2();
137 coord[0] = x2[i];
140 x2[i] = (int) coord[0];
147 mScript.set_xPos2(x2);
H A DSplineMath.java51 double x2 = next[0];
57 double delta = (x2 - x1);
92 double x2 = next[0];
98 double delta = (x2 - x1);
/packages/services/Car/car-lib/src/android/car/app/menu/
H A DCarMenuConstants.java41 public static final int FLAG_FIRSTITEM = 0x2;
55 public static final int WIDGET_TEXT_VIEW = 0x2;
/packages/apps/Launcher3/src/com/android/launcher3/compat/
H A DWallpaperColorsCompat.java24 public static final int HINT_SUPPORTS_DARK_THEME = 0x2;
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DCandidateFilter.java30 public static final int FILTER_NON_ASCII = 0x2;
/packages/apps/DevCamera/src/com/android/devcamera/
H A DPreviewOverlay.java185 float x2 = 0.5f * previewW;
201 canvas.drawCircle(x2, y2, mLens * 0.25f * previewW, mPaint2);
204 canvas.drawText(text, x2, y2 - mLens * 0.25f * previewW - 7f, mPaint);
235 float x1, x2, y1, y2;
255 x2 = previewW;
257 canvas.drawLine(x1, y1, x2, y2, mPaint);
262 x1 = x2 = previewW / 2 + focalLengthW * (float) Math.tan(i);
265 canvas.drawLine(x1, y1, x2, y2, mPaint);
/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DGridOccupancy.java62 int x2 = x + spanX - 1;
64 if (x < 0 || y < 0 || x2 >= mCountX || y2 >= mCountY) {
67 for (int i = x; i <= x2; i++) {
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
H A Derror_type_utils.cpp23 const ErrorTypeUtils::ErrorType ErrorTypeUtils::MATCH_WITH_MISSING_ACCENT = 0x2;
/packages/services/Car/libvehiclenetwork/libvehiclenetwork-audio-helper/include/
H A Dvehicle-network-audio-helper-for-c.h41 VEHICLE_NETWORK_AUDIO_HELPER_STREAM_1 = 0x2,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DBogusMoveEventDetector.java107 private static int getDistance(final int x1, final int y1, final int x2, final int y2) { argument
108 return (int)Math.hypot(x1 - x2, y1 - y2);
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DGLCanvas.java83 // Draws a line using the specified paint from (x1, y1) to (x2, y2).
85 public abstract void drawLine(float x1, float y1, float x2, float y2, GLPaint paint); argument
87 // Draws a rectangle using the specified paint from (x1, y1) to (x2, y2).
89 public abstract void drawRect(float x1, float y1, float x2, float y2, GLPaint paint); argument
/packages/apps/Messaging/src/com/android/messaging/util/
H A DCubicBezierInterpolator.java31 public CubicBezierInterpolator(final float x1, final float y1, final float x2, final float y2) { argument
34 mX2 = x2;
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
H A DVehicleZoneUtilTest.java40 zone = new int[] { 0x1, 0x80000000, 0x2, 0x1000};
82 startingZone = new int[] {1, 1, 1, 0x100, 0x2, 0x40000000};
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
H A Ddbreg.h554 double x0,x1,x2,mult; local
559 x2=H[6]*x[0]+H[7]*x[1]+H[8];
560 mult=1.0/((x2!=0.0)?x2:1.0);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
H A Dver4_dict_constants.cpp56 const uint8_t Ver4DictConstants::FLAG_NOT_A_VALID_ENTRY = 0x2;

Completed in 556 milliseconds

123