/external/skia/src/opts/ |
SkBlitRow_opts_arm_neon.cpp | [all...] |
/external/skia/tests/ |
WritePixelsTest.cpp | 160 uint32_t color, 162 const uint8_t* c = reinterpret_cast<uint8_t*>(&color); 167 return color; 170 a = SkGetPackedA32(color); 171 r = SkGetPackedR32(color); 172 g = SkGetPackedG32(color); 173 b = SkGetPackedB32(color);
|
/external/webkit/Source/WebCore/platform/graphics/android/context/ |
PlatformGraphicsContextSkia.cpp | 312 const Color& color) 331 paint.setColor(color.rgb()); 340 const Color& backgroundColor, ColorSpace colorSpace, int from, 508 const Color& color) 510 if (color.rgb() & 0xFF000000) { 514 paint.setColor(color.rgb()); // Punch in the specified color 546 const Color& color [all...] |
/external/chromium/chrome/browser/resources/ |
print_preview.js | 44 $('color').addEventListener('click', function() { setColor(true); }); 79 var colorOption = $('color'); 206 * Checks whether the preview color setting is set to 'color' or not. 208 * @return {boolean} true if color is 'color'. 211 return $('color').checked; 268 'color': isColor(), 315 * Sets the color mode for the PDF plugin. 317 * @param {boolean} color is true if the PDF plugin should display in color [all...] |
/external/opencv/cv/src/ |
cvcalibinit.cpp | 236 CV_ERROR( CV_StsUnsupportedFormat, "Only 8-bit grayscale or color images are supported" ); 326 // The border color will be the image mean, because otherwise we risk screwing up filters like cvSmooth()... 346 CvScalar color = CV_RGB(30,255,30); local 352 color = CV_RGB(200,200,0); 353 cvLine( dbg1_img, cvPointFrom32f(pt1), cvPointFrom32f(pt2), color, 3, 8); 400 CvScalar color = CV_RGB(30,255,30); local 402 color = CV_RGB(255,30,30); 408 color = CV_RGB(200,200,0); 409 cvLine( dbg2_img, cvPointFrom32f(pt1), cvPointFrom32f(pt2), color, 3, 8); 2022 CvScalar color = {{0,0,255}}; local 2060 CvScalar color = line_colors[y % line_max]; local [all...] |
/external/webkit/Source/WebCore/rendering/ |
RenderBoxModelObject.cpp | 574 void RenderBoxModelObject::paintFillLayerExtended(const PaintInfo& paintInfo, const Color& color, const FillLayer* bgLayer, int tx, int ty, int w, int h, 589 Color bgColor = color; 594 // If there's no bg color or image, leave it untouched to avoid affecting transparency. 603 bgColor = Color::white; 610 // Fast path for drawing simple color backgrounds. 701 // Only fill with a base color (e.g., white) if we're the root document, since iframes/frames with 732 // Paint the color first underneath all images. 736 // If we have an alpha and we are painting the root element, go ahead and blend with the base background color 1095 Color color; member in class:WebCore::BorderEdge [all...] |
RenderThemeWin.cpp | 260 Color RenderThemeWin::platformActiveSelectionBackgroundColor() const 262 COLORREF color = GetSysColor(COLOR_HIGHLIGHT); local 263 return Color(GetRValue(color), GetGValue(color), GetBValue(color)); 266 Color RenderThemeWin::platformInactiveSelectionBackgroundColor() const 268 // This color matches Firefox. 269 return Color(176, 176, 176); 272 Color RenderThemeWin::platformActiveSelectionForegroundColor() cons 274 COLORREF color = GetSysColor(COLOR_HIGHLIGHTTEXT); local [all...] |
/external/chromium/chrome/browser/themes/ |
browser_theme_pack.cc | 41 // Static size of the tint/color/display property arrays that are mmapped. 469 bool BrowserThemePack::GetColor(int id, SkColor* color) const { 473 *color = colors_[i].color; 649 colors_[i].color = SkColorSetRGB(0, 0, 0); 662 colors_[count].color = it->second; 675 SkColor color = SK_ColorWHITE; local 684 color = SkColorSetARGB(static_cast<int>(alpha * 255), r, g, b); 687 color = SkColorSetARGB(alpha_int ? 255 : 0, r, g, b); 693 color = SkColorSetRGB(r, g, b) [all...] |
theme_service.cc | 54 SkColor IncreaseLightness(SkColor color, double percent) { 56 color_utils::SkColorToHSL(color, &result); 58 return color_utils::HSLToSkColor(result, SkColorGetA(color)); 240 SkColor color; local 241 if (theme_pack_.get() && theme_pack_->GetColor(id, &color)) 242 return color; 506 // Return a debugging red color.
|
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/ |
MeshLoader.java | 406 vb = new VertexBuffer(Type.Color); 494 FloatBuffer buf = (FloatBuffer) mesh.getBuffer(Type.Color).getData(); 498 throw new SAXException("Color value must contain 3 or 4 components"); 501 ColorRGBA color = new ColorRGBA(); local 502 color.r = parseFloat(vals[0]); 503 color.g = parseFloat(vals[1]); 504 color.b = parseFloat(vals[2]); 506 color.a = 1f; 508 color.a = parseFloat(vals[3]); 511 buf.put(color.r).put(color.g).put(color.b).put(color.a) [all...] |
/external/webkit/Source/WebCore/css/ |
CSSGradientValue.cpp | 92 static inline Color blend(const Color& from, const Color& to, float progress) 95 return Color(blend(from.red(), to.red(), progress), 102 Color color; member in struct:WebCore::GradientStop 122 Color color = renderer->document()->styleSelector()->getColorFromPrimitiveValue(stop.m_color.get()); local 130 gradient->addColorStop(offset, color); 155 stops[i].color = renderer->document()->styleSelector()->getColorFromPrimitiveValue(stop.m_color.get()) [all...] |
mediaControlsQuickTime.css | 82 color: white; 104 color: white; 172 color: white;
|
/frameworks/compile/libbcc/lib/Renderscript/runtime/ |
rs_sample.c | 19 #define SkGetPackedR16(color) (((unsigned)(color) >> SK_R16_SHIFT) & SK_R16_MASK) 20 #define SkGetPackedG16(color) (((unsigned)(color) >> SK_G16_SHIFT) & SK_G16_MASK) 21 #define SkGetPackedB16(color) (((unsigned)(color) >> SK_B16_SHIFT) & SK_B16_MASK) 39 static float3 getFrom565(uint16_t color) { 41 result.x = (float)SkPacked16ToR32(color); 42 result.y = (float)SkPacked16ToG32(color); 43 result.z = (float)SkPacked16ToB32(color); [all...] |
/system/media/camera/docs/ |
html.mako | 23 .section { font-size: 1.5em; font-weight: bold; background-color: beige; padding: 0.5em 0em 0.5em 0.1em } 24 .kind { font-size: 1.2em; font-weight: bold; padding-left: 0.5em; background-color: gray } 25 .entry { background-color: burlywood } 44 .entry_type_name { color: darkgreen; font-weight: bold; } 45 .entry_type_name_enum:after { color: darkgreen; font-weight: bold; content:" (enum)" }
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
EditStyledText.java | 37 import android.graphics.Color; 112 /** The mode of changing color. */ 574 /** Start to change color */ 579 /** Start to change background color */ 688 * Set Color of the Item. 690 * @param color The color of the Item. 692 public void setItemColor(int color) { 693 mManager.setItemColor(color, true); 699 * @param align The color of the Item 3342 int color = mManager.getColorWaitInput(); local [all...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
ResourcesTest.java | 202 final ColorStateList colorStateList = mResources.getColorStateList(R.color.color1); 204 final int focusColor = colorStateList.getColorForState(focusedState, R.color.failColor); 205 assertEquals(mResources.getColor(R.color.testcolor1), focusColor); 216 final int color = mResources.getColor(R.color.testcolor1); local 217 assertEquals(0xff00ff00, color);
|
/external/chromium/chrome/browser/autocomplete/ |
autocomplete_popup_view_gtk.cc | 118 // Generates the normal URL color, a green color used in unhighlighted URL 119 // text. It is a mix of |kURLTextColor| and the current text color. Unlike the 120 // selected text color, it is more important to match the qualities of the 121 // foreground typeface color instead of taking the background into account. 129 // Only allow colors that have a fair amount of saturation in them (color vs 130 // white). This means that our output color will always be fairly green. 145 // Generates the selected URL color, a green color used on URL text in the 147 // |kURLTextColor|, the current text color, and the background color (th 237 const GdkColor* color = base_color; local [all...] |
/external/doclava/res/assets/templates/ |
diff.cs | 17 background-color: #778899; 21 background-color: #a9a9a9; 25 background-color: #dcdcdc;
|
/external/opencv/cvaux/src/ |
cv3dtracker.cpp | 84 IplImage *gray_img = NULL; // temporary image for color conversion 138 // The input samples are not required to all have the same size or color 158 // no color conversion required 347 CvScalar color = colors[0]; local 351 color = colors[y % ARRAY_SIZEOF(rgb_colors)]; 364 cvLine(img, prev_pt, pt, color, 1, CV_AA); 369 cvPoint(pt.x + r, pt.y + r), color, 1, CV_AA ); 371 cvPoint(pt.x + r, pt.y - r), color, 1, CV_AA ); 372 cvCircle( img, pt, r+1, color, 1, CV_AA );
|
cvfacedetection.cpp | 248 void FaceDetection::AddContours2Rect(CvSeq *seq, int color, int iLayer) 264 cr.iColor = color; 276 cr.iColor = color; 280 }// void FaceDetection::AddContours2Rect(CvSeq *seq, int color, int iLayer)
|
/external/skia/src/core/ |
SkBitmapProcState.cpp | 519 SkPMColor color; local 525 Filter_32_alpha(iSubY, *row0, *row1, &color, s.fAlphaScale); 527 Filter_32_opaque(iSubY, *row0, *row1, &color); 531 color = SkAlphaMulQ(*row0, s.fAlphaScale); 533 color = *row0; 537 sk_memset32(colors, color, count);
|
/external/skia/src/gpu/ |
GrDrawState.h | 32 * GrEffect. The effect produces an output color in the fragment shader. It's inputs are the 37 * The stages are divided into two sets, color-computing and coverage-computing. The final color 38 * stage produces the final pixel color. The coverage-computing stages function exactly as the 39 * color-computing but the output of the final coverage stage is treated as a fractional pixel 40 * coverage rather than as input to the src/dst color blend step. 42 * The input color to the first enabled color-stage is either the constant color or interpolated 49 * the color / coverage distinction [all...] |
/frameworks/base/core/java/android/gesture/ |
GestureOverlayView.java | 202 public void setGestureColor(int color) { 203 mCertainGestureColor = color; 206 public void setUncertainGestureColor(int color) { 207 mUncertainGestureColor = color; 374 private void setCurrentColor(int color) { 375 mCurrentColor = color;
|
/packages/apps/Email/src/com/android/email/widget/ |
EmailWidget.java | 142 // Initialize string, color, dimension resources 149 sDefaultTextColor = res.getColor(R.color.widget_default_text_color); 150 sDefaultTextColor = res.getColor(R.color.widget_default_text_color); 151 sLightTextColor = res.getColor(R.color.widget_light_text_color); 327 * Add size and color styling to text 331 * @param color the color for this text 334 private CharSequence addStyle(CharSequence text, int size, int color) { 339 if (color != 0) { 340 builder.setSpan(new ForegroundColorSpan(color), 0, text.length() [all...] |
/device/generic/goldfish/camera/ |
Converters.h | 30 * pixels are represented as WORD, or DWORD, the color order inside the 36 * So, if this code runs on the little endian CPU, red color in 'rgb' would be 37 * masked as 0x000000ff, and blue color would be masked as 0x00ff0000, while if 38 * the code runs on a big endian CPU, the red color in 'rgb' would be masked as 39 * 0xff000000, and blue color would be masked as 0x0000ff00, 45 * RGB565 color masks 61 * RGB32 color masks 77 * Extracting, and saving color bytes from / to WORD / DWORD RGB. 119 uint32_t color; member in union:android::RGB32_t 151 /* Converts R8 G8 B8 color to YUV. * [all...] |