/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | intrinsic_resize.rs | 25 static float4 cubicInterpolate_F4 (float4 p0,float4 p1,float4 p2,float4 p3 , float x) { 26 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 27 + x * (3.f * (p1 - p2) + p3 - p0))); 30 static float3 cubicInterpolate_F3 (float3 p0,float3 p1,float3 p2,float3 p3 , float x) { 31 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 32 + x * (3.f * (p1 - p2) + p3 - p0))); 35 static float2 cubicInterpolate_F2 (float2 p0,float2 p1,float2 p2,float2 p3 , float x) { 36 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 37 + x * (3.f * (p1 - p2) + p3 - p0))); 40 static float cubicInterpolate_F1 (float p0,float p1,float p2,float p3 , float x) { [all …]
|
D | intrinsic_convolve5x5.rs | 51 float4 p2 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y2)) * gCoeffs[10] 69 p0 = clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f); 98 float3 p2 = convert_float3(rsGetElementAt_uchar3(gIn, x0, y2)) * gCoeffs[10] 116 p0 = clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f); 145 float2 p2 = convert_float2(rsGetElementAt_uchar2(gIn, x0, y2)) * gCoeffs[10] 163 p0 = clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f); 192 float p2 = (float)(rsGetElementAt_uchar(gIn, x0, y2)) * gCoeffs[10] 210 return clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f); 238 float4 p2 = rsGetElementAt_float4(gIn, x0, y2) * gCoeffs[10] 256 return p0 + p1 + p2 + p3 + p4; [all …]
|
/cts/hostsidetests/theme/src/android/theme/cts/ |
D | ComparisonTask.java | 91 final int p2 = actual.getRGB(i, j); in compare() local 92 final int dr = (p1 & 0x000000FF) - (p2 & 0x000000FF); in compare() 93 final int dg = ((p1 & 0x0000FF00) - (p2 & 0x0000FF00)) >> 8; in compare() 94 final int db = ((p1 & 0x00FF0000) - (p2 & 0x00FF0000)) >> 16; in compare() 95 final int da = ((p1 & 0xFF000000) - (p2 & 0xFF000000)) >> 24; in compare()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PaintTest.java | 176 Paint p2 = new Paint(); in testSet() local 192 p2.set(p); in testSet() 193 assertEquals(c, p2.getColorFilter()); in testSet() 194 assertEquals(m, p2.getMaskFilter()); in testSet() 195 assertEquals(e, p2.getPathEffect()); in testSet() 196 assertEquals(r, p2.getRasterizer()); in testSet() 197 assertEquals(s, p2.getShader()); in testSet() 198 assertEquals(t, p2.getTypeface()); in testSet() 199 assertEquals(x, p2.getXfermode()); in testSet() 201 p2.set(p2); in testSet() [all …]
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ComponentInfoTest.java | 229 StringBuilderPrinter p2 = new StringBuilderPrinter(sb2); in testWriteToParcel() local 231 ci.applicationInfo.dump(p2, ""); in testWriteToParcel()
|
/cts/suite/cts/deviceTests/simplecpu/jni/ |
D | CpuNativeJni.cpp | 180 int cmpint(const void* p1, const void* p2) in cmpint() argument 182 return *(int*)p1 - *(int*)p2; in cmpint()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | GalleryTest.java | 237 Gallery.LayoutParams p2 = new Gallery.LayoutParams(320, 480); in testCheckLayoutParams() local 238 assertTrue(gallery.checkLayoutParams(p2)); in testCheckLayoutParams()
|
D | ExpandableListViewTest.java | 385 Parcelable p2 = dest.onSaveInstanceState(); in testOnSaveInstanceState() local 388 assertNotNull(p2); in testOnSaveInstanceState()
|
D | RelativeLayoutTest.java | 313 RelativeLayout.LayoutParams p2 = new RelativeLayout.LayoutParams(200, 300); in testCheckLayoutParams() local 314 assertTrue(myRelativeLayout.checkLayoutParams(p2)); in testCheckLayoutParams()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ParcelTest.java | 43 Parcel p2 = Parcel.obtain(); in testObtain() local 44 assertNotNull(p2); in testObtain() 57 p2.recycle(); in testObtain() 67 Parcel p2; in testAppendFrom() local 76 p2 = Parcel.obtain(); in testAppendFrom() 77 p2.appendFrom(p, d1, d2 - d1); in testAppendFrom() 78 p2.setDataPosition(0); in testAppendFrom() 79 assertEquals(7, p2.readInt()); in testAppendFrom() 80 assertEquals(5, p2.readInt()); in testAppendFrom() 81 p2.recycle(); in testAppendFrom() [all …]
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | box2d.js | 53 …totype.RayCast=function(b,e){var f=-Number.MAX_VALUE,m=Number.MAX_VALUE,r=e.p1.x,s=e.p1.y,v=e.p2.x- 54 e.p1.x,t=e.p2.y-e.p1.y,x=Math.abs(t),C=b.normal,J=0,T=0,P=J=0;P=0;if(Math.abs(v)<Number.MIN_VALUE){… 81 …}}};u.prototype.RayCast=function(b,e){if(this.m_root!=null){var f=e.p1,m=e.p2,r=w.SubtractVV(f,m);… 82 ….x)+r.y*(f.y-x.y))-s.x*C.x-s.y*C.y>0))if(v.IsLeaf()){x=new S;x.p1=e.p1;x.p2=e.p2;x.maxFraction=e.m… 92 …x=function(){return this.p};S.b2RayCastInput=function(){this.p1=new p;this.p2=new p};S.prototype.b… 93 …p2.SetV(e);this.maxFraction=f};aa.b2RayCastOutput=function(){this.normal=new p};Z.b2Segment=functi… 94 …p2.x-this.p1.x,f=this.p2.y-this.p1.y;b=Math.min(e>0?(b.upperBound.x-this.p1.x)/e:e<0?(b.lowerBound… 95 …p2.y+this.p1.y;b=Math.min(e>0?(b.upperBound.x-this.p2.x)/e:e<0?(b.lowerBound.x-this.p2.x)/e:Number… 123 …1.y-(u.position.y+(D.col1.y*this.m_p.x+D.col2.y*this.m_p.y));D=z.p2.x-z.p1.x;var O=z.p2.y-z.p1.y,E… 127 …tion(){return false};y.prototype.RayCast=function(k,z,u){var D,H=z.p2.x-z.p1.x,O=z.p2.y-z.p1.y;D=u… [all …]
|
D | earley-boyer.js | 581 function sc_isPairEqual(p1, p2, comp) { argument 582 return (comp(p1.car, p2.car) && comp(p1.cdr, p2.cdr));
|
/cts/apps/CtsVerifier/libs/ |
D | opencv-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |
/cts/tests/tests/media/assets/ |
D | fileSequence1.ts | 2479 …2G o�ܸ]2����3)"h���dw�Ï�|&{�����4d�]Ol�ZK�j5��q��.bq����ġ��b3�N��p2��̝=D�-��t��.A{ԈUu'…
|
D | fileSequence0.ts | 950 @������{���ğZ��G�/h@��~�ev�K�|�ݮ>�m%_Ҩ=���1;���M�fy�D�,�1LI�|��|`p2)�b��)�b��(b���"��-�81�…
|
D | segment000000.ts | 698 @������{���ğZ���/h@��~�ev�K�|�ݮ>�m%_Ҩ=���1;���M�fy�D�,�1LI�|��|`p2)�b��)�b��(b���"��-�81��7C…
|