Searched refs:PixelsAndPercent (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/platform/ |
D | CalculationValue.h | 44 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;
|
D | Length.cpp | 183 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()
|
D | Length.h | 54 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/ |
D | AnimatableLengthTest.cpp | 32 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()
|
D | AnimatableLength.cpp | 54 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/ |
D | CSSCalculationValueTest.cpp | 59 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()
|
D | CSSCalculationValue.h | 80 …virtual void accumulatePixelsAndPercent(const CSSToLengthConversionData&, PixelsAndPercent&, float… 114 PixelsAndPercent value(0, 0); in toCalcValue()
|
D | CSSCalculationValue.cpp | 212 …tePixelsAndPercent(const CSSToLengthConversionData& conversionData, PixelsAndPercent& value, float… in accumulatePixelsAndPercent() 413 …tePixelsAndPercent(const CSSToLengthConversionData& conversionData, PixelsAndPercent& value, float… in accumulatePixelsAndPercent()
|