/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() 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/ |
D | IconShape.java | 222 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/ |
D | PhotoFallbackEffect.java | 108 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()
|
D | SurfaceTextureScreenNail.java | 117 int cy = y + height / 2; in draw() local 118 canvas.translate(cx, cy); in draw() 120 canvas.translate(-cx, -cy); in draw()
|
D | GLRootView.java | 449 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()
|
D | PhotoView.java | 680 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/ |
D | EclipseControl.java | 225 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 …]
|
D | ImageGrad.java | 144 float cy = MasterImage.getImage().getOriginalBounds().height() / 2; in setRepresentation() local 145 float rx = Math.min(cx, cy) * .4f; in setRepresentation() 147 mGradRep.setPoint1(cx, cy-rx); in setRepresentation() 148 mGradRep.setPoint2(cx, cy+rx); in setRepresentation() 150 c1[1] = cy-rx; in setRepresentation() 155 c2[1] = cy+rx; in setRepresentation()
|
D | GeometryMathUtils.java | 361 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()
|
D | GradControl.java | 236 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/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ImageFilterVignette.java | 61 Bitmap bitmap, int w, int h, int cx, int cy, float radx, float rady, in nativeApplyFilter() argument 64 private float calcRadius(float cx, float cy, int w, int h) { in calcRadius() argument 69 if (d < cy) { in calcRadius() 70 d = cy; in calcRadius() 72 if (d < (h - cy)) { in calcRadius() 73 d = h - cy; in calcRadius() 92 float cy = h / 2; in runFilter() local 93 float r = calcRadius(cx, cy, w, h); in runFilter() 105 cy = c[1]; in runFilter() 121 mScript.set_centery(cy); in runFilter()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageViewTouchBase.java | 342 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 …]
|
D | RotateBitmap.java | 61 int cy = mBitmap.getHeight() / 2; in getRotateMatrix() local 62 matrix.preTranslate(-cx, -cy); in getRotateMatrix()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | FocusLogic.java | 179 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/ |
D | build_pmc.sh | 20 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/ |
D | CropDrawingUtils.java | 120 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/ |
D | TiledImageView.java | 260 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/ |
D | Utilities.java | 315 float cy = r.centerY(); in scaleRectFAboutCenter() local 316 r.offset(-cx, -cy); in scaleRectFAboutCenter() 321 r.offset(cx, cy); in scaleRectFAboutCenter() 328 int cy = r.centerY(); in scaleRectAboutCenter() local 329 r.offset(-cx, -cy); in scaleRectAboutCenter() 331 r.offset(cx, cy); in scaleRectAboutCenter()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | PieRenderer.java | 633 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/ |
D | PieRenderer.java | 632 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/ |
D | vp_motionmodel.c | 343 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/ |
D | Delaunay.cpp | 502 double cy = sa[c].Y(); in ccw() local 504 double val = (ax - cx)*(by - cy) - (bx - cx)*(ay - cy); in ccw()
|
D | Blend.cpp | 647 int cy = (int)imgMos.Y.height/2; in PerformFinalBlending() local
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | pl_wordlist.combined.gz | 1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ... |
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoTable.java | 328 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()
|