Home
last modified time | relevance | path

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

123456

/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/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/modules/Virtualization/pvmfw/testdata/
Dtest_pvmfw_devices_vm_dtbo_without_symbols.dts7 #size-cells = <0x1>;
10 iommus = <0x1 0x3>;
20 iommus = <0x1 0x9>;
24 #address-cells = <0x1>;
25 #size-cells = <0x1>;
32 #iommu-cells = <0x1>;
34 phandle = <0x1>;
37 #iommu-cells = <0x1>;
42 #iommu-cells = <0x1>;
62 version = <0x1 0x2>;
Dtest_pvmfw_devices_vm_dtbo.dts7 #size-cells = <0x1>;
24 #address-cells = <0x1>;
25 #size-cells = <0x1>;
32 #iommu-cells = <0x1>;
36 #iommu-cells = <0x1>;
40 #iommu-cells = <0x1>;
54 version = <0x1 0x2>;
Dtest_pvmfw_devices_vm_dtbo_with_dependencies.dts7 #size-cells = <0x1>;
9 reg = <0x0 0xF000 0x1>;
13 reg = <0x0 0xF100 0x1>;
17 reg = <0x0 0xF200 0x1>;
49 version = <0x1 0x2>;
/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 …
/packages/modules/Virtualization/libs/libfdt/tests/data/
Dtest_tree_no_memory_node.dts7 #address-cells = <0x1>;
8 #size-cells = <0x1>;
12 linux,phandle = <0x1>;
13 #address-cells = <0x1>;
24 reg = <0x1>;
/packages/modules/NeuralNetworks/common/random/
Drandom_distributions.h53 PHILOX_DEVICE_INLINE double Uint64ToDouble(uint32 x0, uint32 x1);
326 void BoxMullerFloat(uint32 x0, uint32 x1, float* f0, float* f1);
329 void BoxMullerDouble(uint32 x0, uint32 x1, uint32 x2, uint32 x3, double* d0, double* d1);
482 const uint32 x1 = (*gen)(); in operator() local
484 BoxMullerFloat(x0, x1, &f[0], &f[1]); in operator()
523 const uint32 x1 = (*gen)(); in operator() local
525 BoxMullerFloat(x0, x1, &f[0], &f[1]); in operator()
565 const uint32 x1 = (*gen)(); in operator() local
567 BoxMullerFloat(x0, x1, &f[0], &f[1]); in operator()
604 const uint32 x1 = (*gen)(); in operator() local
[all …]
/packages/modules/Bluetooth/system/embdrv/sbc/encoder/srce/
Dsbc_dct.c99 register int32_t x0, x1, x2, x3, x4, x5, x6, x7, temp; in SBC_FastIDCT8() local
105 x1 = (pInVect[3] + pInVect[5]) >> 1; in SBC_FastIDCT8()
142 x1 -= x3 >> 1; in SBC_FastIDCT8()
146 temp = x1; in SBC_FastIDCT8()
147 x1 = x1 + x5; in SBC_FastIDCT8()
164 SBC_IDCT_MULT((SBC_COS_PI_SUR_16), (x1 + x3), in SBC_FastIDCT8()
170 SBC_IDCT_MULT((SBC_COS_7PI_SUR_16), (x1 - x3), in SBC_FastIDCT8()
/packages/modules/Virtualization/vmbase/
Dexceptions.S27 stp x0, x1, [sp, #-(8 * 24)]!
44 mrs x1, spsr_el1
45 stp x0, x1, [sp, #8 * 22]
68 ldp x0, x1, [sp, #8 * 22]
70 msr spsr_el1, x1
73 ldp x0, x1, [sp], #8 * 24
/packages/modules/Bluetooth/system/stack/smp/
Dp_256_ecc_pp.cc46 uint32_t* x1; in ECC_Double() local
58 x1 = p->x; in ECC_Double()
66 multiprecision_sub_mod(t2, x1, t1); // t2=x1-t1 in ECC_Double()
67 multiprecision_add_mod(t1, x1, t1); // t1=x1+t1 in ECC_Double()
77 multiprecision_mersenns_mult_mod(t3, y3, x1); // t3=y3*x1=x1*y1^2 in ECC_Double()
94 uint32_t* x1; in ECC_Add() local
104 x1 = p->x; in ECC_Add()
131 multiprecision_sub_mod(t1, t1, x1); // t1=t1-x1 in ECC_Add()
147 multiprecision_mersenns_mult_mod(y3, y3, x1); // t3=t3*x1 in ECC_Add()
/packages/modules/Bluetooth/system/gd/security/ecc/
Dp_256_ecc_pp.cc51 const uint32_t* x1; in ECC_Double() local
63 x1 = p->x; in ECC_Double()
71 multiprecision_sub_mod(t2, x1, t1, modp); // t2=x1-t1 in ECC_Double()
72 multiprecision_add_mod(t1, x1, t1, modp); // t1=x1+t1 in ECC_Double()
82 multiprecision_mersenns_mult_mod(t3, y3, x1, modp); // t3=y3*x1=x1*y1^2 in ECC_Double()
99 uint32_t* x1; in ECC_Add() local
109 x1 = p->x; in ECC_Add()
136 multiprecision_sub_mod(t1, t1, x1, modp); // t1=t1-x1 in ECC_Add()
152 multiprecision_mersenns_mult_mod(y3, y3, x1, modp); // t3=t3*x1 in ECC_Add()
/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 ...
/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/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/inputmethods/LatinIME/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/
Drect.cc32 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()
/packages/modules/NeuralNetworks/common/cpu_operations/
DRoiAlign.cpp128 uint32_t x1 = std::floor(static_cast<float>(x)); in roiAlignNhwc() local
130 uint32_t x2 = x1 + 1, y2 = y1 + 1; in roiAlignNhwc()
131 T_Roi dx1 = x - static_cast<T_Roi>(x1); in roiAlignNhwc()
135 if (x1 >= inWidth - 1) { in roiAlignNhwc()
136 x1 = x2 = inWidth - 1; in roiAlignNhwc()
146 uint32_t offsets[] = {y1 * inWidth * inDepth + x1 * inDepth, in roiAlignNhwc()
148 y2 * inWidth * inDepth + x1 * inDepth, in roiAlignNhwc()
255 uint32_t x1 = std::floor(x), y1 = std::floor(y); in roiAlignQuantNhwc() local
256 uint32_t x2 = x1 + 1, y2 = y1 + 1; in roiAlignQuantNhwc()
257 float dx1 = x - static_cast<float>(x1); in roiAlignQuantNhwc()
[all …]
/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/modules/Bluetooth/system/blueberry/facade/
Dcommon.proto15 RANDOM_DEVICE_ADDRESS = 0x1;
22 USE_RANDOM_DEVICE_ADDRESS = 0x1;
34 RANDOM_DEVICE_OR_IDENTITY_ADDRESS = 0x1;
/packages/apps/Car/DebuggingRestrictionController/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...

123456