/frameworks/base/tools/aapt2/compile/ |
D | NinePatch_test.cpp | 32 #define WHITE "\xff\xff\xff\xff" macro 36 (uint8_t*)WHITE WHITE, (uint8_t*)WHITE WHITE, 40 (uint8_t*)WHITE BLACK TRANS, (uint8_t*)TRANS RED TRANS, 41 (uint8_t*)WHITE WHITE WHITE, 50 (uint8_t*)WHITE WHITE BLACK BLACK BLACK WHITE WHITE, 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, 55 (uint8_t*)WHITE WHITE WHITE WHITE WHITE WHITE WHITE, [all …]
|
/frameworks/base/tests/Internal/src/com/android/internal/graphics/ |
D | ColorUtilsTest.java | 33 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/ |
D | Config.java | 42 private static final int WHITE = 0xFFFFFFFF; field in Config 63 return isGreaterOrEqual(platformVersion, GINGERBREAD) ? BLACK : WHITE; in getStatusBarColor() 133 return WHITE; in getTimeColor() 143 return WHITE; in getTimeColor()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/ |
D | BubbleFlyoutViewTest.java | 60 mFlyout.showFlyout("Hello", new PointF(100, 100), 500, true, Color.WHITE, null); in testShowFlyout_isVisible() 69 mFlyout.showFlyout("Hello", new PointF(100, 100), 500, true, Color.WHITE, after); in testFlyoutHide_runsCallback() 77 mFlyout.showFlyout("Hello", new PointF(100, 100), 500, true, Color.WHITE, null); in testSetCollapsePercent()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | StatusBarIconViewTest.java | 112 int color = mIconView.getContrastedStaticDrawableColor(Color.WHITE); in testGetContrastedStaticDrawableColor() 116 mIconView.setStaticDrawableColor(Color.WHITE); in testGetContrastedStaticDrawableColor() 117 color = mIconView.getContrastedStaticDrawableColor(Color.WHITE); in testGetContrastedStaticDrawableColor() 119 ContrastColorUtil.satisfiesTextContrast(Color.WHITE, color)); in testGetContrastedStaticDrawableColor()
|
/frameworks/base/tests/Internal/src/android/app/ |
D | WallpaperColorsTest.java | 37 final Color color = Color.valueOf(Color.WHITE); in supportsDarkTextOverrideTest() 57 canvas.drawColor(Color.WHITE); in colorHintsTest() 77 canvas.drawColor(Color.WHITE); in colorHintsTest()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ViewLayerInvalidationActivity.java | 31 int currentColor = Color.WHITE; 83 currentColor = (currentColor == Color.WHITE) ? Color.RED : Color.WHITE;
|
D | MyLittleTextureView.java | 71 canvas.drawColor(Color.WHITE); in onCreate()
|
D | MovingSurfaceViewActivity.java | 109 canvas.drawColor(Color.WHITE); in surfaceChanged()
|
D | FramebufferBlendActivity.java | 58 Color.BLACK, Color.WHITE, Shader.TileMode.CLAMP); in BlendView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BubbleView.java | 253 iconDrawable.setTint(Color.WHITE); in checkTint() 254 double contrastRatio = ColorUtils.calculateContrast(Color.WHITE, backgroundColor); in checkTint() 264 return ColorUtils.blendARGB(defaultTint, Color.WHITE, WHITE_SCRIM_ALPHA); in determineDominateColor()
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | Palette.java | 531 Color.WHITE, mRgb, MIN_CONTRAST_BODY_TEXT); in ensureTextColorsGenerated() 533 Color.WHITE, mRgb, MIN_CONTRAST_TITLE_TEXT); in ensureTextColorsGenerated() 537 mBodyTextColor = ColorUtils.setAlphaComponent(Color.WHITE, lightBodyAlpha); in ensureTextColorsGenerated() 538 mTitleTextColor = ColorUtils.setAlphaComponent(Color.WHITE, lightTitleAlpha); in ensureTextColorsGenerated() 559 ? ColorUtils.setAlphaComponent(Color.WHITE, lightBodyAlpha) in ensureTextColorsGenerated() 562 ? ColorUtils.setAlphaComponent(Color.WHITE, lightTitleAlpha) in ensureTextColorsGenerated()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | TextColor.java | 35 WHITE(0x9), enumConstant
|
/frameworks/native/services/surfaceflinger/ |
D | Colorizer.h | 36 WHITE = 37 enumerator
|
/frameworks/layoutlib/remote/tests/src/ |
D | CustomComponent.java | 51 setTextColor(Color.WHITE); in init()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | CaptioningManager.java | 366 this.foregroundColor = mHasForegroundColor ? foregroundColor : Color.WHITE; in CaptionStyle() 499 WHITE_ON_BLACK = new CaptionStyle(Color.WHITE, Color.BLACK, EDGE_TYPE_NONE, 501 BLACK_ON_WHITE = new CaptionStyle(Color.BLACK, Color.WHITE, EDGE_TYPE_NONE,
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | MediaNotificationProcessorTest.java | 132 canvas.drawColor(Color.WHITE); in findBackgroundSwatch_white() 136 assertCloseColors(swatch.getRgb(), Color.WHITE); in findBackgroundSwatch_white()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/qs/car/ |
D | CarStatusBarHeader.java | 49 float intensity = colorForeground == Color.WHITE ? 0f : 1f; in onFinishInflate()
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
D | DarkIconDispatcher.java | 71 int DEFAULT_ICON_TINT = Color.WHITE;
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/ |
D | GlifV3StyleTest.java | 45 assertThat(activity.getWindow().getNavigationBarColor()).isEqualTo(Color.WHITE); in activityWithGlifV3Theme_shouldUseLightNavBarOnV27OrAbove()
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | CanvasPerfTest.java | 50 canvas.drawColor(Color.WHITE); in testBasicViewGroupDraw()
|
D | VectorDrawablePerfTest.java | 81 assertTrue("The background should be white", backgroundColor == Color.WHITE); in testBitmapDrawPerf()
|
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/ |
D | AdaptiveOutlineDrawable.java | 45 getDrawable().setTint(Color.WHITE); in AdaptiveOutlineDrawable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | MediaNotificationProcessor.java | 169 Color.WHITE); in selectForegroundColor() 264 return new Palette.Swatch(Color.WHITE, 100); in findBackgroundSwatch()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Transaction_test.cpp | 64 static const Color WHITE; member 72 const Color Color::WHITE{255, 255, 255, 255}; 1952 Color::BLUE, Color::WHITE)); in TEST_P() 1958 Color::BLUE, Color::WHITE); in TEST_P() 1965 Color::WHITE, Color::BLUE); in TEST_P() 1971 getScreenCapture()->expectQuadrant(Rect(0, 0, 32, 32), Color::BLUE, Color::WHITE, in TEST_P() 1979 Color::WHITE, Color::GREEN); in TEST_P() 1986 Color::BLUE, Color::WHITE, true /* filtered */); in TEST_P() 1995 Color::BLUE, Color::WHITE)); in TEST_P() 2004 Color::BLUE, Color::WHITE); in TEST_P() [all …]
|