Home
last modified time | relevance | path

Searched refs:x0 (Results 1 – 22 of 22) sorted by relevance

/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()
78 mass = fabs((y1 - y0) * (x2 - x0)); // Special case 1a in FindTriangleCentroid()
82 mass = fabs((y1 - y0) * (x1 - x0)); // Special case 1b in FindTriangleCentroid()
85 else if (x0 == x2) in FindTriangleCentroid()
87 if (x0 == x1) in FindTriangleCentroid()
89 mass = fabs((x2 - x0) * (y2 - y0)); // Special case 2a in FindTriangleCentroid()
93 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 2a in FindTriangleCentroid()
98 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 3 in FindTriangleCentroid()
[all …]
DBlend.cpp144 double z, x0, y0, x1, y1, x2, y2, x3, y3; in runBlend() local
169 FrameToMosaic(mb->trs, 0.0, 0.0, x0, y0); in runBlend()
174 … if(x0 < xLeftCorners[0] || x1 < xLeftCorners[1]) // If either of the left corners is lower in runBlend()
176 xLeftCorners[0] = x0; in runBlend()
200 … FindQuadCentroid(x0, y0, x1, y1, x2, y2, x3, y3, csite->getVCenter().x, csite->getVCenter().y); in runBlend()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTouchListener.java99 final float x0 = pts[0]; in onFling() local
115 final float x1 = x0 + s * dX / v; in onFling()
118 mTable.fling(target, x1 - x0, y1 - y0, (int) (1000f * n / 60f), false); in onFling()
202 float x0 = pts[2 * idx]; in onTouch() local
205 mInitialTouchX = x0; in onTouch()
208 double distance = Math.hypot(x0 - mInitialTouchX, in onTouch()
214 if ((x0 - mInitialTouchX) > 0f) { in onTouch()
DPhotoTable.java849 float x0 = photo.getX(); in dropOnTable() local
856 float dx = x - x0; in dropOnTable()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DWorkspaceAccessibilityHelper.java71 int x0 = x - m; in intersectsValidDropTarget() local
74 if (x0 < 0 || y0 < 0) continue; in intersectsValidDropTarget()
76 for (int i = x0; i < x0 + spanX; i++) { in intersectsValidDropTarget()
86 return x0 + mCountX * y0; in intersectsValidDropTarget()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_metrics.h121 double x0,x1,x2,mult; in db_SquaredReprojectionErrorHomography() local
124 x0=H[0]*x[0]+H[1]*x[1]+H[2]*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
138 x0=H[0]*x[0]+H[1]*x[1]+H[2]; in db_SquaredInhomogenousHomographyError()
142 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult)); in db_SquaredInhomogenousHomographyError()
/packages/services/Car/car-support-lib/api/
Dcurrent.txt19 field public static final int CONNECTION_TYPE_EMULATOR = 0; // 0x0
418 field public static final int DRIVE_STATUS_UNRESTRICTED = 0; // 0x0
424 field public static final int GEAR_NEUTRAL = 0; // 0x0
433 field public static final int INDEX_ACCELEROMETER_X = 0; // 0x0
436 field public static final int INDEX_COMPASS_BEARING = 0; // 0x0
440 field public static final int INDEX_ENVIRONMENT_TEMPERATURE = 0; // 0x0
442 field public static final int INDEX_FUEL_LEVEL_IN_PERCENTILE = 0; // 0x0
443 field public static final int INDEX_FUEL_LOW_WARNING = 0; // 0x0
445 field public static final int INDEX_GPS_SATELLITE_ARRAY_FLOAT_OFFSET = 0; // 0x0
450 field public static final int INDEX_GPS_SATELLITE_NUMBER_IN_USE = 0; // 0x0
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DTiledTexture.java266 RectF src, float x0, float y0, float x, float y, float scaleX, in mapRect() argument
268 output.set(x + (src.left - x0) * scaleX, in mapRect()
270 x + (src.right - x0) * scaleX, in mapRect()
317 float x0 = source.left; in draw() local
330 mapRect(dest, src, x0, y0, x, y, scaleX, scaleY); in draw()
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
Ddbreg.h554 double x0,x1,x2,mult; in SquaredInhomogenousHomographyError() local
557 x0=H[0]*x[0]+H[1]*x[1]+H[2]; 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.txt194 field public static final int DRIVE_STATUS_UNRESTRICTED = 0; // 0x0
200 field public static final int GEAR_NEUTRAL = 0; // 0x0
210 field public static final int INDEX_ENVIRONMENT_TEMPERATURE = 0; // 0x0
212 field public static final int INDEX_FUEL_LEVEL_IN_PERCENTILE = 0; // 0x0
213 field public static final int INDEX_FUEL_LOW_WARNING = 0; // 0x0
286 field public static final int SENSOR_RATE_FASTEST = 0; // 0x0
315 field public static final int CAR_AUDIO_USAGE_DEFAULT = 0; // 0x0
Dsystem-current.txt77 field public static final int VEHICLE_AREA_TYPE_NONE = 0; // 0x0
419 field public static final int DRIVE_STATUS_UNRESTRICTED = 0; // 0x0
425 field public static final int GEAR_NEUTRAL = 0; // 0x0
435 field public static final int INDEX_ENVIRONMENT_TEMPERATURE = 0; // 0x0
437 field public static final int INDEX_FUEL_LEVEL_IN_PERCENTILE = 0; // 0x0
438 field public static final int INDEX_FUEL_LOW_WARNING = 0; // 0x0
511 field public static final int SENSOR_RATE_FASTEST = 0; // 0x0
555 field public static final int CAR_CAMERA_TYPE_NONE = 0; // 0x0
637 field public static final int RADIO_PRESET = 0; // 0x0
675 field public static final int CAR_AUDIO_USAGE_DEFAULT = 0; // 0x0
/packages/apps/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java239 @Thunk float dist(float x0, float y0, float x1, float y1) { in dist() argument
240 return (float) Math.hypot(x1 - x0, y1 - y0); in dist()
295 private float weight(float x0, float y0, float x1, float y1, float pow) { in weight() argument
296 float d = dist(x0, y0, x1, y1); in weight()
DCellLayout.java2141 final int x0 = mTmpPoint[0]; in ReorderPreviewAnimation() local
2146 final int dX = x1 - x0; in ReorderPreviewAnimation()
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DVUMeter.java96 float x0 = pivotX - l*cos; in onDraw() local
98 …canvas.drawLine(x0 + SHADOW_OFFSET, y0 + SHADOW_OFFSET, pivotX + SHADOW_OFFSET, pivotY + SHADOW_OF… in onDraw()
100 canvas.drawLine(x0, y0, pivotX, pivotY, mPaint); in onDraw()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DDynamicGridKeyboard.java234 public void updateCoordinates(final int x0, final int y0, final int x1, final int y1) { in updateCoordinates() argument
235 mCurrentX = x0; in updateCoordinates()
237 getHitBox().set(x0, y0, x1, y1); in updateCoordinates()
/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()
268 uint64_t lo = (x1 << 32) + (x0 & 0xFFFFFFFF); in MulAdd64()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.java521 private float getFraction(float x0, float x1, float x) { in getFraction() argument
522 return Math.max(Math.min((x - x0) / (x1 - x0), 1.0f), 0.0f); in getFraction()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state_utils.cpp490 const int x0 = (*sampledInputXs)[id]; in calculateBeelineSpeedRate() local
500 tempBeelineDistance = GeometryUtils::getDistanceInt(x0, y0, xCoordinates[start], in calculateBeelineSpeedRate()
514 tempBeelineDistance = GeometryUtils::getDistanceInt(x0, y0, xCoordinates[end], in calculateBeelineSpeedRate()
/packages/apps/TV/usbtuner/proto/
Dchannel.proto89 SERVICE_TYPE_ATSC_RESERVED = 0x0;
/packages/services/Car/bluetooth/bt-map-service/
Dbt_hci_startup_issues.txt282 0xee600000-0xef600000 16777216 iotable_init+0x0/0xb0 phys=6e800000 ioremap
446 0xfa000000-0xfa001000 4096 iotable_init+0x0/0xb0 phys=200a000 ioremap
447 0xfa001000-0xfa002000 4096 iotable_init+0x0/0xb0 phys=208a000 ioremap
448 0xfa002000-0xfa003000 4096 iotable_init+0x0/0xb0 phys=2000000 ioremap
449 0xfa003000-0xfa004000 4096 iotable_init+0x0/0xb0 phys=2002000 ioremap
450 0xfa006000-0xfa007000 4096 iotable_init+0x0/0xb0 phys=2011000 ioremap
451 0xfa007000-0xfa008000 4096 iotable_init+0x0/0xb0 phys=2012000 ioremap
452 0xfa008000-0xfa009000 4096 iotable_init+0x0/0xb0 phys=2089000 ioremap
453 0xfa009000-0xfa00a000 4096 iotable_init+0x0/0xb0 phys=2099000 ioremap
454 0xfa00a000-0xfa00b000 4096 iotable_init+0x0/0xb0 phys=2a03f000 ioremap
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dencoding.md24 Those unique numbers are called code points, which is in the range `0x0` to `0x10FFFF`.
/packages/apps/Launcher2/src/com/android/launcher2/
DCellLayout.java2294 final int x0 = mTmpPoint[0]; in ReorderHintAnimation() local
2299 final int dX = x1 - x0; in ReorderHintAnimation()