/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d10tri/ |
d3d10tri.cpp | 33 float color[4]; member in struct:vertex 67 {"COLOR", 0, DXGI_FORMAT_R32G32B32A32_FLOAT, 0, 16, D3D10_INPUT_PER_VERTEX_DATA, 0},
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11tri/ |
d3d11tri.cpp | 33 float color[4]; member in struct:vertex 67 {"COLOR", 0, DXGI_FORMAT_R32G32B32A32_FLOAT, 0, 16, D3D11_INPUT_PER_VERTEX_DATA, 0},
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_wm_sampler_state.c | 57 * color. The fragment shader will clamp the coordinates, and 60 * clamping to 1.0 gives border color instead of the desired 90 float color[4]; local 93 /* GL specs that border color for depth textures is taken from the 97 color[0] = sampler->BorderColor.f[0]; 98 color[1] = sampler->BorderColor.f[0]; 99 color[2] = sampler->BorderColor.f[0]; 100 color[3] = sampler->BorderColor.f[0]; 102 color[0] = sampler->BorderColor.f[0]; 103 color[1] = sampler->BorderColor.f[1] [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv04_context.h | 44 uint32_t color[2]; member in struct:nv04_context
|
/external/pdfium/fpdfsdk/include/javascript/ |
color.h | 13 class color : public CJS_EmbedObj class in inherits:CJS_EmbedObj 16 color(CJS_Object* pJSObject); 17 virtual ~color(void); 36 static void ConvertPWLColorToArray(const CPWL_Color& color, CJS_Array& array); 37 static void ConvertArrayToPWLColor(CJS_Array& array, CPWL_Color& color); 62 JS_STATIC_PROP(black, color); 63 JS_STATIC_PROP(blue, color); 64 JS_STATIC_PROP(cyan, color); 65 JS_STATIC_PROP(dkGray, color); 66 JS_STATIC_PROP(gray, color); [all...] |
/external/skia/include/gpu/ |
GrTestUtils.h | 52 GrColor color; local 55 color = GrColorPackRGBA(0xFF, 0xFF, 0xFF, 0xFF); 58 color = GrColorPackRGBA(0, 0, 0, 0); 61 color = GrColorPackRGBA(random->nextULessThan(256), 68 color = GrColorPackRGBA(random->nextRangeU(0, alpha), 75 GrColorIsPMAssert(color); 76 return color;
|
/external/skia/src/effects/ |
SkBlurDrawLooper.cpp | 20 SkBlurDrawLooper::SkBlurDrawLooper(SkColor color, SkScalar sigma, 22 this->init(sigma, dx, dy, color, flags); 46 //The SrcIn xfer mode will multiply 'color' by the incoming alpha 55 SkColor color, uint32_t flags) { 59 fBlurColor = color; 66 const SkColor color = buffer.readColor(); local 71 return Create(color, sigma, dx, dy, flags); 164 str->append(" color: ");
|
/external/skia/src/gpu/ |
GrPathProcessor.h | 21 * The path equivalent of the GP. For now this just manages color. In the long term we plan on 26 static GrPathProcessor* Create(GrColor color, 29 return SkNEW_ARGS(GrPathProcessor, (color, viewMatrix, localMatrix)); 40 GrColor color() const { return fColor; } function in class:GrPathProcessor 58 GrPathProcessor(GrColor color, const SkMatrix& viewMatrix, const SkMatrix& localMatrix); 61 * CanCombineOutput will return true if two draws are 'batchable' from a color perspective.
|
GrProcOptInfo.h | 56 GrColor color() const { return fInOut.color(); } function in class:GrProcOptInfo 60 * Returns the index of the first effective color stage. If an intermediate stage doesn't read 77 * If input color is used and per-vertex colors are not used, this is the input color to the
|
/external/skia/src/svg/parser/ |
SkSVGGradient.cpp | 86 f_id.set("mask"); // write out gradient named given name + color (less initial #) 91 SkString& color = colorElement->fPaintState.f_stopColor; local 92 originalColors.append(color); 94 SkASSERT(color.c_str()[0] == '#'); 97 replacement.append(color.c_str() + 1, 2); // add stop colors using given color, turning existing stop color into alpha 101 color.set(replacement); 106 SkSVGStop* color = (SkSVGStop*) *ptr; local 108 color->fPaintState.f_stopColor.set(originalPtr, originalEnd - originalPtr) [all...] |
/frameworks/base/core/java/android/text/style/ |
QuoteSpan.java | 38 public QuoteSpan(@ColorInt int color) { 40 mColor = color; 83 int color = p.getColor(); local 91 p.setColor(color);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/ |
ColorFilterCache.java | 16 import android.graphics.Color; 23 * Cache of {@link ColorFilter}s for a given color at different alpha levels. 33 * Get a ColorDimmer for a given color. Only the RGB values are used; the 34 * alpha channel is ignored in color. Subsequent calls to this method 35 * with the same color value will return the same cache. 37 * @param color The color to use for the color filters. 38 * @return A cache of ColorFilters at different alpha levels for the color. 40 public static ColorFilterCache getColorFilterCache(int color) { 56 int color = Color.argb(i, r, g, b); local [all...] |
/packages/experimental/Bummer/src/com/android/dreams/bummer/ |
Bummer.java | 19 import android.graphics.Color; 31 public int color = Color.WHITE; field in class:Bummer 47 mApology.setTextColor(color);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/color/ |
ColorDescriptors.java | 16 package com.android.ide.eclipse.adt.internal.editors.color; 34 /** Descriptors for /res/color XML files */ 37 "http://d.android.com/guide/topics/resources/color-list-resource.html"; //$NON-NLS-1$ 40 public static final String ATTR_COLOR = "color"; //$NON-NLS-1$ 78 ResourceType.COLOR, ATTR_COLOR, 81 "Hexadeximal color. Required. The color is specified with an RGB value and "
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ColorFiltersMutateActivity.java | 93 ObjectAnimator color = ObjectAnimator.ofInt(this, "porterDuffColor", 0x7f990040); local 94 color.setEvaluator(new ArgbEvaluator()); 95 color.setDuration(1000); 96 color.setRepeatCount(ObjectAnimator.INFINITE); 97 color.setRepeatMode(ObjectAnimator.REVERSE); 98 color.start();
|
/build/tools/rgb2565/ |
to565.c | 104 unsigned short last, color, count; local 109 color = to565(in[0],in[1],in[2]); 111 if ((color == last) && (count != 65535)) { 120 last = color;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/touch/ |
TouchPointView.java | 21 import android.graphics.Color; 38 Color.RED, 39 Color.GREEN, 40 Color.BLUE, 41 Color.YELLOW, 42 Color.MAGENTA, 43 Color.BLACK, 44 Color.DKGRAY 87 int color = mColors[finger.pointerId % mColors.length]; local 88 mPaint.setColor(color); [all...] |
/cts/tests/leanbackjank/app/src/android/cts/jank/leanback/presenter/ |
CardPresenter.java | 41 sDefaultBackgroundColor = parent.getResources().getColor(R.color.default_background, null); 43 parent.getResources().getColor(R.color.selected_background, null); 61 int color = selected ? sSelectedBackgroundColor : sDefaultBackgroundColor; local 64 view.setBackgroundColor(color); 65 view.findViewById(R.id.info_field).setBackgroundColor(color);
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/presenter/ |
CardPresenter.java | 46 sDefaultBackgroundColor = parent.getResources().getColor(R.color.default_background); 47 sSelectedBackgroundColor = parent.getResources().getColor(R.color.selected_background); 65 int color = selected ? sSelectedBackgroundColor : sDefaultBackgroundColor; local 68 view.setBackgroundColor(color); 69 view.findViewById(R.id.info_field).setBackgroundColor(color);
|
/development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/ |
Square.java | 43 float color[] = { 0.2f, 0.709803922f, 0.898039216f, 1.0f }; field in class:Square 78 gl.glColor4f( // set color 79 color[0], color[1], 80 color[2], color[3]);
|
/development/samples/devbytes/animation/LayoutTransChanging/src/com/example/android/layouttranschanging/ |
LayoutTransChanging.java | 86 * Custom view painted with a random background color and two different sizes which are 104 int color = 0xff << 24 | (red << 16) | local 106 setBackgroundColor(color);
|
/device/generic/goldfish/lights/ |
lights_qemu.c | 58 int color = state->color & 0x00ffffff; local 59 return ((77 * ((color >> 16) & 0x00ff)) 60 + (150 * ((color >> 8) & 0x00ff)) + (29 * (color & 0x00ff))) >> 8; 81 state->color );
|
/device/htc/flounder/lights/ |
lights.c | 59 int color = state->color & 0x00ffffff; local 60 return ((77 * ((color >> 16) & 0x00ff)) 61 + (150 * ((color >> 8) & 0x00ff)) + 62 (29 * (color & 0x00ff))) >> 8; 70 ALOGV("set_light_battery, flashMode:%x, color:%x", state->flashMode, state->color); 71 if(state->color) 84 ALOGV("set_light_notifications, flashMode:%x, color:%x", state->flashMode, state->color); [all...] |
/external/bison/src/ |
graphviz.c | 110 char const *color = enabled ? ruleno ? "3" : "1" : "5"; local 140 color);
|
/external/blktrace/ |
rbtree.c | 225 int color; local 240 color = rb_color(node); 266 goto color; 270 color = rb_color(node); 284 color: 285 if (color == RB_BLACK)
|