Home
last modified time | relevance | path

Searched refs:colorValue (Results 1 – 9 of 9) sorted by relevance

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowTextView.java401 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/
Dtight.c175 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/
DrsgProgramExecutor.cpp342 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/mesa3d/src/mesa/drivers/common/
Dmeta.c3435 union gl_color_union colorValue; in cleartexsubimage_color() local
3456 (GLuint (*)[4]) colorValue.ui); in cleartexsubimage_color()
3458 memset(&colorValue, 0, sizeof colorValue); in cleartexsubimage_color()
3460 _mesa_ClearBufferiv(GL_COLOR, 0, colorValue.i); in cleartexsubimage_color()
3462 _mesa_ClearBufferuiv(GL_COLOR, 0, colorValue.ui); in cleartexsubimage_color()
3467 (GLfloat (*)[4]) colorValue.f); in cleartexsubimage_color()
3469 memset(&colorValue, 0, sizeof colorValue); in cleartexsubimage_color()
3470 _mesa_ClearBufferfv(GL_COLOR, 0, colorValue.f); in cleartexsubimage_color()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/
DViewInflater.java634 private int expandColor(String colorValue) { in expandColor() argument
635 return Integer.parseInt(colorValue + colorValue, 16); in expandColor()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp864 std::ostringstream colorValue; in initPrograms() local
865 colorValue << REFERENCE_COLOR_VALUE; in initPrograms()
867 …const std::string colorInteger = (isUint || isSint ? " * "+colorFormat+"("+colorValue.str()+")" :"… in initPrograms()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp471 …tImage (Context& context, TextureType texType, tcu::TextureFormat format, const void* colorValue);
543 …estImage (Context& context, TextureType texType, tcu::TextureFormat format, const void* colorValue) in TestImage() argument
573 deMemcpy((deUint8*)alloc->getHostPtr() + ndx*pixelSize, colorValue, pixelSize); in TestImage()
/external/skia/tools/debugger/
DSkDrawCommand.cpp983 Json::Value colorValue(Json::arrayValue); in apply_paint_color() local
984 colorValue.append(Json::Value(SkColorGetA(color))); in apply_paint_color()
985 colorValue.append(Json::Value(SkColorGetR(color))); in apply_paint_color()
986 colorValue.append(Json::Value(SkColorGetG(color))); in apply_paint_color()
987 colorValue.append(Json::Value(SkColorGetB(color))); in apply_paint_color()
988 (*target)[SKDEBUGCANVAS_ATTRIBUTE_COLOR] = colorValue;; in apply_paint_color()
/external/skqp/tools/debugger/
DSkDrawCommand.cpp983 Json::Value colorValue(Json::arrayValue); in apply_paint_color() local
984 colorValue.append(Json::Value(SkColorGetA(color))); in apply_paint_color()
985 colorValue.append(Json::Value(SkColorGetR(color))); in apply_paint_color()
986 colorValue.append(Json::Value(SkColorGetG(color))); in apply_paint_color()
987 colorValue.append(Json::Value(SkColorGetB(color))); in apply_paint_color()
988 (*target)[SKDEBUGCANVAS_ATTRIBUTE_COLOR] = colorValue;; in apply_paint_color()