Home
last modified time | relevance | path

Searched refs:x0 (Results 1 – 25 of 25) 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/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.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/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.java470 private static float dist(float x0, float y0, float x1, float y1) { in dist() argument
471 return (float) Math.hypot(x1 - x0, y1 - y0); in dist()
499 private static float weight(float x0, float y0, float x1, float y1, float pow) { in weight() argument
500 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/modules/Cronet/api/
Dcurrent.txt34 field public static final int HTTP_CACHE_DISABLED = 0; // 0x0
120 field public static final int REQUEST_PRIORITY_IDLE = 0; // 0x0
140 field public static final int IDLE = 0; // 0x0
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.kt536 private fun getFraction(x0: Float, x1: Float, x: Float): Float { in getFraction()
537 return Math.max(Math.min((x - x0) / (x1 - x0), 1.0f), 0.0f) in getFraction()
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/modules/IPsec/api/
Dsystem-current.txt178 field public static final int IKE_OPTION_ACCEPT_ANY_REMOTE_ID = 0; // 0x0
249 field public static final int DH_GROUP_NONE = 0; // 0x0
260 field public static final int INTEGRITY_ALGORITHM_NONE = 0; // 0x0
264 field public static final int KEY_LEN_UNUSED = 0; // 0x0
/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.proto109 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/TV/tuner/tests/assets/
Dcapture_kqed.ts1510 ���uI���*sm�[&�74��SQ�hOߥ��ʤG�1iD�����/�x9_���d��(� ����x0�:��#mG
6054 …Z8�x$�%Bg����ﮰ��$*����x"+��jUCq���x��G�ט!�~�>�f���n�-L��&���x0�}�1�D��<C:��� 1Q)m�…
8445 …�Y _���G�1����[�ll@�Z@S�#��&J$������%���%,��,�C� �!�7���x0�?�$�B���^,ﯩ��
10347 �Ϛ�o_�V���CD����-� �*��:�����y%G\Xz�]+���@G�1$�O��&��p�,��OB���+e� �"ɟ�� ��x0��J…
13071 ��S]�5��{�[�ɓ&L�2@8��J���͆ʽ㛑.��fΔS����)��,R�۰�I��x0��/�7i�pؓ<m�t(�@
13680 ���&���z�3�,׾@X`���w��P�#x0Pn�8�@��`T�ܚ���h�NS�� @tLĬ�` H �<*�Ԅ� z����C�-�%8�� @JP�…
13901 ���߾H��P�%�M��4�XT��x0�*KM��H�T�+�4�óm�y�
14737 �v�����1&W�~�� �D �PQ\ p / 8�z`���p����%���MH�c�1��%���$��D��p�І�H��5�x0�K��XTF+�3�G��?…
16991 …���؂G@���N���im&v[��~�o� ]i�F��M�z�_�k���u/��@�s�����uX��14���\*�x0p5T1�$�[�Nǎ��E�GSԛ…
20399 �& ��h��4��a��L�7wW�M��CU���`4�rט����P����0%"�x0
[all …]
/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…