Home
last modified time | relevance | path

Searched refs:RED (Results 1 – 25 of 86) sorted by relevance

1234

/frameworks/base/tools/aapt2/compile/
DNinePatch_test.cpp25 #define RED "\xff\x00\x00\xff" macro
40 (uint8_t*)WHITE BLACK TRANS, (uint8_t*)TRANS RED TRANS,
45 (uint8_t*)TRANS BLACK TRANS, (uint8_t*)BLACK RED BLACK,
51 (uint8_t*)WHITE RED RED RED RED RED WHITE,
52 (uint8_t*)BLACK RED RED RED RED RED WHITE,
53 (uint8_t*)BLACK RED RED RED RED RED WHITE,
54 (uint8_t*)WHITE RED RED RED RED RED WHITE,
60 (uint8_t*)BLACK RED BLUE RED BLUE BLUE RED BLUE RED WHITE,
61 (uint8_t*)BLACK RED BLUE RED BLUE BLUE RED BLUE RED WHITE,
62 (uint8_t*)WHITE RED BLUE RED BLUE BLUE RED BLUE RED WHITE,
[all …]
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp62 static const Color RED; member
70 const Color Color::RED{255, 0, 0, 255};
744 ASSERT_NO_FATAL_FAILURE(fillBufferQueueLayerColor(layer, Color::RED, 32, 32)); in TEST_P()
750 shot->expectColor(rect, Color::RED); in TEST_P()
759 shot->expectColor(rect, Color::RED); in TEST_P()
767 ASSERT_NO_FATAL_FAILURE(fillBufferQueueLayerColor(layer, Color::RED, 32, 32)); in TEST_P()
776 getScreenCapture()->expectColor(Rect(0, 0, 32, 32), Color::RED); in TEST_P()
782 getScreenCapture()->expectColor(Rect(1, 1, 33, 33), Color::RED); in TEST_P()
789 ASSERT_NO_FATAL_FAILURE(fillBufferQueueLayerColor(layer, Color::RED, 32, 32)); in TEST_P()
807 ASSERT_NO_FATAL_FAILURE(fillBufferQueueLayerColor(layer, Color::RED, 32, 32)); in TEST_P()
[all …]
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/
DGlifLayoutTest.java100 layout.setPrimaryColor(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColor()
103 .isEqualTo(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColor()
109 .isEqualTo(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColor()
112 .isEqualTo(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColor()
121 layout.setPrimaryColor(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColorTablet()
124 .isEqualTo(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColorTablet()
130 .isEqualTo(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColorTablet()
133 .isEqualTo(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColorTablet()
136 assertThat(((GlifPatternDrawable) getTabletBackground(layout)).getColor()).isEqualTo(Color.RED); in testSetPrimaryColorTablet()
143 layout.setBackgroundBaseColor(ColorStateList.valueOf(Color.RED)); in testSetBackgroundBaseColor()
[all …]
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DGlifPatternDrawableTest.java53 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testDraw()
70 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testDrawTwice()
92 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testScaleToCanvasSquare()
108 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testScaleToCanvasTall()
125 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testScaleToCanvasWide()
142 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testScaleToCanvasMaxSize()
158 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testMemoryAllocation()
DDrawableLayoutDirectionHelperTest.java46 final Drawable drawable = new ColorDrawable(Color.RED); in testCreateRelativeInsetDrawableLtr()
69 final Drawable drawable = new ColorDrawable(Color.RED); in testCreateRelativeInsetDrawableRtl()
92 final Drawable drawable = new ColorDrawable(Color.RED); in testCreateRelativeInsetDrawableViewRtl()
115 final Drawable drawable = new ColorDrawable(Color.RED); in testCreateRelativeInsetDrawableContextRtl()
/frameworks/base/services/core/java/com/android/server/wm/
DStrictModeFlash.java80 c.drawColor(Color.RED); in drawIfNeeded()
85 c.drawColor(Color.RED); in drawIfNeeded()
90 c.drawColor(Color.RED); in drawIfNeeded()
95 c.drawColor(Color.RED); in drawIfNeeded()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/colorextraction/
DSysuiColorExtractorTests.java70 mColors.setMainColor(Color.RED); in setUp()
71 mColors.setSecondaryColor(Color.RED); in setUp()
83 mColors.setMainColor(Color.RED); in getColors()
84 mColors.setSecondaryColor(Color.RED); in getColors()
/frameworks/base/core/java/android/hardware/camera2/params/
DRggbChannelVector.java31 public static final int RED = 0; field in RggbChannelVector
119 case RED: in getComponent()
153 destination[offset + RED] = mRed; in copyTo()
DLensShadingMap.java23 import static android.hardware.camera2.params.RggbChannelVector.RED;
173 mElements[RED + offset]; in getGainFactorVector()
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/types/
DTonalTest.java77 WallpaperColors wallColors = new WallpaperColors(Color.valueOf(Color.RED), null, null, in extractInto_fromBitmap()
83 assertThat(normal.getMainColor()).isEqualTo(Color.RED); in extractInto_fromBitmap()
92 WallpaperColors wallColors = new WallpaperColors(Color.valueOf(Color.RED), null, null, in extractInto_supportsDarkText()
98 assertThat(normal.getMainColor()).isEqualTo(Color.RED); in extractInto_supportsDarkText()
/frameworks/base/core/tests/coretests/src/android/content/
DContentResolverTest.java74 canvas.drawColor(Color.RED); in initImage()
98 assertEquals(Color.RED, bitmap.getPixel(halfX + 10, halfY - 10)); in assertImageAspectAndContents()
99 assertEquals(Color.RED, bitmap.getPixel(halfX - 10, halfY + 10)); in assertImageAspectAndContents()
100 assertEquals(Color.RED, bitmap.getPixel(halfX + 10, halfY + 10)); in assertImageAspectAndContents()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/
DViewPreviewerTest.kt54 assertThat(bitmap.getPixel(0, 0)).isEqualTo(Color.RED) in testCreatePreview()
60 canvas?.drawColor(Color.RED) in onDraw()
DAnalogClockControllerTest.java71 mClockController.setColorPalette(true, new int[]{Color.RED}); in setColorPalette_setDigitalClock()
74 assertThat(digitalClock.getCurrentTextColor()).isEqualTo(Color.RED); in setColorPalette_setDigitalClock()
DBubbleClockControllerTest.java70 mClockController.setColorPalette(true, new int[]{Color.RED}); in setColorPalette_setDigitalClock()
73 assertThat(digitalClock.getCurrentTextColor()).isEqualTo(Color.RED); in setColorPalette_setDigitalClock()
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/
DColorExtractorTest.java71 colorsExpectedNormal.setMainColor(Color.RED); in getColors_usesExtractedColors()
108 extractor.onColorsChanged(new WallpaperColors(Color.valueOf(Color.RED), null, null), in addOnColorsChangedListener_invokesListener()
114 extractor.onColorsChanged(new WallpaperColors(Color.valueOf(Color.RED), null, null), in addOnColorsChangedListener_invokesListener()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DMaterial.java39 public static final int RED = 0; field in Material
90 mColor[p + RED] = v; in simpleSetup()
249 mColor[p + RED] = (byte) red; in buildMaterialProp()
275 mColor[p + RED] = (byte) red; in buildMaterialProp()
292 mColor[p + RED] = (byte) red; in buildMaterialProp()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardSliceViewTest.java107 mKeyguardSliceView.setTextColor(Color.RED); in getTextColor_whiteTextWhenAOD()
109 Assert.assertEquals("Should be using regular text color", Color.RED, in getTextColor_whiteTextWhenAOD()
/frameworks/compile/mclinker/lib/LD/
DTextDiagnosticPrinter.cpp20 llvm::raw_ostream::RED;
23 static const enum llvm::raw_ostream::Colors ErrorColor = llvm::raw_ostream::RED;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DColoredRectsActivity.java41 final RectsView swView = new RectsView(this, 400, Color.RED); in onCreate()
49 final RectsView swBothView = new RectsView(this, 854, Color.RED); in onCreate()
DViewPropertyAlphaActivity.java82 text.setSpan(new BackgroundColorSpan(Color.RED), 0, 3, in onCreate()
124 mPaint.setColor(Color.RED); in MyView()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DResourceModifiers.java89 Color.RED, Color.GREEN, Shader.TileMode.CLAMP); in ResourceModifiers()
97 Color.BLUE, Color.RED, Shader.TileMode.CLAMP); in ResourceModifiers()
/frameworks/native/services/surfaceflinger/
DRefreshRateOverlay.h39 const half3 RED = half3(1.0f, 0.0f, 0.0f); variable
DColorizer.h30 RED = 31, enumerator
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DDisableScreenshotsActivity.java34 getWindow().getDecorView().setBackgroundColor(Color.RED); in onCreate()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DFileRotatorTest.java230 private static final String RED = "red"; field in FileRotatorTest
244 rotate.combineActive(reader, writer(RED), currentTime); in testQueryMatch()
258 final String[] FULL_SET = { RED, GREEN, BLUE, YELLOW }; in testQueryMatch()
267 RED, GREEN, BLUE); in testQueryMatch()

1234