/frameworks/base/core/java/com/android/internal/widget/ |
H A D | VerticalTextSpinner.java | 122 mTextPaintDark.setColor(context.getResources().getColor(com.android.internal.R.color.primary_text_light)); 126 mTextPaintLight.setColor(context.getResources().getColor(com.android.internal.R.color.secondary_text_dark));
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | BridgeResources.java | 162 int color = ResourceHelper.getColor(value.getValue()); 163 return ColorStateList.valueOf(color);
|
H A D | BridgeTypedArray.java | 248 * Retrieve the color value for the attribute at <var>index</var>. If 249 * the attribute references a color resource holding a complex 250 * {@link android.content.res.ColorStateList}, then the default color from 257 * @return Attribute color value, or defValue if not defined. 270 "Unable to convert \"%s\" into a color in attribute \"%2$s\"", 281 * The value may be either a single solid color or a reference to 282 * a color or complex {@link android.content.res.ColorStateList} description. 301 int color = ResourceHelper.getColor(value); 302 return ColorStateList.valueOf(color); 304 // if it's not a color valu [all...] |
/frameworks/base/awt/java/awt/image/ |
H A D | PackedColorModel.java | 25 import java.awt.color.ColorSpace; 31 * The class PackedColorModel represents a color model where the components are 55 * Instantiates a new packed color model. 58 * the color space. 62 * the array that gives the bitmask corresponding to each color 67 * whether the alpha is pre-multiplied in this color model. 74 * if the number of bits in the combined bitmasks for the color 104 * Instantiates a new packed color model. 107 * the color space. 119 * whether the alpha is pre-multiplied in this color mode [all...] |
H A D | DirectColorModel.java | 24 import java.awt.color.ColorSpace; 28 import org.apache.harmony.awt.gl.color.LUTColorConverter; 32 * The Class DirectColorModel represents a standard (packed) RGB color model 33 * with additional support for converting between sRGB color space and 8 or 16 34 * bit linear RGB color space using lookup tables. 69 * The color lu ts. 71 private byte colorLUTs[][]; // Lookup tables for scale color values 96 * Instantiates a new direct color model. 99 * the color space. 111 * whether the alpha is pre-multiplied in this color mode [all...] |
H A D | ColorModel.java | 25 import java.awt.color.ColorSpace; 68 * The num color components. 85 int[] maxValues = null; // Max values that may be represent by color 92 int maxBitLength; // Max length color components in bits 100 * Instantiates a new color model with the specified values. 107 * the color space. 109 * whether the color model has alpha. 184 * Instantiates a new color model with the specified pixel bit depth. The 213 * them according to rules of the color model. 222 * color mode [all...] |
H A D | BufferedImage.java | 33 import java.awt.color.ColorSpace; 59 * The Constant TYPE_INT_RGB indicates an image with 8 bit RGB color 65 * The Constant TYPE_INT_ARGB indicates an image with 8 bit RGBA color 71 * The Constant TYPE_INT_ARGB_PRE indicates an image with 8 bit RGBA color 78 * The Constant TYPE_INT_BGR indicates an image with 8 bit RGB color 79 * components, BGR color model (with the colors Blue, Green, and Red). There 85 * The Constant TYPE_3BYTE_BGR indicates an image with 8 bit RGB color 86 * components, BGR color model (with the colors Blue, Green, and Red stored 92 * The Constant TYPE_4BYTE_ABGR indicates an image with 8 bit RGBA color 99 * The Constant TYPE_4BYTE_ABGR_PRE indicates an image with 8 bit RGBA color [all...] |
H A D | IndexColorModel.java | 25 import java.awt.color.ColorSpace; 31 * The Class IndexColorModel represents a color model in which the color values 39 * The color map. 69 // nearest color in Color Map 92 * Instantiates a new index color model. 97 * the size of the color map. 99 * the array that gives the color mapping. 101 * the start index of the color mapping data within the cmap 110 * if the size of the color ma [all...] |
/frameworks/base/awt/org/apache/harmony/x/imageio/plugins/jpeg/ |
H A D | JPEGImageWriter.java | 43 import java.awt.color.ColorSpace; 188 //-- using default color space 215 // ???AWT: Add support for other color models 296 * @param inColorSpace - original color space 297 * @param outColorSpace - destination color space 326 * Maps color space types to IJG color spaces 365 * Returns destination color space.
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 153 static void setColor(JNIEnv* env, jobject paint, jint color) { argument 155 GraphicsJNI::getNativePaint(env, paint)->setColor(color); 413 jfloat dx, jfloat dy, int color) { 424 (SkColor)color))->unref(); 412 setShadowLayer(JNIEnv* env, jobject jpaint, jfloat radius, jfloat dx, jfloat dy, int color) argument
|
H A D | Canvas.cpp | 325 jint color) { 326 canvas->drawColor(color); 330 jint color, SkPorterDuff::Mode mode) { 331 canvas->drawColor(color, SkPorterDuff::ToXfermodeMode(mode)); 324 drawColor__I(JNIEnv* env, jobject, SkCanvas* canvas, jint color) argument 329 drawColor__II(JNIEnv* env, jobject, SkCanvas* canvas, jint color, SkPorterDuff::Mode mode) argument
|
/frameworks/base/core/java/android/widget/ |
H A D | AppSecurityPermissions.java | 316 permGrpView.setTextColor(resources.getColor(R.color.perms_dangerous_grp_color)); 317 permDescView.setTextColor(resources.getColor(R.color.perms_dangerous_perm_color));
|
H A D | ImageView.java | 858 * @param color Color tint to apply. 859 * @param mode How to apply the color. The standard mode is 864 public final void setColorFilter(int color, PorterDuff.Mode mode) { argument 865 setColorFilter(new PorterDuffColorFilter(color, mode));
|
H A D | RemoteViews.java | 718 * @param colorFilter Specify a color for a 736 * @param color Sets the text color for all the states (normal, selected, 737 * focused) to be this color. 739 public void setTextColor(int viewId, int color) { argument 740 setInt(viewId, "setTextColor", color);
|
H A D | MediaController.java | 133 mWindow.setBackgroundDrawableResource(android.R.color.transparent);
|
H A D | AbsListView.java | 412 * Indicates that this list is always drawn on top of a solid, single-color, opaque 535 int color = a.getColor(R.styleable.AbsListView_cacheColorHint, 0); 536 setCacheColorHint(color); 3232 * When set to a non-zero value, the cache color hint indicates that this list is always drawn 3233 * on top of a solid, single-color, opaque background 3235 * @param color The background color 3237 public void setCacheColorHint(int color) { argument 3238 mCacheColorHint = color; 3242 * When set to a non-zero value, the cache color hin [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 25 * The Paint class holds the style and color information about how to draw 80 * stroked, or both (in the same color). The default is FILL. 449 * Return the paint's color. Note that the color is a 32bit value 454 * @return the paint's color (and alpha). 459 * Set the paint's color. Note that the color is an int containing alpha 464 * @param color The new color (including alpha) to set in the paint. 466 public native void setColor(int color); argument 794 setShadowLayer(float radius, float dx, float dy, int color) argument [all...] |
/frameworks/base/include/private/opengles/ |
H A D | gl_context.h | 146 vec4_t color; member in struct:android::gl::vertex_t 197 array_t color; member in struct:android::gl::array_machine_t
|
/frameworks/base/opengl/libagl/ |
H A D | copybit.cpp | 174 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s; 271 // RGB source, color={1,1,1,a} -> can be done with GL_REPLACE 272 // RGBA source, color={1,1,1,1} -> can be done with GL_REPLACE 277 // TODO: RGBA source, color={1,1,1,a} / regular-blending 606 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s;
|
H A D | texture.cpp | 700 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s; 818 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s; 1327 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s; 1439 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s;
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 1756 * Solid color to use as a background when creating the drawing cache. Enables 4952 * draw all the pixels overlapping its bounds using a fully opaque color. 6116 * Setting a solid background color for the drawing cache's bitmaps will improve 6118 * view will always be drawn on top of a solid color. 6120 * @param color The background color to use for the drawing cache's bitmap 6126 public void setDrawingCacheBackgroundColor(int color) { argument 6127 mDrawingCacheBackgroundColor = color; 6133 * @return The background color to used for the drawing cache's bitmap 6687 * Override this if your view is known to always be drawn on top of a solid color backgroun 7169 setBackgroundColor(int color) argument 9057 setFadeColor(int color) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 281 * <td align="center"><font color="#800000"><strong>Yes</strong></font></td> 295 * <td align="center"><font color="#800000"><strong>Yes</strong></font></td> 308 * <td align="center"><font color="#800000"><strong>Yes</strong></font></td> 3519 protected void onTitleChanged(CharSequence title, int color) { argument 3524 if (color != 0) { 3525 win.setTitleColor(color);
|
/frameworks/base/awt/java/awt/ |
H A D | Color.java | 24 import java.awt.color.ColorSpace; 37 * The Color class defines colors in the default sRGB color space or in the 39 * defines the transparency of a color and can be represented by a float value 58 * The color white. 63 * The color white. 68 * The color light gray. 73 * The color light gray. 78 * The color gray. 83 * The color gray. 88 * The color dar [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/color/ |
H A D | NativeImageFormat.java | 21 package org.apache.harmony.awt.gl.color; 37 * This class converts java color/sample models to the LCMS pixel formats. 185 * For hifi colorspaces with 5+ color channels imgData 188 * For common colorspaces with up to 4 color channels it 223 * or color and sample models. 279 break; // Try to look at sample model and color model
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewCore.java | 408 * Draw the picture set with a background color. Returns true 412 private native boolean nativeDrawContent(Canvas canvas, int color); argument 482 private native void nativeSetBackgroundColor(int color); argument 1652 /* package */ void drawContentPicture(Canvas canvas, int color, argument 1662 boolean tookTooLong = nativeDrawContent(canvas, color);
|