Searched refs:py (Results 1 - 16 of 16) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
H A DControlPoint.java23 public ControlPoint(float px, float py) { argument
25 y = py;
H A DImageCurves.java150 float py = spline.getPoint(0).y;
151 double delta = Math.sqrt((px - x) * (px - x) + (py - y) * (py - y));
154 py = spline.getPoint(i).y;
155 double currentDelta = Math.sqrt((px - x) * (px - x) + (py - y)
156 * (py - y));
H A DSpline.java296 float py = mCurrentControlPoint.y * h;
299 canvas.drawLine(px, py, px, h, paint);
300 canvas.drawLine(0, py, px, py, paint);
303 canvas.drawLine(px, py, px, h, paint);
304 canvas.drawLine(0, py, px, py, paint);
/packages/apps/Gallery2/jni/filters/
H A Dtinyplanet.cc118 float py = (phi / PI_F) * input_height; local
122 py = wrap(py, input_height);
125 InterpolatePixel(input, px, py, output(x, y));
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
H A DPointCloud.java213 final float py = point.y + mCenterY;
223 canvas.scale(s, s, px, py);
224 canvas.translate(px - cx, py - cy);
230 canvas.drawCircle(px, py, pointSize, mPaint);
/packages/inputmethods/PinyinIME/jni/android/
H A Dcom_android_inputmethod_pinyin_PinyinDecoderService.cpp131 const char *py = im_get_sps_str(&py_len); // py_len gets decoded length local
132 assert(NULL != py);
134 py_len = strlen(py);
142 retbuf[i] = py[i];
152 const char *py = im_get_sps_str(&py_len); // py_len gets decoded length local
153 assert(NULL != py);
155 py_len = strlen(py);
/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
297 if (py < ry)
299 if (py >= ry + h)
/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
297 if (py < ry)
299 if (py >= ry + h)
/packages/apps/Launcher2/src/com/android/launcher2/
H A DUtilities.java183 float py = (destHeight - src.getHeight()) / 2;
184 dest.drawBitmap(mask, px + xy[0], py + xy[1],
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DMainKeyboardView.java801 final int px, py;
806 py = mMoreKeysPanel.translateY((int)me.getY(i));
810 py = (int)me.getY(i);
813 tracker.onMoveEvent(px, py, eventTime, motionEvent);
818 + pointerId + "," + px + "," + py + ","
823 i, pointerId, px, py);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageShow.java504 int py = 0;
507 py = (int) (mTouchY - mImageBounds.top);
510 py = mImageBounds.height();
514 mImageBounds.left + px, mImageBounds.top + py);
/packages/inputmethods/PinyinIME/jni/include/
H A Dmatrixsearch.h399 size_t search(const char *py, size_t py_len);
/packages/inputmethods/PinyinIME/jni/share/
H A Dmatrixsearch.cpp419 size_t MatrixSearch::search(const char *py, size_t py_len) { argument
420 if (!inited_ || NULL == py)
431 if ('\0' == py[ch_pos] || py[ch_pos] != pys_[ch_pos])
441 memcpy(pys_ + ch_pos, py + ch_pos, py_len - ch_pos);
445 if (!add_char(py[ch_pos])) {
H A Duserdict.cpp492 const unsigned char py = *spl_trie.get_spelling_str(splid_str[i]); local
493 searchable->signature[i>>2] |= (py << (8 * (i % 4)));

Completed in 313 milliseconds