Searched refs:m_stops (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | Gradient.cpp | 78 m_stops.append(ColorStop(value, r, g, b, a)); in addColorStop() 86 m_stops.append(stop); in addColorStop() 104 if (!m_stops.size()) in sortStopsIfNecessary() 107 std::stable_sort(m_stops.begin(), m_stops.end(), compareStops); in sortStopsIfNecessary() 112 for (size_t i = 0; i < m_stops.size(); i++) { in hasAlpha() 113 if (m_stops[i].alpha < 1) in hasAlpha() 222 size_t countUsed = totalStopsNeeded(m_stops.data(), m_stops.size()); in shader() 224 ASSERT(countUsed >= m_stops.size()); in shader() 231 fillStops(m_stops.data(), m_stops.size(), pos, colors); in shader()
|
D | Gradient.h | 145 mutable Vector<ColorStop, 2> m_stops; variable
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | CSSGradientValue.cpp | 92 if (m_stops.size()) in sortStopsIfNeeded() 93 std::stable_sort(m_stops.begin(), m_stops.end(), compareStops); in sortStopsIfNeeded() 112 for (unsigned i = 0; i < m_stops.size(); i++) in gradientWithStylesResolved() 113 if (m_stops[i].m_color->colorIsDerivedFromElement()) { in gradientWithStylesResolved() 114 m_stops[i].m_colorIsDerivedFromElement = true; in gradientWithStylesResolved() 131 for (unsigned i = 0; i < result->m_stops.size(); i++) in gradientWithStylesResolved() 132 …result->m_stops[i].m_resolvedColor = textLinkColors.colorFromPrimitiveValue(result->m_stops[i].m_c… in gradientWithStylesResolved() 142 for (unsigned i = 0; i < m_stops.size(); i++) { in addStops() 143 const CSSGradientColorStop& stop = m_stops[i]; in addStops() 159 size_t numStops = m_stops.size(); in addStops() [all …]
|
D | CSSGradientValue.h | 72 void addStop(const CSSGradientColorStop& stop) { m_stops.append(stop); } in addStop() 74 unsigned stopCount() const { return m_stops.size(); } in stopCount() 106 , m_stops(other.m_stops) in CSSGradientValue() 128 Vector<CSSGradientColorStop, 2> m_stops; variable
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
D | GradientAttributes.h | 41 const Vector<Gradient::ColorStop>& stops() const { return m_stops; } in stops() 63 m_stops = value; in setStops() 75 Vector<Gradient::ColorStop> m_stops; member
|