Home
last modified time | relevance | path

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

1234

/frameworks/base/tools/aapt2/compile/
DNinePatch_test.cpp32 #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/
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()
133 return WHITE; in getTimeColor()
143 return WHITE; in getTimeColor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DBubbleFlyoutViewTest.java60 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/
DStatusBarIconViewTest.java112 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/
DWallpaperColorsTest.java37 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/
DViewLayerInvalidationActivity.java31 int currentColor = Color.WHITE;
83 currentColor = (currentColor == Color.WHITE) ? Color.RED : Color.WHITE;
DMyLittleTextureView.java71 canvas.drawColor(Color.WHITE); in onCreate()
DMovingSurfaceViewActivity.java109 canvas.drawColor(Color.WHITE); in surfaceChanged()
DFramebufferBlendActivity.java58 Color.BLACK, Color.WHITE, Shader.TileMode.CLAMP); in BlendView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleView.java253 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/
DPalette.java531 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/
DTextColor.java35 WHITE(0x9), enumConstant
/frameworks/native/services/surfaceflinger/
DColorizer.h36 WHITE = 37 enumerator
/frameworks/layoutlib/remote/tests/src/
DCustomComponent.java51 setTextColor(Color.WHITE); in init()
/frameworks/base/core/java/android/view/accessibility/
DCaptioningManager.java366 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/
DMediaNotificationProcessorTest.java132 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/
DCarStatusBarHeader.java49 float intensity = colorForeground == Color.WHITE ? 0f : 1f; in onFinishInflate()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DDarkIconDispatcher.java71 int DEFAULT_ICON_TINT = Color.WHITE;
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DGlifV3StyleTest.java45 assertThat(activity.getWindow().getNavigationBarColor()).isEqualTo(Color.WHITE); in activityWithGlifV3Theme_shouldUseLightNavBarOnV27OrAbove()
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DCanvasPerfTest.java50 canvas.drawColor(Color.WHITE); in testBasicViewGroupDraw()
DVectorDrawablePerfTest.java81 assertTrue("The background should be white", backgroundColor == Color.WHITE); in testBitmapDrawPerf()
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/
DAdaptiveOutlineDrawable.java45 getDrawable().setTint(Color.WHITE); in AdaptiveOutlineDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DMediaNotificationProcessor.java169 Color.WHITE); in selectForegroundColor()
264 return new Palette.Swatch(Color.WHITE, 100); in findBackgroundSwatch()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp64 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 …]

1234