Home
last modified time | relevance | path

Searched refs:cx (Results 1 – 24 of 24) sorted by relevance

/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()
39 cx+= *X++; in db_PointCentroid2D()
45 c[0]=cx*m; in db_PointCentroid2D()
54 double cx,cy,m; in db_PointCentroid2D() local
57 cx=0;cy=0; in db_PointCentroid2D()
61 cx+=temp[0]; in db_PointCentroid2D()
67 c[0]=cx*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.java221 float cx = radius + offsetX;
224 canvas.drawRoundRect(cx - radius, cy - radius, cx + radius, cy + radius, cr, cr, p);
229 float cx = radius + offsetX;
232 path.addRoundRect(cx - radius, cy - radius, cx + radius, cy + radius, cr, cr,
257 float cx = r1 + offsetX;
260 p.addRoundRect(cx - r1, cy - r1, cx + r1, cy + r1, getRadiiArray(r1, r2),
307 float cx = r + offsetX;
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/filtershow/imageshow/
DEclipseControl.java225 void paintRadius(Canvas canvas, float cx, float cy, float rx, float ry) { in paintRadius() argument
226 if (Float.isNaN(cx)) { in paintRadius()
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
254 rect.left = cx - dx; in paintOvallines()
256 rect.right = cx + dx; in paintOvallines()
261 rect.left = cx - dx; in paintOvallines()
263 rect.right = cx + dx; in paintOvallines()
[all …]
DGeometryMathUtils.java360 float cx = w / 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.java235 float cx = (p1x + p2x) / 2; in paintOvallines() local
248 float cx = (p1x + p2x) / 2; in fillHandles() local
250 handlex[0] = cx; in fillHandles()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoFallbackEffect.java107 float cx = d.centerX() * p + s.centerX() * (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.java116 int cx = x + width / 2; in draw() local
118 canvas.translate(cx, cy); in draw()
120 canvas.translate(-cx, -cy); in draw()
DPhotoView.java679 float cx = r.exactCenterX(); in drawTileView() local
719 cx = interpolate(filmRatio, cxPage, cx); in drawTileView()
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
752 int centerX = (int) (imageW / 2f + (viewW / 2f - cx) / scale + 0.5f); in setTileViewPosition()
825 int cx = wantsCardEffect in draw() local
830 canvas.translate(cx, cy); in draw()
DGLRootView.java448 int cx = w / 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()
/packages/apps/Gallery/src/com/android/camera/
DImageViewTouchBase.java341 float cx = getWidth() / 2F; in zoomTo() local
344 zoomTo(scale, cx, cy); in zoomTo()
348 float cx = getWidth() / 2F; in zoomToPoint() local
351 panBy(cx - pointX, cy - pointY); in zoomToPoint()
352 zoomTo(scale, cx, cy); in zoomToPoint()
371 float cx = getWidth() / 2F; in zoomIn() local
374 mSuppMatrix.postScale(rate, rate, cx, cy); in zoomIn()
383 float cx = getWidth() / 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.java60 int cx = mBitmap.getWidth() / 2; in getRotateMatrix() local
62 matrix.preTranslate(-cx, -cy); in getRotateMatrix()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFocusLogic.java178 int cx = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellX; in createSparseMatrix() local
180 int x = invert ? (m - cx - 1) : cx; in createSparseMatrix()
220 int cx = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellX; in createSparseMatrixWithHotseat() local
222 matrix[cx][cy] = i; in createSparseMatrixWithHotseat()
228 int cx = ((CellLayout.LayoutParams) in createSparseMatrixWithHotseat() local
230 matrix[cx][iconLayout.getCountY()] = iconParent.getChildCount() + i; in createSparseMatrixWithHotseat()
267 int cx = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellX; in createSparseMatrixWithPivotColumn() local
270 matrix[cx - pivotX][cy] = i; in createSparseMatrixWithPivotColumn()
272 matrix[cx][cy] = i; in createSparseMatrixWithPivotColumn()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropDrawingUtils.java119 float cx = cropBounds.centerX(); 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.java259 int cx = width / 2; in positionFromMatrix() local
265 cx += (mTempRectF.left / scale) - xoffset; in positionFromMatrix()
267 cx -= (mTempRectF.left / scale) - xoffset; 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.java277 float cx = r.centerX(); in scaleRectFAboutCenter() local
279 r.offset(-cx, -cy); in scaleRectFAboutCenter()
284 r.offset(cx, cy); in scaleRectFAboutCenter()
290 int cx = r.centerX(); 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()
635 cx - circleSize + innerOffset, in setCircle()
637 cx + circleSize - innerOffset, in setCircle()
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
Dvp_motionmodel.c343 VP_PAR cx, cy; in vp_zoom_motion2d() local
356 cx = (VP_PAR) (w/2.0); in vp_zoom_motion2d()
363 MXW(R2r)=cx*(((VP_PAR)1.0) - inv_zoom); in vp_zoom_motion2d()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DDelaunay.cpp499 double cx = sa[c].X(); in ccw() local
504 double val = (ax - cx)*(by - cy) - (bx - cx)*(ay - cy); in ccw()
DBlend.cpp646 int cx = (int)imgMos.Y.width/2; in PerformFinalBlending() local
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTable.java327 final float[] cx = {0.3f, 0.3f, 0.5f, 0.7f, 0.7f}; in randMultiDrop() local
330 float x = cx[n % cx.length]; in randMultiDrop()
331 float y = cy[n % cx.length]; in randMultiDrop()
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar284 �i�<���)�-�-��+�K�HR��=j��^+��4Ͼg�����~ w�і�Z��L��卼�|�x���cx��n�� �|� ϙ/n���΍&����s�ŵ�n_�,�…
775 ��������N�")�I* ;���&�q��߼19<�ֈZy��7UB0Hq��ڣ32�cx���$R[� �b��������� ��*��hw4���'���z�…
3492 …�޿Z|jU�$ H?ZX��yyR� ���2z����Ѐxq�(9c�s�� �q��Y�e'���9�i��0�#�\�+cx:��� ֢C �6�#q֤�pdXĬ…
4012 �q�y츐�9#9^@���܆<*2�6#��`��cx��;˘��r���P0y��
4739 6�e4F��������t���vH�؊���{%d��qס5(�ը���+y�@@�[�0����$�j�/a��cx�G�g���yj�O q��x�O0�@…
4972 4�iLn�O�d`հĶ�jy�@�������w�cx�b0�� l�4��,2���%P�ڣ?�ޝ�i� M���k�!�}�5#��5e�n�֣w%\���a…
5353 …-0kz;�?T�<�Ln ����E)�1@c��[�uĢPc��v�&�.��u�ފ�T���R��l�)7�qQi��3��Rā��SW�cxM�|�b�N�mX�
6143 �̓���UՋǮ8>�����T�N� ��cx�<���O2!T�ʚ�Uہ���iB�ւI�K!
6423 …,��c�s�a����Y�z|�׀��D�A1��:��؅�c9e;1�q�����FO`Uj.��p�\�4ic�o����cx�,��ڧ��r��s�������B~…
6781 …;D[h��(b��pG�T�����:��'�f�'`����$lA��X:͝�¼pJKg�fN��\ץ��M���k9�~O�\�4����B1��:/�d;�cx[�
[all …]
/packages/apps/TV/tuner/tests/assets/
Dcapture_kqed.ts372 �OX�6�����8[�� �-cxV��&3��η?sw�RB��=(�H-u4#�<���G���"uVD�8{�&��U�����9s��h��7�k�iPy���x��…
404 DdZ�����R�����g�d����G���C�%5^�x��Vt<1�\����BN�G�i�I%��ŝ���!cx�f� �xG��#I~��~?4͵���u}�.�;…
12589 �l`- ���f��X!�?N����@��^@BLHB���R��`ro C�@�L�cx� �ݖ�2:�p��E�0���{--��e��W���
13732 …90���#G�vV؏}t:x$�8]쀅��؏p���}�@ J�Tn������4����с��3@h ��K���vK�r��cx=����"��A4����…
17256 …�?L �G�15�htm!m:Sy+5kt�}�Ͱ��V�����{h�l֪��q�Y��jқť5��l1��Xl���)��Y��1�cx�{6���L��(ƞ���A�-…
18956 …�����%��BQ��G�1����#���#uim�|�Z��;�CZ�b��U��j���uF�K�����ҋTc)l�)�<��[��!�d���̎%�����m�)cx��
26085 @�U�j4b ���4 �:!! �k��aG�Q�Rѳ9�a0a{�W�V8��cx��h����ˢC�a�����Jd$�0����C�"B��1@[���…
30731 …�g����3I������l2����?.T^�zo�bV ��e��o�$I������^�G�Q;H&��=�`7��!���cx���.��f�� �ِ9��͆tJ…
32017 }���{�<7�XM)8�i���j�,!��r>��a��섛Y&�$\�Q��h$���ϲ����A��I��u�H�!t&�"!CN�R�J� ���cx"��t…
32929 …����������������������G�A����矑"���5C���+s�*G�%��y0�����g����O��Ģcx�@ȼ���e� �oS�?�*� …
[all …]
/packages/inputmethods/LatinIME/dictionaries/
Dfi_wordlist.combined.gz1dictionary=main:fi,locale=fi,description=Suomi,date=1393228135, ...