Searched defs:py (Results 1 - 9 of 9) sorted by relevance

/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DRectUtils.java59 public static void rotateRect(final int degrees, final int px, final int py, final Rect rect) { argument
62 matrix.setRotate(degrees, px, py);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmb_motion_comp.cpp153 MOT px[4], py[4]; local
200 dy = py[0] = py[1] = py[2] = py[3] = video->motY[imv];
232 py[0] = video->motY[imv];
233 py[1] = video->motY[imv+1];
234 py[2] = video->motY[imv+mvwidth];
235 py[3] = video->motY[imv+mvwidth+1];
236 xsum = py[
[all...]
/frameworks/base/libs/hwui/
H A DMatrix.cpp483 float py = vertices[i + 1]; local
485 x = px * data[kScaleX] + py * data[kSkewX] + data[kTranslateX];
486 y = px * data[kSkewY] + py * data[kScaleY] + data[kTranslateY];
487 z = px * data[kPerspective0] + py * data[kPerspective1] + data[kPerspective2];
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/
H A DSpotShadow.java23 private static float rayIntersectPoly(@NonNull float[] poly, int polyLength, float px, float py, argument
33 float t = (dx * (p1y - py) + dy * px - dy * p1x) / (div);
35 float t2 = (p1x * (py - p2y) + p2x * (p1y - py) + px * (p2y - p1y)) / div;
/frameworks/base/core/jni/android/graphics/
H A DMatrix.cpp175 jfloat py) {
177 obj->setScale(sx, sy, px, py);
186 jfloat py) {
188 obj->setRotate(degrees, px, py);
197 jfloat cosValue, jfloat px, jfloat py) {
199 obj->setSinCos(sinValue, cosValue, px, py);
209 jfloat py) {
211 obj->setSkew(kx, ky, px, py);
232 jfloat py) {
234 obj->preScale(sx, sy, px, py);
174 setScale__FFFF(jlong objHandle, jfloat sx, jfloat sy, jfloat px, jfloat py) argument
185 setRotate__FFF(jlong objHandle, jfloat degrees, jfloat px, jfloat py) argument
196 setSinCos__FFFF(jlong objHandle, jfloat sinValue, jfloat cosValue, jfloat px, jfloat py) argument
208 setSkew__FFFF(jlong objHandle, jfloat kx, jfloat ky, jfloat px, jfloat py) argument
231 preScale__FFFF(jlong objHandle, jfloat sx, jfloat sy, jfloat px, jfloat py) argument
242 preRotate__FFF(jlong objHandle, jfloat degrees, jfloat px, jfloat py) argument
253 preSkew__FFFF(jlong objHandle, jfloat kx, jfloat ky, jfloat px, jfloat py) argument
275 postScale__FFFF(jlong objHandle, jfloat sx, jfloat sy, jfloat px, jfloat py) argument
286 postRotate__FFF(jlong objHandle, jfloat degrees, jfloat px, jfloat py) argument
297 postSkew__FFFF(jlong objHandle, jfloat kx, jfloat ky, jfloat px, jfloat py) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DMatrix_Delegate.java265 float px, float py) {
271 d.mValues = getScale(sx, sy, px, py);
293 /*package*/ static void nSetRotate(long native_object, float degrees, float px, float py) { argument
299 d.mValues = getRotate(degrees, px, py);
314 float px, float py) {
323 setTranslate(d.mValues, -px, -py);
328 d.postTransform(getTranslate(px, py));
343 float px, float py) {
349 d.mValues = getSkew(kx, ky, px, py);
398 float px, float py) {
264 nSetScale(long native_object, float sx, float sy, float px, float py) argument
313 nSetSinCos(long native_object, float sinValue, float cosValue, float px, float py) argument
342 nSetSkew(long native_object, float kx, float ky, float px, float py) argument
397 nPreScale(long native_object, float sx, float sy, float px, float py) argument
414 nPreRotate(long native_object, float degrees, float px, float py) argument
436 nPreSkew(long native_object, float kx, float ky, float px, float py) argument
470 nPostScale(long native_object, float sx, float sy, float px, float py) argument
487 nPostRotate(long native_object, float degrees, float px, float py) argument
504 nPostSkew(long native_object, float kx, float ky, float px, float py) argument
984 getScale(float sx, float sy, float px, float py) argument
1036 getRotate(float degrees, float px, float py) argument
1061 getSkew(float kx, float ky, float px, float py) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_RenderNode.cpp244 static jboolean android_view_RenderNode_setPivotY(jlong renderNodePtr, float py) { argument
245 return SET_AND_DIRTY(setPivotY, py, RenderNode::GENERIC);
/frameworks/base/graphics/java/android/graphics/
H A DMatrix.java63 public void setScale(float sx, float sy, float px, float py) {
73 public void setRotate(float degrees, float px, float py) {
83 public void setSinCos(float sinValue, float cosValue, float px, float py) {
93 public void setSkew(float kx, float ky, float px, float py) {
115 public boolean preScale(float sx, float sy, float px, float py) {
127 public boolean preRotate(float degrees, float px, float py) {
139 public boolean preSkew(float kx, float ky, float px, float py) {
163 public boolean postScale(float sx, float sy, float px, float py) {
175 public boolean postRotate(float degrees, float px, float py) {
187 public boolean postSkew(float kx, float ky, float px, float py) {
326 setScale(float sx, float sy, float px, float py) argument
340 setRotate(float degrees, float px, float py) argument
356 setSinCos(float sinValue, float cosValue, float px, float py) argument
369 setSkew(float kx, float ky, float px, float py) argument
406 preScale(float sx, float sy, float px, float py) argument
422 preRotate(float degrees, float px, float py) argument
438 preSkew(float kx, float ky, float px, float py) argument
470 postScale(float sx, float sy, float px, float py) argument
486 postRotate(float degrees, float px, float py) argument
502 postSkew(float kx, float ky, float px, float py) argument
887 nSetScale(long nObject, float sx, float sy, float px, float py) argument
891 nSetRotate(long nObject, float degrees, float px, float py) argument
895 nSetSinCos(long nObject, float sinValue, float cosValue, float px, float py) argument
900 nSetSkew(long nObject, float kx, float ky, float px, float py) argument
908 nPreScale(long nObject, float sx, float sy, float px, float py) argument
912 nPreRotate(long nObject, float degrees, float px, float py) argument
916 nPreSkew(long nObject, float kx, float ky, float px, float py) argument
924 nPostScale(long nObject, float sx, float sy, float px, float py) argument
928 nPostRotate(long nObject, float degrees, float px, float py) argument
932 nPostSkew(long nObject, float kx, float ky, float px, float py) argument
[all...]
H A DCanvas.java641 * @param py The y-coord for the pivot point (unchanged by the scale)
643 public final void scale(float sx, float sy, float px, float py) { argument
645 translate(px, py);
647 translate(-px, -py);
665 * @param py The y-coord for the pivot point (unchanged by the rotation)
667 public final void rotate(float degrees, float px, float py) { argument
669 translate(px, py);
671 translate(-px, -py);

Completed in 2495 milliseconds