/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/influencers/ |
D | ColorInfluencer.java | 47 public GradientColorValue colorValue; field in ColorInfluencer.Single 50 colorValue = new GradientColorValue(); in Single() 61 this.colorValue.load(colorInfluencer.colorValue); in set() 86 colorValue.getColor(0, colorChannel.data, i); in activateParticles() 101 colorValue.getColor(lifePercent, colorChannel.data, i); in update() 115 json.writeValue("color", colorValue); in write() 121 colorValue = json.readValue("color", GradientColorValue.class, jsonData); in read()
|
/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/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/ |
D | EffectPanel.java | 155 colorInfluencer.colorValue.setColors(new float[] {1, 0.12156863f, 0.047058824f, 0,0,0}); in createDefaultBillboardController() 156 colorInfluencer.colorValue.setTimeline(new float[] {0, 1}); in createDefaultBillboardController() 198 colorInfluencer.colorValue.setColors(new float[] {0.12156863f, 0.047058824f, 1, 0,0,0}); in createDefaultPointController() 199 colorInfluencer.colorValue.setTimeline(new float[] {0, 1}); in createDefaultPointController() 293 colorInfluencer.colorValue.setColors(new float[] {1, 0.12156863f, 0.047058824f, 0,0,0}); in createDefaultTemplateController() 294 colorInfluencer.colorValue.setTimeline(new float[] {0, 1}); in createDefaultTemplateController()
|
D | ColorInfluencerPanel.java | 20 addContent(i++, 0, tintPanel = new GradientPanel(editor, emitter.colorValue, "Tint", "", false)); in initializeComponents()
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/unicodefont/effects/ |
D | GradientEffect.java | 104 values.add(EffectUtil.colorValue("Top color", topColor)); in getValues() 105 values.add(EffectUtil.colorValue("Bottom color", bottomColor)); in getValues()
|
D | ColorEffect.java | 64 values.add(EffectUtil.colorValue("Color", color)); in getValues()
|
D | OutlineEffect.java | 101 values.add(EffectUtil.colorValue("Color", color)); in getValues()
|
D | DistanceFieldEffect.java | 92 values.add(EffectUtil.colorValue("Color", color)); in getValues()
|
D | ShadowEffect.java | 154 values.add(EffectUtil.colorValue("Color", color)); in getValues()
|
D | EffectUtil.java | 65 static public Value colorValue (String name, Color currentValue) { in colorValue() method in EffectUtil
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ |
D | ParticleControllerTest.java | 176 colorInfluencer.colorValue.setColors(new float[] {colors[0], colors[1], colors[2], 0,0,0}); in createBillboardController() 177 colorInfluencer.colorValue.setTimeline(new float[] {0, 1}); in createBillboardController()
|
/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()
|