OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:csscalcvalue
(Results
1 - 16
of
16
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/css/
CSSCalculationValueTest.cpp
49
*
CSSCalcValue
::createExpressionNode(
60
expected =
CSSCalcValue
::createExpressionNode(CSSPrimitiveValue::create(10, CSSPrimitiveValue::CSS_PX), true);
61
actual =
CSSCalcValue
::createExpressionNode(Length(10, WebCore::Fixed), style->effectiveZoom());
64
expected =
CSSCalcValue
::createExpressionNode(
65
CSSCalcValue
::createExpressionNode(CSSPrimitiveValue::create(10, CSSPrimitiveValue::CSS_PX), true),
66
CSSCalcValue
::createExpressionNode(CSSPrimitiveValue::create(20, CSSPrimitiveValue::CSS_PX), true),
68
actual =
CSSCalcValue
::createExpressionNode(
78
expected =
CSSCalcValue
::createExpressionNode(
79
CSSCalcValue
::createExpressionNode(CSSPrimitiveValue::create(30, CSSPrimitiveValue::CSS_PX), true),
80
CSSCalcValue
::createExpressionNode(CSSPrimitiveValue::create(40, CSSPrimitiveValue::CSS_NUMBER), true)
[
all
...]
CSSCalculationValue.h
93
class
CSSCalcValue
: public CSSValue {
95
static PassRefPtr<
CSSCalcValue
> create(CSSParserString name, CSSParserValueList*, ValueRange);
96
static PassRefPtr<
CSSCalcValue
> create(PassRefPtr<CSSCalcExpressionNode>, ValueRange = ValueRangeAll);
97
static PassRefPtr<
CSSCalcValue
> create(const CalculationValue* value, float zoom) { return adoptRef(new
CSSCalcValue
(value, zoom)); }
117
bool equals(const
CSSCalcValue
&) const;
122
CSSCalcValue
(PassRefPtr<CSSCalcExpressionNode> expression, ValueRange range)
128
CSSCalcValue
(const CalculationValue* value, float zoom)
141
DEFINE_CSS_VALUE_TYPE_CASTS(
CSSCalcValue
, isCalcValue());
CSSCalculationValue.cpp
151
String
CSSCalcValue
::customCSSText() const
156
bool
CSSCalcValue
::equals(const
CSSCalcValue
& other) const
161
String
CSSCalcValue
::customSerializeResolvingVariables(const HashMap<AtomicString, String>& variables) const
166
bool
CSSCalcValue
::hasVariableReference() const
171
double
CSSCalcValue
::clampToPermittedRange(double value) const
176
double
CSSCalcValue
::doubleValue() const
181
double
CSSCalcValue
::computeLengthPx(const CSSToLengthConversionData& conversionData) const
698
PassRefPtr<CSSCalcExpressionNode>
CSSCalcValue
::createExpressionNode(PassRefPtr<CSSPrimitiveValue> value, bool isInteger)
703
PassRefPtr<CSSCalcExpressionNode>
CSSCalcValue
::createExpressionNode(PassRefPtr<CSSCalcExpressionNode> leftSide, PassRefPtr<CSSCalcExpressionNode (…)
[
all
...]
CSSPrimitiveValue.h
36
class
CSSCalcValue
;
303
CSSCalcValue
*
cssCalcValue
() const { return m_primitiveUnitType != CSS_CALC ? 0 : m_value.calc; }
366
void init(PassRefPtr<
CSSCalcValue
>);
383
CSSCalcValue
* calc;
CSSPrimitiveValue.cpp
300
init(
CSSCalcValue
::create(length.calculationValue(), zoom));
403
void CSSPrimitiveValue::init(PassRefPtr<
CSSCalcValue
> c)
[
all
...]
CSSValue.cpp
209
return compareCSSValues<
CSSCalcValue
>(*this, other);
CSSParser.h
573
RefPtr<
CSSCalcValue
> m_parsedCalculation;
CSSGradientValue.cpp
190
length = stop.m_position->
cssCalcValue
()->toCalcValue(conversionData)->evaluate(gradientLength);
401
return value->
cssCalcValue
()->toCalcValue(conversionData)->evaluate(edgeDistance);
[
all
...]
CSSPrimitiveValueMappings.h
[
all
...]
CSSParser-in.cpp
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/animation/
AnimatableLength.cpp
45
const
CSSCalcValue
* calcValue = primitiveValue->
cssCalcValue
();
67
if (primitiveValue->
cssCalcValue
())
138
return
CSSCalcValue
::createExpressionNode(toCSSPrimitiveValue(AllValues), m_number == trunc(m_number));
147
return primitiveValue->
cssCalcValue
()->permittedValueRange() == ValueRangeNonNegative;
155
m_cachedCSSPrimitiveValue = CSSPrimitiveValue::create(
CSSCalcValue
::create(m_calcExpression, range == AllValues ? ValueRangeAll : ValueRangeNonNegative));
165
return AnimatableLength::create(
CSSCalcValue
::createExpressionNode(
167
CSSCalcValue
::createExpressionNode(CSSPrimitiveValue::create(factor, CSSPrimitiveValue::CSS_NUMBER)),
AnimatableLengthTest.cpp
69
PassRefPtr<
CSSCalcValue
> createCalc(double valueLeft, CSSPrimitiveValue::UnitTypes typeLeft, double valueRight, CSSPrimitiveValue::UnitTypes typeRight)
71
return
CSSCalcValue
::create(
CSSCalcValue
::createExpressionNode(
72
CSSCalcValue
::createExpressionNode(CSSPrimitiveValue::create(valueLeft, typeLeft), valueLeft == trunc(valueLeft)),
73
CSSCalcValue
::createExpressionNode(CSSPrimitiveValue::create(valueRight, typeRight), valueRight == trunc(valueRight)),
AnimatableLength.h
113
return create(
CSSCalcValue
::createExpressionNode(leftAddend->toCSSCalcExpressionNode(), rightAddend->toCSSCalcExpressionNode(), CalcAdd));
/external/chromium_org/third_party/WebKit/Source/core/animation/css/
CSSAnimatableValueFactory.cpp
80
return AnimatableLength::create(
CSSCalcValue
::createExpressionNode(length.calculationValue()->expression(), style.effectiveZoom()));
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
FontBuilder.cpp
332
size = primitiveValue->
cssCalcValue
()->toCalcValue(CSSToLengthConversionData(parentStyle, rootElementStyle, 1.0f))->evaluate(parentSize);
StyleBuilderCustom.cpp
289
Length zoomedLength = Length(primitiveValue->
cssCalcValue
()->toCalcValue(state.cssToLengthConversionData().copyWithAdjustedZoom(multiplier)));
[
all
...]
Completed in 688 milliseconds