/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
D | Quad.java | 32 public Point p0; field in Quad 45 public Quad(Point p0, Point p1, Point p2, Point p3) { in Quad() argument 46 this.p0 = p0; in Quad() 53 return p0.IsInUnitRange() && in IsInUnitRange() 60 return new Quad(p0.plus(t), p1.plus(t), p2.plus(t), p3.plus(t)); in translated() 64 return new Quad(p0.plus(x, y), p1.plus(x, y), p2.plus(x, y), p3.plus(x, y)); in translated() 68 return new Quad(p0.times(s), p1.times(s), p2.times(s), p3.times(s)); in scaled() 72 return new Quad(p0.mult(x, y), p1.mult(x, y), p2.mult(x, y), p3.mult(x, y)); in scaled() 76 List<Float> xs = Arrays.asList(p0.x, p1.x, p2.x, p3.x); in boundingBox() 77 List<Float> ys = Arrays.asList(p0.y, p1.y, p2.y, p3.y); in boundingBox() [all …]
|
D | Rectangle.java | 46 Point p0 = new Point(center.x - size.x/2f, center.y - size.y/2f); in fromRotatedRect() local 50 return new Rectangle(p0.rotatedAround(center, rotation), in fromRotatedRect() 56 private Rectangle(Point p0, Point p1, Point p2, Point p3) { in Rectangle() argument 57 super(p0, p1, p2, p3); in Rectangle() 70 return p1.minus(p0).length(); in getWidth() 74 return p2.minus(p0).length(); in getHeight() 78 return p0.plus(p1).plus(p2).plus(p3).times(0.25f); in center() 83 return new Rectangle(p0.times(s), p1.times(s), p2.times(s), p3.times(s)); in scaled() 88 return new Rectangle(p0.mult(x, y), p1.mult(x, y), p2.mult(x, y), p3.mult(x, y)); in scaled()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | c2t64fx.c | 59 Word16 *p0, *p1, *p2, *psign; in ACELP_2t64_fx() local 100 p0 = cn; in ACELP_2t64_fx() 106 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_2t64_fx() 108 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_2t64_fx() 110 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_2t64_fx() 112 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_2t64_fx() 150 p0 = &rrixix[0][NB_POS - 1]; in ACELP_2t64_fx() 162 *p0-- = (extract_h(cor) >> 1); in ACELP_2t64_fx() 175 p0 = &rrixiy[pos2]; in ACELP_2t64_fx() 189 *p0 = extract_h(cor); in ACELP_2t64_fx() [all …]
|
D | c4t64fx.c | 142 Word16 *p0, *p1, *p2, *p3, *psign; in ACELP_4t64_fx() local 268 p0 = cn; in ACELP_4t64_fx() 274 s = L_add((k_cn* (*p0++)), (k_dn * (*p1++))); in ACELP_4t64_fx() 276 s = L_add((k_cn* (*p0++)), (k_dn * (*p1++))); in ACELP_4t64_fx() 278 s = L_add((k_cn* (*p0++)), (k_dn * (*p1++))); in ACELP_4t64_fx() 280 s = L_add((k_cn* (*p0++)), (k_dn * (*p1++))); in ACELP_4t64_fx() 359 p0 = H; in ACELP_4t64_fx() 365 *p1 = *p0++ >> h_shift; in ACELP_4t64_fx() 367 *p1 = *p0++ >> h_shift; in ACELP_4t64_fx() 369 *p1 = *p0++ >> h_shift; in ACELP_4t64_fx() [all …]
|
/frameworks/native/services/surfaceflinger/Effects/ |
D | Daltonizer.cpp | 88 const vec3 p0 = cross(lms_w, lms_b); // protanopia/deuteranopia in update() local 96 -p0.y / p0.x, 1.0000, 0.0000, 0, in update() 97 -p0.z / p0.x, 0.0000, 1.0000, 0, in update() 101 const mat4 lms2lmsd( 1.0000, -p0.x / p0.y, 0.0000, 0, in update() 103 0.0000, -p0.z / p0.y, 1.0000, 0, in update()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | StraightenFilter.java | 123 Point p0 = new Point(-cosTheta * mWidth + sinTheta * mHeight, in updateParameters() local 135 float maxWidth = (float) Math.max(Math.abs(p0.x), Math.abs(p1.x)); in updateParameters() 136 float maxHeight = (float) Math.max(Math.abs(p0.y), Math.abs(p1.y)); in updateParameters() 141 p0.set(scale * p0.x / mWidth + 0.5f, scale * p0.y / mHeight + 0.5f); in updateParameters() 146 Quad quad = new Quad(p0, p1, p2, p3); in updateParameters()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicResize.cpp | 76 static float4 cubicInterpolate(float4 p0,float4 p1,float4 p2,float4 p3, float x) { in cubicInterpolate() argument 77 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate() 78 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate() 81 static float2 cubicInterpolate(float2 p0,float2 p1,float2 p2,float2 p3, float x) { in cubicInterpolate() argument 82 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate() 83 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate() 88 static float cubicInterpolate(float p0,float p1,float p2,float p3 , float x) { in cubicInterpolate() argument 89 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + in cubicInterpolate() 91 …+ x * (_mm_cvtss_f32(_mm_fmadd_ss (_mm_set1_ps(3.f),_mm_set1_ps(p1 - p2),_mm_set1_ps(p3 - p0)))))); in cubicInterpolate() 95 static float cubicInterpolate(float p0,float p1,float p2,float p3 , float x) { in cubicInterpolate() argument [all …]
|
/frameworks/rs/driver/runtime/ |
D | rs_sample.c | 129 float p0 = getElementAt1(p, iPixel); in getSample_A() local 131 float r = p0 * w0 + p1 * w1; in getSample_A() 139 float p0 = getElementAt1(p, iPixel); in getSample_L() local 141 float r = p0 * w0 + p1 * w1; in getSample_L() 149 float2 p0 = getElementAt2(p, iPixel); in getSample_LA() local 151 float2 r = p0 * w0 + p1 * w1; in getSample_LA() 159 float3 p0 = getElementAt3(p, iPixel); in getSample_RGB() local 161 float3 r = p0 * w0 + p1 * w1; in getSample_RGB() 169 float3 p0 = getElementAt565(p, iPixel); in getSample_565() local 171 float3 r = p0 * w0 + p1 * w1; in getSample_565() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | c1035pf.cpp | 410 Word16 *p0, *p1, *p2, *p3, *p4, *p5, *p6, *p7, *p8, *p9; in build_code() local 424 p0 = &codvec[0]; in build_code() 429 i = *(p0++); in build_code() 497 p0 = h - *(p_codvec++); in build_code() 514 s = (*p0++ * *(p__sign++)) >> 7; in build_code()
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | resize.rscript | 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))); 68 float4 p0 = cubicInterpolate(p00, p01, p02, p03, xf); 88 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | resize.rscript | 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))); 68 float4 p0 = cubicInterpolate(p00, p01, p02, p03, xf); 88 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | resize.rscript | 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))); 68 float4 p0 = cubicInterpolate(p00, p01, p02, p03, xf); 88 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ChannelEditorListView.kt | 67 override fun onTransitionEnd(p0: Transition?) { in <lambda>() 71 override fun onTransitionResume(p0: Transition?) { in <lambda>() 74 override fun onTransitionPause(p0: Transition?) { in <lambda>() 77 override fun onTransitionCancel(p0: Transition?) { in <lambda>() 80 override fun onTransitionStart(p0: Transition?) { in <lambda>()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | geometry.h | 38 static float Distance(const Point& p0, const Point& p1); 56 Quad(const Point& p0, const Point& p1, const Point& p2, const Point& p3) in Quad() argument 58 points_[0] = p0; in Quad()
|
/frameworks/ml/nn/tools/test_generator/tests/P_vts_internal/ |
D | add_internal.mod.py | 39 p0 = Parameter("p0", ("TENSOR_FLOAT32", [2]), [0.0, 1.0]) variable 43 model.Operation("ADD", p0, t5, act).To(t6) 45 model.Operation("ADD", i6, p0, act).To(t5)
|
/frameworks/ml/nn/tools/test_generator/tests/P_internal/ |
D | add_internal.mod.py | 39 p0 = Parameter("p0", ("TENSOR_FLOAT32", [2]), [0.0, 1.0]) variable 43 model.Operation("ADD", p0, t5, act).To(t6) 45 model.Operation("ADD", i6, p0, act).To(t5)
|
D | stdout.txt.expect | 24 auto p0 = model->addOperand(&type0); 45 model->setOperandValue(p0, p0_init, sizeof(float) * 2); 46 model->addOperation(ANEURALNETWORKS_ADD, {i6, p0, act}, {t5}); 47 model->addOperation(ANEURALNETWORKS_ADD, {p0, t5, act}, {t6});
|
/frameworks/base/media/mca/filterpacks/native/base/ |
D | geometry.h | 38 static float Distance(const Point& p0, const Point& p1); 56 Quad(const Point& p0, const Point& p1, const Point& p2, const Point& p3) in Quad() argument 58 points_[0] = p0; in Quad()
|
/frameworks/minikin/libs/minikin/ |
D | GraphemeBreak.cpp | 132 int32_t p0 = 0; in isGraphemeBreak() local 135 p0 = tailoredGraphemeClusterBreak(c0); in isGraphemeBreak() 137 while (p0 == U_GCB_EXTEND && offset_backback > start) { in isGraphemeBreak() 139 p0 = tailoredGraphemeClusterBreak(c0); in isGraphemeBreak()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaBehaviorTests.cpp | 73 SkPath p0, p1, result; in TEST() local 74 p0.addRect(SkRect::MakeXYWH(-5.0f, 0.0f, 1080.0f, 242.0f)); in TEST() 76 Op(p0, p1, kIntersect_SkPathOp, &result); in TEST()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
D | SurfaceTextureTarget.java | 283 mTargetQuad.p0.set(0f, 0.0f); in updateTargetRect() 292 mTargetQuad.p0.set(0.5f - 0.5f / relativeAspectRatio, 0.0f); in updateTargetRect() 299 mTargetQuad.p0.set(0.0f, 0.5f - 0.5f * relativeAspectRatio); in updateTargetRect() 309 mTargetQuad.p0.set(0.0f, 0.5f - 0.5f * relativeAspectRatio); in updateTargetRect() 315 mTargetQuad.p0.set(0.5f - 0.5f / relativeAspectRatio, 0.0f); in updateTargetRect()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/ |
D | cor_h_vec_neon.s | 41 ADD r7, r4, r2, LSL #5 @r7 --- p0 = rrixix[track] 45 @r3 --- sign[], r4 --- i, r7 --- p0 82 LDRSH r10, [r7], #2 @*p0++ 129 LDRSH r10, [r7], #2 @*p0++
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
D | cor_h_vec_opt.s | 41 ADD r7, r4, r2, LSL #5 @r7 --- p0 = rrixix[track] 45 @r3 --- sign[], r4 --- i, r7 --- p0 81 LDRSH r10, [r7], #2 @*p0++ 128 LDRSH r10, [r7], #2 @*p0++
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | ShaderProgram.java | 172 setSourceRegion(region.p0.x, region.p0.y, in setSourceRegion() 179 setTargetRegion(region.p0.x, region.p0.y, in setTargetRegion()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/ |
D | BrushPropertyDrawable.kt | 81 override fun setAlpha(p0: Int) { in setAlpha() 89 override fun setColorFilter(p0: ColorFilter?) { in setColorFilter()
|