HomeSort by relevance Sort by last modified time
    Searched defs:color (Results 76 - 100 of 1698) sorted by null

1 2 34 5 6 7 8 91011>>

  /frameworks/native/services/surfaceflinger/
Colorizer.h 29 enum color { enum in class:android::Colorizer
43 void colorize(String8& out, color c) {
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
TextAttribute.java 34 public TextColor color; field in class:TextAttribute
38 boolean strikeThrough, TextColor color) {
47 this.color = color;
  /frameworks/support/browser/src/androidTest/java/androidx/browser/customtabs/
CustomTabsIntentTest.java 26 import android.graphics.Color;
61 int color = Color.RED; local
62 Intent intent = new CustomTabsIntent.Builder().setToolbarColor(color).build().intent;
64 assertEquals(color, intent.getIntExtra(CustomTabsIntent.EXTRA_TOOLBAR_COLOR, 0));
69 @ColorRes int colorId = android.R.color.background_dark;
70 int color = InstrumentationRegistry.getContext().getResources().getColor(colorId); local
72 assertFalse("The color should not be a resource ID",
73 color == intent.getIntExtra(CustomTabsIntent.EXTRA_TOOLBAR_COLOR, 0));
74 intent = new CustomTabsIntent.Builder().setToolbarColor(color).build().intent
    [all...]
  /frameworks/support/leanback/src/main/java/androidx/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...]
  /frameworks/wilhelm/src/itf/
ILEDArray.cpp 63 SLHSL color = *pColor; local
64 if (!(0 <= color.hue && color.hue <= 360000))
66 if (!(0 <= color.saturation && color.saturation <= 1000))
68 if (!(0 <= color.lightness && color.lightness <= 1000))
73 thiz->mColors[index] = color;
92 SLHSL color = thiz->mColors[index]; local
94 *pColor = color;
114 SLHSL *color = thiz->mColors; local
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/graphics/
TintedDrawableSpan.java 26 * {@link DynamicDrawableSpan} which draws a drawable tinted with the current paint color.
51 int color = paint.getColor(); local
52 if (mOldTint != color) {
53 mOldTint = color;
  /packages/apps/ManagedProvisioning/tools/java/com/android/managedprovisioning/tools/anim/
SwiperThemeGenerator.java 18 import android.graphics.Color;
28 /** Generates swiper themes (styles_swiper.xml) to allow for color customization. */
43 int color = Color.argb(0xff, r, g, b); local
44 int candidate = colorMatcher.findClosestColor(color);
46 String colorHex = String.format("%02x%02x%02x", Color.red(candidate),
47 Color.green(candidate), Color.blue(candidate));
  /packages/apps/Messaging/src/com/android/messaging/util/
TintDrawableWrapper.java 20 import android.graphics.Color;
30 * A {@link DrawableWrapper} which updates it's color filter using a {@link ColorStateList}.
57 final int color = mTintStateList.getColorForState(state, mCurrentColor); local
58 if (color != mCurrentColor) {
59 if (color != Color.TRANSPARENT) {
60 setColorFilter(color, mTintMode);
64 mCurrentColor = color;
  /packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
ColorPicker.java 26 * Returns the color to use for the given email address.
29 * @return The color value in the format {@code 0xAARRGGBB}.
48 * Default color returned if the one chosen from {@code R.array.letter_tile_colors} is
57 sDefaultColor = res.getColor(R.color.letter_tile_default_color);
63 final int color = Math.abs(email.hashCode()) % sColorCount; local
64 return sColors.getColor(color, sDefaultColor);
  /prebuilts/go/darwin-x86/src/image/color/
ycbcr.go 5 package color package
88 // The inputs (y, cb, cr) are 8 bit color, ranging in [0x00, 0xff]. In this
89 // function, the output is also 8 bit color, but in the related YCbCr.RGBA
90 // method, below, the output is 16 bit color, ranging in [0x0000, 0xffff].
91 // Outputting 16 bit color simply requires changing the 16 to 8 in the "R =
106 // where n is 16 for this function (8 bit color output) and 8 for the
107 // YCbCr.RGBA method (16 bit color output).
156 // YCbCr represents a fully opaque 24-bit Y'CbCr color, having 8 bits each for
159 // JPEG, VP8, the MPEG family and other codecs use this color model. Such
174 // subtle difference between doing this and having YCbCr satisfy the Color
    [all...]
  /prebuilts/go/linux-x86/src/image/color/
ycbcr.go 5 package color package
88 // The inputs (y, cb, cr) are 8 bit color, ranging in [0x00, 0xff]. In this
89 // function, the output is also 8 bit color, but in the related YCbCr.RGBA
90 // method, below, the output is 16 bit color, ranging in [0x0000, 0xffff].
91 // Outputting 16 bit color simply requires changing the 16 to 8 in the "R =
106 // where n is 16 for this function (8 bit color output) and 8 for the
107 // YCbCr.RGBA method (16 bit color output).
156 // YCbCr represents a fully opaque 24-bit Y'CbCr color, having 8 bits each for
159 // JPEG, VP8, the MPEG family and other codecs use this color model. Such
174 // subtle difference between doing this and having YCbCr satisfy the Color
    [all...]
  /tools/repohooks/rh/
terminal.py 18 This module handles terminal interaction including ANSI color codes.
35 class Color(object):
36 """Conditionally wraps text in ANSI color escape sequences."""
45 """Create a new Color object, optionally disabling color output.
48 enabled: True if color output should be enabled. If False then this
49 class will not add color codes at all.
53 def start(self, color):
54 """Returns a start color code.
57 color: Color to use, .e.g BLACK, RED, etc
78 def color(self, color, text): member in class:Color
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/settings/
SimpleMenuPreference.java 136 view.setBackgroundColor(ContextCompat.getColor(getContext(), R.color.white_08p));
138 view.setBackgroundColor(ContextCompat.getColor(getContext(), R.color.transparent));
  /cts/tests/framework/base/activitymanager/src/android/server/am/
SplashscreenTests.java 26 import android.graphics.Color;
44 // Note: Color.BLACK is the pixel color outside of the display region
46 Color.RED, 0.50f, Color.BLACK, 0.01f);
59 final int color = img.getPixel(x, y); local
60 if (primaryColor == color) {
62 } else if (secondaryColor == color) {
74 + "% of pixels have non-primary color primaryPixels=" + primaryPixels
82 + "% of pixels have wrong color primaryPixels=" + primaryPixel
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
GLVertex.java 27 GLColor color; field in class:GLVertex
60 if (color == null) {
66 colorBuffer.put(color.red);
67 colorBuffer.put(color.green);
68 colorBuffer.put(color.blue);
69 colorBuffer.put(color.alpha);
  /development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/
Triangle.java 40 float color[] = { 0.63671875f, 0.76953125f, 0.22265625f, 0.0f }; field in class:Triangle
71 gl.glColor4f( // set color:
72 color[0], color[1],
73 color[2], color[3]);
  /external/clang/test/FixIt/
typo.c 16 enum Color { Red, Green, Blue };
20 enum Color color; member in struct:Window
  /external/clang/test/SemaTemplate/
instantiate-c99.cpp 30 struct Color {
35 Color color; member in struct:ColorPoint3D
40 template struct DesigInit0<Color, int, double>; // expected-note{{instantiation}}
instantiate-invalid.cpp 18 void render_scanlines_aa_solid(Rasterizer& ras, Scanline& sl, BaseRenderer& ren, const ColorT& color)
33 render_scanlines_aa_solid(ras, sl, r, c.color(i));
37 const ColorT& color(unsigned i) const { return *m_colors[i]; } function in class:PR6375::agg::rbox_ctrl
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineClearUtil.cpp 50 const tcu::Vec4 color = (defaultClearColorUnorm() - formatInfo.lookupBias) / formatInfo.lookupScale; local
52 const tcu::IVec4 result ((deInt32)deFloatRound(color.x()), (deInt32)deFloatRound(color.y()),
53 (deInt32)deFloatRound(color.z()), (deInt32)deFloatRound(color.w()));
61 const tcu::Vec4 color = (defaultClearColorUnorm() - formatInfo.lookupBias) / formatInfo.lookupScale; local
63 const tcu::UVec4 result ((deUint32)deFloatRound(color.x()), (deUint32)deFloatRound(color.y()),
64 (deUint32)deFloatRound(color.z()), (deUint32)deFloatRound(color.w()))
    [all...]
  /external/fio/lib/
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)
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nv04_context.h 44 uint32_t color[2]; member in struct:nv04_context
  /external/pdfium/fxjs/
cjs_color.h 15 class color : public CJS_EmbedObj { class in inherits:CJS_EmbedObj
18 const CFX_Color& color);
22 explicit color(CJS_Object* pJSObject);
23 ~color() override;
93 JS_STATIC_PROP(black, black, color);
94 JS_STATIC_PROP(blue, blue, color);
95 JS_STATIC_PROP(cyan, cyan, color);
96 JS_STATIC_PROP(dkGray, dark_gray, color);
97 JS_STATIC_PROP(gray, gray, color);
98 JS_STATIC_PROP(green, green, color);
    [all...]
  /external/skia/src/gpu/
GrBlend.cpp 12 * MaskedColor is used to evaluate the color and valid color component flags through the
17 MaskedColor(GrColor color, GrColorComponentFlags flags)
18 : fColor(color)
23 void set(GrColor color, GrColorComponentFlags flags) {
24 fColor = color;
56 GrColor color() const { return fColor; } function in class:MaskedColor
123 *outColor = output.color();
  /external/skia/src/gpu/effects/
GrConstColorProcessor.h 23 static OptimizationFlags OptFlags(GrColor4f color, InputMode mode) {
28 if (color.isOpaque()) {
46 GrColor4f color() const { return fColor; } function in class:GrConstColorProcessor::InputMode
48 static std::unique_ptr<GrFragmentProcessor> Make(GrColor4f color, InputMode mode) {
49 return std::unique_ptr<GrFragmentProcessor>(new GrConstColorProcessor(color, mode));
56 GrConstColorProcessor(GrColor4f color, InputMode mode)
57 : INHERITED(kGrConstColorProcessor_ClassID, (OptimizationFlags)OptFlags(color, mode))
58 , fColor(color)

Completed in 2138 milliseconds

1 2 34 5 6 7 8 91011>>