OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:colorString
(Results
1 - 21
of
21
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/svg/
SVGColor.cpp
50
bool SVGColor::colorFromRGBColorString(const String&
colorString
, Color& color)
54
if (CSSParser::parseColor(rgba,
colorString
.stripWhiteSpace())) {
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
CanvasStyle.cpp
46
static ColorParseResult parseColor(RGBA32& parsedColor, const String&
colorString
, Document* document = 0)
48
if (equalIgnoringCase(
colorString
, "currentcolor"))
50
if (CSSParser::parseColor(parsedColor,
colorString
))
52
if (CSSParser::parseSystemColor(parsedColor,
colorString
, document))
66
bool parseColorOrCurrentColor(RGBA32& parsedColor, const String&
colorString
, HTMLCanvasElement* canvas)
68
ColorParseResult parseResult = parseColor(parsedColor,
colorString
, canvas ? canvas->document() : 0);
CanvasStyle.h
102
bool parseColorOrCurrentColor(RGBA32& parsedColor, const String&
colorString
, HTMLCanvasElement*);
/frameworks/base/graphics/java/android/graphics/
Color.java
208
public static int parseColor(String
colorString
) {
209
if (
colorString
.charAt(0) == '#') {
211
long color = Long.parseLong(
colorString
.substring(1), 16);
212
if (
colorString
.length() == 7) {
215
} else if (
colorString
.length() != 9) {
220
Integer color = sColorNameMap.get(
colorString
.toLowerCase(Locale.ROOT));
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/data/rebaselineserver/
loupe.js
128
var
colorString
=
130
targetContext.fillStyle = 'rgba(' +
colorString
+ ')';
137
$(type + '-loupe-color').textContent =
colorString
;
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
TypedValueTest.java
55
String
colorString
= TypedValue.coerceToString(TypedValue.TYPE_INT_COLOR_RGB8, 0xcafebabe);
57
assertThat(
colorString
, equalTo("#cafebabe"));
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/table/
HtmlTooltipHelper.java
291
String
colorString
= "#" + Integer.toHexString(color.getRed());
292
colorString
+= Integer.toHexString(color.getGreen());
293
colorString
+= Integer.toHexString(color.getBlue());
294
return
colorString
;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
PreviewIconFactory.java
622
String
colorString
= (String) properties.get("background"); //$NON-NLS-1$
623
if (
colorString
!= null) {
624
int rgb = ImageUtils.getColor(
colorString
.trim());
627
colorString
= (String) properties.get("foreground"); //$NON-NLS-1$
628
if (
colorString
!= null) {
629
int rgb = ImageUtils.getColor(
colorString
.trim());
/external/chromium_org/third_party/WebKit/Source/core/html/
HTMLElement.cpp
[
all
...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
Spectrum.js
405
* @param {string}
colorString
407
setColorString: function(
colorString
)
409
this._swatchInnerElement.style.backgroundColor =
colorString
;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
TemplateMetadata.java
301
String
colorString
= getAttributeOrNull(element, name);
302
if (
colorString
!= null) {
303
int rgb = ImageUtils.getColor(
colorString
.trim());
/prebuilts/sdk/10/
android.jar
/prebuilts/sdk/12/
android.jar
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/15/
android.jar
/prebuilts/sdk/17/
android.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/19/
android.jar
/prebuilts/sdk/4/
android.jar
/prebuilts/sdk/6/
android.jar
/prebuilts/sdk/current/
android.jar
Completed in 435 milliseconds