/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/base/core/java/android/inputmethodservice/ |
H A D | CompactExtractEditLayout.java | 73 private static void setLayoutHeight(View v, int px) { argument 75 lp.height = px; 79 private static void setLayoutMarginBottom(View v, int px) { argument 81 lp.bottomMargin = px; 124 // typically 25-35px in height.
|
/frameworks/base/media/mca/filterpacks/native/imageproc/ |
H A D | contrast.c | 77 float px = *(input_ptr++) / 255.0; local 78 px -= 0.5; 79 px *= contrast; 80 px += 0.5; 81 *(output_ptr++) = (char)(px > 1.0 ? 255.0 : (px < 0.0 ? 0.0 : px * 255.0));
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/octo/ |
H A D | TaperedPathStroke.java | 33 public static void setMinStep(float px) { argument 34 sMinStepPx = px;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | mb_motion_comp.cpp | 153 MOT px[4], py[4]; local 199 dx = px[0] = px[1] = px[2] = px[3] = video->motX[imv]; 225 px[0] = video->motX[imv]; 226 px[1] = video->motX[imv+1]; 227 px[2] = video->motX[imv+mvwidth]; 228 px[3] = video->motX[imv+mvwidth+1]; 229 xsum = px[ [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicConvolve3x3.cpp | 91 float4 px = convert_float4(py0[x1]) * coeff[0] + local 101 px = clamp(px + 0.5f, 0.f, 255.f); 102 uchar4 o = {(uchar)px.x, (uchar)px.y, (uchar)px.z, (uchar)px.w}; 113 float2 px = convert_float2(py0[x1]) * coeff[0] + local 123 px = clamp(px 134 float px = ((float)py0[x1]) * coeff[0] + local [all...] |
H A D | rsCpuIntrinsicConvolve5x5.cpp | 93 float4 px = convert_float4(py0[x0]) * coeff[0] + local 122 px = clamp(px + 0.5f, 0.f, 255.f); 123 *out = convert_uchar4(px); 136 float2 px = convert_float2(py0[x0]) * coeff[0] + local 165 px = clamp(px + 0.5f, 0.f, 255.f); 166 *out = convert_uchar2(px); 179 float px = (float)(py0[x0]) * coeff[0] + local 208 px 222 float4 px = py0[x0] * coeff[0] + local 264 float2 px = py0[x0] * coeff[0] + local 306 float px = py0[x0] * coeff[0] + local [all...] |
/frameworks/base/libs/hwui/ |
H A D | Matrix.cpp | 482 float px = vertices[i]; 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 | 174 static void setScale__FFFF(jlong objHandle, jfloat sx, jfloat sy, jfloat px, argument 177 obj->setScale(sx, sy, px, py); 185 static void setRotate__FFF(jlong objHandle, jfloat degrees, jfloat px, argument 188 obj->setRotate(degrees, px, py); 197 jfloat cosValue, jfloat px, jfloat py) { 199 obj->setSinCos(sinValue, cosValue, px, py); 208 static void setSkew__FFFF(jlong objHandle, jfloat kx, jfloat ky, jfloat px, argument 211 obj->setSkew(kx, ky, px, py); 231 static void preScale__FFFF(jlong objHandle, jfloat sx, jfloat sy, jfloat px, argument 234 obj->preScale(sx, sy, px, p 196 setSinCos__FFFF(jlong objHandle, jfloat sinValue, jfloat cosValue, 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, floa 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/java/android/widget/ |
H A D | Spinner.java | 1083 public void setVerticalOffset(int px); argument 1084 public void setHorizontalOffset(int px); argument 1148 public void setVerticalOffset(int px) { argument 1153 public void setHorizontalOffset(int px) { argument
|
/frameworks/base/core/jni/ |
H A D | android_view_RenderNode.cpp | 261 static jboolean android_view_RenderNode_setPivotX(jlong renderNodePtr, float px) { argument 262 return SET_AND_DIRTY(setPivotX, px, 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, floa 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 | 670 * @param px The x-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); 694 * @param px The x-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);
|