Searched refs:colorValue (Results 1 – 6 of 6) sorted by relevance
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowTextView.java | 401 String colorValue = attributeSet.getAttributeValue("android", "textColor"); in applyTextColorAttribute() local 402 if (colorValue != null) { in applyTextColorAttribute() 403 if (colorValue.startsWith("@color/") || colorValue.startsWith("@android:color/")) { in applyTextColorAttribute() 406 } else if (colorValue.startsWith("#")) { in applyTextColorAttribute() 407 … int colorFromHex = (int) Long.valueOf(colorValue.replaceAll("#", ""), 16).longValue(); in applyTextColorAttribute() 426 String colorValue = attributeSet.getAttributeValue("android", "hintColor"); in applyHintColorAttribute() local 427 if (colorValue != null) { in applyHintColorAttribute() 428 if (colorValue.startsWith("@color/") || colorValue.startsWith("@android:color/")) { in applyHintColorAttribute() 431 } else if (colorValue.startsWith("#")) { in applyHintColorAttribute() 432 … int colorFromHex = (int) Long.valueOf(colorValue.replaceAll("#", ""), 16).longValue(); in applyHintColorAttribute()
|
/external/libvncserver/libvncserver/ |
D | tight.c | 175 uint32_t colorValue, int *w_ptr, int *h_ptr); 177 uint32_t colorValue, 298 uint32_t colorValue; in SendRectEncodingTight() local 388 if (CheckSolidTile(cl, dx, dy, dw, dh, &colorValue, FALSE)) { in SendRectEncodingTight() 391 uint32_t r = (colorValue >> 16) & 0xFF; in SendRectEncodingTight() 392 uint32_t g = (colorValue >> 8) & 0xFF; in SendRectEncodingTight() 393 uint32_t b = (colorValue) & 0xFF; in SendRectEncodingTight() 396 colorValue = (int)y + (((int)y) << 8) + (((int)y) << 16); in SendRectEncodingTight() 402 colorValue, &w_best, &h_best); in SendRectEncodingTight() 414 ExtendSolidArea(cl, x, y, w, h, colorValue, in SendRectEncodingTight() [all …]
|
/external/deqp/framework/randomshaders/ |
D | rsgProgramExecutor.cpp | 342 ExecConstValueAccess colorValue = execCtx.getValue(fragColorVar); in execute() local 348 tcu::Vec4 c = tcu::Vec4(colorValue.component(0).asFloat(cNdx), in execute() 349 colorValue.component(1).asFloat(cNdx), in execute() 350 colorValue.component(2).asFloat(cNdx), in execute() 351 colorValue.component(3).asFloat(cNdx)); in execute()
|
/external/skia/tools/json/ |
D | SkJSONCanvas.cpp | 272 Json::Value colorValue(Json::arrayValue); in apply_paint_color() local 273 colorValue.append(Json::Value(SkColorGetA(color))); in apply_paint_color() 274 colorValue.append(Json::Value(SkColorGetR(color))); in apply_paint_color() 275 colorValue.append(Json::Value(SkColorGetG(color))); in apply_paint_color() 276 colorValue.append(Json::Value(SkColorGetB(color))); in apply_paint_color() 277 (*target)[SKJSONCANVAS_ATTRIBUTE_COLOR] = colorValue;; in apply_paint_color()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/ |
D | ViewInflater.java | 634 private int expandColor(String colorValue) { in expandColor() argument 635 return Integer.parseInt(colorValue + colorValue, 16); in expandColor()
|
/external/skia/tools/debugger/ |
D | SkDrawCommand.cpp | 838 Json::Value colorValue(Json::arrayValue); in apply_paint_color() local 839 colorValue.append(Json::Value(SkColorGetA(color))); in apply_paint_color() 840 colorValue.append(Json::Value(SkColorGetR(color))); in apply_paint_color() 841 colorValue.append(Json::Value(SkColorGetG(color))); in apply_paint_color() 842 colorValue.append(Json::Value(SkColorGetB(color))); in apply_paint_color() 843 (*target)[SKDEBUGCANVAS_ATTRIBUTE_COLOR] = colorValue;; in apply_paint_color()
|