/frameworks/rs/java/tests/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/java/tests/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/java/tests/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 99 p2 = dn2; 104 *p2++ = s >> 7; 106 *p2++ = s >> 7; 108 *p2++ = s >> 7; 110 *p2++ = s >> 7; 225 p2 = rrixiy; 240 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/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 | 78 static float4 cubicInterpolate(float4 p0,float4 p1,float4 p2,float4 p3, float x) { argument 79 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 80 + x * (3.f * (p1 - p2) + p3 - p0))); 83 static float2 cubicInterpolate(float2 p0,float2 p1,float2 p2,float2 p3, float x) { argument 84 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 85 + x * (3.f * (p1 - p2) + p3 - p0))); 88 static float cubicInterpolate(float p0,float p1,float p2,float p3 , float x) { argument 89 return p1 + 0.5f * x * (p2 113 float4 p2 = cubicInterpolate(convert_float4(yp2[xs0]), local 148 float2 p2 = cubicInterpolate(convert_float2(yp2[xs0]), local 177 float p2 = cubicInterpolate((float)yp2[xs0], (float)yp2[xs1], local 258 float4 p2 = cubicInterpolate(yp2[xs0], yp2[xs1], local 281 float2 p2 = cubicInterpolate(yp2[xs0], yp2[xs1], local 304 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 | 1031 PointerCoords p2 = new PointerCoords(); 1032 p2.x = eventX2; 1033 p2.y = eventY2; 1034 p2.pressure = 1; 1035 p2.size = 1; 1036 points2[i] = p2; 1052 PointerCoords p2 = new PointerCoords(); 1053 p2.x = endPoint2.x; 1054 p2.y = endPoint2.y; 1055 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...] |
H A D | Equalizer.java | 406 int p2 = -1; 412 p2 = byteArrayToInt(param, 4); 422 l.onParameterChange(Equalizer.this, status, p1, p2, v);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ViewLayersActivity.java | 74 Paint p2 = new Paint(); 75 p2.setAlpha(127); 85 rightList.setLayerType(View.LAYER_TYPE_SOFTWARE, p2);
|
/frameworks/wilhelm/src/ |
H A D | sles_allinclusive.h | 449 #define EnqueueAsyncCallback_ppi(object, handler, p1, p2, i1) \ 451 (ClosureHandler_ppi) (handler), (p1), (p2), (i1)) 452 #define EnqueueAsyncCallback_ppii(object, handler, p1, p2, i1, i2) \ 454 (ClosureHandler_ppii) (handler), (p1), (p2), (i1), (i2)) 455 #define EnqueueAsyncCallback_piipp(object, handler, p1, i1, i2, p2, p3) \ 457 (ClosureHandler_piipp) (handler), (p1), (i1), (i2), (p2), (p3))
|
/frameworks/base/libs/hwui/ |
H A D | ShadowTessellator.h | 85 static Vector2 calculateNormal(const Vector2& p1, const Vector2& p2);
|
/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/telephony/java/com/android/internal/telephony/ |
H A D | ITelephony.aidl | 571 * @param p2 P2 value of the APDU command. 579 int p1, int p2, int p3, String data); 589 * @param p2 P2 value of the APDU command. 597 int p1, int p2, int p3, String data); 605 * @param p2 P2 value of the APDU command. 610 byte[] iccExchangeSimIO(int fileID, int command, int p1, int p2, int p3,
|
/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/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | UiccCard.java | 509 int p1, int p2, int p3, String data, Message response) { 510 mCi.iccTransmitApduLogicalChannel(channel, cla, command, p1, p2, p3, 518 int p1, int p2, int p3, String data, Message response) { 519 mCi.iccTransmitApduBasicChannel(cla, command, p1, p2, p3, 526 public void iccExchangeSimIO(int fileID, int command, int p1, int p2, int p3, argument 528 mCi.iccIO(command, fileID, pathID, p1, p2, p3, null, null, 508 iccTransmitApduLogicalChannel(int channel, int cla, int command, int p1, int p2, int p3, String data, Message response) argument 517 iccTransmitApduBasicChannel(int cla, int command, int p1, int p2, int p3, String data, Message response) argument
|