Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderScrollbar.cpp180 bool isHorizontal = orientation() == HorizontalScrollbar; in updateScrollbarParts() local
181 int oldThickness = isHorizontal ? height() : width(); in updateScrollbarParts()
186 newThickness = isHorizontal ? part->height() : part->width(); in updateScrollbarParts()
190 …setFrameRect(IntRect(location(), IntSize(isHorizontal ? width() : newThickness, isHorizontal ? new… in updateScrollbarParts()
283 bool isHorizontal = orientation() == HorizontalScrollbar; in buttonRect() local
285 …return IntRect(location(), IntSize(isHorizontal ? partRenderer->pixelSnappedWidth() : width(), isH… in buttonRect()
287 return IntRect(isHorizontal ? x() + width() - partRenderer->pixelSnappedWidth() : x(), in buttonRect()
288 isHorizontal ? y() : y() + height() - partRenderer->pixelSnappedHeight(), in buttonRect()
289 isHorizontal ? partRenderer->pixelSnappedWidth() : width(), in buttonRect()
290 isHorizontal ? height() : partRenderer->pixelSnappedHeight()); in buttonRect()
[all …]
DInlineBox.h50 …bool dirty, bool extracted, bool isHorizontal, InlineBox* next, InlineBox* prev, InlineFlowBox* pa… in InlineBox() argument
57 , m_bitfields(firstLine, constructed, dirty, extracted, isHorizontal) in InlineBox()
77 if (isHorizontal()) in adjustLogicalPosition()
84 if (isHorizontal()) in adjustLineDirectionPosition()
91 if (isHorizontal()) in adjustBlockDirectionPosition()
132 bool isHorizontal() const { return m_bitfields.isHorizontal(); } in isHorizontal() function
133 void setIsHorizontal(bool isHorizontal) { m_bitfields.setIsHorizontal(isHorizontal); } in setIsHorizontal() argument
200 …float width() const { return isHorizontal() ? logicalWidth() : hasVirtualLogicalHeight() ? virtual… in width()
201 …float height() const { return isHorizontal() ? hasVirtualLogicalHeight() ? virtualLogicalHeight() … in height()
207 float logicalLeft() const { return isHorizontal() ? m_topLeft.x() : m_topLeft.y(); } in logicalLeft()
[all …]
DRenderRegionSet.cpp56 bool isHorizontal = flowThread()->isHorizontalWritingMode(); in expandToEncompassFlowThreadContentsIfNeeded() local
57 LayoutUnit logicalTopOffset = isHorizontal ? rect.y() : rect.x(); in expandToEncompassFlowThreadContentsIfNeeded()
59 …LayoutUnit logicalHeightWithOverflow = (isHorizontal ? layoutRect.maxY() : layoutRect.maxX()) - lo… in expandToEncompassFlowThreadContentsIfNeeded()
60 …ortionRect(LayoutRect(rect.x(), rect.y(), isHorizontal ? rect.width() : logicalHeightWithOverflow,… in expandToEncompassFlowThreadContentsIfNeeded()
DInlineFlowBox.h131 return isHorizontal() ? boxModelObject()->marginLeft() : boxModelObject()->marginTop(); in marginLogicalLeft()
137 return isHorizontal() ? boxModelObject()->marginRight() : boxModelObject()->marginBottom(); in marginLogicalRight()
143 …return isHorizontal() ? renderer()->style(isFirstLineStyle())->borderLeftWidth() : renderer()->sty… in borderLogicalLeft()
149 …return isHorizontal() ? renderer()->style(isFirstLineStyle())->borderRightWidth() : renderer()->st… in borderLogicalRight()
155 return isHorizontal() ? boxModelObject()->paddingLeft() : boxModelObject()->paddingTop(); in paddingLogicalLeft()
161 … return isHorizontal() ? boxModelObject()->paddingRight() : boxModelObject()->paddingBottom(); in paddingLogicalRight()
224 …return m_overflow ? (isHorizontal() ? m_overflow->layoutOverflowRect().x() : m_overflow->layoutOve… in logicalLeftLayoutOverflow()
229 …return m_overflow ? (isHorizontal() ? m_overflow->layoutOverflowRect().maxX() : m_overflow->layout… in logicalRightLayoutOverflow()
235 …return isHorizontal() ? m_overflow->layoutOverflowRect().y() : m_overflow->layoutOverflowRect().x(… in logicalTopLayoutOverflow()
241 …return isHorizontal() ? m_overflow->layoutOverflowRect().maxY() : m_overflow->layoutOverflowRect()… in logicalBottomLayoutOverflow()
[all …]
DRenderMarquee.cpp112 bool RenderMarquee::isHorizontal() const in isHorizontal() function in WebCore::RenderMarquee
119 if (isHorizontal()) { in computePosition()
166 if (isHorizontal()) in start()
239 if (isHorizontal() && childrenInline()) { in styleDidChange()
245 if (!isHorizontal() && s->height().isAuto()) in styleDidChange()
277 if (isHorizontal()) in timerFired()
301 int clientSize = (isHorizontal() ? clientWidth() : clientHeight()); in timerFired()
303 …int currentPos = (isHorizontal() ? layer()->scrollableArea()->scrollXOffset() : layer()->scrollabl… in timerFired()
319 if (isHorizontal()) in timerFired()
DInlineFlowBox.cpp110 child->setIsHorizontal(isHorizontal()); in addToLine()
417 …LayoutUnit logicalLeftMargin = isHorizontal() ? curr->boxModelObject()->marginLeft() : curr->boxMo… in placeBoxRangeInInlineDirection()
418 …LayoutUnit logicalRightMargin = isHorizontal() ? curr->boxModelObject()->marginRight() : curr->box… in placeBoxRangeInInlineDirection()
438 if (isHorizontal()) in requiresIdeographicBaseline()
656 … LayoutUnit overSideMargin = curr->isHorizontal() ? box->marginTop() : box->marginRight(); in placeBoxesInBlockDirection()
657 … LayoutUnit underSideMargin = curr->isHorizontal() ? box->marginBottom() : box->marginLeft(); in placeBoxesInBlockDirection()
981 …LayoutRect layoutOverflow(isHorizontal() ? logicalLayoutOverflow : logicalLayoutOverflow.transpose… in setOverflowFromLogicalRects()
984 …LayoutRect visualOverflow(isHorizontal() ? logicalVisualOverflow : logicalVisualOverflow.transpose… in setOverflowFromLogicalRects()
1044 LayoutUnit& top = isHorizontal() ? minY : minX; in nodeAtPoint()
1045 LayoutUnit& logicalHeight = isHorizontal() ? height : width; in nodeAtPoint()
[all …]
DInlineTextBox.cpp111 …erer()->parent())->baselinePosition(baselineType, isFirstLineStyle(), isHorizontal() ? HorizontalL… in baselinePosition()
122 …rBoxModelObject(renderer()->parent())->lineHeight(isFirstLineStyle(), isHorizontal() ? HorizontalL… 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()
513 … adjustedPaintOffset.move(isHorizontal() ? truncationOffset : truncationOffset.transposedSize()); in paint()
530 bool shouldRotate = !isHorizontal() && !combinedText; in paint()
[all …]
DEllipsisBox.cpp44 if (!isHorizontal()) in paint()
49 if (!isHorizontal()) in paint()
73 int shadowX = isHorizontal() ? shadow.x() : shadow.y(); in paint()
74 int shadowY = isHorizontal() ? shadow.y() : -shadow.x(); in paint()
DInlineBox.cpp127 … return isHorizontal() ? toRenderBox(m_renderer)->height() : toRenderBox(m_renderer)->width(); in logicalHeight()
140 …return boxModelObject()->baselinePosition(baselineType, m_bitfields.firstLine(), isHorizontal() ? … in baselinePosition()
145 …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()
372 …LayoutUnit lineGridPaginationOrigin = isHorizontal() ? layoutState->lineGridPaginationOrigin().hei… in lineSnapAdjustment()
704 if (isHorizontal()) { in paddedLayoutOverflowRect()
924 …return (lineBoxContain & LineBoxContainFont) || (!isHorizontal() && (lineBoxContain & LineBoxConta… in includeFontForBox()
937 return isHorizontal() && (lineBoxContain & LineBoxContainGlyphs); in includeGlyphsForBox()
954 return isHorizontal() && (lineBoxContain & LineBoxContainGlyphs); in fitsToGlyphs()
DFloatingObjects.cpp226 bool FloatingObjects::hasLowestFloatLogicalBottomCached(bool isHorizontal, FloatingObject::Type typ… in hasLowestFloatLogicalBottomCached() argument
231 …return (m_cachedHorizontalWritingMode == isHorizontal && !m_lowestFloatBottomCache[floatIndex].dir… in hasLowestFloatLogicalBottomCached()
242 void FloatingObjects::setCachedLowestFloatLogicalBottom(bool isHorizontal, FloatingObject::Type typ… in setCachedLowestFloatLogicalBottom() argument
247 m_cachedHorizontalWritingMode = isHorizontal; in setCachedLowestFloatLogicalBottom()
DRenderMarquee.h69 bool isHorizontal() const;
DFloatingObjects.h158 bool hasLowestFloatLogicalBottomCached(bool isHorizontal, FloatingObject::Type floatType) const;
160 …void setCachedLowestFloatLogicalBottom(bool isHorizontal, FloatingObject::Type floatType, LayoutUn…
DRenderDeprecatedFlexibleBox.h62 bool isHorizontal() const { return style()->boxOrient() == HORIZONTAL; } in isHorizontal() function
DRenderInline.cpp552 bool isHorizontal = style()->isHorizontalWritingMode(); in generateCulledLineBoxRects() local
566 if (isHorizontal) in generateCulledLineBoxRects()
581 if (isHorizontal) in generateCulledLineBoxRects()
599 if (isHorizontal) in generateCulledLineBoxRects()
870 bool isHorizontal = style()->isHorizontalWritingMode(); in linesBoundingBox() local
872 float x = isHorizontal ? logicalLeftSide : firstLineBox()->x(); in linesBoundingBox()
873 float y = isHorizontal ? firstLineBox()->y() : logicalLeftSide; in linesBoundingBox()
874 …float width = isHorizontal ? logicalRightSide - logicalLeftSide : lastLineBox()->logicalBottom() -… in linesBoundingBox()
875 …float height = isHorizontal ? lastLineBox()->logicalBottom() - y : logicalRightSide - logicalLeftS… in linesBoundingBox()
936 bool isHorizontal = style()->isHorizontalWritingMode(); in culledInlineVisualOverflowBoundingBox() local
[all …]
DRenderText.cpp333 if (box->isHorizontal()) { in localQuadForTextBox()
364 if (box->isHorizontal()) { in absoluteRectsForRange()
447 if (box->isHorizontal()) { in absoluteQuadsForRange()
619 LayoutUnit pointLineDirection = firstTextBox()->isHorizontal() ? point.x() : point.y(); in positionForPoint()
620 LayoutUnit pointBlockDirection = firstTextBox()->isHorizontal() ? point.y() : point.x(); in positionForPoint()
1510 bool isHorizontal = style()->isHorizontalWritingMode(); in linesBoundingBox() local
1512 float x = isHorizontal ? logicalLeftSide : firstTextBox()->x(); in linesBoundingBox()
1513 float y = isHorizontal ? firstTextBox()->y() : logicalLeftSide; in linesBoundingBox()
1514 …float width = isHorizontal ? logicalRightSide - logicalLeftSide : lastTextBox()->logicalBottom() -… in linesBoundingBox()
1515 …float height = isHorizontal ? lastTextBox()->logicalBottom() - y : logicalRightSide - logicalLeftS… in linesBoundingBox()
DRenderFlexibleBox.cpp699 bool isHorizontal = isHorizontalFlow(); in autoMarginOffsetInMainAxis() local
704 if (isHorizontal) { in autoMarginOffsetInMainAxis()
760 bool isHorizontal = isHorizontalFlow(); in updateAutoMarginsInCrossAxis() local
761 Length topOrLeft = isHorizontal ? child->style()->marginTop() : child->style()->marginLeft(); in updateAutoMarginsInCrossAxis()
762 …Length bottomOrRight = isHorizontal ? child->style()->marginBottom() : child->style()->marginRight… in updateAutoMarginsInCrossAxis()
765 if (isHorizontal) { in updateAutoMarginsInCrossAxis()
790 if (isHorizontal) in updateAutoMarginsInCrossAxis()
800 if (isHorizontal) in updateAutoMarginsInCrossAxis()
/external/chromium_org/third_party/WebKit/Source/web/
DPinchViewports.cpp139 bool isHorizontal = orientation == WebScrollbar::Horizontal; in setupScrollbar() local
140 GraphicsLayer* scrollbarGraphicsLayer = isHorizontal ? in setupScrollbar()
142 OwnPtr<WebScrollbarLayer>& webScrollbarLayer = isHorizontal ? in setupScrollbar()
150 …WebCore::ScrollbarOrientation webcoreOrientation = isHorizontal ? WebCore::HorizontalScrollbar : W… in setupScrollbar()
158 …int xPosition = isHorizontal ? 0 : m_innerViewportContainerLayer->size().width() - overlayScrollba… in setupScrollbar()
159 …int yPosition = isHorizontal ? m_innerViewportContainerLayer->size().height() - overlayScrollbarTh… in setupScrollbar()
160 …int width = isHorizontal ? m_innerViewportContainerLayer->size().width() - overlayScrollbarThickne… in setupScrollbar()
161 …int height = isHorizontal ? overlayScrollbarThickness : m_innerViewportContainerLayer->size().heig… in setupScrollbar()
/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/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/skia/src/pathops/
DSkOpAngle.h45 bool isHorizontal() const;
/external/chromium_org/third_party/skia/src/pathops/
DSkOpAngle.h45 bool isHorizontal() const;
/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()) {
/external/chromium_org/third_party/WebKit/Source/platform/mac/
DNSScrollerImpDetails.h69 - (BOOL)isHorizontal;

12