Searched refs:trackSize (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
D | SliderThumbElement.cpp | 263 LayoutUnit trackSize; in setPositionFromPoint() local 275 trackSize = trackElement->renderBox()->contentHeight() - renderBox()->height(); in setPositionFromPoint() 279 trackSize = trackElement->renderBox()->contentWidth() - renderBox()->width(); in setPositionFromPoint() 284 position = max<LayoutUnit>(0, min(position, trackSize)); in setPositionFromPoint() 285 const Decimal ratio = Decimal::fromDouble(static_cast<double>(position) / trackSize); in setPositionFromPoint() 294 LayoutUnit closestPosition = trackSize * closestRatio; in setPositionFromPoint()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderGrid.cpp | 352 const GridTrackSize& trackSize = gridTrackSize(direction, i); in computedUsedBreadthOfGridTracks() local 353 const GridLength& minTrackBreadth = trackSize.minTrackBreadth(); in computedUsedBreadthOfGridTracks() 354 const GridLength& maxTrackBreadth = trackSize.maxTrackBreadth(); in computedUsedBreadthOfGridTracks() 361 if (trackSize.isContentSized()) in computedUsedBreadthOfGridTracks() 388 const GridTrackSize& trackSize = gridTrackSize(direction, i); in computedUsedBreadthOfGridTracks() local 389 if (!trackSize.maxTrackBreadth().isFlex()) in computedUsedBreadthOfGridTracks() 392 …d::max<LayoutUnit>(tracks[i].m_usedBreadth, normalizedFractionBreadth * trackSize.maxTrackBreadth(… in computedUsedBreadthOfGridTracks() 445 const GridTrackSize& trackSize = gridTrackSize(direction, i); in computeNormalizedFractionBreadth() local 446 if (!trackSize.maxTrackBreadth().isFlex()) in computeNormalizedFractionBreadth() 449 …tracksForNormalization.append(GridTrackForNormalization(tracks[i], trackSize.maxTrackBreadth().fle… in computeNormalizedFractionBreadth() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
D | StyleBuilderCustom.cpp | 893 static bool createGridTrackSize(CSSValue* value, GridTrackSize& trackSize, const StyleResolverState… in createGridTrackSize() argument 901 trackSize.setLength(workingLength); in createGridTrackSize() 913 trackSize.setMinMax(minTrackBreadth, maxTrackBreadth); in createGridTrackSize() 944 GridTrackSize trackSize; in createGridTrackList() local 945 if (!createGridTrackSize(currValue, trackSize, state)) in createGridTrackList() 948 trackSizes.append(trackSize); in createGridTrackList() 1618 GridTrackSize trackSize; in oldApplyProperty() local 1619 if (!createGridTrackSize(value, trackSize, state)) in oldApplyProperty() 1621 state.style()->setGridAutoColumns(trackSize); in oldApplyProperty() 1626 GridTrackSize trackSize; in oldApplyProperty() local [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | CSSComputedStyleDeclaration.cpp | 987 static PassRefPtr<CSSValue> specifiedValueForGridTrackSize(const GridTrackSize& trackSize, const Re… in specifiedValueForGridTrackSize() argument 989 switch (trackSize.type()) { in specifiedValueForGridTrackSize() 991 return specifiedValueForGridTrackBreadth(trackSize.length(), style, renderView); in specifiedValueForGridTrackSize() 994 …minMaxTrackBreadths->append(specifiedValueForGridTrackBreadth(trackSize.minTrackBreadth(), style, … in specifiedValueForGridTrackSize() 995 …minMaxTrackBreadths->append(specifiedValueForGridTrackBreadth(trackSize.maxTrackBreadth(), style, … in specifiedValueForGridTrackSize()
|
D | CSSParser-in.cpp | 4810 RefPtr<CSSValue> trackSize = parseGridTrackSize(*arguments); in parseGridTrackRepeatFunction() local 4811 if (!trackSize) in parseGridTrackRepeatFunction() 4814 repeatedValues->append(trackSize); in parseGridTrackRepeatFunction()
|