/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
D | db_utilities_geometry.h | 34 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/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities_geometry.h | 34 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/Gallery2/src/com/android/gallery3d/ui/ |
D | PhotoFallbackEffect.java | 105 float cx = d.centerX() * p + s.centerX() * (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()
|
D | SurfaceTextureScreenNail.java | 114 int cx = x + width / 2; in draw() local 116 canvas.translate(cx, cy); in draw() 118 canvas.translate(-cx, -cy); in draw()
|
D | GLRootView.java | 438 int cx = w / 2; in rotateCanvas() local 440 mCanvas.translate(cx, cy); in rotateCanvas() 443 mCanvas.translate(-cy, -cx); in rotateCanvas() 445 mCanvas.translate(-cx, -cy); in rotateCanvas()
|
D | PhotoView.java | 673 float cx = r.exactCenterX(); in drawTileView() local 713 cx = interpolate(filmRatio, cxPage, cx); in drawTileView() 722 setTileViewPosition(cx, cy, viewW, viewH, imageScale); in drawTileView() 726 canvas.translate((int) (cx + 0.5f), (int) (cy + 0.5f)); in drawTileView() 741 private void setTileViewPosition(float cx, float cy, in setTileViewPosition() argument 746 int centerX = (int) (imageW / 2f + (viewW / 2f - cx) / scale + 0.5f); in setTileViewPosition() 819 int cx = wantsCardEffect in draw() local 824 canvas.translate(cx, cy); in draw()
|
D | CropView.java | 640 float cx = r.centerX(); in drawHighlightRectangle() local 643 canvas.fillRect(cx - sx / 2, cy - sy / 2, sx, sy, Color.TRANSPARENT); in drawHighlightRectangle() 644 canvas.drawRect(cx - sx / 2, cy - sy / 2, sx, sy, mPaint); in drawHighlightRectangle() 650 canvas.drawRect(cx - sy / 2, cy - sx / 2, sy, sx, mPaint); in drawHighlightRectangle() 651 canvas.fillRect(cx - sy / 2, cy - sx / 2, sy, sx, Color.TRANSPARENT); in drawHighlightRectangle()
|
/packages/apps/Gallery2/jni/filters/ |
D | vignette.c | 35 int cx = w / 2; in createVignetteMap() local 40 float maxDistance = cx * cx * 2.0f; in createVignetteMap() 45 float distance = (cx - i) * (cx - i) + (cy - j) * (cy - j); in createVignetteMap()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageViewTouchBase.java | 341 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 …]
|
D | RotateBitmap.java | 60 int cx = mBitmap.getWidth() / 2; in getRotateMatrix() local 62 matrix.preTranslate(-cx, -cy); in getRotateMatrix()
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
D | ImageViewTouchBase.java | 376 final float cx = getWidth() / 2F; in zoomTo() local 379 zoomTo(scale, cx, cy); in zoomTo() 390 final float cx = getWidth() / 2F; in zoomToPoint() local 393 panBy(cx - pointX, cy - pointY); in zoomToPoint() 394 zoomTo(scale, cx, cy); in zoomToPoint() 431 float cx = getWidth() / 2F; in zoomIn() local 434 mSuppMatrix.postScale(rate, rate, cx, cy); in zoomIn() 453 float cx = getWidth() / 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/ |
D | Cling.java | 231 int cx = -1; in dispatchDraw() local 240 cx = positions[i]; in dispatchDraw() 242 if (cx > -1 && cy > -1) { in dispatchDraw() 243 c.drawCircle(cx, cy, mRevealRadius, mErasePaint); in dispatchDraw() 244 mPunchThroughGraphic.setBounds(cx - dw/2, cy - dh/2, cx + dw/2, cy + dh/2); in dispatchDraw() 257 mHandTouchGraphic.setBounds(cx + offset, cy + offset, in dispatchDraw() 258 cx + mHandTouchGraphic.getIntrinsicWidth() + offset, in dispatchDraw()
|
D | CellLayout.java | 408 int cx = in.centerX(); in scaleRectAboutCenter() local 411 out.offset(-cx, -cy); in scaleRectAboutCenter() 413 out.offset(cx, cy); in scaleRectAboutCenter()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/ |
D | PointCloud.java | 220 final float cx = mDrawable.getIntrinsicWidth() * 0.5f; in draw() local 224 canvas.translate(px - cx, py - cy); in draw()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoTable.java | 183 final float[] cx = {0.3f, 0.3f, 0.5f, 0.7f, 0.7f}; in randMultiDrop() local 186 float x = cx[n % cx.length]; in randMultiDrop() 187 float y = cy[n % cx.length]; in randMultiDrop()
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | PieRenderer.java | 643 private void setCircle(int cx, int cy) { in setCircle() argument 644 mCircle.set(cx - mCircleSize, cy - mCircleSize, in setCircle() 645 cx + mCircleSize, cy + mCircleSize); in setCircle() 646 mDial.set(cx - mCircleSize + mInnerOffset, cy - mCircleSize + mInnerOffset, in setCircle() 647 cx + mCircleSize - mInnerOffset, cy + mCircleSize - mInnerOffset); in setCircle()
|
/packages/apps/Camera/jni/feature_stab/src/dbreg/ |
D | vp_motionmodel.c | 343 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_stab/src/dbreg/ |
D | vp_motionmodel.c | 343 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/ |
D | Delaunay.cpp | 499 double cx = sa[c].X(); in ccw() local 504 double val = (ax - cx)*(by - cy) - (bx - cx)*(ay - cy); in ccw()
|
D | Blend.cpp | 646 int cx = (int)imgMos.Y.width/2; in PerformFinalBlending() local
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
D | Delaunay.cpp | 499 double cx = sa[c].X(); in ccw() local 504 double val = (ax - cx)*(by - cy) - (bx - cx)*(ay - cy); in ccw()
|
D | Blend.cpp | 653 int cx = (int)imgMos.Y.width/2; in PerformFinalBlending() local
|
/packages/apps/Browser/src/com/android/browser/view/ |
D | PieMenu.java | 440 int cx = item.getView().getLeft() + (onTheLeft() in onTouchEvent() local 444 layoutPieView(mPieView, cx, cy, in onTouchEvent()
|
/packages/apps/Camera/src/com/android/camera/ |
D | PanoramaModule.java | 839 int cx = bounds.centerX(); in draw() local 842 canvas.rotate(180, cx, cy); in draw()
|