Home
last modified time | relevance | path

Searched defs:red (Results 1 – 25 of 25) sorted by relevance

/cts/common/device-side/util/src/com/android/compatibility/common/util/
DColorUtils.java50 String red = verifyChannel("red", expected, observed, tolerance, (i) -> Color.red(i)); in verifyColor() local
58 private static void buildErrorString(@NonNull String s, @Nullable String red, in buildErrorString()
98 String red = verifyChannel("red", expected, observed, tolerance, (c) -> c.red()); in verifyColor() local
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DColorUtils.java50 String red = verifyChannel("red", expected, observed, tolerance, (i) -> Color.red(i)); in verifyColor() local
58 private static void buildErrorString(@NonNull String s, @Nullable String red, in buildErrorString()
98 String red = verifyChannel("red", expected, observed, tolerance, (c) -> c.red()); in verifyColor() local
/cts/tests/tests/os/src/android/os/cts/
DParcelFileDescriptorTest.java248 final ParcelFileDescriptor red = pipe[0]; in testPipeNormal() local
264 final ParcelFileDescriptor red = pipe[0]; in testPipeError_Discouraged() local
284 final ParcelFileDescriptor red = pipe[0]; in testPipeError() local
346 final ParcelFileDescriptor red = pair[0]; in testSocketErrorAfterClose() local
369 final ParcelFileDescriptor red = pair[0]; in testSocketMultipleCheck() local
DParcelFileDescriptorProcessTest.java47 private IParcelFileDescriptorPeer red; field in ParcelFileDescriptorProcessTest
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DBlendModeTest.java181 int red = (Color.red(DST_COLOR) * Color.red(Color.BLUE)) / 255; in testBlendMode_MODULATE() local
208 int red = computeOverlay(alphaSrc, alphaDst, redSrc, redDst); in testBlendMode_OVERLAY() local
239 int red = computeDarken(alphaDst, alphaSrc, redDst, redSrc); in testBlendMode_DARKEN() local
266 int red = computeLighten(alphaDst, alphaSrc, redDst, redSrc); in testBlendMode_LIGHTEN() local
293 int red = computeColorDodge(alphaDst, alphaSrc, redDst, redSrc); in testBlendMode_COLOR_DODGE() local
329 int red = computeColorBurn(alphaDst, alphaSrc, redDst, redSrc); in testBlendMode_COLOR_BURN() local
363 int red = computeHardLight(alphaDst, alphaSrc, redDst, redSrc); in testBlendMode_HARD_LIGHT() local
397 int red = computeSoftLight(alphaDst, alphaSrc, redDst, redSrc); in testBlendMode_SOFT_LIGHT() local
442 int red = computeDifference(alphaDst, alphaSrc, redDst, redSrc); in testBlendMode_DIFFERENCE() local
468 int red = computeExclusion(redDst, redSrc); in testBlendMode_EXCLUSION() local
[all …]
DHardwareRendererTests.kt99 val red = channels[channelIndex++].toInt() and 0xFF in <lambda>() constant
181 val red = buffer.get() in testBasicDrawCpuConsumer() constant
463 val red = buffer.get().toInt() and 0xFF in testLotsOfBuffers() constant
DBitmapTests.java165 int[] red = new int[offset + height * stride]; in testChangeDuringUiAnimation() local
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/
DMediaStorageTest.java190 final Uri red = create.call(); in doMediaNone() local
228 final Uri red = create.call(); in doMediaRead() local
263 final Uri red = create.call(); in doMediaWrite() local
303 final Uri red = create.call(); in doMediaEscalation_Open() local
327 final Uri red = create.call(); in doMediaEscalation_Update() local
354 final Uri red = create.call(); in doMediaEscalation_Delete() local
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DPixelColor.java45 short red = (short) (color & 0xFF); in PixelColor() local
DPixelChecker.java66 final int red = scanline[i + 0] & 0xFF; in validatePlane() local
DRectChecker.java88 final int red = scanline[i + 0] & 0xFF; in validatePlaneForTarget() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DPipeShort.java98 int red = mMaxValues - front; in read() local
/cts/tests/tests/graphics/src/android/graphics/cts/
DSweepGradientTest.java129 int red = (int) ((1d - delta) * Color.red(colors[i1]) + in verifyColors() local
258 long red = Color.pack(1, 0, 0, 1, p3); in testColorLong() local
DRadialGradientTest.java71 long red = Color.pack(1, 0, 0, 1, p3); in testColorLong() local
DBitmapTest.java738 public float red; field in BitmapTest.ARGB
741 ARGB(float alpha, float red, float green, float blue) { in ARGB()
/cts/tests/tests/transition/src/android/transition/cts/
DActivityTransitionTest.java281 final View red = mActivity.findViewById(R.id.redSquare); in earlyExitStop() local
DChangeBoundsTest.java457 public final PositionAndClip red; field in ChangeBoundsTest.RedAndGreen
/cts/tests/tests/view/src/android/view/cts/
DTextureViewCtsActivity.java235 public void drawColor(float red, float green, float blue, float alpha) throws Throwable { in drawColor()
DASurfaceControlTest.java267 public void setColor(long surfaceControl, long surfaceTransaction, float red, float green, in setColor()
273 public void setColor(long surfaceControl, float red, float green, float blue, float alpha) { in setColor()
/cts/tests/tests/animation/src/android/animation/cts/
DAnimationActivity.java251 int red = (int)(Math.random() * 255); in addBall() local
DValueAnimatorTest.java628 int red = Color.red(animatedValue); in testOfArgb() local
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayTest.java114 private static int makeColor(int red, int green, int blue) { in makeColor()
DMediaExtractorTest.java623 final int red = mExtractor.readSampleData(inputBuffer, 0 /* offset */); // sic in read() local
DEncodeVirtualDisplayWithCompositionTest.java134 private static int makeColor(int red, int green, int blue) { in makeColor()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java4137 final Drawable red = TestUtils.getDrawable(mActivity, R.drawable.red); in testHandleDrawables_canBeSet_toDrawables() local