/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;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | PaintDrawable.java | 35 public PaintDrawable(int color) { argument 36 getPaint().setColor(color);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | ColorDrawableWithDimensions.java | 25 public ColorDrawableWithDimensions(int color, int width, int height) { argument 26 super(color);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLPaint.java | 25 public void setColor(int color) { argument 26 mColor = color;
|
/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/native/services/surfaceflinger/ |
H A D | Colorizer.h | 27 enum color { enum in class:android::Colorizer 41 void colorize(String8& out, color c) {
|
/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/libs/hwui/ |
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;
|
H A D | Vertex.h | 76 * Simple structure to describe a vertex with a position, texture UV and ARGB color. 79 float color[4]; member in struct:android::uirenderer::ColorTextureVertex 82 float u, float v, int color) { 85 const float a = ((color >> 24) & 0xff) / 255.0f; 86 vertex[0].color[0] = a * ((color >> 16) & 0xff) / 255.0f; 87 vertex[0].color[1] = a * ((color >> 8) & 0xff) / 255.0f; 88 vertex[0].color[2] = a * ((color ) 81 set(ColorTextureVertex* vertex, float x, float y, float u, float v, int color) argument [all...] |
/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/base/services/java/com/android/server/wm/ |
H A D | FocusedStackFrame.java | 65 private void draw(Rect bounds, int color) { argument 67 " color=" + Integer.toHexString(color)); 85 c.drawColor(color); 89 c.drawColor(color); 93 c.drawColor(color); 97 c.drawColor(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);
|