/frameworks/base/tools/aapt2/compile/ |
D | NinePatch_test.cpp | 25 #define RED "\xff\x00\x00\xff" macro 40 (uint8_t*)WHITE BLACK TRANS, (uint8_t*)TRANS RED TRANS, 45 (uint8_t*)TRANS BLACK TRANS, (uint8_t*)BLACK RED BLACK, 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, 60 (uint8_t*)BLACK RED BLUE RED BLUE BLUE RED BLUE RED WHITE, 61 (uint8_t*)BLACK RED BLUE RED BLUE BLUE RED BLUE RED WHITE, 62 (uint8_t*)WHITE RED BLUE RED BLUE BLUE RED BLUE RED WHITE, [all …]
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Transaction_test.cpp | 61 static const Color RED; member 69 const Color Color::RED{255, 0, 0, 255}; 740 ASSERT_NO_FATAL_FAILURE(fillBufferQueueLayerColor(layer, Color::RED, 32, 32)); in TEST_P() 746 shot->expectColor(rect, Color::RED); in TEST_P() 755 shot->expectColor(rect, Color::RED); in TEST_P() 763 ASSERT_NO_FATAL_FAILURE(fillBufferQueueLayerColor(layer, Color::RED, 32, 32)); in TEST_P() 772 getScreenCapture()->expectColor(Rect(0, 0, 32, 32), Color::RED); in TEST_P() 778 getScreenCapture()->expectColor(Rect(1, 1, 33, 33), Color::RED); in TEST_P() 785 ASSERT_NO_FATAL_FAILURE(fillBufferQueueLayerColor(layer, Color::RED, 32, 32)); in TEST_P() 803 ASSERT_NO_FATAL_FAILURE(fillBufferQueueLayerColor(layer, Color::RED, 32, 32)); in TEST_P() [all …]
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/ |
D | GlifLayoutTest.java | 100 layout.setPrimaryColor(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColor() 103 .isEqualTo(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColor() 109 .isEqualTo(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColor() 112 .isEqualTo(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColor() 121 layout.setPrimaryColor(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColorTablet() 124 .isEqualTo(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColorTablet() 130 .isEqualTo(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColorTablet() 133 .isEqualTo(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColorTablet() 136 assertThat(((GlifPatternDrawable) getTabletBackground(layout)).getColor()).isEqualTo(Color.RED); in testSetPrimaryColorTablet() 143 layout.setBackgroundBaseColor(ColorStateList.valueOf(Color.RED)); in testSetBackgroundBaseColor() [all …]
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | GlifPatternDrawableTest.java | 53 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testDraw() 70 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testDrawTwice() 92 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testScaleToCanvasSquare() 108 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testScaleToCanvasTall() 125 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testScaleToCanvasWide() 142 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testScaleToCanvasMaxSize() 158 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testMemoryAllocation()
|
D | DrawableLayoutDirectionHelperTest.java | 46 final Drawable drawable = new ColorDrawable(Color.RED); in testCreateRelativeInsetDrawableLtr() 69 final Drawable drawable = new ColorDrawable(Color.RED); in testCreateRelativeInsetDrawableRtl() 92 final Drawable drawable = new ColorDrawable(Color.RED); in testCreateRelativeInsetDrawableViewRtl() 115 final Drawable drawable = new ColorDrawable(Color.RED); in testCreateRelativeInsetDrawableContextRtl()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | StrictModeFlash.java | 80 c.drawColor(Color.RED); in drawIfNeeded() 85 c.drawColor(Color.RED); in drawIfNeeded() 90 c.drawColor(Color.RED); in drawIfNeeded() 95 c.drawColor(Color.RED); in drawIfNeeded()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | RggbChannelVector.java | 31 public static final int RED = 0; field in RggbChannelVector 119 case RED: in getComponent() 153 destination[offset + RED] = mRed; in copyTo()
|
D | LensShadingMap.java | 23 import static android.hardware.camera2.params.RggbChannelVector.RED; 173 mElements[RED + offset]; in getGainFactorVector()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/colorextraction/ |
D | SysuiColorExtractorTests.java | 70 mColors.setMainColor(Color.RED); in setUp() 71 mColors.setSecondaryColor(Color.RED); in setUp() 83 mColors.setMainColor(Color.RED); in getColors() 84 mColors.setSecondaryColor(Color.RED); in getColors()
|
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/types/ |
D | TonalTest.java | 77 WallpaperColors wallColors = new WallpaperColors(Color.valueOf(Color.RED), null, null, in extractInto_fromBitmap() 83 assertThat(normal.getMainColor()).isEqualTo(Color.RED); in extractInto_fromBitmap() 92 WallpaperColors wallColors = new WallpaperColors(Color.valueOf(Color.RED), null, null, in extractInto_supportsDarkText() 98 assertThat(normal.getMainColor()).isEqualTo(Color.RED); in extractInto_supportsDarkText()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentResolverTest.java | 74 canvas.drawColor(Color.RED); in initImage() 98 assertEquals(Color.RED, bitmap.getPixel(halfX + 10, halfY - 10)); in assertImageAspectAndContents() 99 assertEquals(Color.RED, bitmap.getPixel(halfX - 10, halfY + 10)); in assertImageAspectAndContents() 100 assertEquals(Color.RED, bitmap.getPixel(halfX + 10, halfY + 10)); in assertImageAspectAndContents()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/ |
D | ViewPreviewerTest.kt | 54 assertThat(bitmap.getPixel(0, 0)).isEqualTo(Color.RED) in testCreatePreview() 60 canvas?.drawColor(Color.RED) in onDraw()
|
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/ |
D | ColorExtractorTest.java | 74 colorsExpectedNormal.setMainColor(Color.RED); in getColors_usesExtractedColors() 111 extractor.onColorsChanged(new WallpaperColors(Color.valueOf(Color.RED), null, null), in addOnColorsChangedListener_invokesListener() 117 extractor.onColorsChanged(new WallpaperColors(Color.valueOf(Color.RED), null, null), in addOnColorsChangedListener_invokesListener()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Material.java | 39 public static final int RED = 0; field in Material 90 mColor[p + RED] = v; in simpleSetup() 249 mColor[p + RED] = (byte) red; in buildMaterialProp() 275 mColor[p + RED] = (byte) red; in buildMaterialProp() 292 mColor[p + RED] = (byte) red; in buildMaterialProp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardSliceViewTest.java | 106 mKeyguardSliceView.setTextColor(Color.RED); in getTextColor_whiteTextWhenAOD() 108 Assert.assertEquals("Should be using regular text color", Color.RED, in getTextColor_whiteTextWhenAOD()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ColoredRectsActivity.java | 41 final RectsView swView = new RectsView(this, 400, Color.RED); in onCreate() 49 final RectsView swBothView = new RectsView(this, 854, Color.RED); in onCreate()
|
D | ViewPropertyAlphaActivity.java | 82 text.setSpan(new BackgroundColorSpan(Color.RED), 0, 3, in onCreate() 124 mPaint.setColor(Color.RED); in MyView()
|
/frameworks/compile/mclinker/lib/LD/ |
D | TextDiagnosticPrinter.cpp | 20 llvm::raw_ostream::RED; 23 static const enum llvm::raw_ostream::Colors ErrorColor = llvm::raw_ostream::RED;
|
/frameworks/native/services/surfaceflinger/ |
D | RefreshRateOverlay.h | 39 const half3 RED = half3(1.0f, 0.0f, 0.0f); variable
|
D | Colorizer.h | 30 RED = 31, enumerator
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | DisableScreenshotsActivity.java | 34 getWindow().getDecorView().setBackgroundColor(Color.RED); in onCreate()
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | ResourceModifiers.java | 89 Color.RED, Color.GREEN, Shader.TileMode.CLAMP); in ResourceModifiers() 97 Color.BLUE, Color.RED, Shader.TileMode.CLAMP); in ResourceModifiers()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | FileRotatorTest.java | 230 private static final String RED = "red"; field in FileRotatorTest 244 rotate.combineActive(reader, writer(RED), currentTime); in testQueryMatch() 258 final String[] FULL_SET = { RED, GREEN, BLUE, YELLOW }; in testQueryMatch() 267 RED, GREEN, BLUE); in testQueryMatch()
|
/frameworks/layoutlib/remote/tests/src/ |
D | CustomComponent.java | 50 setBackgroundColor(Color.RED); in init()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | MediaNotificationProcessorTest.java | 144 canvas.drawColor(Color.RED); in findBackgroundSwatch_red() 148 assertCloseColors(swatch.getRgb(), Color.RED); in findBackgroundSwatch_red()
|