Home
last modified time | relevance | path

Searched refs:isHorizontal (Results 1 – 25 of 53) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderScrollbar.cpp181 bool isHorizontal = orientation() == HorizontalScrollbar; in updateScrollbarParts() local
182 int oldThickness = isHorizontal ? height() : width(); in updateScrollbarParts()
187 newThickness = isHorizontal ? part->height() : part->width(); in updateScrollbarParts()
191 …setFrameRect(IntRect(location(), IntSize(isHorizontal ? width() : newThickness, isHorizontal ? new… in updateScrollbarParts()
284 bool isHorizontal = orientation() == HorizontalScrollbar; in buttonRect() local
286 …return IntRect(location(), IntSize(isHorizontal ? partRenderer->pixelSnappedWidth() : width(), isH… in buttonRect()
288 return IntRect(isHorizontal ? x() + width() - partRenderer->pixelSnappedWidth() : x(), in buttonRect()
289 isHorizontal ? y() : y() + height() - partRenderer->pixelSnappedHeight(), in buttonRect()
290 isHorizontal ? partRenderer->pixelSnappedWidth() : width(), in buttonRect()
291 isHorizontal ? height() : partRenderer->pixelSnappedHeight()); in buttonRect()
[all …]
DInlineBox.h53 …bool dirty, bool extracted, bool isHorizontal, InlineBox* next, InlineBox* prev, InlineFlowBox* pa… in InlineBox() argument
60 , m_bitfields(firstLine, constructed, dirty, extracted, isHorizontal) in InlineBox()
80 if (isHorizontal()) in adjustLogicalPosition()
87 if (isHorizontal()) in adjustLineDirectionPosition()
94 if (isHorizontal()) in adjustBlockDirectionPosition()
135 bool isHorizontal() const { return m_bitfields.isHorizontal(); } in isHorizontal() function
136 void setIsHorizontal(bool isHorizontal) { m_bitfields.setIsHorizontal(isHorizontal); } in setIsHorizontal() argument
203 …float width() const { return isHorizontal() ? logicalWidth() : hasVirtualLogicalHeight() ? virtual… in width()
204 …float height() const { return isHorizontal() ? hasVirtualLogicalHeight() ? virtualLogicalHeight() … in height()
210 float logicalLeft() const { return isHorizontal() ? m_topLeft.x() : m_topLeft.y(); } in logicalLeft()
[all …]
DInlineFlowBox.h134 return isHorizontal() ? boxModelObject()->marginLeft() : boxModelObject()->marginTop(); in marginLogicalLeft()
140 return isHorizontal() ? boxModelObject()->marginRight() : boxModelObject()->marginBottom(); in marginLogicalRight()
146 …return isHorizontal() ? renderer().style(isFirstLineStyle())->borderLeftWidth() : renderer().style… in borderLogicalLeft()
152 …return isHorizontal() ? renderer().style(isFirstLineStyle())->borderRightWidth() : renderer().styl… in borderLogicalRight()
158 return isHorizontal() ? boxModelObject()->paddingLeft() : boxModelObject()->paddingTop(); in paddingLogicalLeft()
164 … return isHorizontal() ? boxModelObject()->paddingRight() : boxModelObject()->paddingBottom(); in paddingLogicalRight()
227 …return m_overflow ? (isHorizontal() ? m_overflow->layoutOverflowRect().x() : m_overflow->layoutOve… in logicalLeftLayoutOverflow()
232 …return m_overflow ? (isHorizontal() ? m_overflow->layoutOverflowRect().maxX() : m_overflow->layout… in logicalRightLayoutOverflow()
238 …return isHorizontal() ? m_overflow->layoutOverflowRect().y() : m_overflow->layoutOverflowRect().x(… in logicalTopLayoutOverflow()
244 …return isHorizontal() ? m_overflow->layoutOverflowRect().maxY() : m_overflow->layoutOverflowRect()… in logicalBottomLayoutOverflow()
[all …]
DRenderMarquee.cpp113 bool RenderMarquee::isHorizontal() const in isHorizontal() function in WebCore::RenderMarquee
120 if (isHorizontal()) { in computePosition()
167 if (isHorizontal()) in start()
243 if (isHorizontal() && childrenInline()) { in styleDidChange()
249 if (!isHorizontal() && s->height().isAuto()) in styleDidChange()
281 if (isHorizontal()) in timerFired()
305 int clientSize = (isHorizontal() ? clientWidth() : clientHeight()); in timerFired()
307 …int currentPos = (isHorizontal() ? layer()->scrollableArea()->scrollXOffset() : layer()->scrollabl… in timerFired()
323 if (isHorizontal()) in timerFired()
DInlineFlowBox.cpp110 child->setIsHorizontal(isHorizontal()); in addToLine()
420 …LayoutUnit logicalLeftMargin = isHorizontal() ? curr->boxModelObject()->marginLeft() : curr->boxMo… in placeBoxRangeInInlineDirection()
421 …LayoutUnit logicalRightMargin = isHorizontal() ? curr->boxModelObject()->marginRight() : curr->box… in placeBoxRangeInInlineDirection()
441 if (isHorizontal()) in requiresIdeographicBaseline()
659 LayoutUnit overSideMargin = curr->isHorizontal() ? box.marginTop() : box.marginRight(); in placeBoxesInBlockDirection()
660 … LayoutUnit underSideMargin = curr->isHorizontal() ? box.marginBottom() : box.marginLeft(); in placeBoxesInBlockDirection()
1004 …LayoutRect layoutOverflow(isHorizontal() ? logicalLayoutOverflow : logicalLayoutOverflow.transpose… in setOverflowFromLogicalRects()
1007 …LayoutRect visualOverflow(isHorizontal() ? logicalVisualOverflow : logicalVisualOverflow.transpose… in setOverflowFromLogicalRects()
1067 LayoutUnit& top = isHorizontal() ? minY : minX; in nodeAtPoint()
1068 LayoutUnit& logicalHeight = isHorizontal() ? height : width; in nodeAtPoint()
[all …]
DEllipsisBox.cpp44 if (!isHorizontal()) in paint()
48 if (!isHorizontal()) in paint()
72 float shadowX = isHorizontal() ? shadow.x() : shadow.y(); in paint()
73 float shadowY = isHorizontal() ? shadow.y() : -shadow.x(); in paint()
DInlineTextBox.cpp114 …derer().parent())->baselinePosition(baselineType, isFirstLineStyle(), isHorizontal() ? HorizontalL… in baselinePosition()
125 …return toRenderBoxModelObject(renderer().parent())->lineHeight(isFirstLineStyle(), isHorizontal() … in lineHeight()
230 LayoutPoint topPoint = isHorizontal() ? LayoutPoint(r.x(), selTop) : LayoutPoint(selTop, r.x()); in localSelectionRect()
231 LayoutUnit width = isHorizontal() ? logicalWidth : selHeight; in localSelectionRect()
232 LayoutUnit height = isHorizontal() ? selHeight : logicalWidth; in localSelectionRect()
480 … LayoutUnit logicalStart = logicalLeftSide + (isHorizontal() ? paintOffset.x() : paintOffset.y()); in paint()
483 LayoutUnit paintEnd = isHorizontal() ? paintInfo.rect.maxX() : paintInfo.rect.maxY(); in paint()
484 LayoutUnit paintStart = isHorizontal() ? paintInfo.rect.x() : paintInfo.rect.y(); in paint()
519 … adjustedPaintOffset.move(isHorizontal() ? truncationOffset : truncationOffset.transposedSize()); in paint()
536 bool shouldRotate = !isHorizontal() && !combinedText; in paint()
[all …]
DRenderMultiColumnSet.cpp281 bool isHorizontal = flowThread()->isHorizontalWritingMode(); in expandToEncompassFlowThreadContentsIfNeeded() local
282 LayoutUnit logicalTopOffset = isHorizontal ? rect.y() : rect.x(); in expandToEncompassFlowThreadContentsIfNeeded()
284 …LayoutUnit logicalHeightWithOverflow = (isHorizontal ? layoutRect.maxY() : layoutRect.maxX()) - lo… in expandToEncompassFlowThreadContentsIfNeeded()
285 …ortionRect(LayoutRect(rect.x(), rect.y(), isHorizontal ? rect.width() : logicalHeightWithOverflow,… in expandToEncompassFlowThreadContentsIfNeeded()
DInlineBox.cpp128 …return isHorizontal() ? toRenderBox(renderer()).height().toFloat() : toRenderBox(renderer()).width… in logicalHeight()
141 …return boxModelObject()->baselinePosition(baselineType, m_bitfields.firstLine(), isHorizontal() ? … in baselinePosition()
146 …return boxModelObject()->lineHeight(m_bitfields.firstLine(), isHorizontal() ? HorizontalLine : Ver… in lineHeight()
DRootInlineBox.cpp106 …return boxModelObject()->baselinePosition(baselineType, isFirstLineStyle(), isHorizontal() ? Horiz… in baselinePosition()
111 …return boxModelObject()->lineHeight(isFirstLineStyle(), isHorizontal() ? HorizontalLine : Vertical… in lineHeight()
132 x(), y(), !prevRootBox(), isHorizontal(), markupBox); in placeEllipsis()
192 …LayoutUnit blockDirectionDelta = isHorizontal() ? dy : dx; // The block direction delta is a Layou… in adjustPosition()
587 if (isHorizontal()) { in paddedLayoutOverflowRect()
807 …return (lineBoxContain & LineBoxContainFont) || (!isHorizontal() && (lineBoxContain & LineBoxConta… in includeFontForBox()
820 return isHorizontal() && (lineBoxContain & LineBoxContainGlyphs); in includeGlyphsForBox()
837 return isHorizontal() && (lineBoxContain & LineBoxContainGlyphs); in fitsToGlyphs()
DRenderMarquee.h67 bool isHorizontal() const;
DRenderDeprecatedFlexibleBox.h62 bool isHorizontal() const { return style()->boxOrient() == HORIZONTAL; } in isHorizontal() function
DFloatingObjects.cpp241 bool FloatingObjects::hasLowestFloatLogicalBottomCached(bool isHorizontal, FloatingObject::Type typ… in hasLowestFloatLogicalBottomCached() argument
246 …return (m_cachedHorizontalWritingMode == isHorizontal && !m_lowestFloatBottomCache[floatIndex].dir… in hasLowestFloatLogicalBottomCached()
257 void FloatingObjects::setCachedLowestFloatLogicalBottom(bool isHorizontal, FloatingObject::Type typ… in setCachedLowestFloatLogicalBottom() argument
262 m_cachedHorizontalWritingMode = isHorizontal; in setCachedLowestFloatLogicalBottom()
DRenderInline.cpp563 bool isHorizontal = style()->isHorizontalWritingMode(); in generateCulledLineBoxRects() local
577 if (isHorizontal) in generateCulledLineBoxRects()
592 if (isHorizontal) in generateCulledLineBoxRects()
610 if (isHorizontal) in generateCulledLineBoxRects()
879 bool isHorizontal = style()->isHorizontalWritingMode(); in linesBoundingBox() local
881 float x = isHorizontal ? logicalLeftSide : firstLineBox()->x(); in linesBoundingBox()
882 float y = isHorizontal ? firstLineBox()->y() : logicalLeftSide; in linesBoundingBox()
883 …float width = isHorizontal ? logicalRightSide - logicalLeftSide : lastLineBox()->logicalBottom() -… in linesBoundingBox()
884 …float height = isHorizontal ? lastLineBox()->logicalBottom() - y : logicalRightSide - logicalLeftS… in linesBoundingBox()
945 bool isHorizontal = style()->isHorizontalWritingMode(); in culledInlineVisualOverflowBoundingBox() local
[all …]
DFloatingObjects.h164 bool hasLowestFloatLogicalBottomCached(bool isHorizontal, FloatingObject::Type floatType) const;
166 …void setCachedLowestFloatLogicalBottom(bool isHorizontal, FloatingObject::Type floatType, LayoutUn…
DRenderText.cpp340 if (box->isHorizontal()) { in localQuadForTextBox()
371 if (box->isHorizontal()) { in absoluteRectsForRange()
454 if (box->isHorizontal()) { in absoluteQuadsForRange()
604 LayoutUnit pointLineDirection = firstTextBox()->isHorizontal() ? point.x() : point.y(); in positionForPoint()
605 LayoutUnit pointBlockDirection = firstTextBox()->isHorizontal() ? point.y() : point.x(); in positionForPoint()
1537 bool isHorizontal = style()->isHorizontalWritingMode(); in linesBoundingBox() local
1539 float x = isHorizontal ? logicalLeftSide : firstTextBox()->x(); in linesBoundingBox()
1540 float y = isHorizontal ? firstTextBox()->y() : logicalLeftSide; in linesBoundingBox()
1541 …float width = isHorizontal ? logicalRightSide - logicalLeftSide : lastTextBox()->logicalBottom() -… in linesBoundingBox()
1542 …float height = isHorizontal ? lastTextBox()->logicalBottom() - y : logicalRightSide - logicalLeftS… in linesBoundingBox()
/external/chromium_org/content/renderer/
Dwebscrollbarbehavior_impl_gtkoraura.cc27 bool isHorizontal) { in shouldSnapBackToDragOrigin() argument
38 const int thickness = isHorizontal ? noSnapRect.height() : noSnapRect.width(); in shouldSnapBackToDragOrigin()
40 (isHorizontal ? kOffEndMultiplier : kOffSideMultiplier) * -thickness, in shouldSnapBackToDragOrigin()
41 (isHorizontal ? kOffSideMultiplier : kOffEndMultiplier) * -thickness); in shouldSnapBackToDragOrigin()
Dwebscrollbarbehavior_impl_gtkoraura.h20 bool isHorizontal);
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DRoundedRect.cpp99 void RoundedRect::Radii::includeLogicalEdges(const RoundedRect::Radii& edges, bool isHorizontal, bo… in includeLogicalEdges() argument
102 if (isHorizontal) in includeLogicalEdges()
110 if (isHorizontal) in includeLogicalEdges()
118 void RoundedRect::Radii::excludeLogicalEdges(bool isHorizontal, bool excludeLogicalLeftEdge, bool e… in excludeLogicalEdges() argument
121 if (isHorizontal) in excludeLogicalEdges()
129 if (isHorizontal) in excludeLogicalEdges()
164 void RoundedRect::includeLogicalEdges(const Radii& edges, bool isHorizontal, bool includeLogicalLef… in includeLogicalEdges() argument
166 … m_radii.includeLogicalEdges(edges, isHorizontal, includeLogicalLeftEdge, includeLogicalRightEdge); in includeLogicalEdges()
169 void RoundedRect::excludeLogicalEdges(bool isHorizontal, bool excludeLogicalLeftEdge, bool excludeL… in excludeLogicalEdges() argument
171 m_radii.excludeLogicalEdges(isHorizontal, excludeLogicalLeftEdge, excludeLogicalRightEdge); in excludeLogicalEdges()
DRoundedRect.h62 …void includeLogicalEdges(const Radii& edges, bool isHorizontal, bool includeLogicalLeftEdge, bool …
63 …void excludeLogicalEdges(bool isHorizontal, bool excludeLogicalLeftEdge, bool excludeLogicalRightE…
99 …void includeLogicalEdges(const Radii& edges, bool isHorizontal, bool includeLogicalLeftEdge, bool …
100 …void excludeLogicalEdges(bool isHorizontal, bool excludeLogicalLeftEdge, bool excludeLogicalRightE…
/external/fonttools/Lib/fontTools/misc/
DbezierTools.py70 def splitLine(pt1, pt2, where, isHorizontal): argument
101 t = (where - (bx, by)[isHorizontal]) / ax
109 def splitQuadratic(pt1, pt2, pt3, where, isHorizontal): argument
133 solutions = solveQuadratic(a[isHorizontal], b[isHorizontal],
134 c[isHorizontal] - where)
141 def splitCubic(pt1, pt2, pt3, pt4, where, isHorizontal): argument
157 solutions = solveCubic(a[isHorizontal], b[isHorizontal], c[isHorizontal],
158 d[isHorizontal] - where)
/external/chromium_org/third_party/WebKit/Source/core/frame/
DPinchViewport.cpp281 bool isHorizontal = orientation == WebScrollbar::Horizontal; in setupScrollbar() local
282 GraphicsLayer* scrollbarGraphicsLayer = isHorizontal ? in setupScrollbar()
284 OwnPtr<WebScrollbarLayer>& webScrollbarLayer = isHorizontal ? in setupScrollbar()
292 … ScrollbarOrientation webcoreOrientation = isHorizontal ? HorizontalScrollbar : VerticalScrollbar; in setupScrollbar()
300 …int xPosition = isHorizontal ? 0 : m_innerViewportContainerLayer->size().width() - overlayScrollba… in setupScrollbar()
301 …int yPosition = isHorizontal ? m_innerViewportContainerLayer->size().height() - overlayScrollbarTh… in setupScrollbar()
302 …int width = isHorizontal ? m_innerViewportContainerLayer->size().width() - overlayScrollbarThickne… in setupScrollbar()
303 …int height = isHorizontal ? overlayScrollbarThickness : m_innerViewportContainerLayer->size().heig… in setupScrollbar()
/external/chromium_org/third_party/WebKit/Source/core/page/
DPrintContext.cpp105 bool isHorizontal = view->style()->isHorizontalWritingMode(); in computePageRectsWithPageSizeInternal() local
107 int docLogicalHeight = isHorizontal ? docRect.height() : docRect.width(); in computePageRectsWithPageSizeInternal()
108 int pageLogicalHeight = isHorizontal ? pageHeight : pageWidth; in computePageRectsWithPageSizeInternal()
109 int pageLogicalWidth = isHorizontal ? pageWidth : pageHeight; in computePageRectsWithPageSizeInternal()
115 if (isHorizontal) { in computePageRectsWithPageSizeInternal()
148 if (!isHorizontal) in computePageRectsWithPageSizeInternal()
155 if (!isHorizontal) in computePageRectsWithPageSizeInternal()
/external/chromium_org/third_party/WebKit/public/platform/
DWebScrollbarBehavior.h23 …Origin(const WebPoint& eventPoint, const WebRect& scrollbarRect, bool isHorizontal) { return false… in shouldSnapBackToDragOrigin() argument
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/flyout/
DFlyoutControlComposite.java190 if (isHorizontal()) { in layout()
232 private boolean isHorizontal() { in isHorizontal() method in FlyoutControlComposite
462 if (isHorizontal()) { in handle_mouseMove()
746 if (isHorizontal()) {
814 if (isHorizontal()) {

123