/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 …]
|
/packages/modules/Bluetooth/system/embdrv/sbc/encoder/srce/ |
D | sbc_dct.c | 99 register int32_t x0, x1, x2, x3, x4, x5, x6, x7, temp; in SBC_FastIDCT8() local 106 x2 = (pInVect[2] + pInVect[6]) >> 1; in SBC_FastIDCT8() 121 x2 -= x6; in SBC_FastIDCT8() 126 temp = x2; in SBC_FastIDCT8() 127 SBC_IDCT_MULT(SBC_COS_PI_SUR_8, (x2 + x6), in SBC_FastIDCT8() 128 x2); /*x2 = ( x2 + x6 ) * cos(1*pi/8) ; */ in SBC_FastIDCT8() 133 res_even[0] = x0 + x2; in SBC_FastIDCT8() 136 res_even[3] = x0 - x2; in SBC_FastIDCT8() 231 int32_t temp, x2; in SBC_FastIDCT4() local 234 x2 = pInVect[2] >> 1; in SBC_FastIDCT4() [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_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 …
|
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()
|
/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/providers/MediaProvider/pdf/framework/libs/pdfClient/ |
D | rect.cc | 32 Rectangle_i IntRect(const int x1, const int y1, const int x2, const int y2) { in IntRect() argument 34 output.left = std::min(x1, x2); in IntRect() 36 output.right = std::max(x1, x2); in IntRect() 53 Rectangle_d DoubleRect(const double x1, const double y1, const double x2, const double y2) { in DoubleRect() argument 55 output.left = std::min(x1, x2); in DoubleRect() 57 output.right = std::max(x1, x2); in DoubleRect()
|
D | page.cc | 209 double x1, x2, y1, y2; in GetTextBounds() local 211 FPDFText_GetCharBox(text_page(), index, &x1, &x2, &y1, &y2); in GetTextBounds() 212 if (x1 != x2 && y1 != y2) { in GetTextBounds() 214 rect = DoubleRect(x1, y1, x2, y2); in GetTextBounds() 216 rect = Union(rect, DoubleRect(x1, y1, x2, y2)); in GetTextBounds() 604 double x1, x2, y1, y2; in GetRawCharBounds() local 605 FPDFText_GetCharBox(text_page(), char_index, &x1, &x2, &y1, &y2); in GetRawCharBounds() 606 return DoubleRect(x1, y1, x2, y2); in GetRawCharBounds()
|
/packages/modules/Virtualization/pvmfw/testdata/ |
D | test_pvmfw_devices_vm_dtbo_without_symbols.dts | 6 #address-cells = <0x2>; 11 android,pvmfw,target = <0x2>; 53 phandle = <0x2>; 62 version = <0x1 0x2>;
|
D | test_pvmfw_devices_without_iommus.dts | 7 #address-cells = <0x2>; 8 #size-cells = <0x2>;
|
D | test_pvmfw_devices_vm_dtbo_with_dependencies.dts | 6 #address-cells = <0x2>; 49 version = <0x1 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/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/modules/Bluetooth/system/blueberry/facade/ |
D | common.proto | 16 PUBLIC_IDENTITY_ADDRESS = 0x2; 23 RESOLVABLE_OR_PUBLIC_ADDRESS = 0x2;
|
/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/modules/NeuralNetworks/common/cpu_operations/ |
D | RoiAlign.cpp | 130 uint32_t x2 = x1 + 1, y2 = y1 + 1; in roiAlignNhwc() local 136 x1 = x2 = inWidth - 1; in roiAlignNhwc() 147 y1 * inWidth * inDepth + x2 * inDepth, in roiAlignNhwc() 149 y2 * inWidth * inDepth + x2 * inDepth}; in roiAlignNhwc() 256 uint32_t x2 = x1 + 1, y2 = y1 + 1; in roiAlignQuantNhwc() local 262 x1 = x2 = inWidth - 1; in roiAlignQuantNhwc() 273 y1 * inWidth * inDepth + x2 * inDepth, in roiAlignQuantNhwc() 275 y2 * inWidth * inDepth + x2 * inDepth}; in roiAlignQuantNhwc()
|
/packages/modules/Bluetooth/tools/rootcanal/packets/ |
D | bredr_bb.pdl | 8 EDR_8DPSK = 0x2, 15 ESCO = 0x2,
|
/packages/apps/Car/DebuggingRestrictionController/gradle/wrapper/ |
D | gradle-wrapper.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/gradle/
org/ ... |
/packages/modules/Bluetooth/android/leaudio/gradle/wrapper/ |
D | gradle-wrapper.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/gradle/
org/ ... |
/packages/inputmethods/LatinIME/gradle/wrapper/ |
D | gradle-wrapper.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/gradle/
org/ ... |
/packages/modules/Bluetooth/system/pdl/ras/ |
D | ras_packets.pdl | 24 INSUFFICIENT_FILTERED_CHANNELS = 0x2, 32 NO_CS_SYNC_RECEIVED = 0x2,
|
/packages/modules/Bluetooth/android/ChannelSoundingTestApp/gradle/wrapper/ |
D | gradle-wrapper.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/gradle/
org/ ... |