Home
last modified time | relevance | path

Searched refs:cy (Results 1 – 25 of 30) sorted by relevance

12

/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_geometry.h34 double cx,cy,m; in db_PointCentroid2D() local
36 cx=0;cy=0; in db_PointCentroid2D()
40 cy+= *X++; in db_PointCentroid2D()
46 c[1]=cy*m; in db_PointCentroid2D()
54 double cx,cy,m; in db_PointCentroid2D() local
57 cx=0;cy=0; in db_PointCentroid2D()
62 cy+=temp[1]; in db_PointCentroid2D()
68 c[1]=cy*m; in db_PointCentroid2D()
78 double cx,cy,cz,m; in db_PointCentroid3D() local
80 cx=0;cy=0;cz=0; in db_PointCentroid3D()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DIconShape.java222 float cy = radius + offsetY;
224 canvas.drawRoundRect(cx - radius, cy - radius, cx + radius, cy + radius, cr, cr, p);
230 float cy = radius + offsetY;
232 path.addRoundRect(cx - radius, cy - radius, cx + radius, cy + radius, cr, cr,
258 float cy = r1 + offsetY;
260 p.addRoundRect(cx - r1, cy - r1, cx + r1, cy + r1, getRadiiArray(r1, r2),
308 float cy = r + offsetY;
311 p.moveTo(cx, cy - r);
312 addLeftCurve(cx, cy, r, control, p);
313 addRightCurve(cx, cy, r, control, p);
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoFallbackEffect.java108 float cy = d.centerY() * p + s.centerY() * (1 - p); in drawEntry() local
115 mTarget.set(cx - ch / 2, cy - ch / 2, cx + ch / 2, cy + ch / 2); in drawEntry()
123 mTarget.set(cx - cw / 2, cy - ch / 2, cx - ch / 2, cy + ch / 2); in drawEntry()
128 mTarget.set(cx + ch / 2, cy - ch / 2, cx + cw / 2, cy + ch / 2); in drawEntry()
135 mTarget.set(cx - cw / 2, cy - cw / 2, cx + cw / 2, cy + cw / 2); in drawEntry()
143 mTarget.set(cx - cw / 2, cy - ch / 2, cx + cw / 2, cy - cw / 2); in drawEntry()
148 mTarget.set(cx - cw / 2, cy + cw / 2, cx + cw / 2, cy + ch / 2); in drawEntry()
DSurfaceTextureScreenNail.java117 int cy = y + height / 2; in draw() local
118 canvas.translate(cx, cy); in draw()
120 canvas.translate(-cx, -cy); in draw()
DGLRootView.java449 int cy = h / 2; in rotateCanvas() local
450 mCanvas.translate(cx, cy); in rotateCanvas()
453 mCanvas.translate(-cy, -cx); in rotateCanvas()
455 mCanvas.translate(-cx, -cy); in rotateCanvas()
DPhotoView.java680 float cy = r.exactCenterY(); in drawTileView() local
728 setTileViewPosition(cx, cy, viewW, viewH, imageScale); in drawTileView()
732 canvas.translate((int) (cx + 0.5f), (int) (cy + 0.5f)); in drawTileView()
747 private void setTileViewPosition(float cx, float cy, in setTileViewPosition() argument
753 int centerY = (int) (imageH / 2f + (viewH / 2f - cy) / scale + 0.5f); in setTileViewPosition()
828 int cy = r.centerY(); in draw() local
830 canvas.translate(cx, cy); in draw()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DEclipseControl.java225 void paintRadius(Canvas canvas, float cx, float cy, float rx, float ry) { in paintRadius() argument
231 RectF rect = new RectF(cx - rx, cy - ry, cx + rx, cy + ry); in paintRadius()
236 paintOvallines(canvas, rect, paint, cx, cy, rx, ry); in paintRadius()
240 paintOvallines(canvas, rect, paint, cx, cy, rx, ry); in paintRadius()
244 Canvas canvas, RectF rect, Paint paint, float cx, float cy, float rx, float ry) { in paintOvallines() argument
255 rect.top = cy - dy; in paintOvallines()
257 rect.bottom = cy + dy; in paintOvallines()
262 rect.top = cy - dy; in paintOvallines()
264 rect.bottom = cy + dy; in paintOvallines()
274 float y = cy + (float) (ry * Math.sin(angle)); in paintOvallines()
[all …]
DGeometryMathUtils.java361 float cy = h / 2f; in getPartialToScreenMatrix() local
363 compensation.postScale(scale, scale, cx, cy); in getPartialToScreenMatrix()
364 compensation.postRotate(angle, cx, cy); in getPartialToScreenMatrix()
365 compensation.postRotate(rotation, cx, cy); in getPartialToScreenMatrix()
366 compensation.postTranslate(-cx, -cy); in getPartialToScreenMatrix()
368 compensation.postTranslate(cx, cy); in getPartialToScreenMatrix()
DGradControl.java236 float cy = (p1y + p2y) / 2; in paintOvallines() local
249 float cy = (p1y + p2y) / 2; in fillHandles() local
251 handley[0] = cy; in fillHandles()
/packages/apps/Gallery/src/com/android/camera/
DImageViewTouchBase.java342 float cy = getHeight() / 2F; in zoomTo() local
344 zoomTo(scale, cx, cy); in zoomTo()
349 float cy = getHeight() / 2F; in zoomToPoint() local
351 panBy(cx - pointX, cy - pointY); in zoomToPoint()
352 zoomTo(scale, cx, cy); in zoomToPoint()
372 float cy = getHeight() / 2F; in zoomIn() local
374 mSuppMatrix.postScale(rate, rate, cx, cy); in zoomIn()
384 float cy = getHeight() / 2F; in zoomOut() local
388 tmp.postScale(1F / rate, 1F / rate, cx, cy); in zoomOut()
391 mSuppMatrix.setScale(1F, 1F, cx, cy); in zoomOut()
[all …]
DRotateBitmap.java61 int cy = mBitmap.getHeight() / 2; in getRotateMatrix() local
62 matrix.preTranslate(-cx, -cy); in getRotateMatrix()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFocusLogic.java179 int cy = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellY; in createSparseMatrix() local
181 if (x < m && cy < n) { // check if view fits into matrix, else skip in createSparseMatrix()
182 matrix[x][cy] = i; in createSparseMatrix()
221 int cy = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellY; in createSparseMatrixWithHotseat() local
222 matrix[cx][cy] = i; in createSparseMatrixWithHotseat()
232 int cy = ((CellLayout.LayoutParams) in createSparseMatrixWithHotseat() local
234 matrix[iconLayout.getCountX()][cy] = iconParent.getChildCount() + i; in createSparseMatrixWithHotseat()
268 int cy = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellY; in createSparseMatrixWithPivotColumn() local
270 matrix[cx - pivotX][cy] = i; in createSparseMatrixWithPivotColumn()
272 matrix[cx][cy] = i; in createSparseMatrixWithPivotColumn()
/packages/apps/Test/connectivity/PMC/
Dbuild_pmc.sh20 cy='\e[0;36m'
26 echo -e "Welcome to ${r}U${brn}N${y}I${g}C${lb}O${cy}R${p}N${NC} build system for ${g}PMC${NC}"
112 echo -e " ${r}U${brn}N${y}I${g}C${cy}O${lb}R${p}N ${r}P${brn}O${y}W${g}E${cy}R${lb}!${p}!${NC}"
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropDrawingUtils.java120 float cy = cropBounds.centerY(); in drawWallpaperSelectionFrame() local
121 RectF r1 = new RectF(cx - sx / 2, cy - sy / 2, cx + sx / 2, cy + sy / 2); in drawWallpaperSelectionFrame()
125 RectF r2 = new RectF(cx - sx / 2, cy - sy / 2, cx + sx / 2, cy + sy / 2); in drawWallpaperSelectionFrame()
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageView.java260 int cy = height / 2; in positionFromMatrix() local
270 cy += (mTempRectF.top / scale) - yoffset; in positionFromMatrix()
272 cy -= (mTempRectF.top / scale) - yoffset; in positionFromMatrix()
275 mRenderer.centerX = swap ? cy : cx; in positionFromMatrix()
276 mRenderer.centerY = swap ? cx : cy; in positionFromMatrix()
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java278 float cy = r.centerY(); in scaleRectFAboutCenter() local
279 r.offset(-cx, -cy); in scaleRectFAboutCenter()
284 r.offset(cx, cy); in scaleRectFAboutCenter()
291 int cy = r.centerY(); in scaleRectAboutCenter() local
292 r.offset(-cx, -cy); in scaleRectAboutCenter()
294 r.offset(cx, cy); in scaleRectAboutCenter()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieRenderer.java633 private void setCircle(int cx, int cy) { in setCircle() argument
634 mCircle.set(cx - mCircleSize, cy - mCircleSize, in setCircle()
635 cx + mCircleSize, cy + mCircleSize); in setCircle()
636 mDial.set(cx - mCircleSize + mInnerOffset, cy - mCircleSize + mInnerOffset, in setCircle()
637 cx + mCircleSize - mInnerOffset, cy + mCircleSize - mInnerOffset); in setCircle()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieRenderer.java632 private void setCircle(int cx, int cy) { in setCircle() argument
633 circle.set(cx - circleSize, cy - circleSize, cx + circleSize, cy + circleSize); in setCircle()
636 cy - circleSize + innerOffset, in setCircle()
638 cy + circleSize - innerOffset); in setCircle()
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
Dvp_motionmodel.c343 VP_PAR cx, cy; in vp_zoom_motion2d() local
357 cy = (VP_PAR) (h/2.0); in vp_zoom_motion2d()
364 MYW(R2r)=cy*(((VP_PAR)1.0) - inv_zoom); in vp_zoom_motion2d()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DDelaunay.cpp502 double cy = sa[c].Y(); in ccw() local
504 double val = (ax - cx)*(by - cy) - (bx - cx)*(ay - cy); in ccw()
DBlend.cpp647 int cy = (int)imgMos.Y.height/2; in PerformFinalBlending() local
/packages/inputmethods/LatinIME/dictionaries/
Dpl_wordlist.combined.gz
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTable.java328 final float[] cy = {0.3f, 0.7f, 0.5f, 0.3f, 0.7f}; in randMultiDrop() local
331 float y = cy[n % cx.length]; in randMultiDrop()
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar398 …�ҍ��E��rQ��{zӊ�E�w&��\sۜ�$0%|�I�g?_j��,"8�b��@n����X�P;~4����Hc�CC�$�y(=���,g�7�t�Ʃcy�9
1105 �� d���Lh�NFF6��ǥ$�1��H�������f�v�`U��j�v��f�������i]�(���דC)�$m�I�׮E�+�ܐ7c��cy��N ���N…
1988 -�D-����*67���X����?J�Y9 ?7��"������N<c?�4���g"x���p܂01�4٥Y�1�rǰ�]e���%�$n��r�cy�`;
2521 …#���/>7�N�M��1�� ۱�N�F��o�.��^hbd�s���-ł��oo�Gkd�{�Y��>CNc���K��|cy%��y��Y�S��a�;���S…
2620 …�����>�4�5��ub�u����x]�dž���х���@� ���$��W�'Ư�z�����J�U���ʇ2�cy�'�9�ש�E�w���&h�{���#…
3110 b�xs���I�k燐��Õ��#ҹ�n�p��$�4M�q�@ $� ���U)p�����sQcy's���^}h��;]���Z#�������8�iW*s�9E̎…
6069 �Sb�݀V���I���k�v�lq�v^���cy���,�+��2�k!ʓ��j���'ѯb(�A�<�~�;VJ��N*[֓���I��cQApE��z����h~…
7743 �@�@:{� m�jW�9��;�cy��5�.�"A%�:l qW�]Ii������
8023 …�� �4J�ߵN��p ��h�Ev�j���=Y ���x�=M1�#AГ��u��LdQ����@���H\�O�cy'xn@�SQQ�B��9=��cs��…
8045 …\�~��$UFF �5k\�����*�J3����>�������<�rzW#^��O�/�"���8�q�c=OJ���柼cy��'�8���HJ���H%�N…
[all …]
/packages/apps/TV/tuner/tests/assets/
Dcapture_kqed.ts12201 …6��G�1�6��I�?S�wO5���y�m����M& �$���f������� ^1jY�{θ=���P�"p�d��cy�q���'{�Y� {���� h…
12203 'Z� cy�y�n,��
18075 … ��ǣzG�In�ۡ��6�{t'���p�-��p����26J���cn�+��S,/d����i�[��M���t��cy�^�7�Ԃ����Lkf�N�…
18742 ���`���2�5t|�� ��������m�z�v>B�*�0cy�G@0��������1� GA94Digital Television��b���1����3…
18999 8��Fҷ��+<%��?#���Ui�� �ɮ�Ԝ�nR����(G�1�*PQ��+`lo/t�MԻ(h{t@3cy��. �5}��{����>����o��5P@…
19011 …�g[��4hÈm5��ѣF�2����ũ�V߈[75-)��ckzz�����s��h}o�F�hƸ��[��h+#Ozߡ�d����1�cy�Z�6��-l��do��6�9�-��…
31049 …���������������������������G�A�{�v��s�&�r�0�N܏��=��}�I��T�}:�B��I���cy>Es�,��5O�.eŃ*2��GL�…
33650 …�S>Ϯ��=��O�|�$��D��Q����_ ��~��G�kv��N�p��)J��Z��ћ8l�^@�gK��1�b|1cy�}6�0 �a<t1 �;׃��c�
38651 …��h�� �h��5��\&G�1-p H�u�\������*��`�qYi��#H�N|�6C(��o\\��J _�cy��ӷ�%������c�F�(…
41483 …�FFZ���i�yu�:�c���/����h͓ �g�$�a�#E=Z`��d�����<d��C�a�AK�����>p���cy���6�f�2��z?�� _�…
[all …]

12