/frameworks/base/graphics/java/android/graphics/ |
ColorMatrix.java | 22 * 4x5 matrix for transforming the color and alpha components of a Bitmap. 32 * When applied to a color <code>[R, G, B, A]</code>, the resulting color 43 * That resulting color <code>[R’, G’, B’, A’]</code> 51 * <code>255</code> to remain in the standard color space. 137 * Set the rotation on a color axis by the specified values. 139 * <code>axis=0</code> correspond to a rotation around the RED color 140 * <code>axis=1</code> correspond to a rotation around the GREEN color 141 * <code>axis=2</code> correspond to a rotation around the BLUE color 150 // Rotation around the red color [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
NotificationHeaderViewWrapper.java | 23 import android.graphics.Color; 173 // We don't update the color for children views / their icon is invisible anyway. 236 int color = interpolateColor(mColor, mIconDarkColor, intensity); local 237 mIconColorFilter.setColor(color); 267 int aSource = Color.alpha(source); 268 int rSource = Color.red(source); 269 int gSource = Color.green(source); 270 int bSource = Color.blue(source); 271 int aTarget = Color.alpha(target); 272 int rTarget = Color.red(target) [all...] |
/prebuilts/go/darwin-x86/src/image/color/ |
ycbcr.go | 5 package color 71 // YCbCr represents a fully opaque 24-bit Y'CbCr color, having 8 bits each for 74 // JPEG, VP8, the MPEG family and other codecs use this color model. Such 89 // subtle difference between doing this and having YCbCr satisfy the Color 95 // r, g, b := color.YCbCrToRGB(y, cb, cr) 96 // r0, g0, b0, _ := color.YCbCr{y, cb, cr}.RGBA() 97 // r1, g1, b1, _ := color.RGBA{r, g, b, 0xff}.RGBA() 131 func yCbCrModel(c Color) Color { 170 // CMYK represents a fully opaque CMYK color, having 8 bits for each of cyan [all...] |
/prebuilts/go/linux-x86/src/image/color/ |
ycbcr.go | 5 package color 71 // YCbCr represents a fully opaque 24-bit Y'CbCr color, having 8 bits each for 74 // JPEG, VP8, the MPEG family and other codecs use this color model. Such 89 // subtle difference between doing this and having YCbCr satisfy the Color 95 // r, g, b := color.YCbCrToRGB(y, cb, cr) 96 // r0, g0, b0, _ := color.YCbCr{y, cb, cr}.RGBA() 97 // r1, g1, b1, _ := color.RGBA{r, g, b, 0xff}.RGBA() 131 func yCbCrModel(c Color) Color { 170 // CMYK represents a fully opaque CMYK color, having 8 bits for each of cyan [all...] |
/prebuilts/misc/darwin-x86_64/freetype/include/freetype2/ |
ftlcdfil.h | 5 /* FreeType API for color filtering of subpixel bitmap glyphs */ 44 * Reduce color fringes of LCD-optimized bitmaps. 49 * through @FT_Render_Glyph. This is useful to reduce color fringes 69 * linear color space, then alpha blended in that space, and transformed 70 * back to the output color space. 75 * gamma correction. To preserve color neutrality, weights for a FIR5 83 * This formula generates equal weights for all the color primaries 108 * results in sometimes severe color fringes. 111 * The default filter reduces color fringes considerably, at the cost 116 * cost of slightly more color fringes than the default one. It migh [all...] |
/external/skia/src/pdf/ |
SkPDFBitmap.cpp | 24 // We must check to see if the bitmap has a color table. 97 static void pmcolor_to_rgb24(uint32_t color, uint8_t* rgb, SkColorType ct) { 98 uint32_t s = SkUnPreMultiply::GetScale(SkGetA32Component(color, ct)); 99 rgb[0] = SkUnPreMultiply::ApplyScale(s, SkGetR32Component(color, ct)); 100 rgb[1] = SkUnPreMultiply::ApplyScale(s, SkGetG32Component(color, ct)); 101 rgb[2] = SkUnPreMultiply::ApplyScale(s, SkGetB32Component(color, ct)); 104 /* It is necessary to average the color component of transparent 106 separately re-sample the alpha and color channels when the image is 108 gives no information about the color component, the pathological 109 case is a white image with sharp transparency bounds - the color 127 uint32_t color = scanline[x]; local 195 uint32_t color = *src++; local [all...] |
/external/pdfium/core/src/fxge/dib/ |
fx_dib_composite.cpp | 96 static inline int _Lum(_RGB color) { 97 return (color.red * 30 + color.green * 59 + color.blue * 11) / 100; 99 static _RGB _ClipColor(_RGB color) { 100 int l = _Lum(color); 101 int n = color.red; 102 if (color.green < n) { 103 n = color.green; 105 if (color.blue < n) 4064 FX_DWORD color = isSrcCmyk ? FXCMYK_TODIB(pSrcPalette[i]) local 4074 FX_DWORD color = isSrcCmyk ? FXCMYK_TODIB(pSrcPalette[i]) local [all...] |
/external/nanopb-c/docs/ |
generator_flow.svg | 26 style="stop-color:#729fcf;stop-opacity:1;" 30 style="stop-color:#729fcf;stop-opacity:0;" 38 style="stop-color:#fcaf3e;stop-opacity:1;" 42 style="stop-color:#fcaf3e;stop-opacity:0;" 50 style="stop-color:#fce94f;stop-opacity:1;" 54 style="stop-color:#fce94f;stop-opacity:0;" 72 style="stop-color:#fafafa;stop-opacity:1.0000000;" 76 style="stop-color:#bbbbbb;stop-opacity:1.0000000;" 83 style="stop-color:#a3a3a3;stop-opacity:1.0000000;" 87 style="stop-color:#4c4c4c;stop-opacity:1.0000000; [all...] |
/external/opencv3/modules/java/src/ |
imgproc+Imgproc.java | [all...] |
/hardware/intel/common/utils/ISV/base/ |
isv_worker.cpp | 374 VAProcFilterParameterBufferColorBalance color[COLOR_NUM]; local 520 CHECK_VASTATUS("vaQueryVideoProcFilterCaps for color balance"); 524 color[i].type = VAProcFilterColorBalance; 525 color[i].attrib = VAProcColorBalanceAutoSaturation; 526 color[i].value = colorCaps[i].range.min_value + COLOR_STRENGTH * colorCaps[i].range.step; 530 color[i].type = VAProcFilterColorBalance; 531 color[i].attrib = VAProcColorBalanceAutoBrightness; 532 color[i].value = colorCaps[i].range.min_value + COLOR_STRENGTH * colorCaps[i].range.step; 540 color[kHue].type = VAProcFilterColorBalance; 541 color[kHue].attrib = VAProcColorBalanceHue [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
EclipseXmlPrettyPrinterTest.java | 343 " android:color=\"#ffff0000\"/> <!-- pressed -->\n" + 345 " android:color=\"#ff0000ff\"/> <!-- focused -->\n" + 346 " <item android:color=\"#ff000000\"/> <!-- default -->\n" + 350 " <item android:state_pressed=\"true\" android:color=\"#ffff0000\"/> <!-- pressed -->\n" + 351 " <item android:state_focused=\"true\" android:color=\"#ff0000ff\"/> <!-- focused -->\n" + 352 " <item android:color=\"#ff000000\"/> <!-- default -->\n" + 361 "<item android:state_activated=\"true\" android:color=\"#FFFFFF\"/>\n" + 362 "<item android:color=\"#777777\" /> <!-- not selected -->\n" + 366 " <item android:state_activated=\"true\" android:color=\"#FFFFFF\"/>\n" + 367 " <item android:color=\"#777777\"/> <!-- not selected -->\n" [all...] |
/external/pdfium/third_party/libopenjpeg20/ |
jp2.c | 109 static void opj_jp2_apply_cdef(opj_image_t *image, opj_jp2_color_t *color, opj_event_mgr_t *); 268 @param color Collector for profile, cdef and pclr data 271 static void opj_jp2_apply_pclr(opj_image_t *image, opj_jp2_color_t *color); 273 static void opj_jp2_free_pclr(opj_jp2_color_t *color); 307 * Reads the Color Specification box. 311 * @param p_colr_header_size the size of the color header 718 assert(jp2->color.jp2_cdef != 00); 719 assert(jp2->color.jp2_cdef->info != 00); 720 assert(jp2->color.jp2_cdef->n > 0U); 722 l_cdef_size += 6U * jp2->color.jp2_cdef->n [all...] |
/external/chromium-trace/catapult/telemetry/docs/pydoc/ |
telemetry.internal.util.find_dependencies.html | 10 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.internal.html"><font color="#ffffff">internal</font></a>.<a href="telemetry.internal.util.html"><font color="#ffffff">util</font></a>.find_dependencies</strong></big></big></font></td 12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/internal/util/find_dependencies.py">telemetry/internal/util/find_dependencies.py</a></font></td></tr></table> 20 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> 41 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 56 <font color="#000000" face="helvetica, arial"><a name="FindDependenciesCommand">class <strong>FindDependenciesCommand</strong></a>(<a href="telemetry.internal.util.command_line.html#OptparseCommand">telemetry.internal.util.command_line.OptparseCommand</a>)</font></td></tr> 74 <dl><dt><a name="FindDependenciesCommand-AddCommandLineArgs"><strong>AddCommandLineArgs</strong></a>(cls, parser, _)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt></dl> 76 <dl><dt><a name="FindDependenciesCommand-ProcessCommandLineArgs"><strong>ProcessCommandLineArgs</strong></a>(cls, parser, args, _)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a> (…) [all...] |
/external/mesa3d/docs/OLD/ |
MESA_packed_depth_stencil.spec | 84 COLOR_INDEX Color Color index 87 RED Color R component 88 GREEN Color G component 89 BLUE Color B component 90 ALPHA Color A component 91 RGB Color R, G, B components 92 RGBA Color R, G, B, A components 93 BGRA Color B, G, R, A components 94 ABGR_EXT Color A, B, G, R component [all...] |
/external/skia/include/core/ |
SkXfermode.h | 49 kSC_Coeff, /** src color */ 50 kISC_Coeff, /** inverse src color (i.e. 1 - sc) */ 51 kDC_Coeff, /** dst color */ 52 kIDC_Coeff, /** inverse dst color (i.e. 1 - dc) */ 63 Sa, Sc - source alpha and color 64 Da, Dc - destination alpha and color (before compositing) 65 [a, c] - Resulting (alpha, color) values 86 kModulate_Mode, // multiplies all components (= alpha and color) 179 // The src color is known to be opaque (alpha == 255) 181 // The src color is known to be fully transparent (color == 0 [all...] |
/build/tools/droiddoc/templates-sac/assets/css/ |
default.css | 0 /* color definitions */ 7 background-color: #0099cc; 8 color: #fff; } 10 background-color: #0099cc; 11 color: #fff; } 13 background-color: #0099cc; 14 color: #fff; } 20 background-color:#F9F9F9; 27 color: #222; 49 color: #555555 !important; [all...] |
/external/e2fsprogs/e2fsck/ |
dict.c | 54 #define color dict_color macro 202 if (root->color == dnode_red) { 203 if (root->left->color != dnode_black) 205 if (root->right->color != dnode_black) 209 if (root->color != dnode_black) 269 new->nilnode.color = dnode_black; 346 dict->nilnode.color = dnode_black; 367 dict->nilnode.color = dnode_black; 383 assert (dict->nilnode.color == dnode_black); 400 if (root->color != dnode_black [all...] |
/cts/tests/tests/assist/src/android/assist/cts/ |
ScreenshotTest.java | 26 import android.graphics.Color; 82 waitForActivityResumeAndAssist(Color.RED); 97 waitForActivityResumeAndAssist(Color.GREEN); 112 waitForActivityResumeAndAssist(Color.BLUE); 117 private void waitForActivityResumeAndAssist(int color) throws Exception { 120 extras.putInt(Utils.SCREENSHOT_COLOR_KEY, color);
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
RippleDrawableTest.java | 27 import android.graphics.Color; 39 new RippleDrawable(ColorStateList.valueOf(Color.RED), null, null); 44 new RippleDrawable(ColorStateList.valueOf(Color.RED), null, null); 72 ColorStateList.valueOf(Color.BLACK), null, null); 106 RippleDrawable dr = new RippleDrawable(ColorStateList.valueOf(Color.RED), null, null); 109 dr.setColor(ColorStateList.valueOf(Color.BLACK));
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
yuv.rs | 63 float4 color = (float)y * 0.003921569f; 67 color += fU * yuv_U_values; 68 color += fV * yuv_V_values; 69 color = clamp(color, 0.f, 1.f); 70 return color;
|
/developers/samples/android/connectivity/bluetooth/BluetoothAdvertisements/ |
template-params.xml | 35 <color> 38 </color> 39 <color> 42 </color> 43 <color> 46 </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/Support4Demos/src/com/example/android/supportv4/view/ |
ViewPagerActivity.java | 22 import android.graphics.Color; 45 mAdapter.add("Red", Color.RED); 46 mAdapter.add("Green", Color.GREEN); 47 mAdapter.add("Blue", Color.BLUE); 58 public void add(String title, int color) { 59 mEntries.add(new Pair(title, color));
|
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/ |
SimpleStringAdapter.java | 20 import android.graphics.Color; 101 case 0: return Color.BLACK; 102 case 1: return Color.RED; 103 case 2: return Color.DKGRAY; 104 case 3: return Color.BLUE; 106 return Color.TRANSPARENT;
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/ |
XYLegendWidgetTest.java | 45 @UsingMocksAndStubs({Log.class,View.class,Handler.class,Paint.class,Color.class, Rect.class, 80 Color.RED, Color.GREEN, Color.BLUE, (PointLabelFormatter)null)); 92 plot.addSeries(s1, new BarFormatter(Color.RED, Color.GREEN));
|