/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
H A D | RectUtils.java | 59 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 D | mb_motion_comp.cpp | 153 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 D | Matrix.cpp | 483 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/core/jni/android/graphics/ |
H A D | Matrix.cpp | 175 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/layoutlib/bridge/src/android/graphics/ |
H A D | Matrix_Delegate.java | 268 float px, float py) { 274 d.mValues = getScale(sx, sy, px, py); 296 /*package*/ static void nSetRotate(long native_object, float degrees, float px, float py) { argument 302 d.mValues = getRotate(degrees, px, py); 317 float px, float py) { 326 setTranslate(d.mValues, -px, -py); 331 d.postTransform(getTranslate(px, py)); 346 float px, float py) { 352 d.mValues = getSkew(kx, ky, px, py); 401 float px, float py) { 267 nSetScale(long native_object, float sx, float sy, float px, float py) argument 316 nSetSinCos(long native_object, float sinValue, float cosValue, float px, float py) argument 345 nSetSkew(long native_object, float kx, float ky, float px, float py) argument 400 nPreScale(long native_object, float sx, float sy, float px, float py) argument 417 nPreRotate(long native_object, float degrees, float px, float py) argument 439 nPreSkew(long native_object, float kx, float ky, float px, float py) argument 473 nPostScale(long native_object, float sx, float sy, float px, float py) argument 490 nPostRotate(long native_object, float degrees, float px, float py) argument 507 nPostSkew(long native_object, float kx, float ky, float px, float py) argument 982 getScale(float sx, float sy, float px, float py) argument 1034 getRotate(float degrees, float px, float py) argument 1059 getSkew(float kx, float ky, float px, float py) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_RenderNode.cpp | 265 static jboolean android_view_RenderNode_setPivotY(jlong renderNodePtr, float py) { argument 266 return SET_AND_DIRTY(setPivotY, py, RenderNode::GENERIC);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Matrix.java | 63 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 D | Canvas.java | 671 * @param py The y-coord for the pivot point (unchanged by the scale) 673 public final void scale(float sx, float sy, float px, float py) { argument 675 translate(px, py); 677 translate(-px, -py); 695 * @param py The y-coord for the pivot point (unchanged by the rotation) 697 public final void rotate(float degrees, float px, float py) { argument 699 translate(px, py); 701 translate(-px, -py);
|