Home
last modified time | relevance | path

Searched refs:y0 (Results 1 – 13 of 13) 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
71 centY = (y0 + y1 + y2) / 3.0; in FindTriangleCentroid()
74 if (y0 == y2) 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()
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()
104 double dy = y2 - y0; in FindTriangleCentroid()
108 double b1 = y0 - m1 * x0; 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()
186 if(y0 < yTopCorners[0] || y3 < yTopCorners[1]) // If either of the top corners is lower in runBlend()
188 yTopCorners[0] = y0; 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.java100 final float y0 = pts[1]; in onFling() local
116 final float y1 = y0 + s * dY / v; in onFling()
118 mTable.fling(target, x1 - x0, y1 - y0, (int) (1000f * n / 60f), false); in onFling()
203 float y0 = pts[2 * idx + 1]; in onTouch() local
206 mInitialTouchY = y0; in onTouch()
209 y0 - mInitialTouchY); in onTouch()
DPhotoTable.java850 float y0 = photo.getY(); in dropOnTable() local
857 float dy = y - y0; in dropOnTable()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DWorkspaceAccessibilityHelper.java72 int y0 = y - n; in intersectsValidDropTarget() local
74 if (x0 < 0 || y0 < 0) continue; in intersectsValidDropTarget()
78 for (int j = y0; j < y0 + spanY; j++) { in intersectsValidDropTarget()
86 return x0 + mCountX * y0; in intersectsValidDropTarget()
/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
269 y + (src.top - y0) * scaleY, in mapRect()
271 y + (src.bottom - y0) * scaleY); in mapRect()
318 float y0 = source.top; in draw() local
330 mapRect(dest, src, x0, y0, x, y, scaleX, scaleY); in draw()
/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
236 mCurrentY = y0; in updateCoordinates()
237 getHitBox().set(x0, y0, x1, y1); in updateCoordinates()
/packages/apps/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java472 private static float dist(float x0, float y0, float x1, float y1) { in dist() argument
473 return (float) Math.hypot(x1 - x0, y1 - y0); in dist()
544 private static float weight(float x0, float y0, float x1, float y1, float pow) { in weight() argument
545 float d = dist(x0, y0, x1, y1); in weight()
DCellLayout.java2023 final int y0 = mTmpPoint[1]; in ReorderPreviewAnimation() local
2028 final int dY = y1 - y0; in ReorderPreviewAnimation()
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java1113 int y0 = 0; in weaveDNAStrands() local
1116 y0 = top + getPixelOffsetFromMinutes(dayStartMinute, workDayHeight, remainderHeight); in weaveDNAStrands()
1120 + " " + y0 + " " + y1 + " for " + dayStartMinute + " " + dayEndMinute); in weaveDNAStrands()
1123 strand.points[strand.position++] = y0; in weaveDNAStrands()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state_utils.cpp491 const int y0 = (*sampledInputYs)[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/Calendar/src/com/android/calendar/month/
DMonthWeekEventsView.java608 int y0 = 0; in drawDaySeparators() local
614 lines[i++] = y0; in drawDaySeparators()
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar1341 …�*�"��@���v�7��cޡ��Ind�p8�֭=L�t9+��*����䞜����*���s����ONW���a�����?�s��y0x�Ny�ȳ��bá���y�]X�…
3028 �/*�(I%�FEnA9��i�����y�*y0 �q�Nj�#�#�w�h�ua�-N��Jl�YO��{�z�u�������=iRx�E��%s�R��z�t��*�…
4677 z��G�����/l�S_듉<CrXJD�YZE��Y�8'��_tx�¾�y�a�y0�r�_ �]4����1̓�'?{$�}��-u�6��f�q�E��9��f���…
7826 �9,��6�.>�{�6��1�����Ʊ�L��_�2�j���Ch?}y0��b 翧�K�O
8029 …ӞM�,�#���$+��Sv9 ��>U$e*��6��FQ�!N⧽:9c�<������Pj2�z�l0&�KRdnH���y0�NMH�0dV"B�sڡm���� …
12058 …�YJ ���R!���6J��2h�]�~��^��C�#�N:T%6>I뺭H��n��\�*�E"n<g�h�nH��s��{y0�Hq��8�]�q2d�.�>^p��…
13366 …ig'nsթ���m|�]_ŗ�G�|�M+���3�S�;�S��m.NrM|���C��w��~����)���Agfc@�-�&y0�0�䯩�+�����G忈�o�x�…
15485 � �FVB����ʧ��A�O�~���e@�w��`��*��ژ���9��F~y0� w�,�Y6)�ǂs�S�p(1��'����C��R)H��=sO�…
15510 …c�"�C��`A��ֽ����u��H��;��a��QGB���Q#$s�=z�Υ��W�h�[y�W�cD2�������y0���j��H�ڊGAֹ��ar��9��…