Searched refs:cx (Results 1 - 25 of 40) sorted by relevance

12

/packages/apps/Camera/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/Camera2/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/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/ui/
H A DPhotoFallbackEffect.java107 float cx = d.centerX() * p + s.centerX() * (1 - p);
115 mTarget.set(cx - ch / 2, cy - ch / 2, cx + ch / 2, cy + ch / 2);
123 mTarget.set(cx - cw / 2, cy - ch / 2, cx - ch / 2, cy + ch / 2);
128 mTarget.set(cx + ch / 2, cy - ch / 2, cx + cw / 2, cy + ch / 2);
135 mTarget.set(cx - cw / 2, cy - cw / 2, cx + cw / 2, cy + cw / 2);
143 mTarget.set(cx
[all...]
H A DSurfaceTextureScreenNail.java116 int cx = x + width / 2;
118 canvas.translate(cx, cy);
120 canvas.translate(-cx, -cy);
H A DGLRootView.java448 int cx = w / 2;
450 mCanvas.translate(cx, cy);
453 mCanvas.translate(-cy, -cx);
455 mCanvas.translate(-cx, -cy);
H A DPhotoView.java680 float cx = r.exactCenterX();
709 float cxPage; // the cx value in page mode
720 cx = interpolate(filmRatio, cxPage, cx);
729 setTileViewPosition(cx, cy, viewW, viewH, imageScale);
733 canvas.translate((int) (cx + 0.5f), (int) (cy + 0.5f));
748 private void setTileViewPosition(float cx, float cy, argument
753 int centerX = (int) (imageW / 2f + (viewW / 2f - cx) / scale + 0.5f);
826 int cx = wantsCardEffect
831 canvas.translate(cx, c
[all...]
/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...]
H A DImageGrad.java143 float cx = MasterImage.getImage().getOriginalBounds().width() / 2;
145 float rx = Math.min(cx, cy) * .4f;
147 mGradRep.setPoint1(cx, cy-rx);
148 mGradRep.setPoint2(cx, cy+rx);
149 c1[0] = cx;
154 c2[0] = cx;
H A DGeometryMathUtils.java360 float cx = w / 2f;
363 compensation.postScale(scale, scale, cx, cy);
364 compensation.postRotate(angle, cx, cy);
365 compensation.postRotate(rotation, cx, cy);
366 compensation.postTranslate(-cx, -cy);
368 compensation.postTranslate(cx, cy);
H A DGradControl.java235 float cx = (p1x + p2x) / 2;
248 float cx = (p1x + p2x) / 2;
250 handlex[0] = cx;
/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/Gallery/src/com/android/camera/
H A DImageViewTouchBase.java341 float cx = getWidth() / 2F;
344 zoomTo(scale, cx, cy);
348 float cx = getWidth() / 2F;
351 panBy(cx - pointX, cy - pointY);
352 zoomTo(scale, cx, cy);
371 float cx = getWidth() / 2F;
374 mSuppMatrix.postScale(rate, rate, cx, cy);
383 float cx = getWidth() / 2F;
388 tmp.postScale(1F / rate, 1F / rate, cx, cy);
391 mSuppMatrix.setScale(1F, 1F, cx, c
[all...]
H A DRotateBitmap.java60 int cx = mBitmap.getWidth() / 2;
62 matrix.preTranslate(-cx, -cy);
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
H A DImageViewTouchBase.java376 final float cx = getWidth() / 2F;
379 zoomTo(scale, cx, cy);
390 final float cx = getWidth() / 2F;
393 panBy(cx - pointX, cy - pointY);
394 zoomTo(scale, cx, cy);
431 float cx = getWidth() / 2F;
434 mSuppMatrix.postScale(rate, rate, cx, cy);
453 float cx = getWidth() / 2F;
458 tmp.postScale(1F / rate, 1F / rate, cx, cy);
461 mSuppMatrix.setScale(1F, 1F, cx, c
[all...]
/packages/apps/Camera2/src/com/android/camera/ui/
H A DCameraControls.java148 int cx = (other.left + other.right) / 2;
150 v.layout(cx - tw / 2 + lp.leftMargin,
152 cx + tw / 2 - lp.rightMargin,
160 int cx = (other.left + other.right) / 2;
173 l = cx - tw / 2 + lp.leftMargin;
174 r = cx + tw / 2 - lp.rightMargin;
187 l = cx - tw / 2 + lp.leftMargin;
188 r = cx + tw / 2 - lp.rightMargin;
200 int cx = (other.left + other.right) / 2;
211 l = cx
[all...]
H A DPieRenderer.java417 private Path makeSlice(float start, float end, int inner, int outer, int cx, int cy) { argument
419 new RectF(cx - outer, cy - outer, cx + outer,
422 new RectF(cx - inner, cy - inner, cx + inner,
938 private void setCircle(int cx, int cy) { argument
939 mCircle.set(cx - mCircleSize, cy - mCircleSize,
940 cx + mCircleSize, cy + mCircleSize);
941 mDial.set(cx - mCircleSize + mInnerOffset, cy - mCircleSize + mInnerOffset,
942 cx
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DCling.java231 int cx = -1;
240 cx = positions[i];
242 if (cx > -1 && cy > -1) {
243 c.drawCircle(cx, cy, mRevealRadius, mErasePaint);
244 mPunchThroughGraphic.setBounds(cx - dw/2, cy - dh/2, cx + dw/2, cy + dh/2);
257 mHandTouchGraphic.setBounds(cx + offset, cy + offset,
258 cx + mHandTouchGraphic.getIntrinsicWidth() + offset,
/packages/apps/Camera2/src/com/android/camera/crop/
H A DCropDrawingUtils.java119 float cx = cropBounds.centerX();
121 RectF r1 = new RectF(cx - sx / 2, cy - sy / 2, cx + sx / 2, cy + sy / 2);
125 RectF r2 = new RectF(cx - sx / 2, cy - sy / 2, cx + sx / 2, cy + sy / 2);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropDrawingUtils.java119 float cx = cropBounds.centerX();
121 RectF r1 = new RectF(cx - sx / 2, cy - sy / 2, cx + sx / 2, cy + sy / 2);
125 RectF r2 = new RectF(cx - sx / 2, cy - sy / 2, cx + sx / 2, cy + sy / 2);
/packages/apps/Gallery2/src/com/android/photos/views/
H A DTiledImageView.java259 int cx = width / 2;
265 cx += (mTempRectF.left / scale) - xoffset;
267 cx -= (mTempRectF.left / scale) - xoffset;
275 mRenderer.centerX = swap ? cy : cx;
276 mRenderer.centerY = swap ? cx : cy;
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/
H A DTiledImageView.java271 int cx = width / 2;
277 cx += (mTempRectF.left / scale) - xoffset;
279 cx -= (mTempRectF.left / scale) - xoffset;
287 mRenderer.centerX = swap ? cy : cx;
288 mRenderer.centerY = swap ? cx : cy;
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
H A DPointCloud.java220 final float cx = mDrawable.getIntrinsicWidth() * 0.5f;
224 canvas.translate(px - cx, py - cy);
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/
H A DPointCloud.java220 final float cx = mDrawable.getIntrinsicWidth() * 0.5f;
224 canvas.translate(px - cx, py - cy);
/packages/apps/Camera/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);

Completed in 424 milliseconds

12