Home
last modified time | relevance | path

Searched refs:WHITE (Results 1 – 25 of 170) sorted by relevance

1234567

/frameworks/base/libs/androidfw/tests/
DNinePatch_test.cpp32 #define WHITE "\xff\xff\xff\xff" macro
36 (uint8_t*)WHITE WHITE,
37 (uint8_t*)WHITE WHITE,
41 (uint8_t*)WHITE BLACK TRANS,
43 (uint8_t*)WHITE WHITE WHITE,
53 (uint8_t*)WHITE WHITE BLACK BLACK BLACK WHITE WHITE,
54 (uint8_t*)WHITE RED RED RED RED RED WHITE,
55 (uint8_t*)BLACK RED RED RED RED RED WHITE,
56 (uint8_t*)BLACK RED RED RED RED RED WHITE,
57 (uint8_t*)WHITE RED RED RED RED RED WHITE,
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardIndicationTest.java19 import static android.graphics.Color.WHITE;
45 .setTextColor(ColorStateList.valueOf(WHITE)) in testCannotCreateIndicationWithoutMessageOrIcon()
60 .setTextColor(ColorStateList.valueOf(WHITE)) in testCannotCreateIndicationWithEmptyMessage()
69 .setTextColor(ColorStateList.valueOf(WHITE)) in testCreateIndicationWithMessage()
78 .setTextColor(ColorStateList.valueOf(WHITE)) in testCreateIndicationWithIcon()
89 .setTextColor(ColorStateList.valueOf(WHITE)) in testCreateIndicationWithMessageAndIcon()
/frameworks/base/tests/Internal/src/com/android/internal/graphics/
DColorUtilsTest.java33 int alpha = ColorUtils.calculateMinimumBackgroundAlpha(Color.WHITE, Color.BLACK, 4.5f); in calculateMinimumBackgroundAlpha_satisfiestContrast()
36 int worstCase = ColorUtils.blendARGB(Color.WHITE, Color.BLACK, alpha/255f); in calculateMinimumBackgroundAlpha_satisfiestContrast()
38 double contrast = ColorUtils.calculateContrast(Color.WHITE, worstCase); in calculateMinimumBackgroundAlpha_satisfiestContrast()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DConfig.java42 private static final int WHITE = 0xFFFFFFFF; field in Config
63 return isGreaterOrEqual(platformVersion, GINGERBREAD) ? BLACK : WHITE; in getStatusBarColor()
157 return WHITE; in getTimeColor()
167 return WHITE; in getTimeColor()
DStatusBar.java47 import static android.graphics.Color.WHITE;
133 return WHITE; in getForegroundColor()
144 return WHITE; in getForegroundColor()
/frameworks/native/services/surfaceflinger/tests/
DMirrorLayer_test.cpp101 shot->expectColor(Rect(550, 550, 750, 750), Color::WHITE); in TEST_F()
112 shot->expectColor(Rect(550, 550, 750, 750), Color::WHITE); in TEST_F()
150 shot->expectColor(Rect(550, 550, 750, 750), Color::WHITE); in TEST_F()
161 shot->expectColor(Rect(550, 550, 750, 750), Color::WHITE); in TEST_F()
192 fillBufferQueueLayerColor(bufferQueueLayer, Color::WHITE, 200, 200); in TEST_F()
197 shot->expectColor(Rect(550, 550, 750, 750), Color::WHITE); in TEST_F()
227 fillBufferLayerColor(layer, Color::WHITE, 200, 200); in TEST_F()
232 shot->expectColor(Rect(550, 550, 750, 750), Color::WHITE); in TEST_F()
DLayerRenderTypeTransaction_test.cpp700 Color::BLUE, Color::WHITE)); in TEST_P()
706 Color::BLUE, Color::WHITE); in TEST_P()
713 Color::WHITE, Color::BLUE); in TEST_P()
719 getScreenCapture()->expectQuadrant(Rect(0, 0, 32, 32), Color::BLUE, Color::WHITE, in TEST_P()
727 Color::WHITE, Color::GREEN); in TEST_P()
734 Color::BLUE, Color::WHITE, true /* filtered */); in TEST_P()
743 Color::BLUE, Color::WHITE)); in TEST_P()
749 Color::BLUE, Color::WHITE); in TEST_P()
756 Color::WHITE, Color::BLUE); in TEST_P()
762 getScreenCapture()->expectQuadrant(Rect(32, 0, 64, 32), Color::BLUE, Color::WHITE, in TEST_P()
[all …]
DRelativeZ_test.cpp111 createColorLayer("child level 1", Color::WHITE, mForegroundLayer.get()); in TEST_F()
161 createColorLayer("Relative layer", Color::WHITE, mForegroundLayer.get()); in TEST_F()
225 createColorLayer("child level 1b", Color::WHITE, mForegroundLayer.get()); in TEST_F()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/shaders/
DSparkleShader.kt65 setInputShader("in_src", SolidColorShader(Color.WHITE))
66 setLumaMatteColor(Color.WHITE)
/frameworks/base/services/tests/servicestests/src/com/android/server/lights/
DLightsServiceTest.java22 import static android.graphics.Color.WHITE;
174 session2.requestLights(new Builder().addLight(micLight, new LightState(WHITE)).build()); in testControlLights_firstCallerWinsContention()
182 assertThat(manager.getLightState(micLight).getColor()).isEqualTo(WHITE); in testControlLights_firstCallerWinsContention()
199 session.requestLights(new Builder().addLight(micLight, new LightState(WHITE)).build()); in testClearLight()
223 new Builder().addLight(micLight, new LightState(WHITE)).build()); in testControlLights_higherPriorityCallerWinsContention()
225 assertThat(manager.getLightState(micLight).getColor()).isEqualTo(WHITE); in testControlLights_higherPriorityCallerWinsContention()
/frameworks/base/tests/Internal/src/android/app/
DWallpaperColorsTest.java38 final Color color = Color.valueOf(Color.WHITE); in supportsDarkTextOverrideTest()
58 canvas.drawColor(Color.WHITE); in whiteSurfaceColorHintsTest()
83 xsmall_canvas.drawColor(Color.WHITE); in xSmallWhiteSurfaceColorHintsTest()
118 canvas.drawColor(Color.WHITE); in bitmapHintsTest()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DBubbleFlyoutViewTest.java78 new PointF(100, 100), true, Color.WHITE, null, null, mDotCenter, in testShowFlyout_isVisible()
91 new PointF(100, 100), true, Color.WHITE, null, after, mDotCenter, in testFlyoutHide_runsCallback()
101 new PointF(100, 100), true, Color.WHITE, null, null, mDotCenter, in testSetCollapsePercent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/regionsampling/
DRegionSamplerTest.kt181 regionSampler.setForegroundColors(Color.WHITE, Color.BLACK) in testForegroundColor()
192 assertThat(regionSampler.currentForegroundColor()).isEqualTo(Color.WHITE) in testForegroundColor()
210 Color.valueOf(Color.WHITE), in setWhiteWallpaper()
211 Color.valueOf(Color.WHITE), in setWhiteWallpaper()
/frameworks/native/services/surfaceflinger/tests/utils/
DColorUtils.h33 static const Color WHITE; member
41 const Color Color::WHITE{255, 255, 255, 255};
/frameworks/base/core/tests/coretests/src/android/colormodel/
DCamTest.java31 static final int WHITE = 0xffffffff; field in CamTest
106 Cam cam = Cam.fromInt(WHITE); in camFromWhite()
141 int colorToTest = WHITE; in getWhiteFromGamutMap()
192 assertEquals(25.661f, Cam.fromInt(WHITE).distance(Cam.fromInt(BLACK)), 0.001f); in deltaEWhiteToBlack()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/
DQrCodeGenerator.kt71 @ColorInt val setColor = if (invert) Color.WHITE else Color.BLACK in encodeQrCode()
72 @ColorInt val unsetColor = if (invert) Color.BLACK else Color.WHITE in encodeQrCode()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/
DColorGrid.kt66 paint.color = Color.WHITE in onDraw()
69 arrayOf(Color.WHITE, Color.RED, Color.BLUE, Color.GREEN).forEach { in onDraw()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DViewLayerInvalidationActivity.java31 int currentColor = Color.WHITE;
83 currentColor = (currentColor == Color.WHITE) ? Color.RED : Color.WHITE;
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DAuthKeyguardMessageArea.kt31 setTextColor(ColorStateList.valueOf(Color.WHITE)) in updateTextColor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DColorizedFgsCoordinatorTest.java83 .setColorized(true).setColor(Color.WHITE); in testIncludeFGSInSection_importanceDefault()
96 .setColorized(true).setColor(Color.WHITE); in testDiscludeFGSInSection_importanceMin()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DTextColor.java35 WHITE(0x9), enumConstant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/view/
DSingleBindableStatusBarIconView.kt91 val iconTint: MutableStateFlow<Int> = MutableStateFlow(Color.WHITE) in <lambda>()
92 val decorTint: MutableStateFlow<Int> = MutableStateFlow(Color.WHITE) in <lambda>()
/frameworks/native/services/surfaceflinger/
DColorizer.h34 WHITE = 37 enumerator
/frameworks/base/core/tests/overlaytests/device_self_targeting/src/com/android/overlaytest/
DOverlayManagerImplTest.java248 List.of(Pair.create(TARGET_COLOR_RES, Pair.create(null, Color.WHITE)))); in registerOverlay_createColorOverlay_shouldBeSavedInAndLoadFromFile()
363 List.of(Pair.create(TARGET_COLOR_RES, Pair.create(null, Color.WHITE)))); in registerMultipleOverlays_shouldMatchTheNumberOfOverlays()
372 List.of(Pair.create(TARGET_COLOR_RES, Pair.create(null, Color.WHITE)))); in registerMultipleOverlays_shouldMatchTheNumberOfOverlays()
405 List.of(Pair.create(TARGET_COLOR_RES, Pair.create(null, Color.WHITE)))); in registerTheSameOverlay_shouldNotIncreaseTheNumberOfOverlays()
414 List.of(Pair.create(TARGET_COLOR_RES, Pair.create(null, Color.WHITE)))); in registerTheSameOverlay_shouldNotIncreaseTheNumberOfOverlays()
468 TARGET_COLOR_RES, TypedValue.TYPE_INT_COLOR_ARGB8, Color.WHITE) in commitRegisterOverlay_fromOtherBuilder_shouldWork()
516 Pair.create(null, Color.WHITE)))); in prepareFabricatedOverlayInternal()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/ripple/
DRippleAnimationConfig.kt21 var color: Int = Color.WHITE,

1234567