Home
last modified time | relevance | path

Searched refs:PixelsAndPercent (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/
DCalculationValue.h44 static PassRefPtr<CalculationValue> create(PixelsAndPercent value, ValueRange range) in create()
54 PixelsAndPercent pixelsAndPercent() const { return m_value; } in pixelsAndPercent()
57 CalculationValue(PixelsAndPercent value, ValueRange range) in CalculationValue()
63 PixelsAndPercent m_value;
DLength.cpp183 PixelsAndPercent fromPixelsAndPercent = from.pixelsAndPercent(); in blendMixedTypes()
184 PixelsAndPercent toPixelsAndPercent = pixelsAndPercent(); in blendMixedTypes()
187 return Length(CalculationValue::create(PixelsAndPercent(pixels, percent), range)); in blendMixedTypes()
190 PixelsAndPercent Length::pixelsAndPercent() const in pixelsAndPercent()
194 return PixelsAndPercent(value(), 0); in pixelsAndPercent()
196 return PixelsAndPercent(0, value()); in pixelsAndPercent()
201 return PixelsAndPercent(0, 0); in pixelsAndPercent()
207 PixelsAndPercent result = pixelsAndPercent(); in subtractFromOneHundredPercent()
DLength.h54 struct PixelsAndPercent { struct
55 PixelsAndPercent(float pixels, float percent) in PixelsAndPercent() function
196 PixelsAndPercent pixelsAndPercent() const;
/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/
DAnimatableLengthTest.cpp32 Length calc = Length(CalculationValue::create(PixelsAndPercent(5, 10), ValueRangeAll)); in TEST()
42 … Length calc = Length(CalculationValue::create(PixelsAndPercent(-5, -10), ValueRangeNonNegative)); in TEST()
50 Length calc = Length(CalculationValue::create(PixelsAndPercent(5, 10), ValueRangeAll)); in TEST()
51 Length result = Length(CalculationValue::create(PixelsAndPercent(2, 10), ValueRangeAll)); in TEST()
61 Length calc = Length(CalculationValue::create(PixelsAndPercent(5, 10), ValueRangeAll)); in TEST()
70 Length calc = Length(CalculationValue::create(PixelsAndPercent(12, 4), ValueRangeAll)); in TEST()
DAnimatableLength.cpp54 PixelsAndPercent pixelsAndPercent = length.pixelsAndPercent(); in AnimatableLength()
67 return Length(CalculationValue::create(PixelsAndPercent(m_pixels * zoom, m_percent), range)); in length()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSCalculationValueTest.cpp59 PixelsAndPercent value(0, 0); in testAccumulatePixelsAndPercent()
130 RefPtr<CalculationValue> calc = CalculationValue::create(PixelsAndPercent(1, 2), ValueRangeAll); in TEST()
142 Length lengthD(CalculationValue::create(PixelsAndPercent(1, 2), ValueRangeAll)); in TEST()
149 RefPtr<CalculationValue> calc = CalculationValue::create(PixelsAndPercent(1, 2), ValueRangeAll); in TEST()
DCSSCalculationValue.h80 …virtual void accumulatePixelsAndPercent(const CSSToLengthConversionData&, PixelsAndPercent&, float…
114 PixelsAndPercent value(0, 0); in toCalcValue()
DCSSCalculationValue.cpp212 …tePixelsAndPercent(const CSSToLengthConversionData& conversionData, PixelsAndPercent& value, float… in accumulatePixelsAndPercent()
413 …tePixelsAndPercent(const CSSToLengthConversionData& conversionData, PixelsAndPercent& value, float… in accumulatePixelsAndPercent()