Home
last modified time | relevance | path

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

/packages/apps/Gallery2/jni/filters/
Dtinyplanet.cc118 float py = (phi / PI_F) * input_height; in StereographicProjection() local
122 py = wrap(py, input_height); in StereographicProjection()
125 InterpolatePixel(input, px, py, output(x, y)); in StereographicProjection()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
DControlPoint.java23 public ControlPoint(float px, float py) { in ControlPoint() argument
25 y = py; in ControlPoint()
DImageCurves.java150 float py = spline.getPoint(0).y; in pickControlPoint() local
151 double delta = Math.sqrt((px - x) * (px - x) + (py - y) * (py - y)); in pickControlPoint()
154 py = spline.getPoint(i).y; in pickControlPoint()
155 double currentDelta = Math.sqrt((px - x) * (px - x) + (py - y) in pickControlPoint()
156 * (py - y)); in pickControlPoint()
DSpline.java296 float py = mCurrentControlPoint.y * h; in draw() local
299 canvas.drawLine(px, py, px, h, paint); in draw()
300 canvas.drawLine(0, py, px, py, paint); in draw()
303 canvas.drawLine(px, py, px, h, paint); in draw()
304 canvas.drawLine(0, py, px, py, paint); in draw()
/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/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/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/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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMainKeyboardView.java801 final int px, py; in processMotionEvent() local
806 py = mMoreKeysPanel.translateY((int)me.getY(i)); in processMotionEvent()
810 py = (int)me.getY(i); in processMotionEvent()
813 tracker.onMoveEvent(px, py, eventTime, motionEvent); in processMotionEvent()
818 + pointerId + "," + px + "," + py + "," in processMotionEvent()
823 i, pointerId, px, py); in processMotionEvent()
/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/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageShow.java504 int py = 0; in drawPartialImage() local
507 py = (int) (mTouchY - mImageBounds.top); in drawPartialImage()
510 py = mImageBounds.height(); in drawPartialImage()
514 mImageBounds.left + px, mImageBounds.top + py); in drawPartialImage()
/packages/inputmethods/PinyinIME/jni/include/
Dmatrixsearch.h399 size_t search(const char *py, size_t py_len);
/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/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile602 # *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90
630 *.py \
/packages/apps/Camera/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/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile602 # *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90
630 *.py \