/frameworks/base/core/java/android/text/style/ |
H A D | BackgroundColorSpan.java | 29 public BackgroundColorSpan(int color) { argument 30 mColor = color;
|
H A D | ForegroundColorSpan.java | 29 public ForegroundColorSpan(int color) { argument 30 mColor = color;
|
H A D | BulletSpan.java | 50 public BulletSpan(int gapWidth, int color) { argument 53 mColor = color;
|
H A D | QuoteSpan.java | 37 public QuoteSpan(int color) { argument 39 mColor = color; 71 int color = p.getColor(); 79 p.setColor(color);
|
H A D | TextAppearanceSpan.java | 29 * Sets the text color, size, style, and typeface to match a TextAppearance 50 * text appearance, and the specified text color resource 51 * to determine the color. The <code>appearance</code> should be, 114 ColorStateList color, ColorStateList linkColor) { 118 mTextColor = color; 173 * Returns the text color specified by this span, or <code>null</code> 181 * Returns the link color specified by this span, or <code>null</code> 113 TextAppearanceSpan(String family, int style, int size, ColorStateList color, ColorStateList linkColor) argument
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | PaintDrawable.java | 35 public PaintDrawable(int color) { argument 36 getPaint().setColor(color);
|
H A D | ColorDrawable.java | 30 * A specialized Drawable that fills the Canvas with a specified color. 33 * <p>It can be defined in an XML file with the <code><color></code> element.</p> 51 * Creates a new ColorDrawable with the specified color. 53 * @param color The color to draw. 55 public ColorDrawable(int color) { argument 57 setColor(color); 93 * Gets the drawable's color value. 95 * @return int The color to draw. 102 * Sets the drawable's color valu 107 setColor(int color) argument [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | MultiLayersActivity.java | 62 public LayerView(Context context, int color) { argument 65 mPaint.setColor(color);
|
H A D | ColoredRectsActivity.java | 65 public RectsView(Context c, float offset, int color) { argument 68 mColor = color;
|
H A D | PointsActivity.java | 88 public RenderingView(Context c, int color) { argument 90 mColor = color;
|
H A D | Lines2Activity.java | 69 public LinesView(Context c, float offset, int color) { argument 72 mColor = color;
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
H A D | ColorStateDrawable.java | 25 * A drawable which sets its color filter to a color specified by the user, and changes to a 26 * slightly darker color when pressed or focused. 34 public ColorStateDrawable(Drawable[] layers, int color) { argument 36 mColor = color; 59 * Given a particular color, adjusts its value by a multiplier. 61 private int getPressedColor(int color) { argument 63 Color.colorToHSV(color, hsv);
|
H A D | ColorPickerSwatch.java | 30 * Creates a circular swatch of a specified color. Adds a checkmark if marked as checked. 39 * Interface for a callback when a color square is selected. 44 * Called when a specific color square has been selected. 46 public void onColorSelected(int color); argument 49 public ColorPickerSwatch(Context context, int color, boolean checked, argument 52 mColor = color; 58 setColor(color); 63 protected void setColor(int color) { argument 66 mSwatchImage.setImageDrawable(new ColorStateDrawable(colorDrawable, color));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | TextAttribute.java | 34 public TextColor color; field in class:TextAttribute 38 boolean strikeThrough, TextColor color) { 47 this.color = color; 36 TextAttribute(int start, int length, TextAlignment align, FontSize size, boolean bold, boolean italic, boolean underlined, boolean strikeThrough, TextColor color) argument
|
/frameworks/rs/driver/ |
H A D | rsdFrameBuffer.cpp | 49 // Now attach color targets 51 DrvAllocation *color = NULL; local 53 color = (DrvAllocation *)fb->mHal.state.colorTargets[i]->mHal.drv; 55 if (color->uploadDeferred) { 60 fbo->setColorTarget(color, i);
|
H A D | rsdFrameBufferObj.h | 30 void setColorTarget(DrvAllocation *color, uint32_t index) { argument 31 mColorTargets[index] = color;
|
/frameworks/wilhelm/src/itf/ |
H A D | ILEDArray.c | 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...] |
/frameworks/base/core/java/android/text/ |
H A D | TextPaint.java | 74 * @param color underline solid color 78 public void setUnderlineText(int color, float thickness) { argument 79 underlineColor = color;
|
/frameworks/base/libs/hwui/ |
H A D | Vertex.h | 56 * Simple structure to describe a vertex with a position, texture UV and ARGB color. 59 float color[4]; member in struct:android::uirenderer::ColorTextureVertex 62 float u, float v, int color) { 65 const float a = ((color >> 24) & 0xff) / 255.0f; 66 vertex[0].color[0] = a * ((color >> 16) & 0xff) / 255.0f; 67 vertex[0].color[1] = a * ((color >> 8) & 0xff) / 255.0f; 68 vertex[0].color[2] = a * ((color ) 61 set(ColorTextureVertex* vertex, float x, float y, float u, float v, int color) argument [all...] |
H A D | SkiaColorFilter.cpp | 23 // Base color filter 65 // Lighting color filter 92 // Blend color filter 95 SkiaBlendFilter::SkiaBlendFilter(SkColorFilter* skFilter, int color, SkXfermode::Mode mode): argument 97 const int alpha = (color >> 24) & 0xFF; 99 mR = mA * ((color >> 16) & 0xFF) / 255.0f; 100 mG = mA * ((color >> 8) & 0xFF) / 255.0f; 101 mB = mA * ((color ) & 0xFF) / 255.0f;
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | LabelView.java | 107 * Sets the text color for this label 108 * @param color ARGB value for the text 110 public void setTextColor(int color) { argument 111 mTextPaint.setColor(color);
|
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | EffectColor.java | 21 * This class allows to apply color effect on a media item. 27 * Change the video frame color to the RGB color value provided 31 * Change the video frame color to a gradation from RGB color (at the top of 36 * Change the video frame color to sepia 40 * Invert the video frame color 48 * Change the video frame color to the RGB color value GREEN 52 * Change the video frame color t 93 EffectColor(MediaItem mediaItem, String effectId, long startTimeMs, long durationMs, int type, int color) argument [all...] |
/frameworks/compile/libbcc/lib/Renderscript/runtime/arch/ |
H A D | x86_generic.c | 677 float4 color = (float)y * 0.003921569f; local 681 color += fU * yuv_U_values; 682 color += fV * yuv_V_values; 683 color = clamp(color, 0.f, 1.f); 684 return color;
|
/frameworks/base/core/java/android/content/res/ |
H A D | ColorStateList.java | 40 * "color" subdirectory directory of an application's resource directory. The XML file contains 45 * <item android:state_focused="true" android:color="@color/testcolor1"/> 46 * <item android:state_pressed="true" android:state_enabled="false" android:color="@color/testcolor2" /> 47 * <item android:state_enabled="false" android:color="@color/testcolor3" /> 48 * <item android:color="@color/testcolor5"/> 52 * This defines a set of state spec / color pair 96 valueOf(int color) argument [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | Gesture.java | 182 * @param color 185 public Bitmap toBitmap(int width, int height, int edge, int numSample, int color) { argument 194 paint.setColor(color); 217 * @param color 220 public Bitmap toBitmap(int width, int height, int inset, int color) { argument 228 paint.setColor(color);
|