Home
last modified time | relevance | path

Searched refs:BLUE (Results 1 – 25 of 117) sorted by relevance

12345

/frameworks/native/services/surfaceflinger/tests/
DRelativeZ_test.cpp73 createColorLayer("Child layer", Color::BLUE, mBackgroundLayer.get()); in TEST_F()
80 sc->checkPixel(1, 1, Color::BLUE.r, Color::BLUE.g, Color::BLUE.b); in TEST_F()
113 createColorLayer("child level 2a", Color::BLUE, childLevel1.get()); in TEST_F()
159 createColorLayer("Child layer", Color::BLUE, mForegroundLayer.get()); in TEST_F()
172 sc->checkPixel(1, 1, Color::BLUE.r, Color::BLUE.g, Color::BLUE.b); in TEST_F()
206 sc->checkPixel(1, 1, Color::BLUE.r, Color::BLUE.g, Color::BLUE.b); in TEST_F()
227 createColorLayer("child level 2a", Color::BLUE, childLevel1b.get()); in TEST_F()
DTextureFiltering_test.cpp48 TransactionUtils::fillGraphicBufferColor(buffer, Rect{50, 0, 100, 100}, Color::BLUE); in SetUp()
74 static_cast<uint32_t>(y)) == Color::BLUE; in expectFiltered()
92 mCapture->expectColor(Rect{50, 0, 100, 100}, Color::BLUE); in TEST_F()
101 mCapture->expectColor(Rect{50, 0, 100, 100}, Color::BLUE); in TEST_F()
156 mCapture->expectColor(Rect{25, 0, 50, 50}, Color::BLUE); in TEST_F()
169 mCapture->expectColor(Rect{25, 0, 50, 50}, Color::BLUE); in TEST_F()
179 mCapture->expectColor(Rect{25, 0, 50, 50}, Color::BLUE); in TEST_F()
190 mCapture->expectColor(Rect{50, 25, 75, 75}, Color::BLUE); in TEST_F()
201 mCapture->expectColor(Rect{50, 25, 75, 75}, Color::BLUE); in TEST_F()
213 mCapture->expectColor(Rect{50, 0, 100, 100}, Color::BLUE); in TEST_F()
DDereferenceSurfaceControl_test.cpp36 fillBufferQueueLayerColor(fgLayer, Color::BLUE, 20, 20); in SetUp()
41 shot->expectColor(Rect(0, 0, 20, 20), Color::BLUE); in SetUp()
69 shot->expectColor(Rect(0, 0, 20, 20), Color::BLUE); in TEST_F()
DLayerRenderTypeTransaction_test.cpp196 ASSERT_NO_FATAL_FAILURE(fillLayerColor(layerType, layerB, Color::BLUE, 32, 32)); in setRelativeZGroupHelper()
218 shot->expectColor(Rect(16, 16, 48, 48), Color::BLUE); in setRelativeZGroupHelper()
228 shot->expectColor(Rect(40, 40, 48, 48), Color::BLUE); in setRelativeZGroupHelper()
238 shot->expectColor(Rect(40, 40, 48, 48), Color::BLUE); in setRelativeZGroupHelper()
248 shot->expectColor(Rect(32, 32, 48, 48), Color::BLUE); in setRelativeZGroupHelper()
258 shot->expectColor(Rect(16, 16, 48, 48), Color::BLUE); in setRelativeZGroupHelper()
481 Color priorBgColor = Color::BLUE; in setBackgroundColorHelper()
700 Color::BLUE, Color::WHITE)); in TEST_P()
706 Color::BLUE, Color::WHITE); in TEST_P()
713 Color::WHITE, Color::BLUE); in TEST_P()
[all …]
DMirrorLayer_test.cpp64 createColorLayer("Grandchild layer", Color::BLUE, mChildLayer.get()); in TEST_F()
90 shot->expectColor(Rect(550, 550, 750, 750), Color::BLUE); in TEST_F()
170 fillBufferQueueLayerColor(bufferQueueLayer, Color::BLUE, 200, 200); in TEST_F()
187 shot->expectColor(Rect(550, 550, 750, 750), Color::BLUE); in TEST_F()
215 fillBufferLayerColor(layer, Color::BLUE, 200, 200); in TEST_F()
222 shot->expectColor(Rect(550, 550, 750, 750), Color::BLUE); in TEST_F()
310 ASSERT_NO_FATAL_FAILURE(fillBufferLayerColor(grandchild, Color::BLUE, 50, 50)); in TEST_F()
345 shot->expectColor(Rect(50, 50, 100, 100), Color::BLUE); in TEST_F()
357 shot->expectColor(Rect(0, 0, 50, 50), Color::BLUE); in TEST_F()
/frameworks/base/libs/androidfw/tests/
DNinePatch_test.cpp26 #define BLUE "\x00\x00\xff\xff" macro
63 (uint8_t*)BLACK RED BLUE RED BLUE BLUE RED BLUE RED WHITE,
64 (uint8_t*)BLACK RED BLUE RED BLUE BLUE RED BLUE RED WHITE,
65 (uint8_t*)WHITE RED BLUE RED BLUE BLUE RED BLUE RED WHITE,
66 (uint8_t*)BLACK RED BLUE RED BLUE BLUE RED BLUE RED WHITE,
67 (uint8_t*)BLACK RED BLUE RED BLUE BLUE RED BLUE RED WHITE,
108 (uint8_t*)WHITE BLACK WHITE BLACK WHITE, (uint8_t*)BLACK RED BLUE GREEN WHITE,
109 (uint8_t*)BLACK RED GREEN GREEN WHITE, (uint8_t*)WHITE TRANS BLUE GREEN WHITE,
262 NinePatch::PackRGBA((uint8_t*)BLUE), NinePatch::PackRGBA((uint8_t*)GREEN), in TEST()
/frameworks/base/errorprone/tests/res/android/foo/
DIColorService.java23 public static final String BLUE = "blue"; field
28 @RequiresPermission(allOf = { RED, BLUE })
30 @RequiresPermission(anyOf = { RED, BLUE })
/frameworks/base/core/java/android/hardware/camera2/params/
DRggbChannelVector.java40 public static final int BLUE = 3; field in RggbChannelVector
125 case BLUE: in getComponent()
156 destination[offset + BLUE] = mBlue; in copyTo()
/frameworks/base/errorprone/tests/java/com/google/errorprone/bugpatterns/android/
DRequiresPermissionCheckerTest.java39 private static final String BLUE = "blue"; field in RequiresPermissionCheckerTest
57 final ParsedRequiresPermission a = build(Arrays.asList(RED, BLUE), Arrays.asList()); in testParser_AllOf()
65 final ParsedRequiresPermission a = build(Arrays.asList(), Arrays.asList(RED, BLUE)); in testParser_AnyOf()
73 final ParsedRequiresPermission a = build(Arrays.asList(RED, BLUE), Arrays.asList()); in testParser_AnyOf_AllOf()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/
DThemeOverlayControllerTest.java161 .thenReturn(Color.BLUE); in setup()
224 Color.valueOf(Color.BLUE), null); in onWallpaperColorsChanged_setsTheme_whenForeground()
263 Color.valueOf(Color.BLUE), null); in onWallpaperColorsChanged_setsTheme_skipWhenBackground()
286 Color.valueOf(Color.BLUE), null); in onWallpaperColorsChanged_preservesWallpaperPickerTheme()
312 Color.valueOf(Color.BLUE), null); in onWallpaperColorsChanged_resetThemeIfNotPreset()
347 Color.valueOf(Color.BLUE), null); in onWallpaperColorsChanged_resetThemeWithNewHomeWallpapers()
381 Color.valueOf(Color.BLUE), null); in onWallpaperColorsChanged_keepsThemeWhenSetFromLockScreen()
404 Color.valueOf(Color.BLUE), null); in onWallpaperColorsChanged_resetLockScreenThemeWhenBothSet()
472 Color.valueOf(Color.BLUE), null); in onWallpaperColorsChanged_resetThemeWithNewHomeAndLockWallpaper()
505 Color.valueOf(Color.BLUE), null); in onWallpaperColorsChanged_changeLockWallpaper()
[all …]
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/
DGeometryTests.kt138 activity.mSurfaceProxy.drawBuffer(0, Color.BLUE) in <lambda>()
147 checkPixels(svBounds, Color.BLUE) in <lambda>()
172 checkPixels(svBounds, Color.BLUE) in <lambda>()
186 activity.mSurfaceProxy.drawBuffer(0, Color.BLUE) in <lambda>()
195 checkPixels(svBounds, Color.BLUE) in <lambda>()
219 checkPixels(svBounds, Color.BLUE) in <lambda>()
DSharedBufferModeTests.kt86 it.mSurfaceProxy.drawBuffer(0, Color.BLUE) in <lambda>()
87 checkPixels(svBounds, Color.BLUE) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DActivatableNotificationViewTest.kt76 mView.setTintColor(Color.BLUE) in testBackgroundBehaviors()
77 assertThat(mView.currentBackgroundTint).isEqualTo(Color.BLUE) in testBackgroundBehaviors()
82 .isEqualTo(NotificationUtils.interpolateColors(Color.BLUE, Color.RED, 0.5f)) in testBackgroundBehaviors()
/frameworks/native/services/surfaceflinger/tests/utils/
DColorUtils.h32 static const Color BLUE; member
40 const Color Color::BLUE{0, 0, 255, 255};
/frameworks/base/services/tests/servicestests/src/com/android/server/lights/
DLightsServiceTest.java19 import static android.graphics.Color.BLUE;
173 session1.requestLights(new Builder().addLight(micLight, new LightState(BLUE)).build()); in testControlLights_firstCallerWinsContention()
176 assertThat(manager.getLightState(micLight).getColor()).isEqualTo(BLUE); in testControlLights_firstCallerWinsContention()
221 new Builder().addLight(micLight, new LightState(BLUE)).build()); in testControlLights_higherPriorityCallerWinsContention()
228 assertThat(manager.getLightState(micLight).getColor()).isEqualTo(BLUE); in testControlLights_higherPriorityCallerWinsContention()
/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.cpp136 setRawLightBrightness(rawRgbIds.at(LightColor::BLUE), blue); in setLightColor()
148 intensities.emplace(LightColor::BLUE, getBlue(color)); in setLightColor()
174 std::optional<int32_t> blueOr = getRawLightBrightness(rawRgbIds.at(LightColor::BLUE)); in getLightColor()
207 intensities.at(LightColor::GREEN), intensities.at(LightColor::BLUE)); in getLightColor()
256 rawRgbIds.at(LightColor::GREEN), rawRgbIds.at(LightColor::BLUE)); in dump()
454 if (rawInfo->flags.test(InputLightClass::BLUE)) { in configureLights()
456 rawRgbIds.emplace(LightColor::BLUE, rawId); in configureLights()
483 rawRgbIds.at(LightColor::GREEN), rawRgbIds.at(LightColor::BLUE)); in configureLights()
489 keyboardBacklightIds.find(rawRgbIds.at(LightColor::BLUE)) != in configureLights()
504 rawInfos.erase(rawRgbIds.at(LightColor::BLUE)); in configureLights()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawable/
DUserIconDrawableTest.java53 @ColorInt final int targetColor = Color.BLUE; in setTintList_shouldBeApplied()
69 assertThat(bitmap.getPixel(0, 0)).isEqualTo(Color.BLUE); in setTintList_shouldBeApplied()
/frameworks/base/core/tests/coretests/src/android/colormodel/
DCamTest.java36 static final int BLUE = 0xff0000ff; field in CamTest
84 Cam cam = Cam.fromInt(BLUE); in camFromBlue()
133 int colorToTest = BLUE; in getBlueFromGamutMap()
197 assertEquals(21.415f, Cam.fromInt(RED).distance(Cam.fromInt(BLUE)), 0.001f); in deltaERedToBlue()
/frameworks/base/core/tests/coretests/src/android/text/
DSpanColorsTest.java54 mSpannedText.setSpan(new ForegroundColorSpan(Color.BLUE), 12, 16, in setup()
76 assertThat(mSpanColors.getColorAt(13)).isEqualTo(Color.BLUE); in testMultipleColorSpans()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DFileRotatorTest.java241 private static final String BLUE = "blue"; field in FileRotatorTest
262 rotate.combineActive(reader, writer(BLUE), currentTime); in testQueryMatch()
268 final String[] FULL_SET = { RED, GREEN, BLUE, YELLOW }; in testQueryMatch()
277 RED, GREEN, BLUE); in testQueryMatch()
282 GREEN, BLUE, YELLOW); in testQueryMatch()
287 assertReadMatching(rotate, blueStart + SECOND_IN_MILLIS, blueEnd - SECOND_IN_MILLIS, BLUE); in testQueryMatch()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DActivityEmbeddingPlaceholderPrimaryActivity.java28 return Color.BLUE; in getBackgroundColor()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DMaterial.java41 public static final int BLUE = 2; field in Material
92 mColor[p + BLUE] = v; in simpleSetup()
251 mColor[p + BLUE] = (byte) blue; in buildMaterialProp()
277 mColor[p + BLUE] = (byte) blue; in buildMaterialProp()
294 mColor[p + BLUE] = (byte) blue; in buildMaterialProp()
/frameworks/base/core/java/com/android/internal/graphics/palette/
DWuQuantizer.java272 maximize(one, Direction.BLUE, one.b0 + 1, one.b1, wholeR, wholeG, wholeB, wholeW); in cut()
285 cutDirection = Direction.BLUE; in cut()
305 case BLUE: in cut()
392 case BLUE: in bottom()
414 case BLUE: in top()
427 BLUE enumConstant
/frameworks/base/services/tests/PackageManagerServiceTests/host/test-apps/UsesStaticLibrary/src/com/android/server/pm/test/static_library/
DTestActivity.kt30 setBackgroundColor(Color.BLUE) in onCreate()
/frameworks/base/tools/hoststubgen/hoststubgen/test-tiny-framework/tiny-framework/src/com/android/hoststubgen/test/tinyframework/
DTinyFrameworkEnumComplex.java28 BLUE("Blue", "B"); enumConstant

12345