Home
last modified time | relevance | path

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

12345

/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/
DLayerRenderTypeTransaction_test.cpp54 ASSERT_NO_FATAL_FAILURE(fillBufferQueueLayerColor(layer, Color::RED, 32, 32)); in TEST_P()
60 shot->expectColor(rect, Color::RED); in TEST_P()
69 shot->expectColor(rect, Color::RED); in TEST_P()
77 ASSERT_NO_FATAL_FAILURE(fillBufferQueueLayerColor(layer, Color::RED, 32, 32)); in TEST_P()
86 getScreenCapture()->expectColor(Rect(0, 0, 32, 32), Color::RED); in TEST_P()
92 getScreenCapture()->expectColor(Rect(1, 1, 33, 33), Color::RED); in TEST_P()
99 ASSERT_NO_FATAL_FAILURE(fillBufferQueueLayerColor(layer, Color::RED, 32, 32)); in TEST_P()
117 ASSERT_NO_FATAL_FAILURE(fillBufferQueueLayerColor(layer, Color::RED, 32, 32)); in TEST_P()
123 getScreenCapture()->expectColor(Rect(0, 0, 2, 2), Color::RED); in TEST_P()
131 Color::RED); in TEST_P()
[all …]
DSetGeometry_test.cpp32 fillBufferQueueLayerColor(mLayer, Color::RED, mLayerWidth, mLayerHeight); in SetUp()
38 sc->expectColor(Rect(0, 0, mLayerWidth, mLayerHeight), Color::RED); in SetUp()
63 sc->expectColor(dest, Color::RED); in TEST_F()
76 sc->expectColor(dest, Color::RED); in TEST_F()
89 sc->expectColor(dest, Color::RED); in TEST_F()
98 sc->expectColor(dest, Color::RED); in TEST_F()
DLayerTypeAndRenderTypeTransaction_test.cpp64 ASSERT_NO_FATAL_FAILURE(fillLayerColor(layerR, Color::RED, 32, 32)); in TEST_P()
71 getScreenCapture()->expectColor(Rect(0, 0, 32, 32), Color::RED); in TEST_P()
86 ASSERT_NO_FATAL_FAILURE(fillLayerColor(layerR, Color::RED, 32, 32)); in TEST_P()
98 getScreenCapture()->expectColor(Rect(0, 0, 32, 32), Color::RED); in TEST_P()
104 ASSERT_NO_FATAL_FAILURE(fillLayerColor(layer, Color::RED, 32, 32)); in TEST_P()
115 getScreenCapture()->expectColor(Rect(0, 0, 32, 32), Color::RED); in TEST_P()
153 ASSERT_NO_FATAL_FAILURE(fillLayerColor(layerR, Color::RED, 32, 32)); in TEST_P()
165 shot->expectColor(Rect(0, 0, 32, 32), Color::RED); in TEST_P()
201 ASSERT_NO_FATAL_FAILURE(fillLayerColor(layer, Color::RED, size, size)); in TEST_P()
226 Color::RED); in TEST_P()
[all …]
DSetFrameRate_test.cpp63 ASSERT_NO_FATAL_FAILURE(PostBuffers(Color::RED)); in TEST_F()
67 ASSERT_NO_FATAL_FAILURE(PostBuffers(Color::RED)); in TEST_F()
70 ASSERT_NO_FATAL_FAILURE(PostBuffers(Color::RED)); in TEST_F()
DMirrorLayer_test.cpp34 mParentLayer = createColorLayer("Parent layer", Color::RED); in SetUp()
124 shot->expectColor(Rect(550, 550, 750, 750), Color::RED); in TEST_F()
126 shot->expectColor(Rect(750, 750, 950, 950), Color::RED); in TEST_F()
135 shot->expectColor(Rect(550, 550, 750, 750), Color::RED); in TEST_F()
137 shot->expectColor(Rect(750, 750, 950, 950), Color::RED); in TEST_F()
DLayerTransaction_test.cpp32 ASSERT_NO_FATAL_FAILURE(fillBufferQueueLayerColor(layer, Color::RED, 32, 32)); in TEST_F()
63 sc.expectColor(Rect(0, 0, 32, 32), Color::RED); in TEST_F()
90 ASSERT_NO_FATAL_FAILURE(fillBufferQueueLayerColor(layer, Color::RED, 32, 32)); in TEST_F()
99 shot->expectColor(rect, Color::RED); in TEST_F()
187 const std::array<Color, 3> colors = {Color::RED, Color::GREEN, Color::BLUE}; in TEST_F()
DLayerTypeTransaction_test.cpp51 ASSERT_NO_FATAL_FAILURE(fillLayerColor(layerR, Color::RED, 32, 32)); in TEST_P()
99 screenshot->expectColor(Rect(0, 0, 20, 30), Color::RED); in TEST_P()
149 screenshot->expectColor(Rect(0, 0, 20, 30), Color::RED); in TEST_P()
166 ASSERT_NO_FATAL_FAILURE(fillLayerColor(layer, Color::RED, 32, 32)); in TEST_P()
DDereferenceSurfaceControl_test.cpp34 fillBufferQueueLayerColor(bgLayer, Color::RED, 20, 20); in SetUp()
59 shot->expectColor(Rect(0, 0, 20, 20), Color::RED); in TEST_F()
DLayerUpdate_test.cpp702 fillLayerColor(ISurfaceComposerClient::eFXSurfaceBufferQueue, newParentSurface, Color::RED, 32, in TEST_F()
713 mCapture->expectColor(Rect(20, 20, 52, 52), Color::RED); in TEST_F()
746 ASSERT_NO_FATAL_FAILURE(fillBufferQueueLayerColor(mFGSurfaceControl, Color::RED, 32, 32)); in TEST_F()
754 mCapture->expectBorder(rect, Color::RED); in TEST_F()
1452 sp<SurfaceControl> child = createColorLayer("Child layer", Color::RED, mFGSurfaceControl.get()); in TEST_F()
1461 sc.expectColor(Rect(0, 0, 9, 9), Color::RED); in TEST_F()
1465 sp<SurfaceControl> child = createColorLayer("Child layer", Color::RED, mFGSurfaceControl.get()); in TEST_F()
1475 sc.expectColor(Rect(0, 0, 9, 9), Color::RED); in TEST_F()
1479 sp<SurfaceControl> child = createColorLayer("Child layer", Color::RED, mFGSurfaceControl.get()); in TEST_F()
1499 TransactionUtils::fillSurfaceRGBA8(child, Color::RED); in TEST_F()
[all …]
/frameworks/av/tools/
Dmainline_hook_partial.sh47 RED=$(tput setaf 1)
152 files in ${RED}${REPO_ROOT}/${filelist_file}${NORMAL}.
156 echo -e ${RED}
162 echo -e ${RED}
176 You are uploading repo ${RED}${REPO_PATH}${NORMAL} to branch ${RED}${current}${NORMAL}.
177 The source of truth for ${RED}${REPO_PATH}${NORMAL} is branch ${RED}${DEV_BRANCH}${NORMAL}.
179 Please upload this change to branch ${RED}${DEV_BRANCH}${NORMAL} unless one or more of
196 If you are sure you want to proceed uploading to branch ${RED}${current}${NORMAL},
Dmainline_hook_project.sh22 RED=$(tput setaf 1)
42 You are uploading repo ${RED}${REPO_PATH}${NORMAL} to branch ${RED}${current}${NORMAL}.
43 The source of truth for ${RED}${REPO_PATH}${NORMAL} is branch ${RED}${DEV_BRANCH}${NORMAL}.
45 Please upload this change to branch ${RED}${DEV_BRANCH}${NORMAL} unless one or more of
60 If you are sure you want to proceed uploading to branch ${RED}${current}${NORMAL},
Dmainline_hook.sh35 RED=$(tput setaf 1)
37 WARNING_FULL="${RED}Please upload this change in ${DEV_BRANCH} unless it is restricted
40 WARNING_PARTIAL="${RED}It looks like your change has mainline and non-mainline changes;
52 echo -e "${RED}The source of truth for '$path' is in ${DEV_BRANCH}.${NORMAL}"
69 echo -e "${RED}The source of truth for '$file' is in ${DEV_BRANCH}.${NORMAL}"
/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.java91 c.drawColor(Color.RED); in drawIfNeeded()
96 c.drawColor(Color.RED); in drawIfNeeded()
101 c.drawColor(Color.RED); in drawIfNeeded()
106 c.drawColor(Color.RED); in drawIfNeeded()
/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()
/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/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/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/native/services/surfaceflinger/tests/utils/
DColorUtils.h30 static const Color RED; member
38 const Color Color::RED{255, 0, 0, 255};
/frameworks/base/core/tests/coretests/src/android/content/
DContentResolverTest.java78 canvas.drawColor(Color.RED); in initImage()
103 assertEquals(Color.RED, bitmap.getPixel(halfX + 5, halfY - 5)); in assertImageAspectAndContents()
104 assertEquals(Color.RED, bitmap.getPixel(halfX - 5, halfY + 5)); in assertImageAspectAndContents()
105 assertEquals(Color.RED, bitmap.getPixel(halfX + 5, halfY + 5)); in assertImageAspectAndContents()

12345