HomeSort by relevance Sort by last modified time
    Searched full:primitivevalue (Results 1 - 21 of 21) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/css/resolver/
StyleBuilderCustom.cpp 116 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
118 if (Rect* rect = primitiveValue->getRectValue()) {
125 } else if (primitiveValue->getValueID() == CSSValueAuto) {
158 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(item);
159 if (primitiveValue->isValueID())
160 state.style()->setCursor(*primitiveValue);
164 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
165 if (primitiveValue->isValueID() && state.style()->cursor() != ECursor(*primitiveValue))
166 state.style()->setCursor(*primitiveValue);
    [all...]
ViewportStyleResolver.cpp 113 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value.get());
115 if (primitiveValue->isNumber() || primitiveValue->isPx())
116 return primitiveValue->getFloatValue();
118 if (primitiveValue->isFontRelativeLength())
119 return primitiveValue->getFloatValue() * m_document->renderStyle()->fontDescription().computedSize();
121 if (primitiveValue->isPercentage()) {
122 float percentValue = primitiveValue->getFloatValue() / 100.0f;
134 switch (primitiveValue->getValueID()) {
163 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value.get())
    [all...]
StyleBuilderCustom.h 55 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
57 return primitiveValue->computeLength<T>(state.style(), state.rootElementStyle(), zoom);
63 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
64 CSSValueID valueID = primitiveValue->getValueID();
75 T result = primitiveValue->computeLength<T>(state.style(), state.rootElementStyle(), zoom);
77 T originalLength = primitiveValue->computeLength<T>(state.style(), state.rootElementStyle(), 1.0);
90 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
91 if (primitiveValue->getValueID() == IdForNone)
93 return primitiveValue->getStringValue();
FilterOperationResolver.cpp 52 static Length convertToFloatLength(CSSPrimitiveValue* primitiveValue, const RenderStyle* style, const RenderStyle* rootStyle, double multiplier)
54 return primitiveValue ? primitiveValue->convertToLength<FixedFloatConversion | PercentConversion | FractionConversion>(style, rootStyle, multiplier) : Length(Undefined);
117 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
118 if (primitiveValue->primitiveType() != CSSPrimitiveValue::CSS_NUMBER)
120 arrayParameter->addValue(primitiveValue->getDoubleValue());
132 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
133 if (primitiveValue->primitiveType() != CSSPrimitiveValue::CSS_NUMBER)
135 numberParameter->addValue(primitiveValue->getDoubleValue());
199 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(iterator.value())
    [all...]
FontBuilder.cpp 292 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
307 if (CSSValueID valueID = primitiveValue->getValueID()) {
332 scope.fontDescription().setIsAbsoluteSize(parentIsAbsoluteSize || !(primitiveValue->isPercentage() || primitiveValue->isFontRelativeLength()));
333 if (primitiveValue->isLength())
334 size = primitiveValue->computeLength<float>(parentStyle, rootElementStyle, 1.0, true);
335 else if (primitiveValue->isPercentage())
336 size = (primitiveValue->getFloatValue() * parentSize) / 100.0f;
337 else if (primitiveValue->isCalculatedPercentageWithLength())
338 size = primitiveValue->cssCalcValue()->toCalcValue(parentStyle, rootElementStyle)->evaluate(parentSize)
    [all...]
TransformBuilder.cpp 54 static Length convertToFloatLength(CSSPrimitiveValue* primitiveValue, const RenderStyle* style, const RenderStyle* rootStyle, double multiplier)
56 return primitiveValue ? primitiveValue->convertToLength<FixedFloatConversion | PercentConversion | FractionConversion>(style, rootStyle, multiplier) : Length(Undefined);
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSToStyleMap.cpp 74 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
75 switch (primitiveValue->getValueID()) {
100 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
101 layer->setClip(*primitiveValue);
114 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
115 layer->setComposite(*primitiveValue);
128 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
129 layer->setBlendMode(*primitiveValue);
142 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
143 layer->setOrigin(*primitiveValue);
    [all...]
MediaList.cpp 285 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(cssValue);
286 if (primitiveValue->isDotsPerInch() || primitiveValue->isDotsPerCentimeter())
287 addResolutionWarningMessageToConsole(document, mediaQuerySet->mediaText(), primitiveValue);
CSSParserValues.cpp 70 RefPtr<CSSPrimitiveValue> primitiveValue = CSSPrimitiveValue::createParserOperator(iValue);
71 primitiveValue->setPrimitiveType(CSSPrimitiveValue::CSS_PARSER_OPERATOR);
72 return primitiveValue;
CSSCalculationValue.cpp 235 CSSPrimitiveValue* primitiveValue = m_value.get();
236 return adoptPtr(new CalcExpressionLength(primitiveValue
237 ? primitiveValue->convertToLength<FixedFloatConversion | PercentConversion | FractionConversion>(style, rootStyle, zoom)
613 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value.get());
614 result->value = CSSCalcPrimitiveValue::create(primitiveValue, parserValue->isInt);
MediaQueryEvaluator.cpp 345 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
347 if (primitiveValue->isNumber()) {
348 result = primitiveValue->getIntValue();
352 if (primitiveValue->isLength()) {
355 result = primitiveValue->computeLength<int>(initialStyle, initialStyle, 1.0 /* multiplier */, true /* computingFontSize */);
CSSComputedStyleDeclaration.cpp     [all...]
CSSParser-in.cpp     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/animation/
AnimatableNumber.cpp 45 CSSPrimitiveValue* primitiveValue = WebCore::toCSSPrimitiveValue(value);
46 const CSSCalcValue* calcValue = primitiveValue->cssCalcValue();
48 return create(calcValue->expressionNode(), primitiveValue);
49 NumberUnitType unitType = primitiveUnitToNumberType(primitiveValue->primitiveType());
51 const double scale = CSSPrimitiveValue::conversionToCanonicalUnitsScaleFactor(primitiveValue->primitiveType());
52 return create(primitiveValue->getDoubleValue() * scale, unitType, primitiveValue);
76 const CSSPrimitiveValue* primitiveValue = WebCore::toCSSPrimitiveValue(value);
77 if (primitiveValue->cssCalcValue())
79 return primitiveUnitToNumberType(primitiveValue->primitiveType()) != UnitTypeInvalid
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/scripts/templates/
StyleBuilderFunctions.cpp.tmpl 137 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
138 if (primitiveValue->getValueID() == {{auto_identity}})
142 {{ set_value(property) }}(primitiveValue->computeLength<{{property.type_name}}>(state.style(), state.rootElementStyle(), state.style()->effectiveZoom()));
144 {{ set_value(property) }}(*primitiveValue);
275 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
278 if (primitiveValue->getValueID() == CSSValueCurrentcolor) {
285 {{ set_value(property) }}(state.document()->textLinkColors().colorFromPrimitiveValue(primitiveValue));
287 state.style()->{{visited_link_setter}}(state.document()->textLinkColors().colorFromPrimitiveValue(primitiveValue, state.element()->isLink() /* forVisitedLink */));
466 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
467 state.fontBuilder().{{setter}}(static_cast<{{type_name}}>(*primitiveValue));
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
ReferenceFilterBuilder.cpp 65 const CSSPrimitiveValue& primitiveValue = *((CSSPrimitiveValue*)cssValue.get());
66 eColorInterpolation = (EColorInterpolation)primitiveValue;
  /external/chromium_org/third_party/WebKit/Source/core/editing/
EditingStyle.cpp 144 static PassOwnPtr<HTMLElementEquivalent> create(CSSPropertyID propertyID, CSSValueID primitiveValue, const QualifiedName& tagName)
146 return adoptPtr(new HTMLElementEquivalent(propertyID, primitiveValue, tagName));
159 HTMLElementEquivalent(CSSPropertyID, CSSValueID primitiveValue, const QualifiedName& tagName);
177 HTMLElementEquivalent::HTMLElementEquivalent(CSSPropertyID id, CSSValueID primitiveValue, const QualifiedName& tagName)
179 , m_primitiveValue(CSSPrimitiveValue::createIdentifier(primitiveValue))
182 ASSERT(primitiveValue != CSSValueInvalid);
198 static PassOwnPtr<HTMLElementEquivalent> create(CSSValueID primitiveValue, const QualifiedName& tagName)
200 return adoptPtr(new HTMLTextDecorationEquivalent(primitiveValue, tagName));
206 HTMLTextDecorationEquivalent(CSSValueID primitiveValue, const QualifiedName& tagName);
209 HTMLTextDecorationEquivalent::HTMLTextDecorationEquivalent(CSSValueID primitiveValue, const QualifiedName& tagName
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.jdt.debug_3.6.1.v20100715_r361/
jdi.jar 
jdimodel.jar 
  /external/chromium_org/v8/src/
mirror-debugger.js 797 * Return the internal properties of the value, such as [[PrimitiveValue]] of
806 var primitiveValue = %_ValueOf(value);
807 return [new InternalPropertyMirror("[[PrimitiveValue]]", primitiveValue)];
    [all...]
  /external/chromium_org/v8/test/mjsunit/
mirror-object.js 246 assertEquals("[[PrimitiveValue]]", ip[0].name());

Completed in 1576 milliseconds