/cts/hostsidetests/theme/src/android/theme/cts/ |
D | ComparisonTask.java | 114 final int p2 = generated.getRGB(i, j); in compare() local 116 final int dr = getAlphaScaledRed(p1) - getAlphaScaledRed(p2); in compare() 117 final int dg = getAlphaScaledGreen(p1) - getAlphaScaledGreen(p2); in compare() 118 final int db = getAlphaScaledBlue(p1) - getAlphaScaledBlue(p2); in compare() 143 private static double computeLabDistance(int p1, int p2) { in computeLabDistance() argument 146 p2 = ColorUtils.blendSrcOver(p2, GRAY); in computeLabDistance() 152 ColorUtils.colorToLAB(p2, lab2); in computeLabDistance()
|
/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/tests/tests/graphics/src/android/graphics/cts/ |
D | PaintTest.java | 190 Paint p2 = new Paint(); in testSet() local 204 p2.set(p); in testSet() 205 assertEquals(c, p2.getColorFilter()); in testSet() 206 assertEquals(m, p2.getMaskFilter()); in testSet() 207 assertEquals(e, p2.getPathEffect()); in testSet() 208 assertEquals(s, p2.getShader()); in testSet() 209 assertEquals(t, p2.getTypeface()); in testSet() 210 assertEquals(x, p2.getXfermode()); in testSet() 212 p2.set(p2); in testSet() 213 assertEquals(c, p2.getColorFilter()); in testSet() [all …]
|
/cts/hostsidetests/jvmti/tagging/app/src/android/jvmti/cts/ |
D | JvmtiTaggingTest.java | 170 Pair p2 = tmp.get(i); in check() local 171 if (!p1.equals(p2)) { in check() 173 "] vs " + p2 + "[" + System.identityHashCode(p2.obj); in check()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ParamsTest.java | 417 BufferingParams p2 = new BufferingParams.Builder(p1) 422 p2.getRebufferingWatermarkLowMs(), rebufferingMarkLowMsPair); 424 p2.getRebufferingWatermarkLowKB(), rebufferingMarkLowKBPair); 426 p2.getRebufferingWatermarkHighMs(), rebufferingMarkHighMsPair); 428 p2.getRebufferingWatermarkHighKB(), rebufferingMarkHighKBPair);
|
D | DecodeAccuracyTestBase.java | 1853 private static int euclideanDistance(double[] p1, double[] p2) { in euclideanDistance() argument 1854 if (p1.length != p2.length) { in euclideanDistance() 1859 result += Math.pow(p1[i] - p2[i], 2); in euclideanDistance()
|
/cts/hostsidetests/services/activityandwindowmanager/windowmanager/src/android/server/cts/ |
D | CrossAppDragAndDropTests.java | 326 Point p2 = new Point(); in getWindowCenter() local 327 if (getWindowBounds(name, p1, p2)) { in getWindowCenter() 328 return new Point((p1.x + p2.x) / 2, (p1.y + p2.y) / 2); in getWindowCenter()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ComponentInfoTest.java | 237 StringBuilderPrinter p2 = new StringBuilderPrinter(sb2); in testWriteToParcel() local 239 ci.applicationInfo.dump(p2, ""); in testWriteToParcel()
|
/cts/tests/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/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/tests/tests/widget/src/android/widget/cts/ |
D | GalleryTest.java | 223 Gallery.LayoutParams p2 = new Gallery.LayoutParams(320, 480); in testCheckLayoutParams() local 224 assertTrue(gallery.checkLayoutParams(p2)); in testCheckLayoutParams()
|
D | RelativeLayoutTest.java | 320 RelativeLayout.LayoutParams p2 = new RelativeLayout.LayoutParams(200, 300); in testCheckLayoutParams() local 321 assertTrue(myRelativeLayout.checkLayoutParams(p2)); in testCheckLayoutParams()
|
D | ExpandableListViewTest.java | 527 Parcelable p2 = dest.onSaveInstanceState(); in testOnSaveInstanceState() local 530 assertNotNull(p2); in testOnSaveInstanceState()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ValueAnimatorTest.java | 379 PropertyValuesHolder p2 = PropertyValuesHolder.ofFloat("scaleY", 1f, 2f); in testValuesSetterAndGetter() local 380 a2.setValues(p1, p2); in testValuesSetterAndGetter()
|
/cts/tests/libcore/javautilcollections/libs/ |
D | guava-20.0.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/maven/
META- ... |
/cts/apps/CtsVerifier/libs/ |
D | opencv3-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…
|
/cts/tests/tests/media/res/raw/ |
D | football_qvga.yuv | 41 …POOKOTPRUPKIEBA@JQQTYafefikklllmorqprtsrppowww{~�}~�~xqr�����yw~���������p2�߭=_�������������zomf… 63 …hjloopqrqsturpnnmppppqoonlgb_\Mg������������ԊI���s���JYhbbfecd`\]__`ejiS4Q�p2'GXae\O=.)(-/5BM]swR… 300 …UVYWZ[ZYZ[\]]]^`a__]]]]\[^_`aa``^_][\^^^bdcdedefcceeffgfdceefgfffggijhhdy��p2(02,A��b8*168:?=?\~…
|