/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 325 /*package*/ static void nativeErase(int nativeBitmap, int color) { argument 336 g.setColor(new java.awt.Color(color, true)); 434 /*package*/ static void nativeSetPixel(int nativeBitmap, int x, int y, int color) { argument 440 delegate.getImage().setRGB(x, y, color);
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | PagerTitleStrip.java | 200 * Set the color value used as the base color for all displayed page titles. 203 * @param color Color hex code in 0xAARRGGBB format 205 public void setTextColor(int color) { argument 206 mTextColor = color; 207 mCurrText.setTextColor(color);
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | ActionBarActivity.java | 143 protected void onTitleChanged(CharSequence title, int color) { argument 144 super.onTitleChanged(title, color);
|
/frameworks/base/core/java/android/text/ |
H A D | Html.java | 314 out.append("<font color =\"#"); 315 String color = Integer.toHexString(((ForegroundColorSpan) 317 while (color.length() < 6) { 318 color = "0" + color; 320 out.append(color); 655 String color = attributes.getValue("", "color"); 659 text.setSpan(new Font(color, face), len, len, Spannable.SPAN_MARK_MARK); 676 int colorRes = res.getIdentifier(name, "color", "androi 832 Font(String color, String face) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | Drawable.java | 132 * as alpha (set via setAlpha) and color filter (set via setColorFilter). 247 * with fewer than 8-bits per color component. This can improve the look on 441 * Specify a color and porterduff mode to be the colorfilter for this 444 public void setColorFilter(int color, PorterDuff.Mode mode) { argument 445 setColorFilter(new PorterDuffColorFilter(color, mode)); 620 * custom alpha or color filter that has been applied by the client through 703 * -1 if it has no intrinsic width, such as with a solid color. 711 * -1 if it has no intrinsic height, such as with a solid color. 905 } else if (name.equals("color")) {
|
H A D | GradientDrawable.java | 44 * A Drawable with a color gradient for buttons, backgrounds, etc. 219 * <p>Set the stroke width and color for the drawable. If width is zero, 226 * @param color The color of the stroke 231 public void setStroke(int width, int color) { argument 232 setStroke(width, color, 0, 0); 236 * <p>Set the stroke width and color for the drawable. If width is zero, 243 * @param color The color of the stroke 250 public void setStroke(int width, int color, floa argument 1224 isOpaque(int color) argument 1228 setStroke(int width, int color) argument 1234 setStroke(int width, int color, float dashWidth, float dashGap) argument [all...] |
/frameworks/compile/mclinker/tools/llvm-mcld/ |
H A D | llvm-mcld.cpp | 444 namespace color { namespace 450 } // namespace of color 452 static cl::opt<color::Color> 453 ArgColor("color", 456 cl::init(color::Auto), 458 clEnumValN(color::Never, "never", 460 clEnumValN(color::Always, "always", 462 clEnumValN(color::Auto, "auto", 1041 case color::Never: 1044 case color [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | CpuConsumer_test.cpp | 247 uint8_t color = ((blockX % colorVariations) + (blockY % colorVariations)) local 250 return color;
|
/frameworks/rs/driver/runtime/ |
H A D | rs_sample.c | 19 #define SkGetPackedR16(color) (((unsigned)(color) >> SK_R16_SHIFT) & SK_R16_MASK) 20 #define SkGetPackedG16(color) (((unsigned)(color) >> SK_G16_SHIFT) & SK_G16_MASK) 21 #define SkGetPackedB16(color) (((unsigned)(color) >> SK_B16_SHIFT) & SK_B16_MASK) 39 static float3 getFrom565(uint16_t color) { argument 41 result.x = (float)SkPacked16ToR32(color); 42 result.y = (float)SkPacked16ToG32(color); 43 result.z = (float)SkPacked16ToB32(color); [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | GestureOverlayView.java | 202 public void setGestureColor(int color) { argument 203 mCertainGestureColor = color; 206 public void setUncertainGestureColor(int color) { argument 207 mUncertainGestureColor = color; 374 private void setCurrentColor(int color) { argument 375 mCurrentColor = color;
|
/frameworks/base/core/java/android/widget/ |
H A D | ImageView.java | 1104 * @param color Color tint to apply. 1105 * @param mode How to apply the color. The standard mode is 1110 public final void setColorFilter(int color, PorterDuff.Mode mode) { argument 1111 setColorFilter(new PorterDuffColorFilter(color, mode)); 1118 * @param color Color tint to apply. 1122 public final void setColorFilter(int color) { argument 1123 setColorFilter(color, PorterDuff.Mode.SRC_ATOP); 1143 * Returns the active color filter for this ImageView. 1145 * @return the active color filter for this ImageView
|
H A D | CalendarView.java | 446 * Sets the background color for the selected week. 448 * @param color The week background color. 452 public void setSelectedWeekBackgroundColor(int color) { argument 453 if (mSelectedWeekBackgroundColor != color) { 454 mSelectedWeekBackgroundColor = color; 466 * Gets the background color for the selected week. 468 * @return The week background color. 477 * Sets the color for the dates of the focused month. 479 * @param color Th 483 setFocusedMonthDateColor(int color) argument 514 setUnfocusedMonthDateColor(int color) argument 545 setWeekNumberColor(int color) argument 572 setWeekSeparatorLineColor(int color) argument [all...] |
H A D | ListView.java | 3145 public void setCacheColorHint(int color) { argument 3146 final boolean opaque = (color >>> 24) == 0xFF; 3152 mDividerPaint.setColor(color); 3154 super.setCacheColorHint(color);
|
H A D | RemoteViews.java | 2079 * @param colorFilter Specify a color for a 2096 * @param viewId The id of the view whose text color should change 2097 * @param color Sets the text color for all the states (normal, selected, 2098 * focused) to be this color. 2100 public void setTextColor(int viewId, int color) { argument 2101 setInt(viewId, "setTextColor", color);
|
H A D | StackView.java | 1395 Bitmap createClickOutline(View v, int color) { argument 1396 return createOutline(v, CLICK_FEEDBACK, color); 1399 Bitmap createResOutline(View v, int color) { argument 1400 return createOutline(v, RES_OUT, color); 1403 Bitmap createOutline(View v, int type, int color) { argument 1404 mHolographicPaint.setColor(color);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.cpp | 425 static void Bitmap_erase(JNIEnv* env, jobject, SkBitmap* bitmap, jint color) {
argument 426 bitmap->eraseColor(color);
655 int x, int y, SkColor color, bool isPremultiplied) {
666 proc(bitmap->getAddr(x, y), &color, 1, x, y);
654 Bitmap_setPixel(JNIEnv* env, jobject, const SkBitmap* bitmap, int x, int y, SkColor color, bool isPremultiplied) argument
|
H A D | Canvas.cpp | 337 jint color) { 338 canvas->drawColor(color); 342 jint color, SkPorterDuff::Mode mode) { 343 canvas->drawColor(color, SkPorterDuff::ToXfermodeMode(mode)); 336 drawColor__I(JNIEnv* env, jobject, SkCanvas* canvas, jint color) argument 341 drawColor__II(JNIEnv* env, jobject, SkCanvas* canvas, jint color, SkPorterDuff::Mode mode) argument
|
H A D | Paint.cpp | 177 static void setColor(JNIEnv* env, jobject paint, jint color) { argument 179 GraphicsJNI::getNativePaint(env, paint)->setColor(color); 683 jfloat dx, jfloat dy, int color) { 694 (SkColor)color))->unref(); 682 setShadowLayer(JNIEnv* env, jobject jpaint, jfloat radius, jfloat dx, jfloat dy, int color) argument
|
/frameworks/base/libs/hwui/ |
H A D | DisplayListRenderer.cpp | 331 status_t DisplayListRenderer::drawColor(int color, SkXfermode::Mode mode) { argument 332 addDrawOp(new (alloc()) DrawColorOp(color, mode)); 470 void DisplayListRenderer::setupShadow(float radius, float dx, float dy, int color) { argument 471 addStateOp(new (alloc()) SetupShadowOp(radius, dx, dy, color)); 472 OpenGLRenderer::setupShadow(radius, dx, dy, color);
|
H A D | OpenGLRenderer.h | 302 virtual status_t drawColor(int color, SkXfermode::Mode mode); 329 virtual void setupShadow(float radius, float dx, float dy, int color); 425 void drawScreenSpaceColorRect(float left, float top, float right, float bottom, int color) { argument 432 drawColorRect(left, top, right, bottom, color, SkXfermode::kSrcOver_Mode, true); 711 * Draws a colored rectangle with the specified color. The specified coordinates 719 * @param color The rectangle's ARGB color, defined as a packed 32 bits word 724 int color, SkXfermode::Mode mode, bool ignoreTransform = false); 727 * Draws a series of colored rectangles with the specified color. The specified 733 * @param color Th [all...] |
/frameworks/compile/mclinker/include/mcld/ |
H A D | GeneralOptions.h | 131 bool color() const function in class:mcld::GeneralOptions 357 bool m_bColor : 1; // --color[=true,false,auto]
|
/frameworks/native/opengl/libs/ETC1/ |
H A D | etc1.cpp | 373 static bool inRange4bitSigned(int color) { argument 374 return color >= -4 && color <= 3; 481 // pixel is valid or not. Invalid pixel color values are ignored when compressing.
|
/frameworks/native/opengl/tests/angeles/ |
H A D | demo.c | 71 /* Vertex array and color array are enabled for all objects, so their 78 * components per color with GL_UNSIGNED_BYTE datatype and stride 0. 298 int a, color[3]; local 301 color[a] = (int)(ca * baseColor[a] * 255); 302 if (color[a] > 255) color[a] = 255; 304 result->colorArray[i] = (GLubyte)color[0]; 305 result->colorArray[i + 1] = (GLubyte)color[1]; 306 result->colorArray[i + 2] = (GLubyte)color[2]; 367 GLubyte color; local [all...] |
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.cpp | 299 // Parse fractional color of form [0.##, 0.##, 0.##] 305 ColorFract color; local 315 if (!in || ((chStart != '<') && (chStart != '['))) { return color; } 319 if (!in) { return color; } 320 if ((c1 < 0.0) || (c1 > 1.0)) { return color; } 322 if (!in || (ch != ',')) { return color; } 326 if (!in) { return color; } 327 if ((c2 < 0.0) || (c2 > 1.0)) { return color; } 329 if (!in || (ch != ',')) { return color; } 333 if (!in) { return color; } 543 hwcTestColor2Pixel(uint32_t format, ColorFract color, float alpha) argument 651 hwcTestFillColor(GraphicBuffer *gBuf, ColorFract color, float alpha) argument 791 hwcTestColorConvert(uint32_t fromFormat, uint32_t toFormat, ColorFract& color) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewProvider.java | 355 public void setBackgroundColor(int color); argument
|