/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
DisplayAdjustmentUtils.java | 36 /** Matrix and offset used for converting color to gray-scale. */ 46 * from RGB to YIQ color space, rotation around the Y axis by 180 degrees, 47 * transform back to RGB color space, and subtraction from 1. The last row 58 /** Default inversion mode for display color correction. */ 63 * Returns whether the specified user with has any display color 83 * Applies the specified user's display color adjustments. 148 * Sets the surface flinger's Daltonization mode. This adjusts the color 149 * space to correct for or simulate various types of color blindness. 169 * Sets the surface flinger's color transformation as a 4x4 matrix. If the 170 * matrix is null, color transformations are disabled [all...] |
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
ball_physics.rs | 145 float4 color = 1.f; 146 color.r = pow(pressure, 0.25f) / 12.f; 147 color.b = 1.f - color.r; 148 color.g = sin(pressure / 1500.f * 3.14f); 149 color.rgb = max(color.rgb, (float3)0); 150 color.rgb = normalize(color.rgb); 151 ball->color = rsPackColorTo8888(color) [all...] |
/frameworks/support/v7/cardview/api21/android/support/v7/widget/ |
RoundRectDrawable.java | 20 import android.graphics.Color; 64 private void setBackground(ColorStateList color) { 65 mBackground = (color == null) ? ColorStateList.valueOf(Color.TRANSPARENT) : color; 158 public void setColor(@Nullable ColorStateList color) { 159 setBackground(color); 202 * Ensures the tint filter is consistent with the current tint color and 209 final int color = tint.getColorForState(getState(), Color.TRANSPARENT) local [all...] |
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
SetupLayoutActivity.java | 24 import android.graphics.Color; 59 mainColor = getResources().getColor(R.color.orange); 62 mainColor = Color.argb(255, Color.red(mainColor), Color.green(mainColor), 63 Color.blue(mainColor)); 76 titleView.setTextColor(Color.BLACK); 78 titleView.setTextColor(Color.WHITE); 144 // By default, the drawable is materialized: it is not a solid color. Draw a white 145 // rectangle over the whole drawable so that it is a solid color [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
WidgetConversationListItemViewBuilder.java | 95 int color[] = new int[] local 97 Bitmap bitmap = Bitmap.createBitmap(color, 1, 1, Bitmap.Config.RGB_565); 118 SUBJECT_TEXT_COLOR_READ = res.getColor(R.color.subject_text_color_read); 119 SUBJECT_TEXT_COLOR_UNREAD = res.getColor(R.color.subject_text_color_unread); 120 SNIPPET_TEXT_COLOR = res.getColor(R.color.snippet_text_color); 121 DATE_TEXT_COLOR_READ = res.getColor(R.color.date_text_color_read); 122 DATE_TEXT_COLOR_UNREAD = res.getColor(R.color.date_text_color_unread); 129 * Add size, color and style to a given text 131 private static SpannableStringBuilder addStyle(CharSequence text, int size, int color) { 135 if (color != 0) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
GpsTestActivity.java | 23 import android.graphics.Color; 120 log("All GPS tests complete", Color.GREEN); 140 private void log(String s, int color) { 146 spanText.setSpan(new ForegroundColorSpan(color), start, end, 0); 151 log(s, Color.RED); 157 log("OK!\n", Color.GREEN); 160 log("(Sleep 2 second) \n", Color.GREEN);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapShaderTest.java | 22 import android.graphics.Color; 34 private static final int BORDER_COLOR = Color.BLUE; 35 private static final int CENTER_COLOR = Color.RED; 53 b.eraseColor(Color.BLACK); 83 * matches the given color. Simply returns if the coordinates are outside 86 private void assertColor(int color, Bitmap bitmap, int x, int y) { 88 assertEquals(color, bitmap.getPixel(x, y));
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PathEffects.java | 67 mColors = new int[] { Color.BLACK, Color.RED, Color.BLUE, 68 Color.GREEN, Color.MAGENTA, Color.BLACK 73 canvas.drawColor(Color.WHITE);
|
/external/chromium-trace/catapult/telemetry/docs/pydoc/ |
telemetry.internal.browser.user_agent.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.browser.html"><font color="#ffffff">browser</font></a>.user_agent</strong></big></big></font></td 12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/internal/browser/user_agent.py">telemetry/internal/browser/user_agent.py</a></font></td></tr></table> 20 <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> 30 <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
|
telemetry.internal.platform.tracing_agent.chrome_tracing_devtools_manager.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.platform.html"><font color="#ffffff">platform</font></a>.<a href="telemetry.internal.platform.tracing_agent.html"><font color="#ffffff">tracing_agent</font></a>.chrome_tracing_devtools_manager</strong></big></big></font></td 12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/internal/platform/tracing_agent/chrome_tracing_devtools_manager.py">telemetry/internal/platform/tracing_agent/chrome_tracing_devtools_manager.py</a></font></td></tr></table> 20 <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
|
telemetry.internal.util.camel_case.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>.camel_case</strong></big></big></font></td 12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/internal/util/camel_case.py">telemetry/internal/util/camel_case.py</a></font></td></tr></table> 20 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> 28 <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
|
telemetry.internal.util.classes.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>.classes</strong></big></big></font></td 12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/internal/util/classes.py">telemetry/internal/util/classes.py</a></font></td></tr></table> 20 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> 28 <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
|
telemetry.internal.util.global_hooks.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>.global_hooks</strong></big></big></font></td 12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/internal/util/global_hooks.py">telemetry/internal/util/global_hooks.py</a></font></td></tr></table> 18 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> 28 <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/echo/ |
services.py | 52 class Color(messages.Enum): 60 required = messages.EnumField(Color, 1, 62 default=Color.BLUE) 71 a_color = messages.EnumField(Color, 7) 80 colors = messages.EnumField(Color, 14, repeated=True) 89 default_color = messages.EnumField(Color, 24, default=Color.GREEN)
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/js/ |
apply-preserving-inline-style.js | 28 this.style.cssText = 'left: 0px; background-color: green;'; 29 assert.equal(this.style.cssText, 'left: 0px; background-color: green;'); 46 this.style.setProperty('background-color', 'rgb(1, 2, 3)'); 48 assert.equal(this.style.getPropertyValue('background-color'), 'rgb(1, 2, 3)'); 55 this.style.setProperty('background-color', 'rgb(1, 2, 3)'); 57 assert.equal(this.style.item(1), 'background-color'); 67 this.style.setProperty('background-color', 'rgb(1, 2, 3)');
|
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/test/data/tree_construction/ |
tricky01.dat | 19 <font color=red><i>Italic and Red<p>Italic and Red </font> Just italic.</p> Italic only.</i> Plain 20 <p>I should not be red. <font color=red>Red. <i>Italic and red.</p> 29 | color="red" 35 | color="red" 44 | color="red" 49 | color="red" 55 | color="red"
|
/external/deqp/modules/egl/ |
teglGLES1RenderUtil.cpp | 41 void clear (int x, int y, int width, int height, const tcu::Vec4& color) 45 glClearColor(color.x(), color.y(), color.z(), color.w()); 63 void clear (int x, int y, int width, int height, const tcu::Vec4& color) 66 DE_UNREF(color);
|
/external/deqp/modules/gles3/functional/ |
es3fDitheringTests.cpp | 98 DitheringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, bool isEnabled, PatternType patternType, const tcu::Vec4& color); 111 bool drawAndCheckUnicoloredQuad (const tcu::Vec4& color) const; 138 DitheringCase::DitheringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* const name, const char* const description, const bool ditheringEnabled, const PatternType patternType, const Vec4& color) 143 , m_color (color) 186 // If the input color results in a scaled value that is very close to an integer, account for a little bit of possible inaccuracy. 217 << " (corresponding fragment color channel is " << inputClr[chanNdx] << ")" 226 << "Note: one extra color candidate was allowed because fragmentColorChannel * (2^bits-1) is close to an integer" 265 quad.color[0] = quadClr0; 266 quad.color[1] = isVerticallyIncreasing ? quadClr1 : quadClr0; 267 quad.color[2] = isVerticallyIncreasing ? quadClr0 : quadClr1 [all...] |
/external/opencv3/samples/cpp/ |
delaunay2.cpp | 19 static void draw_subdiv_point( Mat& img, Point2f fp, Scalar color ) 21 circle( img, fp, 3, color, FILLED, LINE_8, 0 ); 93 Scalar color; local 94 color[0] = rand() & 255; 95 color[1] = rand() & 255; 96 color[2] = rand() & 255; 97 fillConvexPoly(img, ifacet, color, 8, 0);
|
/external/skia/src/gpu/ |
GrPathProcessor.cpp | 40 // Setup uniform color 46 "Color", 87 if (pathProc.overrides().readsColor() && pathProc.color() != fColor) { 89 GrColorToRGBAFloat(pathProc.color(), c); 91 fColor = pathProc.color(); 125 GrPathProcessor::GrPathProcessor(GrColor color, 129 : fColor(color)
|
GrSoftwarePathRenderer.cpp | 71 GrColor color, 75 SkAutoTUnref<GrDrawBatch> batch(GrRectBatchFactory::CreateNonAAFill(color, viewMatrix, rect, 82 GrColor color, 95 draw_non_aa_rect(target, *pipelineBuilder, color, SkMatrix::I(), rect, invert); 100 draw_non_aa_rect(target, *pipelineBuilder, color, SkMatrix::I(), rect, invert); 105 draw_non_aa_rect(target, *pipelineBuilder, color, SkMatrix::I(), rect, invert); 110 draw_non_aa_rect(target, *pipelineBuilder, color, SkMatrix::I(), rect, invert);
|
/external/skia/src/opts/ |
SkColor_opts_neon.h | 25 static inline uint8x8_t SkAlphaMul_neon8(uint8x8_t color, uint16x8_t scale) { 26 return vshrn_n_u16(vmovl_u8(color) * scale, 8); 29 static inline uint8x8x4_t SkAlphaMulQ_neon8(uint8x8x4_t color, uint16x8_t scale) { 32 ret.val[NEON_A] = SkAlphaMul_neon8(color.val[NEON_A], scale); 33 ret.val[NEON_R] = SkAlphaMul_neon8(color.val[NEON_R], scale); 34 ret.val[NEON_G] = SkAlphaMul_neon8(color.val[NEON_G], scale); 35 ret.val[NEON_B] = SkAlphaMul_neon8(color.val[NEON_B], scale);
|
/frameworks/base/docs/html/sdk/api_diff/20/changes/ |
constructors_index_additions.html | 39 <font color="#999999">Removals</font> 41 <font color="#999999">Additions</font> 43 <font color="#999999">Changes</font> 47 <div id="indexTableCaption" style="background-color:#eee;padding:0 4px 0 4px;font-size:11px;margin-bottom:1em;"> 48 Listed as: <span style="color:#069"><strong>Added</strong></span>, <span style="color:#069"><strike>Removed</strike></span>, <span style="color:#069">Changed</span></font>
|
constructors_index_all.html | 39 <font color="#999999">Removals</font> 41 <font color="#999999">Additions</font> 43 <font color="#999999">Changes</font> 47 <div id="indexTableCaption" style="background-color:#eee;padding:0 4px 0 4px;font-size:11px;margin-bottom:1em;"> 48 Listed as: <span style="color:#069"><strong>Added</strong></span>, <span style="color:#069"><strike>Removed</strike></span>, <span style="color:#069">Changed</span></font>
|
constructors_index_changes.html | 39 <font color="#999999">Removals</font> 41 <font color="#999999">Additions</font> 43 <font color="#999999">Changes</font> 47 <div id="indexTableCaption" style="background-color:#eee;padding:0 4px 0 4px;font-size:11px;margin-bottom:1em;"> 48 Listed as: <span style="color:#069"><strong>Added</strong></span>, <span style="color:#069"><strike>Removed</strike></span>, <span style="color:#069">Changed</span></font>
|