HomeSort by relevance Sort by last modified time
    Searched full:colors (Results 26 - 50 of 2849) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/ImageMagick/Magick++/tests/
test_image_anim.miff 2 class=PseudoClass colors=2 matte=False
11 class=PseudoClass colors=2 matte=False
19 class=PseudoClass colors=2 matte=False
27 class=PseudoClass colors=2 matte=False
35 class=PseudoClass colors=2 matte=False
43 class=PseudoClass colors=4 matte=False
  /packages/apps/Settings/src/com/android/settings/applications/
LinearColorPreference.java 68 LinearColorBar colors = (LinearColorBar)view.findViewById( local
70 colors.setShowIndicator(false);
71 colors.setColors(mRedColor, mYellowColor, mGreenColor);
72 colors.setRatios(mRedRatio, mYellowRatio, mGreenRatio);
73 colors.setColoredRegions(mColoredRegions);
74 colors.setOnRegionTappedListener(mOnRegionTappedListener);
  /external/skia/src/opts/
SkBitmapProcState_opts_mips_dsp.cpp 17 int count, SkPMColor* SK_RESTRICT colors) {
18 SkASSERT(count > 0 && colors != nullptr);
28 sk_memset32(colors, dstValue, count);
109 "pref 30, 64(%[colors]) \n\t"
110 "sw $t0, 0(%[colors]) \n\t"
111 "sw $t1, 4(%[colors]) \n\t"
112 "sw $t2, 8(%[colors]) \n\t"
113 "sw $t3, 12(%[colors]) \n\t"
114 "sw $t4, 16(%[colors]) \n\t"
115 "sw $t5, 20(%[colors]) \n\t
    [all...]
  /external/skia/samplecode/
SampleShaders.cpp 27 SkColor colors[2]; local
31 colors[0] = SK_ColorBLACK;
32 colors[1] = SkColorSetARGB(0, 0, 0, 0);
33 SkShader* shaderA = SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode);
57 SkColor colors[2]; local
61 colors[0] = SK_ColorRED;
62 colors[1] = SK_ColorBLUE;
63 SkShader* shaderA = SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode);
67 colors[0] = SK_ColorBLACK;
68 colors[1] = SkColorSetARGB(0x80, 0, 0, 0)
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Gradient_Delegate.java 44 * @param colors The colors to be distributed along the gradient line
46 * corresponding color in the colors array. If this is null, the
47 * the colors are distributed evenly along the gradient line.
49 protected Gradient_Delegate(int colors[], float positions[]) {
50 if (colors.length < 2) {
51 throw new IllegalArgumentException("needs >= 2 number of colors");
53 if (positions != null && colors.length != positions.length) {
58 float spacing = 1.f / (colors.length - 1);
59 positions = new float[colors.length]
    [all...]
  /external/chromium-trace/catapult/third_party/graphy/graphy/
pie_chart.py 74 def __init__(self, points=None, labels=None, colors=None):
85 colors: A list of colors for the pie segments, as hex strings
86 (f.ex. '0000ff' for blue). If there are less colors than pie
88 color transition between segments by spreading the colors across
95 self.AddPie(points, labels, colors)
97 def AddPie(self, points, labels=None, colors=None):
103 colors: A list of colors for the segments. Missing colors will be chose
    [all...]
  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/
BitmapTest.java 81 int[] colors = new int[100]; local
83 colors[i] = (0xFF << 24) | (i << 16) | (i << 8) | i;
86 Bitmap bm = Bitmap.createBitmap(colors, 10, 10,
98 assertEquals("getPixel", p, colors[i]);
107 int[] colors = new int[100]; local
109 colors[i] = (0xFF << 24) | (i << 16) | (i << 8) | i;
112 Bitmap bm = Bitmap.createBitmap(colors, 10, 10, Bitmap.Config.RGB_565);
124 int[] colors = new int[100]; local
126 colors[i] = (0xFF << 24) | (i << 16) | (i << 8) | i;
130 Bitmap bm1 = Bitmap.createBitmap(colors, 10, 10, config)
150 int[] colors = new int[100]; local
180 int[] colors = new int[256]; local
    [all...]
  /frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
ColorCutQuantizer.java 33 * colors rather than representation colors.
37 * requested number of colors. An average color is then generated from each cube.
41 * This means that the color space is divided into distinct colors, rather than representative
42 * colors.
68 * @param maxColors The maximum number of colors that should be in the result palette.
88 // Now let's count the number of distinct colors
102 mTimingLogger.addSplit("Filtered colors and distinct colors counted");
105 // Now lets go through create an array consisting of only distinct colors
106 final int[] colors = mColors = new int[distinctColorCount]; local
196 ArrayList<Swatch> colors = new ArrayList<>(vboxes.size()); local
245 final int[] colors = mColors; local
341 final int[] colors = mColors; local
370 final int[] colors = mColors; local
    [all...]
  /cts/tests/tests/text/src/android/text/style/cts/
TextAppearanceSpanTest.java 33 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK }; local
34 ColorStateList csl = new ColorStateList(states, colors);
70 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK }; local
71 ColorStateList csl = new ColorStateList(states, colors);
79 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK }; local
80 ColorStateList csl = new ColorStateList(states, colors);
101 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK }; local
102 ColorStateList csl = new ColorStateList(states, colors);
119 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK }; local
120 ColorStateList csl = new ColorStateList(states, colors);
134 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK }; local
143 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK }; local
155 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK }; local
    [all...]
  /external/ImageMagick/Magick++/demo/
smile.miff 2 class=PseudoClass colors=3 matte=True
tile.miff 2 Class=PseudoClass Colors=256 Matte=False
smile_anim.miff 2 Class=PseudoClass Colors=2 Matte=False
12 Class=PseudoClass Colors=2 Matte=False
21 Class=PseudoClass Colors=2 Matte=False
30 Class=PseudoClass Colors=2 Matte=False
39 Class=PseudoClass Colors=2 Matte=False
48 Class=PseudoClass Colors=4 Matte=False
  /external/ImageMagick/PerlMagick/t/reference/read/
input_wpg.miff 2 class=PseudoClass colors=256 matte=False
  /external/ImageMagick/PerlMagick/t/reference/write/read/
input_wpg.miff 2 class=PseudoClass colors=256 matte=False
  /external/llvm/tools/llvm-cov/
CoverageViewOptions.h 20 bool Colors;
29 /// \brief Change the output's stream color if the colors are enabled.
31 raw_ostream::Colors Color) const {
32 return llvm::colored_ostream(OS, Color, Colors);
  /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...]
  /external/chromium-trace/catapult/tracing/tracing/ui/base/
event_presenter.html 20 var colors = ColorScheme.colors;
58 return colors[colorId].toStringWithAlphaOverride(1.0);
63 return colors[colorId].toStringWithAlphaOverride(0.25);
69 return colors[colorId];
75 var c = colors[colorId + this.getColorIdOffset_(event)];
85 return colors[colorId].toStringWithAlphaOverride(1.0);
  /external/skia/gm/
textblobcolortrans.cpp 20 // This gm tests that textblobs can be translated and have their colors regenerated
71 // Colors were chosen to map to pairs of canonical colors. The GPU Backend will cache A8
72 // Texture Blobs based on the canonical color they map to. Canonical colors are used to
74 SkColor colors[] = {SK_ColorCYAN, sk_tool_utils::color_to_565(SK_ColorLTGRAY), variable
77 size_t count = SK_ARRAY_COUNT(colors);
81 paint.setColor(colors[colorIndex++ % count]);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
CreateBitmap.java 39 int[] colors = new int[STRIDE * HEIGHT]; local
46 colors[y * STRIDE + x] = (a << 24) | (r << 16) | (g << 8) | b;
49 return colors;
73 int[] colors = mColors; local
76 // these three are initialized with colors[]
77 mBitmaps[0] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT,
79 mBitmaps[1] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT,
81 mBitmaps[2] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT,
84 // these three will have their colors set later
92 mBitmaps[i].setPixels(colors, 0, STRIDE, 0, 0, WIDTH, HEIGHT)
    [all...]
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/
GradientPanel.java 59 gradientEditor.colors.clear();
60 float[] colors = value.getColors(); local
61 for (int i = 0; i < colors.length;) {
62 float r = colors[i++];
63 float g = colors[i++];
64 float b = colors[i++];
65 gradientEditor.colors.add(new Color(r, g, b));
67 if (gradientEditor.colors.isEmpty() || gradientEditor.percentages.isEmpty()) {
71 gradientEditor.colors.clear();
72 gradientEditor.colors.add(Color.white)
161 float[] colors = new float[gradientEditor.colors.size() * 3]; local
177 ArrayList<Color> colors = new ArrayList(); field in class:GradientPanel.GradientEditor
    [all...]
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/particleeditor/
GradientPanel.java 61 gradientEditor.colors.clear();
62 float[] colors = value.getColors(); local
63 for (int i = 0; i < colors.length;) {
64 float r = colors[i++];
65 float g = colors[i++];
66 float b = colors[i++];
67 gradientEditor.colors.add(new Color(r, g, b));
69 if (gradientEditor.colors.isEmpty() || gradientEditor.percentages.isEmpty()) {
73 gradientEditor.colors.clear();
74 gradientEditor.colors.add(Color.white);
162 float[] colors = new float[gradientEditor.colors.size() * 3]; local
178 ArrayList<Color> colors = new ArrayList(); field in class:GradientPanel.GradientEditor
    [all...]
  /frameworks/base/libs/hwui/
GradientCache.h 37 colors = nullptr;
41 GradientCacheEntry(uint32_t* colors, float* positions, uint32_t count) {
42 copy(colors, positions, count);
46 copy(entry.colors.get(), entry.positions.get(), entry.count);
51 copy(entry.colors.get(), entry.positions.get(), entry.count);
69 std::unique_ptr<uint32_t[]> colors; member in struct:android::uirenderer::GradientCacheEntry
74 void copy(uint32_t* colors, float* positions, uint32_t count) {
76 this->colors.reset(new uint32_t[count]);
79 memcpy(this->colors.get(), colors, count * sizeof(uint32_t))
    [all...]
  /external/skia/src/utils/
SkPatchGrid.cpp 32 bool SkPatchGrid::setPatch(int x, int y, const SkPoint cubics[12], const SkColor colors[4],
40 // setup corners and colors
61 // set optional values (colors and texture coordinates)
62 if ((fModeFlags & kColors_VertexType) && colors) {
63 fCornerColors[cornerPos] = colors[0];
64 fCornerColors[cornerPos + 1] = colors[1];
65 fCornerColors[cornerPos + (fCols + 1)] = colors[3];
66 fCornerColors[cornerPos + (fCols + 1) + 1] = colors[2];
79 bool SkPatchGrid::getPatch(int x, int y, SkPoint cubics[12], SkColor colors[4],
86 // set the patch by building the array of points and colors with the corresponding values
174 SkColor colors[4]; local
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
SwitchTest.java 66 ColorStateList colors = ColorStateList.valueOf(Color.RED); local
67 mSwitch.setThumbTintList(colors);
70 assertSame(colors, mSwitch.getThumbTintList());
79 ColorStateList colors = ColorStateList.valueOf(Color.RED); local
80 mSwitch.setTrackTintList(colors);
83 assertSame(colors, mSwitch.getTrackTintList());
  /external/opencv3/samples/python2/
stereo_match.py 24 def write_ply(fn, verts, colors):
26 colors = colors.reshape(-1, 3)
27 verts = np.hstack([verts, colors])
64 colors = cv2.cvtColor(imgL, cv2.COLOR_BGR2RGB) variable
67 out_colors = colors[mask]

Completed in 482 milliseconds

12 3 4 5 6 7 8 91011>>