Home
last modified time | relevance | path

Searched refs:x0 (Results 1 – 24 of 24) 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.java79 int x0 = x - m; in intersectsValidDropTarget() local
82 if (x0 < 0 || y0 < 0) continue; in intersectsValidDropTarget()
84 for (int i = x0; i < x0 + spanX; i++) { in intersectsValidDropTarget()
94 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-lib/api/released/
D2.txt33 field public static final int APP_FOCUS_REQUEST_FAILED = 0; // 0x0
190 field public static final int DRIVE_STATUS_UNRESTRICTED = 0; // 0x0
196 field public static final int GEAR_NEUTRAL = 0; // 0x0
210 field public static final int IGNITION_STATE_UNDEFINED = 0; // 0x0
212 field public static final int INDEX_ENVIRONMENT_TEMPERATURE = 0; // 0x0
214 field public static final int INDEX_FUEL_LEVEL_IN_PERCENTILE = 0; // 0x0
215 field public static final int INDEX_FUEL_LOW_WARNING = 0; // 0x0
237 field public static final int SENSOR_RATE_FASTEST = 0; // 0x0
270 field public static final int CAR_AUDIO_USAGE_DEFAULT = 0; // 0x0
D1.txt33 field public static final int APP_FOCUS_REQUEST_FAILED = 0; // 0x0
190 field public static final int DRIVE_STATUS_UNRESTRICTED = 0; // 0x0
196 field public static final int GEAR_NEUTRAL = 0; // 0x0
206 field public static final int INDEX_ENVIRONMENT_TEMPERATURE = 0; // 0x0
208 field public static final int INDEX_FUEL_LEVEL_IN_PERCENTILE = 0; // 0x0
209 field public static final int INDEX_FUEL_LOW_WARNING = 0; // 0x0
231 field public static final int SENSOR_RATE_FASTEST = 0; // 0x0
263 field public static final int CAR_AUDIO_USAGE_DEFAULT = 0; // 0x0
/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/services/Car/car-lib/api/
Dcurrent.txt52 field public static final int APP_FOCUS_REQUEST_FAILED = 0; // 0x0
100 field public static final int UNKNOWN = 0; // 0x0
115 field public static final int UNKNOWN = 0; // 0x0
126 field public static final int UNKNOWN = 0; // 0x0
139 field public static final int SEAT_UNKNOWN = 0; // 0x0
144 field public static final int VEHICLE_AREA_TYPE_GLOBAL = 0; // 0x0
223 field public static final int INVALID = 0; // 0x0
307 field public static final int UX_RESTRICTIONS_BASELINE = 0; // 0x0
362 field public static final int VEHICLE_PROPERTY_ACCESS_NONE = 0; // 0x0
368 field public static final int VEHICLE_PROPERTY_CHANGE_MODE_STATIC = 0; // 0x0
[all …]
Dsystem-current.txt11 field public static final int RESULT_OK = 0; // 0x0
77 field public static final int KEY_EVENT_VOICE_SEARCH_KEY_DOWN = 0; // 0x0
130 field public static final int WHEEL_UNKNOWN = 0; // 0x0
147 field public static final int NONE = 0; // 0x0
179 field public static final int SHOULD_NOT_USE = 0; // 0x0
372 field public static final int NOT_AVAILABLE = 0; // 0x0
419 field public static final int FRAME_TYPE_LIVE = 0; // 0x0
437 field public static final int CALCULATED_ENGINE_LOAD = 0; // 0x0
522 field public static final int FUEL_SYSTEM_STATUS = 0; // 0x0
553 field public static final int DRIVING_STATE_PARKED = 0; // 0x0
[all …]
/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/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/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java410 private static float dist(float x0, float y0, float x1, float y1) { in dist() argument
411 return (float) Math.hypot(x1 - x0, y1 - y0); in dist()
439 private static float weight(float x0, float y0, float x1, float y1, float pow) { in weight() argument
440 float d = dist(x0, y0, x1, y1); in weight()
DCellLayout.java1958 final int x0 = mTmpPoint[0]; in ReorderPreviewAnimation() local
1963 final int dX = x1 - x0; in ReorderPreviewAnimation()
/packages/services/Car/car-lib/api/system-released/
Dsystem-2.txt53 field public static final int APP_FOCUS_REQUEST_FAILED = 0; // 0x0
99 field public static final int VEHICLE_AREA_TYPE_NONE = 0; // 0x0
429 field public static final int DRIVE_STATUS_UNRESTRICTED = 0; // 0x0
435 field public static final int GEAR_NEUTRAL = 0; // 0x0
449 field public static final int IGNITION_STATE_UNDEFINED = 0; // 0x0
451 field public static final int INDEX_ENVIRONMENT_TEMPERATURE = 0; // 0x0
453 field public static final int INDEX_FUEL_LEVEL_IN_PERCENTILE = 0; // 0x0
454 field public static final int INDEX_FUEL_LOW_WARNING = 0; // 0x0
476 field public static final int SENSOR_RATE_FASTEST = 0; // 0x0
631 field public static final int RADIO_PRESET = 0; // 0x0
[all …]
Dsystem-1.txt48 field public static final int APP_FOCUS_REQUEST_FAILED = 0; // 0x0
94 field public static final int VEHICLE_AREA_TYPE_NONE = 0; // 0x0
424 field public static final int DRIVE_STATUS_UNRESTRICTED = 0; // 0x0
430 field public static final int GEAR_NEUTRAL = 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
465 field public static final int SENSOR_RATE_FASTEST = 0; // 0x0
587 field public static final int CAR_CAMERA_TYPE_NONE = 0; // 0x0
666 field public static final int RADIO_PRESET = 0; // 0x0
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.java558 private float getFraction(float x0, float x1, float x) { in getFraction() argument
559 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/tuner/proto/
Dchannel.proto114 SERVICE_TYPE_ATSC_RESERVED = 0x0;
/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/DocumentsUI/tests/res/raw/
Dimages_tar9824 …y�u�����EP �Ҙ>IW$jAV��+��Ҭ�U���9S��dWf%c�p8�U���jN޿Jj�.�W$#�q�2x0�c~OzX��O\`�.7����g…
11260 ��3P��H����<�J ~�NQ���z��x0����C'q�g֨ݽ��]�;s�(�&ٙos4JPy����Z����`1��)����Vl�F�y���j���Bs*…
17872 …�s���Zie��.�|�hh���@����X��D��|�y���'���:º���e�#V;" U����ri�خ���~!��x0##�'qXמ#�\�)§%xǦ=��W…