/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | PathOpsActivity.java | 65 Path p2 = new Path(); 66 p2.addCircle(mSize, mSize, mSize / 2.0f, Path.Direction.CW); 70 if (!mPaths[i].op(p1, p2, ops[i])) {
|
H A D | ViewLayersActivity.java | 74 Paint p2 = new Paint(); 75 p2.setAlpha(127); 85 rightList.setLayerType(View.LAYER_TYPE_SOFTWARE, p2);
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
H A D | resize.rs | 38 static float4 cubicInterpolate (float4 p0,float4 p1,float4 p2,float4 p3 , float x) { 39 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 40 + x * (3.f * (p1 - p2) + p3 - p0))); 80 float4 p2 = cubicInterpolate(p20, p21, p22, p23, xf); 88 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
H A D | resize.rs | 38 static float4 cubicInterpolate (float4 p0,float4 p1,float4 p2,float4 p3 , float x) { 39 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 40 + x * (3.f * (p1 - p2) + p3 - p0))); 80 float4 p2 = cubicInterpolate(p20, p21, p22, p23, xf); 88 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | resize.rs | 38 static float4 cubicInterpolate (float4 p0,float4 p1,float4 p2,float4 p3 , float x) { 39 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 40 + x * (3.f * (p1 - p2) + p3 - p0))); 80 float4 p2 = cubicInterpolate(p20, p21, p22, p23, xf); 88 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | c2t64fx.c | 59 Word16 *p0, *p1, *p2, *psign; local 102 p2 = dn2; 107 *p2++ = s >> 7; 109 *p2++ = s >> 7; 111 *p2++ = s >> 7; 113 *p2++ = s >> 7; 228 p2 = rrixiy; 243 alp2 = add1(alp1, add1(*p1++, *p2++));
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | geometry.h | 56 Quad(const Point& p0, const Point& p1, const Point& p2, const Point& p3) argument 60 points_[2] = p2;
|
/frameworks/base/core/jni/android/opengl/ |
H A D | poly_clip.cpp | 111 Poly p2, *p, *q, *r; local 137 * at each step toggling between polygons p1 and p2 140 q = &p2; 148 /* if result ended up in p2 then copy it to p1 */ 149 if (p==&p2) 150 memcpy(p1, &p2, sizeof(Poly)-(POLY_NMAX-p2.n)*sizeof(Poly_vert));
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | StraightenFilter.java | 129 Point p2 = new Point(-cosTheta * mWidth - sinTheta * mHeight, 143 p2.set(scale * p2.x / mWidth + 0.5f, scale * p2.y / mHeight + 0.5f); 146 Quad quad = new Quad(p0, p1, p2, p3);
|
H A D | DrawRectFilter.java | 117 box.p2.x, box.p2.y };
|
/frameworks/base/libs/hwui/ |
H A D | ShadowTessellator.h | 83 static Vector2 calculateNormal(const Vector2& p1, const Vector2& p2);
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | geometry.h | 56 Quad(const Point& p0, const Point& p1, const Point& p2, const Point& p3) argument 60 points_[2] = p2;
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicResize.cpp | 71 static float4 cubicInterpolate(float4 p0,float4 p1,float4 p2,float4 p3, float x) { argument 72 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 73 + x * (3.f * (p1 - p2) + p3 - p0))); 76 static float2 cubicInterpolate(float2 p0,float2 p1,float2 p2,float2 p3, float x) { argument 77 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 78 + x * (3.f * (p1 - p2) + p3 - p0))); 81 static float cubicInterpolate(float p0,float p1,float p2,float p3 , float x) { argument 82 return p1 + 0.5f * x * (p2 106 float4 p2 = cubicInterpolate(convert_float4(yp2[xs0]), local 141 float2 p2 = cubicInterpolate(convert_float2(yp2[xs0]), local 170 float p2 = cubicInterpolate((float)yp2[xs0], (float)yp2[xs1], local 251 float4 p2 = cubicInterpolate(yp2[xs0], yp2[xs1], local 274 float2 p2 = cubicInterpolate(yp2[xs0], yp2[xs1], local 297 float p2 = cubicInterpolate(yp2[xs0], yp2[xs1], local [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | c1035pf.cpp | 272 Word16 *p0, *p1, *p2, *p3, *p4, *p5, *p6, *p7, *p8, *p9; 347 p2 = h - codvec[2]; 361 s = L_mac (s, *p2++, _sign[2]); 410 Word16 *p0, *p1, *p2, *p3, *p4, *p5, *p6, *p7, *p8, *p9; local 499 p2 = h - *(p_codvec++); 516 s += (*p2++ * *(p__sign++)) >> 7;
|
H A D | c8_31pf.cpp | 209 Word16 *p2; local 303 p2 = h - *(p_codvec++); 329 *p2++,
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiObject.java | 1034 PointerCoords p2 = new PointerCoords(); 1035 p2.x = eventX2; 1036 p2.y = eventY2; 1037 p2.pressure = 1; 1038 p2.size = 1; 1039 points2[i] = p2; 1055 PointerCoords p2 = new PointerCoords(); 1056 p2.x = endPoint2.x; 1057 p2.y = endPoint2.y; 1058 p2 [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
H A D | AudioEffect.java | 596 byte[] p2 = intToByteArray(param[1]); 597 p = concatArrays(p, p2); 621 byte[] p2 = intToByteArray(param[1]); 622 p = concatArrays(p, p2); 647 byte[] p2 = intToByteArray(param[1]); 648 p = concatArrays(p, p2); 765 byte[] p2 = intToByteArray(param[1]); 766 p = concatArrays(p, p2); 799 byte[] p2 = intToByteArray(param[1]); 800 p = concatArrays(p, p2); [all...] |
/frameworks/wilhelm/src/ |
H A D | sles_allinclusive.h | 450 #define EnqueueAsyncCallback_ppi(object, handler, p1, p2, i1) \ 452 (ClosureHandler_ppi) (handler), (p1), (p2), (i1)) 453 #define EnqueueAsyncCallback_ppii(object, handler, p1, p2, i1, i2) \ 455 (ClosureHandler_ppii) (handler), (p1), (p2), (i1), (i2)) 456 #define EnqueueAsyncCallback_piipp(object, handler, p1, i1, i2, p2, p3) \ 458 (ClosureHandler_piipp) (handler), (p1), (i1), (i2), (p2), (p3))
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | ShaderProgram.java | 173 region.p2.x, region.p2.y, 180 region.p2.x, region.p2.y,
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
H A D | SurfaceTextureTarget.java | 285 mTargetQuad.p2.set(0f, 1.0f); 294 mTargetQuad.p2.set(0.5f - 0.5f / relativeAspectRatio, 1.0f); 301 mTargetQuad.p2.set(0.0f, 0.5f + 0.5f * relativeAspectRatio); 311 mTargetQuad.p2.set(0.0f, 0.5f + 0.5f * relativeAspectRatio); 317 mTargetQuad.p2.set(0.5f - 0.5f / relativeAspectRatio, 1.0f);
|
/frameworks/rs/driver/runtime/ |
H A D | rs_sample.c | 72 const uchar4 *p2 = (const uchar4 *)&p[x]; local 73 return convert_float4(p2[0]); 193 float p2 = getElementAt1(p, stride, locX, nextY); local 195 float r = p0 * w0 + p1 * w1 + p2 * w2 + p3 * w3; 206 float p2 = getElementAt1(p, stride, locX, nextY); local 208 float r = p0 * w0 + p1 * w1 + p2 * w2 + p3 * w3; 219 float2 p2 = getElementAt2(p, stride, locX, nextY); local 221 float2 r = p0 * w0 + p1 * w1 + p2 * w2 + p3 * w3; 232 float4 p2 = getElementAt4(p, stride, locX, nextY); local 234 float4 r = p0 * w0 + p1 * w1 + p2 * w 245 float4 p2 = getElementAt4(p, stride, locX, nextY); local 257 float3 p2 = getElementAt565(p, stride, locX, nextY); local [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ReceiverList.java | 81 String p2 = prefix + " "; 89 bf.dumpInReceiverList(pw, pr, p2);
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
H A D | ObservableFieldTest.java | 147 ObservableFieldBindingObject.MyParcelable p2 = 149 mObj.pField.set(p2);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | ViewTransientStateTest.java | 47 mP2 = a.findViewById(R.id.p2);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | ColorSpace.java | 3208 * @param p2 The enclosed triangle 3209 * @return True if the triangle p1 contains the triangle p2 3214 private static boolean contains(@NonNull @Size(6) float[] p1, @NonNull @Size(6) float[] p2) { argument 3216 // with the vertices p2 as the origin 3218 p1[0] - p2[0], p1[1] - p2[1], 3219 p1[2] - p2[2], p1[3] - p2[3], 3220 p1[4] - p2[4], p1[5] - p2[ [all...] |