Home
last modified time | relevance | path

Searched refs:cx (Results 1 – 22 of 22) 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.java219 float cx = radius + offsetX;
222 canvas.drawRoundRect(cx - radius, cy - radius, cx + radius, cy + radius, cr, cr, p);
227 float cx = radius + offsetX;
230 path.addRoundRect(cx - radius, cy - radius, cx + radius, cy + radius, cr, cr,
255 float cx = r1 + offsetX;
258 p.addRoundRect(cx - r1, cy - r1, cx + r1, cy + r1, getRadiiArray(r1, r2),
305 float cx = r + offsetX;
309 p.moveTo(cx, cy - r);
310 addLeftCurve(cx, cy, r, control, p);
311 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/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/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/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/Launcher3/src/com/android/launcher3/
DUtilities.java344 int cx = r.centerX(); in scaleRectAboutCenter() local
346 r.offset(-cx, -cy); in scaleRectAboutCenter()
348 r.offset(cx, cy); in scaleRectAboutCenter()
/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/inputmethods/LatinIME/dictionaries/
Dfi_wordlist.combined.gz