/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
TitleViewAdapter.java | 102 * Sets the {@link android.support.v17.leanback.widget.SearchOrbView.Colors} used to draw the 105 * @param colors Colors used to draw search affordance. 107 public void setSearchAffordanceColors(SearchOrbView.Colors colors) { 111 * Returns the {@link android.support.v17.leanback.widget.SearchOrbView.Colors} used to draw the 114 * @return Colors used to draw search affordance. 116 public SearchOrbView.Colors getSearchAffordanceColors() {
|
/prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/ |
SDL_messagebox.h | 82 * \brief A set of colors to use for message box dialogs 86 SDL_MessageBoxColor colors[SDL_MESSAGEBOX_COLOR_MAX]; member in struct:__anon53486
|
/prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/ |
SDL_messagebox.h | 82 * \brief A set of colors to use for message box dialogs 86 SDL_MessageBoxColor colors[SDL_MESSAGEBOX_COLOR_MAX]; member in struct:__anon53595
|
/prebuilts/misc/windows/sdl2/include/ |
SDL_messagebox.h | 82 * \brief A set of colors to use for message box dialogs 86 SDL_MessageBoxColor colors[SDL_MESSAGEBOX_COLOR_MAX]; member in struct:__anon53674
|
/prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/ |
SDL_messagebox.h | 82 * \brief A set of colors to use for message box dialogs 86 SDL_MessageBoxColor colors[SDL_MESSAGEBOX_COLOR_MAX]; member in struct:__anon53768
|
/external/deqp/framework/common/ |
tcuRasterizationVerifier.hpp | 64 tcu::Vec4 colors[3]; member in struct:tcu::TriangleSceneSpec::SceneTriangle 76 tcu::Vec4 colors[2]; member in struct:tcu::LineSceneSpec::SceneLine 118 * Triangle colors are not used. The triangle is expected to be white. 129 * Line colors are not used. The line is expected to be white. 141 * Line colors are not used. The line is expected to be white. Lines are 153 * Point colors are not used. The point is expected to be white.
|
/external/skia/gm/ |
alphagradients.cpp | 27 SkColor colors[] = { c0, c1 }; local 31 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2,
|
drawregionmodes.cpp | 68 SkColor colors[] = { SK_ColorBLUE, SK_ColorYELLOW }; variable 69 paint.setShader(SkGradientShader::MakeLinear(points, colors, nullptr, 2,
|
tablecolorfilter.cpp | 17 SkColor colors[] = { local 21 return SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), 38 SkColor colors[] = { local 41 return SkGradientShader::MakeRadial(SkPoint::Make(cx, cy), cx, colors, nullptr, 42 SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode); 207 ComposeColorFilterGM(const SkColor colors[], const SkBlendMode modes[], 209 : fColors(colors), fModes(modes)
|
arithmode.cpp | 28 SkColor colors[] = { local 32 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), 44 SkColor colors[] = { local 48 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), 128 // leading to invalid premultiplied colors. If we enforcePMColor, these
|
perspshaders.cpp | 60 constexpr SkColor colors[] = { variable 65 fLinearGrad1 = SkGradientShader::MakeLinear(pts1, colors, pos, SK_ARRAY_COUNT(colors), 67 fLinearGrad2 = SkGradientShader::MakeLinear(pts2, colors, pos, SK_ARRAY_COUNT(colors),
|
/external/skia/samplecode/ |
SampleRepeatTile.cpp | 22 const SkColor colors[] = { local 28 paint.setColor(colors[ix & 3]);
|
/external/skia/src/core/ |
SkValidatingReadBuffer.h | 58 bool readColorArray(SkColor* colors, size_t size) override; 59 bool readColor4fArray(SkColor4f* colors, size_t size) override;
|
SkVertices.cpp | 113 SkColor* SkVertices::Builder::colors() { function in class:SkVertices::Builder 114 return fVertices ? const_cast<SkColor*>(fVertices->colors()) : nullptr; 125 const SkColor colors[], int indexCount, 127 Sizes sizes(vertexCount, indexCount, texs != nullptr, colors != nullptr); 137 sk_careful_memcpy(builder.colors(), colors, sizes.fCSize); 151 // storage = packed | vertex_count | index_count | pos[] | texs[] | colors[] | indices[] 214 reader.read(builder.colors(), sizes.fCSize);
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
SimpleGradientAnimation.cpp | 58 SkColor colors[3] = { Color::Transparent, Color::Black, Color::Cyan_500 }; local 59 paint.setShader(SkGradientShader::MakeLinear(pts, colors + (i % 2), pos, 2,
|
/prebuilts/misc/windows/sdl2/test/ |
testautomation_pixels.c | 330 /* Two colors */ 334 /* More than two colors */ 346 SDLTest_AssertCheck(result->colors != NULL, "Verify value of result.colors is not NULL"); 347 if (result->colors != NULL) { 349 SDLTest_AssertCheck(result->colors[i].r == 255, "Verify value of result.colors[%d].r; expected: 255, got %u", i, result->colors[i].r); 350 SDLTest_AssertCheck(result->colors[i].g == 255, "Verify value of result.colors[%d].g; expected: 255, got %u", i, result->colors[i].g) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
LinearGradient_Delegate.java | 61 int colors[], float positions[], int tileMode) { 63 x1, y1, colors, positions, Shader_Delegate.getTileMode(tileMode)); 85 * @param colors The colors to be distributed along the gradient line 87 * corresponding color in the colors array. If this is null, the 88 * the colors are distributed evenly along the gradient line. 92 float y1, int colors[], float positions[], TileMode tile) { 93 super(nativeMatrix, colors, positions); 111 public LinearGradientPaint(float x0, float y0, float x1, float y1, int colors[], 113 super(colors, positions, tile) [all...] |
RadialGradient_Delegate.java | 60 int colors[], float positions[], int tileMode) { 62 colors, positions, Shader_Delegate.getTileMode(tileMode)); 83 * @param colors The colors to be distributed between the center and edge of 86 * color in the colors array. If this is NULL, the the colors are 91 int colors[], float positions[], TileMode tile) { 92 super(nativeMatrix, colors, positions); 103 int[] colors, float[] positions, TileMode mode) { 104 super(colors, positions, mode) [all...] |
SweepGradient_Delegate.java | 55 /*package*/ static long nativeCreate1(long matrix, float x, float y, int colors[], float 57 SweepGradient_Delegate newDelegate = new SweepGradient_Delegate(matrix, x, y, colors, 76 * @param colors The colors to be distributed between around the center. 77 * There must be at least 2 colors in the array. 79 * each corresponding color in the colors array, beginning 82 * If positions is NULL, then the colors are automatically 86 int colors[], float positions[]) { 87 super(nativeMatrix, colors, positions); 96 public SweepGradientPaint(float cx, float cy, int[] colors, [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarColorPickerDialog.java | 28 import android.provider.CalendarContract.Colors; 59 Colors.COLOR, 60 Colors.COLOR_KEY 63 static final String COLORS_WHERE = Colors.ACCOUNT_NAME + "=? AND " + Colors.ACCOUNT_TYPE + 64 "=? AND " + Colors.COLOR_TYPE + "=" + Colors.TYPE_CALENDAR; 104 Uri uri = Colors.CONTENT_URI; 119 ArrayList<Integer> colors = new ArrayList<Integer>(); local 126 colors.add(displayColor) [all...] |
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/ |
BitmapUtils.java | 180 * Scales colors for given bitmap. This could be used as color filter for example. 192 int[] colors = new int[] {red(pixel), green(pixel), blue(pixel)}; 195 colors[j] = (int)((colors[j] / 255.0) * (max[j] - min[j]) + min[j]); 198 pixels[i] = Color.rgb(colors[0], colors[1], colors[2]);
|
/external/ImageMagick/coders/ |
ipl.c | 79 colors, member in struct:_IPLInfo 250 ipl_info.colors=ReadBlobLong(image); 251 if(ipl_info.colors == 3){ SetImageColorspace(image,sRGBColorspace,exception);} 345 if(ipl_info.colors == 1){ 581 if(IssRGBCompatibleColorspace(image->colorspace) != MagickFalse) { ipl_info.colors = 3; } 582 else{ ipl_info.colors = 1; } 585 ((image->depth)/8)*ipl_info.height*ipl_info.width*ipl_info.colors*ipl_info.z); 608 (void) WriteBlobLong(image, ipl_info.colors); 622 if(ipl_info.colors == 1){ 634 if(ipl_info.colors == 3) [all...] |
/external/deqp/modules/egl/ |
teglGLES2SharingTests.cpp | 700 static const GLfloat colors [] = { local 730 GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, 0, colors)); 757 tcu::Vec4 a(colors[0], colors[1], colors[2], colors[3]); 758 tcu::Vec4 b(colors[4 + 0], colors[4 + 1], colors[4 + 2], colors[4 + 3]) 989 static const GLfloat colors [] = { local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
CtsMediaTextureRender.java | 282 int[] colors = new int[pixelCount]; local 283 buf.asIntBuffer().get(colors); 285 int c = colors[i]; 286 colors[i] = (c & 0xff00ff00) | ((c & 0x00ff0000) >> 16) | ((c & 0x000000ff) << 16); 292 Bitmap bmp = Bitmap.createBitmap(colors, width, height, Bitmap.Config.ARGB_8888);
|
/cts/tests/tests/media/src/android/media/cts/ |
TextureRender.java | 278 int[] colors = new int[pixelCount]; local 279 buf.asIntBuffer().get(colors); 281 int c = colors[i]; 282 colors[i] = (c & 0xff00ff00) | ((c & 0x00ff0000) >> 16) | ((c & 0x000000ff) << 16); 288 Bitmap bmp = Bitmap.createBitmap(colors, width, height, Bitmap.Config.ARGB_8888);
|