Home
last modified time | relevance | path

Searched refs:py (Results 1 – 25 of 38) sorted by relevance

12

/packages/inputmethods/PinyinIME/jni/android/
Dcom_android_inputmethod_pinyin_PinyinDecoderService.cpp131 const char *py = im_get_sps_str(&py_len); // py_len gets decoded length in nativeImGetPyStr() local
132 assert(NULL != py); in nativeImGetPyStr()
134 py_len = strlen(py); in nativeImGetPyStr()
142 retbuf[i] = py[i]; in nativeImGetPyStr()
152 const char *py = im_get_sps_str(&py_len); // py_len gets decoded length in nativeImGetPyStrLen() local
153 assert(NULL != py); in nativeImGetPyStrLen()
155 py_len = strlen(py); in nativeImGetPyStrLen()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DSpline.java324 float py = mCurrentControlPoint.y * h; in draw() local
327 canvas.drawLine(px, py, px, h, paint); in draw()
328 canvas.drawLine(0, py, px, py, paint); in draw()
331 canvas.drawLine(px, py, px, h, paint); in draw()
332 canvas.drawLine(0, py, px, py, paint); in draw()
DImageCurves.java225 float py = spline.getPoint(0).y; in pickControlPoint() local
226 double delta = Math.sqrt((px - x) * (px - x) + (py - y) * (py - y)); in pickControlPoint()
229 py = spline.getPoint(i).y; in pickControlPoint()
230 double currentDelta = Math.sqrt((px - x) * (px - x) + (py - y) in pickControlPoint()
231 * (py - y)); in pickControlPoint()
DImageShow.java531 int py = 0; in drawCompareImage() local
534 py = mTouch.y - mImageBounds.top; in drawCompareImage()
537 py = mImageBounds.height(); in drawCompareImage()
544 mImageBounds.left + px, mImageBounds.top + py); in drawCompareImage()
548 mImageBounds.right, mImageBounds.top + py); in drawCompareImage()
552 d.set(mImageBounds.left, mImageBounds.top + py, in drawCompareImage()
DControlPoint.java23 public ControlPoint(float px, float py) { in ControlPoint() argument
25 y = py; in ControlPoint()
/packages/apps/Gallery2/jni/filters/
Dtinyplanet.cc119 float py = (phi / PI_F) * input_height; in StereographicProjection() local
123 py = wrap(py, input_height); in StereographicProjection()
126 InterpolatePixel(input, px, py, output(x, y)); in StereographicProjection()
/packages/apps/Camera2/jni/
Dtinyplanet.cc120 float py = (phi / PI_F) * input_height; in StereographicProjection() local
124 py = wrap(py, input_height); in StereographicProjection()
127 InterpolatePixel(input, px, py, output(x, y)); in StereographicProjection()
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/
DPointCloud.java213 final float py = point.y + mCenterY; in draw() local
223 canvas.scale(s, s, px, py); in draw()
224 canvas.translate(px - cx, py - cy); in draw()
230 canvas.drawCircle(px, py, pointSize, mPaint); in draw()
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
DPointCloud.java213 final float py = point.y + mCenterY; in draw() local
223 canvas.scale(s, s, px, py); in draw()
224 canvas.translate(px - cx, py - cy); in draw()
230 canvas.drawCircle(px, py, pointSize, mPaint); in draw()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeWithPreviewPoints.java174 final int[] py = mPreviewYCoordinates.getPrimitiveArray(); in interpolateStrokeAndReturnStartIndexOfLastSegment() local
175 mInterpolator.reset(px, py, 0, size); in interpolateStrokeAndReturnStartIndexOfLastSegment()
214 yCoords.add(d1, py[p2]); in interpolateStrokeAndReturnStartIndexOfLastSegment()
/packages/apps/Camera2/jni/feature_stab/src/dbreg/
Ddbstabsmooth.cpp291 bool db_StabilizationSmoother::is_point_in_rect(double px, double py, double rx, double ry, double … in is_point_in_rect() argument
297 if (py < ry) in is_point_in_rect()
299 if (py >= ry + h) in is_point_in_rect()
Ddbstabsmooth.h136 bool is_point_in_rect(double px, double py, double rx, double ry, double w, double h);
/packages/apps/Camera/jni/feature_stab/src/dbreg/
Ddbstabsmooth.cpp291 bool db_StabilizationSmoother::is_point_in_rect(double px, double py, double rx, double ry, double … in is_point_in_rect() argument
297 if (py < ry) in is_point_in_rect()
299 if (py >= ry + h) in is_point_in_rect()
Ddbstabsmooth.h136 bool is_point_in_rect(double px, double py, double rx, double ry, double w, double h);
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
Ddbstabsmooth.cpp291 bool db_StabilizationSmoother::is_point_in_rect(double px, double py, double rx, double ry, double … in is_point_in_rect() argument
297 if (py < ry) in is_point_in_rect()
299 if (py >= ry + h) in is_point_in_rect()
Ddbstabsmooth.h136 bool is_point_in_rect(double px, double py, double rx, double ry, double w, double h);
/packages/inputmethods/PinyinIME/jni/share/
Dmatrixsearch.cpp419 size_t MatrixSearch::search(const char *py, size_t py_len) { in search() argument
420 if (!inited_ || NULL == py) in search()
431 if ('\0' == py[ch_pos] || py[ch_pos] != pys_[ch_pos]) in search()
441 memcpy(pys_ + ch_pos, py + ch_pos, py_len - ch_pos); in search()
445 if (!add_char(py[ch_pos])) { in search()
Duserdict.cpp492 const unsigned char py = *spl_trie.get_spelling_str(splid_str[i]); in prepare_locate() local
493 searchable->signature[i>>2] |= (py << (8 * (i % 4))); in prepare_locate()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DRectUtils.java59 public static void rotateRect(final int degrees, final int px, final int py, final Rect rect) { in rotateRect() argument
62 matrix.setRotate(degrees, px, py); in rotateRect()
/packages/apps/Launcher2/src/com/android/launcher2/
DUtilities.java183 float py = (destHeight - src.getHeight()) / 2; in drawSelectedAllAppsBitmap() local
184 dest.drawBitmap(mask, px + xy[0], py + xy[1], in drawSelectedAllAppsBitmap()
/packages/inputmethods/PinyinIME/jni/include/
Dmatrixsearch.h399 size_t search(const char *py, size_t py_len);
/packages/inputmethods/LatinIME/dictionaries/
Dfi_wordlist.combined.gz1dictionary=main:fi,locale=fi,description=Suomi,date=1380519383, ...
/packages/apps/Camera2/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile602 # *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90
630 *.py \
/packages/apps/Camera/jni/feature_stab/doc/
Ddbreg_API_doxyfile602 # *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90
630 *.py \
/packages/apps/Camera2/jni/feature_stab/doc/
Ddbreg_API_doxyfile602 # *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90
630 *.py \

12