Home
last modified time | relevance | path

Searched refs:cy (Results 1 – 18 of 18) 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()
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/Camera/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/Gallery2/src/com/android/gallery3d/ui/
DPhotoFallbackEffect.java106 float cy = d.centerY() * p + s.centerY() * (1 - p); in drawEntry() local
113 mTarget.set(cx - ch / 2, cy - ch / 2, cx + ch / 2, cy + ch / 2); in drawEntry()
121 mTarget.set(cx - cw / 2, cy - ch / 2, cx - ch / 2, cy + ch / 2); in drawEntry()
126 mTarget.set(cx + ch / 2, cy - ch / 2, cx + cw / 2, cy + ch / 2); in drawEntry()
133 mTarget.set(cx - cw / 2, cy - cw / 2, cx + cw / 2, cy + cw / 2); in drawEntry()
141 mTarget.set(cx - cw / 2, cy - ch / 2, cx + cw / 2, cy - cw / 2); in drawEntry()
146 mTarget.set(cx - cw / 2, cy + cw / 2, cx + cw / 2, cy + ch / 2); in drawEntry()
DSurfaceTextureScreenNail.java85 int cy = y + height / 2; in draw() local
86 canvas.translate(cx, cy); in draw()
88 canvas.translate(-cx, -cy); in draw()
DGLRootView.java409 int cy = h / 2; in rotateCanvas() local
410 mCanvas.translate(cx, cy); in rotateCanvas()
413 mCanvas.translate(-cy, -cx); in rotateCanvas()
415 mCanvas.translate(-cx, -cy); in rotateCanvas()
DPhotoView.java648 float cy = r.exactCenterY(); in drawTileView() local
696 setTileViewPosition(cx, cy, viewW, viewH, imageScale); in drawTileView()
700 canvas.translate((int) (cx + 0.5f), (int) (cy + 0.5f)); in drawTileView()
715 private void setTileViewPosition(float cx, float cy, in setTileViewPosition() argument
721 int centerY = (int) (imageH / 2f + (viewH / 2f - cy) / scale + 0.5f); in setTileViewPosition()
794 int cy = r.centerY(); in draw() local
796 canvas.translate(cx, cy); in draw()
DCropView.java640 float cy = r.centerY(); in drawHighlightRectangle() local
642 canvas.fillRect(cx - sx / 2, cy - sy / 2, sx, sy, Color.TRANSPARENT); in drawHighlightRectangle()
643 canvas.drawRect(cx - sx / 2, cy - sy / 2, sx, sy, mPaint); in drawHighlightRectangle()
649 canvas.drawRect(cx - sy / 2, cy - sx / 2, sy, sx, mPaint); in drawHighlightRectangle()
650 canvas.fillRect(cx - sy / 2, cy - sx / 2, sy, sx, Color.TRANSPARENT); in drawHighlightRectangle()
/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/VideoEditor/src/com/android/videoeditor/widgets/
DImageViewTouchBase.java377 final float cy = getHeight() / 2F; in zoomTo() local
379 zoomTo(scale, cx, cy); in zoomTo()
391 final float cy = getHeight() / 2F; in zoomToPoint() local
393 panBy(cx - pointX, cy - pointY); in zoomToPoint()
394 zoomTo(scale, cx, cy); in zoomToPoint()
432 float cy = getHeight() / 2F; in zoomIn() local
434 mSuppMatrix.postScale(rate, rate, cx, cy); in zoomIn()
454 float cy = getHeight() / 2F; in zoomOut() local
458 tmp.postScale(1F / rate, 1F / rate, cx, cy); in zoomOut()
461 mSuppMatrix.setScale(1F, 1F, cx, cy); in zoomOut()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DCling.java239 int cy = -1; in dispatchDraw() local
248 cy = positions[i + 1]; in dispatchDraw()
249 if (cx > -1 && cy > -1) { in dispatchDraw()
250 c.drawCircle(cx, cy, mRevealRadius, mErasePaint); in dispatchDraw()
251 mPunchThroughGraphic.setBounds(cx - dw/2, cy - dh/2, cx + dw/2, cy + dh/2); in dispatchDraw()
264 mHandTouchGraphic.setBounds(cx + offset, cy + offset, in dispatchDraw()
266 cy + mHandTouchGraphic.getIntrinsicHeight() + offset); in dispatchDraw()
/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/Camera/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/Camera/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.cpp654 int cy = (int)imgMos.Y.height/2; in PerformFinalBlending() local
/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/apps/Browser/src/com/android/browser/view/
DPieMenu.java442 int cy = item.getView().getTop(); in onTouchEvent() local
444 layoutPieView(mPieView, cx, cy, in onTouchEvent()