Searched refs:px (Results 1 - 14 of 14) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DControlPoint.java23 public ControlPoint(float px, float py) { argument
24 x = px;
H A DImageCurves.java224 float px = spline.getPoint(0).x;
226 double delta = Math.sqrt((px - x) * (px - x) + (py - y) * (py - y));
228 px = spline.getPoint(i).x;
230 double currentDelta = Math.sqrt((px - x) * (px - x) + (py - y)
H A DSpline.java323 float px = mCurrentControlPoint.x * w;
327 canvas.drawLine(px, py, px, h, paint);
328 canvas.drawLine(0, py, px, py, paint);
331 canvas.drawLine(px, py, px, h, paint);
332 canvas.drawLine(0, py, px, py, paint);
H A DImageShow.java531 int px = 0;
534 px = mImageBounds.width();
537 px = mTouch.x - mImageBounds.left;
540 px = mImageBounds.width();
545 mImageBounds.left + px, mImageBounds.top + py);
548 d.set(mImageBounds.left + px, mImageBounds.top,
554 mImageBounds.left + px, mImageBounds.bottom);
/packages/apps/Camera2/jni/
H A Dtinyplanet.cc119 float px = (theta / (2 * PI_F)) * input_width; local
123 px = wrap(px, input_width);
127 InterpolatePixel(input, px, py, output(x, y));
/packages/apps/Gallery2/jni/filters/
H A Dtinyplanet.cc118 float px = (theta / (2 * PI_F)) * input_width; local
122 px = wrap(px, input_width);
126 InterpolatePixel(input, px, py, output(x, y));
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/
H A DPointCloud.java212 final float px = point.x + mCenterX;
223 canvas.scale(s, s, px, py);
224 canvas.translate(px - cx, py - cy);
230 canvas.drawCircle(px, py, pointSize, mPaint);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DPartner.java163 int px = getResources().getDimensionPixelSize(resId);
164 dp.iconSize = DynamicGrid.dpiFromPx(px, dm);
/packages/apps/Camera/jni/feature_stab/src/dbreg/
H A Ddbstabsmooth.h136 bool is_point_in_rect(double px, double py, double rx, double ry, double w, double h);
H A Ddbstabsmooth.cpp291 bool db_StabilizationSmoother::is_point_in_rect(double px, double py, double rx, double ry, double w, double h) argument
293 if (px < rx)
295 if (px >= rx + w)
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
H A Ddbstabsmooth.h136 bool is_point_in_rect(double px, double py, double rx, double ry, double w, double h);
H A Ddbstabsmooth.cpp291 bool db_StabilizationSmoother::is_point_in_rect(double px, double py, double rx, double ry, double w, double h) argument
293 if (px < rx)
295 if (px >= rx + w)
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DGestureStrokeDrawingPoints.java129 final int[] px = mPreviewXCoordinates.getPrimitiveArray();
131 mInterpolator.reset(px, py, 0, size);
169 xCoords.addAt(d1, px[p2]);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DUtilities.java182 float px = (destWidth - src.getWidth()) / 2;
184 dest.drawBitmap(mask, px + xy[0], py + xy[1],

Completed in 1034 milliseconds