/frameworks/base/libs/androidfw/tests/ |
D | NinePatch_test.cpp | 31 #define BLACK "\x00\x00\x00\xff" macro 41 (uint8_t*)WHITE BLACK TRANS, 47 (uint8_t*)TRANS BLACK TRANS, 48 (uint8_t*)BLACK RED BLACK, 49 (uint8_t*)TRANS BLACK TRANS, 53 (uint8_t*)WHITE WHITE BLACK BLACK BLACK WHITE WHITE, 55 (uint8_t*)BLACK RED RED RED RED RED WHITE, 56 (uint8_t*)BLACK RED RED RED RED RED WHITE, 62 (uint8_t*)WHITE WHITE BLACK WHITE BLACK BLACK WHITE BLACK WHITE WHITE, 63 (uint8_t*)BLACK RED BLUE RED BLUE BLUE RED BLUE RED WHITE, [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/ |
D | OverlayWindowTest.kt | 85 overlay.addDecorProvider(decorProvider1, rotation, Color.BLACK) in testAddProvider() 89 mContext, overlay.rootView, rotation, Color.BLACK in testAddProvider() 105 overlay.addDecorProvider(decorProvider1, Surface.ROTATION_270, Color.BLACK) in testRemoveView() 106 overlay.addDecorProvider(decorProvider2, Surface.ROTATION_270, Color.BLACK) in testRemoveView() 116 overlay.addDecorProvider(decorProvider1, Surface.ROTATION_0, Color.BLACK) in testOnReloadResAndMeasureWithoutIds() 117 overlay.addDecorProvider(decorProvider2, Surface.ROTATION_0, Color.BLACK) in testOnReloadResAndMeasureWithoutIds() 122 tintColor = Color.BLACK, in testOnReloadResAndMeasureWithoutIds() 126 overlay.getView(TEST_DECOR_VIEW_ID_1)!!, 1, Surface.ROTATION_90, Color.BLACK, null in testOnReloadResAndMeasureWithoutIds() 129 overlay.getView(TEST_DECOR_VIEW_ID_2)!!, 1, Surface.ROTATION_90, Color.BLACK, null in testOnReloadResAndMeasureWithoutIds() 135 overlay.addDecorProvider(decorProvider1, Surface.ROTATION_0, Color.BLACK) in testOnReloadResAndMeasureWithIds() [all …]
|
/frameworks/native/services/surfaceflinger/tests/ |
D | SetGeometry_test.cpp | 39 sc->expectBorder(Rect(0, 0, mLayerWidth, mLayerHeight), Color::BLACK); in SetUp() 64 sc->expectBorder(dest, Color::BLACK); in TEST_F() 77 sc->expectBorder(dest, Color::BLACK); in TEST_F() 90 sc->expectBorder(dest, Color::BLACK); in TEST_F() 99 sc->expectBorder(dest, Color::BLACK); in TEST_F()
|
D | LayerRenderTypeTransaction_test.cpp | 64 shot->expectBorder(rect, Color::BLACK); in TEST_P() 73 shot->expectBorder(rect, Color::BLACK); in TEST_P() 107 getScreenCapture()->expectColor(mDisplayRect, Color::BLACK); in TEST_P() 113 getScreenCapture()->expectColor(mDisplayRect, Color::BLACK); in TEST_P() 288 shot->expectColor(top, Color::BLACK); in TEST_P() 296 shot->expectColor(top, Color::BLACK); in TEST_P() 310 shot->expectColor(bottom, Color::BLACK); in TEST_P() 334 shot->expectColor(top, Color::BLACK); in TEST_P() 342 shot->expectColor(top, Color::BLACK); in TEST_P() 343 shot->expectColor(bottom, Color::BLACK); in TEST_P() [all …]
|
D | LayerTypeAndRenderTypeTransaction_test.cpp | 103 getScreenCapture()->expectColor(mDisplayRect, Color::BLACK); in TEST_P() 182 getScreenCapture()->expectColor(Rect(0, 0, 32, 32), Color::BLACK); in TEST_P() 200 shot->expectColor(Rect(0, 0, testArea, testArea), Color::BLACK); in TEST_P() 201 shot->expectColor(Rect(size - testArea, 0, right, testArea), Color::BLACK); in TEST_P() 202 shot->expectColor(Rect(0, bottom - testArea, testArea, bottom), Color::BLACK); in TEST_P() 203 shot->expectColor(Rect(size - testArea, bottom - testArea, right, bottom), Color::BLACK); in TEST_P() 266 shot->expectColor(Rect(0, 0, testArea, testArea), Color::BLACK); in TEST_P() 267 shot->expectColor(Rect(size - testArea, 0, right, testArea), Color::BLACK); in TEST_P() 268 shot->expectColor(Rect(0, bottom - testArea, testArea, bottom - testArea), Color::BLACK); in TEST_P() 269 shot->expectColor(Rect(right - testArea, bottom - testArea, right, bottom), Color::BLACK); in TEST_P() [all …]
|
D | MirrorLayer_test.cpp | 114 shot->expectColor(Rect(750, 750, 950, 950), Color::BLACK); in TEST_F() 123 shot->expectColor(Rect(550, 550, 750, 750), Color::BLACK); in TEST_F() 125 shot->expectColor(Rect(750, 750, 950, 950), Color::BLACK); in TEST_F() 139 shot->expectColor(Rect(550, 550, 750, 750), Color::BLACK); in TEST_F() 141 shot->expectColor(Rect(750, 750, 950, 950), Color::BLACK); in TEST_F() 152 shot->expectColor(Rect(750, 750, 950, 950), Color::BLACK); in TEST_F() 163 shot->expectColor(Rect(750, 750, 950, 950), Color::BLACK); in TEST_F()
|
D | LayerUpdate_test.cpp | 594 ASSERT_NO_FATAL_FAILURE(fillBufferQueueLayerColor(bufferLayer, Color::BLACK, 30, 30)); in TEST_F() 601 mCapture->expectColor(Rect(64, 64, 94, 94), Color::BLACK); in TEST_F() 623 mCapture->expectColor(Rect(64, 64, 128, 128), Color::BLACK); in TEST_F() 652 mCapture->expectColor(Rect(69, 69, 74, 74), Color::BLACK); in TEST_F() 675 mCapture->expectColor(Rect(64, 64, 128, 128), Color::BLACK); in TEST_F() 711 mCapture->expectColor(Rect(96, 96, 128, 128), Color::BLACK); in TEST_F() 747 mCapture->expectColor(Rect(64, 64, 128, 128), Color::BLACK); in TEST_F() 779 mCapture->expectColor(Rect(32, 32, 96, 96), Color::BLACK); in TEST_F()
|
D | ScreenCapture_test.cpp | 112 shot->expectColor(Rect(0, 0, 32, 32), Color::BLACK); in TEST_F() 162 shot->expectColor(Rect(0, 0, 10, 10), Color::BLACK); in TEST_F() 208 sc.expectColor(size, Color::BLACK); in TEST_F() 227 sc.expectColor(size, Color::BLACK); in TEST_F() 269 sc.expectColor(size, Color::BLACK); in TEST_F() 288 sc.expectColor(size, Color::BLACK); in TEST_F() 735 mCapture->expectColor(Rect(0, 0, 30, 30), Color::BLACK); in TEST_F() 778 sc.expectColor(Rect(0, 0, bufferWidth, bufferHeight), Color::BLACK); in TEST_F() 1007 ASSERT_NO_FATAL_FAILURE(fillBufferLayerColor(layer, Color::BLACK, 32, 32)); in TEST_F() 1018 mCapture->expectColor(Rect(0, 0, 32, 32), Color::BLACK); in TEST_F() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | AdaptiveIconTest.java | 68 new AdaptiveIcon(mContext, new ColorDrawable(Color.BLACK)); in createIcon_shouldSetBackgroundAndInset() 77 spy(new AdaptiveIcon(mContext, new ColorDrawable(Color.BLACK))); in setBackgroundColor_shouldUpdateColorFilter() 93 new AdaptiveIcon(mContext, new ColorDrawable(Color.BLACK)); in setBackgroundColor_externalTileWithBackgroundColorRawValue_shouldUpdateIcon() 104 final AdaptiveIcon icon = new AdaptiveIcon(mContext, new ColorDrawable(Color.BLACK)); in setBackgroundColor_tileWithoutBackgroundColor_shouldSetDefaultBackgroundColor() 121 new AdaptiveIcon(mContext, new ColorDrawable(Color.BLACK)); in onBindTile_externalTileWithBackgroundColorHint_shouldUpdateIcon() 130 new AdaptiveIcon(mContext, new ColorDrawable(Color.BLACK)); in getConstantState_returnCorrectState()
|
/frameworks/base/core/java/android/text/style/ |
D | SuggestionSpan.java | 206 mMisspelledUnderlineColor = Color.BLACK; in initStyle() 207 mGrammarErrorUnderlineColor = Color.BLACK; in initStyle() 208 mEasyCorrectUnderlineColor = Color.BLACK; in initStyle() 209 mAutoCorrectionUnderlineColor = Color.BLACK; in initStyle() 219 com.android.internal.R.styleable.SuggestionSpan_textUnderlineColor, Color.BLACK); in initStyle() 228 com.android.internal.R.styleable.SuggestionSpan_textUnderlineColor, Color.BLACK); in initStyle() 237 com.android.internal.R.styleable.SuggestionSpan_textUnderlineColor, Color.BLACK); in initStyle() 246 com.android.internal.R.styleable.SuggestionSpan_textUnderlineColor, Color.BLACK); in initStyle()
|
/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()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | Config.java | 43 private static final int BLACK = 0xFF000000; field in Config 63 return isGreaterOrEqual(platformVersion, GINGERBREAD) ? BLACK : WHITE; in getStatusBarColor() 161 return BLACK; in getTimeColor()
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | DrawIntoHwBitmapActivity.java | 42 p.setColor(Color.BLACK); in createBitmap() 47 p.setColor(Color.BLACK); in createBitmap()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/regionsampling/ |
D | RegionSamplerTest.kt | 181 regionSampler.setForegroundColors(Color.WHITE, Color.BLACK) in testForegroundColor() 196 assertThat(regionSampler.currentForegroundColor()).isEqualTo(Color.BLACK) in testForegroundColor() 201 WallpaperColors(Color.valueOf(Color.BLACK), Color.valueOf(Color.BLACK), null) in setBlackWallpaper()
|
/frameworks/native/services/surfaceflinger/tests/utils/ |
D | ColorUtils.h | 34 static const Color BLACK; member 42 const Color Color::BLACK{0, 0, 0, 255};
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | BackgroundFallbackTest.java | 205 new ColorDrawable(Color.BLACK), VISIBLE, emptyList()); in setUpViewHierarchy() 213 SCREEN_HEIGHT, new ColorDrawable(Color.BLACK), VISIBLE, emptyList()); in setUpViewHierarchy() 220 new ColorDrawable(Color.BLACK), VISIBLE, emptyList()); in setUpViewHierarchy() 227 SCREEN_HEIGHT, new ColorDrawable(Color.BLACK), VISIBLE, emptyList()); in setUpViewHierarchy()
|
/frameworks/base/core/tests/coretests/src/android/colormodel/ |
D | CamTest.java | 30 static final int BLACK = 0xff000000; field in CamTest 95 Cam cam = Cam.fromInt(BLACK); in camFromBlack() 149 int colorToTest = BLACK; in getBlackFromGamutMap() 192 assertEquals(25.661f, Cam.fromInt(WHITE).distance(Cam.fromInt(BLACK)), 0.001f); in deltaEWhiteToBlack()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/ |
D | QrCodeGenerator.kt | 71 @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/Internal/src/android/app/ |
D | WallpaperColorsTest.java | 67 paint.setColor(Color.BLACK); in whiteSurfaceColorHintsTest() 101 canvas.drawColor(Color.BLACK); in blackSurfaceColorHintsTest() 133 final Color color = Color.valueOf(Color.BLACK); in darkMainColorSupportsDarkTheme()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | ShadowGenerator.java | 174 setColorAlphaBound(Color.BLACK, keyShadowAlpha)); in drawShadow() 179 setColorAlphaBound(Color.BLACK, ambientShadowAlpha)); in drawShadow() 187 p.setColor(Color.BLACK); in drawShadow()
|
D | GraphicsUtils.java | 121 new ColorDrawable(Color.BLACK), new ColorDrawable(Color.BLACK)); in getShapePath()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/ |
D | StartingSurface.java | 29 return Color.BLACK; in getBackgroundColor()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | SysUiOverlay.java | 81 mCornerPaint.setColor(Color.BLACK); in SysUiOverlay() 86 mNotchPaint.setColor(Color.BLACK); in SysUiOverlay()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | TextColor.java | 26 BLACK(0x0), enumConstant
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/communal/util/ |
D | FakeCommunalColors.kt | 25 private val _backgroundColor = MutableStateFlow(Color.valueOf(Color.BLACK))
|