Home
last modified time | relevance | path

Searched refs:COLOR (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/text/src/android/text/style/cts/
DLineBackgroundSpan_StandardTest.java38 static final int COLOR = 0x04CB2F; field in LineBackgroundSpan_StandardTest
42 final LineBackgroundSpan.Standard span = new LineBackgroundSpan.Standard(COLOR); in testGetColor()
43 assertEquals(COLOR, span.getColor()); in testGetColor()
49 final LineBackgroundSpan.Standard span = new LineBackgroundSpan.Standard(COLOR); in testWriteToParcel()
55 assertEquals(COLOR, parcelSpan.getColor()); in testWriteToParcel()
64 final LineBackgroundSpan span = new LineBackgroundSpan.Standard(COLOR); in testDrawBackground()
DIconMarginSpanTest.java43 private static final int[] COLOR = new int[WIDTH * HEIGHT]; field in IconMarginSpanTest
45 Bitmap.createBitmap(COLOR, WIDTH, HEIGHT, Bitmap.Config.RGB_565);
/cts/tests/tests/opengl/src/android/opengl/cts/
DNativeColorBufferTest.java49 mActivity.setView(Constants.COLOR, 1, vertexColors); in test_RGBA_1001()
67 mActivity.setView(Constants.COLOR, 1, vertexColors); in test_RGBA_1101()
86 mActivity.setView(Constants.COLOR, 1, vertexColors); in test_RGBA_1111()
105 mActivity.setView(Constants.COLOR, 1, vertexColors); in test_RGBA_0101()
124 mActivity.setView(Constants.COLOR, 1, vertexColors); in test_RGBA_0011()
143 mActivity.setView(Constants.COLOR, 1, vertexColors); in test_RGBA_0000()
162 mActivity.setView(Constants.COLOR, 1, vertexColors); in test_RGBA_rand_val_one()
DColorBufferTest.java54 mActivity.setView(Constants.COLOR, 1, vertexColors); in test_RGBA_1001()
72 mActivity.setView(Constants.COLOR, 1, vertexColors); in test_RGBA_1101()
91 mActivity.setView(Constants.COLOR, 1, vertexColors); in test_RGBA_1111()
110 mActivity.setView(Constants.COLOR, 1, vertexColors); in test_RGBA_0101()
129 mActivity.setView(Constants.COLOR, 1, vertexColors); in test_RGBA_0011()
148 mActivity.setView(Constants.COLOR, 1, vertexColors); in test_RGBA_0000()
167 mActivity.setView(Constants.COLOR, 1, vertexColors); in test_RGBA_rand_val_one()
DConstants.java21 public static final int COLOR = 3; field in Constants
DOpenGLES20ActivityTwo.java103 if(type == Constants.COLOR) { in OpenGLES20View()
DOpenGLES20NativeActivityTwo.java114 if(type == Constants.COLOR) { in OpenGLES20View()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewStressTestActivity.java116 private static final float[][] COLOR = { field in TextureViewStressTestActivity.GLRendererImpl
126 glClearColor(COLOR[index][0], COLOR[index][1], COLOR[index][2], 1.0f); in drawFrame()
/cts/tests/tests/widget/src/android/widget/cts/
DAnalogClockTest.java183 mClock.setDialTintBlendMode(BlendMode.COLOR); in testSetDialTintBlendMode()
184 mClockWithAttrs.setDialTintBlendMode(BlendMode.COLOR); in testSetDialTintBlendMode()
185 assertEquals(BlendMode.COLOR, mClock.getDialTintBlendMode()); in testSetDialTintBlendMode()
186 assertEquals(BlendMode.COLOR, mClockWithAttrs.getDialTintBlendMode()); in testSetDialTintBlendMode()
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/
DPlatformInspectableProcessorTest.java273 assertEquals(ValueType.COLOR, mPropertyMapper.getValueType("colorInt")); in testColorTypeInference()
274 assertEquals(ValueType.COLOR, mPropertyMapper.getValueType("colorLong")); in testColorTypeInference()
275 assertEquals(ValueType.COLOR, mPropertyMapper.getValueType("colorObject")); in testColorTypeInference()
289 @InspectableProperty(valueType = ValueType.COLOR)
313 assertEquals(ValueType.COLOR, mPropertyMapper.getValueType("color")); in testValueTypeEquals()
DTestPropertyMapper.java99 return map(name, attributeId, ValueType.COLOR); in mapColor()
/cts/tests/tests/graphics/src/android/graphics/cts/
DNinePatchTest.java51 private static final int[] COLOR = new int[WIDTH * HEIGTH]; field in NinePatchTest
107 Bitmap bitmap = Bitmap.createBitmap(COLOR, 10, 10, Bitmap.Config.ARGB_4444); in testIsNinePatchChunk()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DBlendModeTest.java509 testBlendMode(BlendMode.COLOR, DST_COLOR, 0xFF3636FF, SRC_COLOR); in testBlendMode_COLOR()
/cts/tests/tests/calendarprovider/src/android/provider/cts/calendar/
DCalendarTest.java661 Colors.COLOR, // 6
707 colorValues.put(Colors.COLOR, color); in addColor()
1535 colorValues.put(Colors.COLOR, 0xff000000); in testColorWriteRequirements()