Searched defs:cx (Results 1 - 8 of 8) sorted by relevance

/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
H A Ddb_utilities_geometry.h34 double cx,cy,m; local
36 cx=0;cy=0;
39 cx+= *X++;
45 c[0]=cx*m;
54 double cx,cy,m; local
57 cx=0;cy=0;
61 cx+=temp[0];
67 c[0]=cx*m;
78 double cx,cy,cz,m; local
80 cx
100 double cx,cy,cz,m; local
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DImageFilterVignette.java61 Bitmap bitmap, int w, int h, int cx, int cy, float radx, float rady,
64 private float calcRadius(float cx, float cy, int w, int h) { argument
65 float d = cx;
66 if (d < (w - cx)) {
67 d = w - cx;
91 float cx = w / 2;
93 float r = calcRadius(cx, cy, w, h);
104 cx = c[0];
120 mScript.set_centerx(cx);
60 nativeApplyFilter( Bitmap bitmap, int w, int h, int cx, int cy, float radx, float rady, float strength, float finalValue) argument
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DEclipseControl.java225 void paintRadius(Canvas canvas, float cx, float cy, float rx, float ry) { argument
226 if (cx == Float.NaN) {
231 RectF rect = new RectF(cx - rx, cy - ry, cx + rx, cy + ry);
236 paintOvallines(canvas, rect, paint, cx, cy, rx, ry);
240 paintOvallines(canvas, rect, paint, cx, cy, rx, ry);
244 Canvas canvas, RectF rect, Paint paint, float cx, float cy, float rx, float ry) {
254 rect.left = cx - dx;
256 rect.right = cx + dx;
261 rect.left = cx
243 paintOvallines( Canvas canvas, RectF rect, Paint paint, float cx, float cy, float rx, float ry) argument
284 fillHandles(Canvas canvas, float cx, float cy, float rx, float ry) argument
[all...]
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
H A Dvp_motionmodel.c343 VP_PAR cx, cy; local
356 cx = (VP_PAR) (w/2.0);
363 MXW(R2r)=cx*(((VP_PAR)1.0) - inv_zoom);
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DDelaunay.cpp499 double cx = sa[c].X(); local
504 double val = (ax - cx)*(by - cy) - (bx - cx)*(ay - cy);
H A DBlend.cpp646 int cx = (int)imgMos.Y.width/2; local
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
H A DPieRenderer.java633 private void setCircle(int cx, int cy) { argument
634 mCircle.set(cx - mCircleSize, cy - mCircleSize,
635 cx + mCircleSize, cy + mCircleSize);
636 mDial.set(cx - mCircleSize + mInnerOffset, cy - mCircleSize + mInnerOffset,
637 cx + mCircleSize - mInnerOffset, cy + mCircleSize - mInnerOffset);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DPhotoView.java679 float cx = r.exactCenterX();
708 float cxPage; // the cx value in page mode
719 cx = interpolate(filmRatio, cxPage, cx);
728 setTileViewPosition(cx, cy, viewW, viewH, imageScale);
732 canvas.translate((int) (cx + 0.5f), (int) (cy + 0.5f));
747 private void setTileViewPosition(float cx, float cy, argument
752 int centerX = (int) (imageW / 2f + (viewW / 2f - cx) / scale + 0.5f);
825 int cx = wantsCardEffect
830 canvas.translate(cx, c
[all...]

Completed in 188 milliseconds