Home
last modified time | relevance | path

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

12

/external/webkit/Source/WebCore/rendering/
DRenderScrollbar.cpp187 bool isHorizontal = orientation() == HorizontalScrollbar; in updateScrollbarParts() local
188 int oldThickness = isHorizontal ? height() : width(); in updateScrollbarParts()
193 newThickness = isHorizontal ? part->height() : part->width(); in updateScrollbarParts()
197 …setFrameRect(IntRect(x(), y(), isHorizontal ? width() : newThickness, isHorizontal ? newThickness … in updateScrollbarParts()
289 bool isHorizontal = orientation() == HorizontalScrollbar; in buttonRect() local
291 …return IntRect(x(), y(), isHorizontal ? partRenderer->width() : width(), isHorizontal ? height() :… in buttonRect()
293 return IntRect(isHorizontal ? x() + width() - partRenderer->width() : x(), in buttonRect()
295 isHorizontal ? y() : y() + height() - partRenderer->height(), in buttonRect()
296 isHorizontal ? partRenderer->width() : width(), in buttonRect()
297 isHorizontal ? height() : partRenderer->height()); in buttonRect()
[all …]
DInlineFlowBox.h120 return isHorizontal() ? boxModelObject()->marginLeft() : boxModelObject()->marginTop(); in marginLogicalLeft()
126 return isHorizontal() ? boxModelObject()->marginRight() : boxModelObject()->marginBottom(); in marginLogicalRight()
132 …return isHorizontal() ? renderer()->style()->borderLeftWidth() : renderer()->style()->borderTopWid… in borderLogicalLeft()
138 …return isHorizontal() ? renderer()->style()->borderRightWidth() : renderer()->style()->borderBotto… in borderLogicalRight()
144 return isHorizontal() ? boxModelObject()->paddingLeft() : boxModelObject()->paddingTop(); in paddingLogicalLeft()
150 … return isHorizontal() ? boxModelObject()->paddingRight() : boxModelObject()->paddingBottom(); in paddingLogicalRight()
200 …int logicalLeftLayoutOverflow() const { return m_overflow ? (isHorizontal() ? m_overflow->minXLayo… in logicalLeftLayoutOverflow()
201 …int logicalRightLayoutOverflow() const { return m_overflow ? (isHorizontal() ? m_overflow->maxXLay… in logicalRightLayoutOverflow()
205 … return isHorizontal() ? m_overflow->minYLayoutOverflow() : m_overflow->minXLayoutOverflow(); in logicalTopLayoutOverflow()
211 … return isHorizontal() ? m_overflow->maxYLayoutOverflow() : m_overflow->maxXLayoutOverflow(); in logicalBottomLayoutOverflow()
[all …]
DInlineBox.h73 …bool dirty, bool extracted, bool isHorizontal, InlineBox* next, InlineBox* prev, InlineFlowBox* pa… in InlineBox() argument
89 , m_isHorizontal(isHorizontal) in InlineBox()
120 if (isHorizontal()) in adjustLineDirectionPosition()
127 if (isHorizontal()) in adjustBlockDirectionPosition()
173 bool isHorizontal() const { return m_isHorizontal; } in isHorizontal() function
232 float width() const { return isHorizontal() ? logicalWidth() : logicalHeight(); } in width()
233 float height() const { return isHorizontal() ? logicalHeight() : logicalWidth(); } in height()
236 float logicalLeft() const { return isHorizontal() ? m_x : m_y; } in logicalLeft()
240 if (isHorizontal()) in setLogicalLeft()
249 int logicalTop() const { return isHorizontal() ? m_y : m_x; } in logicalTop()
[all …]
DRenderMarquee.cpp106 bool RenderMarquee::isHorizontal() const in isHorizontal() function in WebCore::RenderMarquee
116 if (isHorizontal()) { in computePosition()
173 if (isHorizontal()) in start()
235 if (isHorizontal() && m_layer->renderer()->childrenInline()) { in updateMarqueeStyle()
244 if (isHorizontal()) { in updateMarqueeStyle()
271 if (isHorizontal()) in timerFired()
295 …int clientSize = (isHorizontal() ? m_layer->renderBox()->clientWidth() : m_layer->renderBox()->cli… in timerFired()
297 int currentPos = (isHorizontal() ? m_layer->scrollXOffset() : m_layer->scrollYOffset()); in timerFired()
313 if (isHorizontal()) in timerFired()
DRenderLineBoxList.cpp288 bool isHorizontal = firstLineBox()->isHorizontal(); in hitTest() local
290 int logicalPointStart = isHorizontal ? y - result.topPadding() : x - result.leftPadding(); in hitTest()
291 … int logicalPointEnd = (isHorizontal ? y + result.bottomPadding() : x + result.rightPadding()) + 1; in hitTest()
292 IntRect rect(isHorizontal ? x : logicalPointStart, isHorizontal ? logicalPointStart : y, in hitTest()
293 isHorizontal ? 1 : logicalPointEnd - logicalPointStart, in hitTest()
294 isHorizontal ? logicalPointEnd - logicalPointStart : 1); in hitTest()
DInlineFlowBox.cpp98 child->setIsHorizontal(isHorizontal()); in addToLine()
391 …int logicalLeftMargin = isHorizontal() ? curr->boxModelObject()->marginLeft() : curr->boxModelObje… in placeBoxesInInlineDirection()
392 …int logicalRightMargin = isHorizontal() ? curr->boxModelObject()->marginRight() : curr->boxModelOb… in placeBoxesInInlineDirection()
415 if (isHorizontal()) in requiresIdeographicBaseline()
631 int overSideMargin = curr->isHorizontal() ? box->marginTop() : box->marginRight(); in placeBoxesInBlockDirection()
632 int underSideMargin = curr->isHorizontal() ? box->marginBottom() : box->marginLeft(); in placeBoxesInBlockDirection()
894 …IntRect layoutOverflow(isHorizontal() ? logicalLayoutOverflow : logicalLayoutOverflow.transposedRe… in setOverflowFromLogicalRects()
897 …IntRect visualOverflow(isHorizontal() ? logicalVisualOverflow : logicalVisualOverflow.transposedRe… in setOverflowFromLogicalRects()
928 int& top = isHorizontal() ? minY : minX; in nodeAtPoint()
929 int& logicalHeight = isHorizontal() ? height : width; in nodeAtPoint()
[all …]
DInlineTextBox.cpp83 …ct(renderer()->parent())->baselinePosition(baselineType, m_firstLine, isHorizontal() ? HorizontalL… in baselinePosition()
94 …return toRenderBoxModelObject(renderer()->parent())->lineHeight(m_firstLine, isHorizontal() ? Hori… in lineHeight()
205 …IntPoint topPoint = isHorizontal() ? IntPoint(tx + m_x + r.x(), ty + selTop) : IntPoint(tx + selTo… in selectionRect()
206 int width = isHorizontal() ? logicalWidth : selHeight; in selectionRect()
207 int height = isHorizontal() ? selHeight : logicalWidth; in selectionRect()
478 int logicalStart = logicalLeftSide + (isHorizontal() ? tx : ty); in paint()
481 int paintEnd = isHorizontal() ? paintInfo.rect.maxX() : paintInfo.rect.maxY(); in paint()
482 int paintStart = isHorizontal() ? paintInfo.rect.x() : paintInfo.rect.y(); in paint()
508 if (isHorizontal()) in paint()
527 bool shouldRotate = !isHorizontal() && !combinedText; in paint()
[all …]
DRenderInline.cpp491 bool isHorizontal = style()->isHorizontalWritingMode(); in culledInlineAbsoluteRects() local
505 if (isHorizontal) in culledInlineAbsoluteRects()
522 if (isHorizontal) in culledInlineAbsoluteRects()
542 if (isHorizontal) in culledInlineAbsoluteRects()
575 bool isHorizontal = style()->isHorizontalWritingMode(); in culledInlineAbsoluteQuads() local
589 if (isHorizontal) in culledInlineAbsoluteQuads()
606 if (isHorizontal) in culledInlineAbsoluteQuads()
626 if (isHorizontal) in culledInlineAbsoluteQuads()
768 bool isHorizontal = style()->isHorizontalWritingMode(); in linesBoundingBox() local
770 float x = isHorizontal ? logicalLeftSide : firstLineBox()->x(); in linesBoundingBox()
[all …]
DRootInlineBox.h90 … return boxModelObject()->baselinePosition(baselineType, m_firstLine, isHorizontal() ? HorizontalL… in baselinePosition()
91 …virtual int lineHeight() const { return boxModelObject()->lineHeight(m_firstLine, isHorizontal() ?… in lineHeight()
DRenderMarquee.h68 bool isHorizontal() const;
DRenderFlexibleBox.h60 bool isHorizontal() const { return style()->boxOrient() == HORIZONTAL; } in isHorizontal() function
DRenderText.cpp422 if (box->isHorizontal()) { in absoluteQuadsForRange()
437 if (box->isHorizontal()) { in absoluteQuadsForRange()
480 int pointLineDirection = firstTextBox()->isHorizontal() ? point.x() : point.y(); in positionForPoint()
481 int pointBlockDirection = firstTextBox()->isHorizontal() ? point.y() : point.x(); in positionForPoint()
1353 bool isHorizontal = style()->isHorizontalWritingMode(); in linesBoundingBox() local
1355 float x = isHorizontal ? logicalLeftSide : firstTextBox()->x(); in linesBoundingBox()
1356 float y = isHorizontal ? firstTextBox()->y() : logicalLeftSide; in linesBoundingBox()
1357 …float width = isHorizontal ? logicalRightSide - logicalLeftSide : lastTextBox()->logicalBottom() -… in linesBoundingBox()
1358 …float height = isHorizontal ? lastTextBox()->logicalBottom() - y : logicalRightSide - logicalLeftS… in linesBoundingBox()
DRootInlineBox.cpp108 … y(), !prevRootBox(), isHorizontal(), markupBox); in placeEllipsis()
206 …int blockDirectionDelta = isHorizontal() ? dy : dx; // The block direction delta will always be in… in adjustPosition()
536 if (isHorizontal()) { in paddedLayoutOverflowRect()
749 …return (lineBoxContain & LineBoxContainFont) || (!isHorizontal() && (lineBoxContain & LineBoxConta… in includeFontForBox()
762 return isHorizontal() && (lineBoxContain & LineBoxContainGlyphs); in includeGlyphsForBox()
779 return isHorizontal() && (lineBoxContain & LineBoxContainGlyphs); in fitsToGlyphs()
DRenderBox.cpp1337 if (style()->hasStaticInlinePosition(box->isHorizontal())) in positionLineBox()
1345 if (style()->hasStaticBlockPosition(box->isHorizontal())) in positionLineBox()
2284 bool isHorizontal = isHorizontalWritingMode(); in computePositionedLogicalWidth() local
2286 const Length marginLogicalLeft = isHorizontal ? style()->marginLeft() : style()->marginTop(); in computePositionedLogicalWidth()
2287 … const Length marginLogicalRight = isHorizontal ? style()->marginRight() : style()->marginBottom(); in computePositionedLogicalWidth()
2288 int& marginLogicalLeftAlias = isHorizontal ? m_marginLeft : m_marginTop; in computePositionedLogicalWidth()
2289 int& marginLogicalRightAlias = isHorizontal ? m_marginRight : m_marginBottom; in computePositionedLogicalWidth()
2602 bool isHorizontal = isHorizontalWritingMode(); in computePositionedLogicalHeight() local
2607 …int& marginBeforeAlias = isHorizontal ? (isFlipped ? m_marginBottom : m_marginTop) : (isFlipped ? … in computePositionedLogicalHeight()
2608 …int& marginAfterAlias = isHorizontal ? (isFlipped ? m_marginTop : m_marginBottom) : (isFlipped ? m… in computePositionedLogicalHeight()
[all …]
DRenderReplaced.cpp295 int blockDirectionPosition = box->isHorizontal() ? point.y() + y() : point.x() + x(); in positionForPoint()
296 int lineDirectionPosition = box->isHorizontal() ? point.x() + x() : point.y() + y(); in positionForPoint()
/external/webkit/Source/WebCore/platform/graphics/
DRoundedIntRect.cpp78 …::Radii::includeLogicalEdges(const RoundedIntRect::Radii& edges, bool isHorizontal, bool includeLo… in includeLogicalEdges() argument
81 if (isHorizontal) in includeLogicalEdges()
89 if (isHorizontal) in includeLogicalEdges()
97 void RoundedIntRect::Radii::excludeLogicalEdges(bool isHorizontal, bool excludeLogicalLeftEdge, boo… in excludeLogicalEdges() argument
100 if (isHorizontal) in excludeLogicalEdges()
108 if (isHorizontal) in excludeLogicalEdges()
133 void RoundedIntRect::includeLogicalEdges(const Radii& edges, bool isHorizontal, bool includeLogical… in includeLogicalEdges() argument
135 … m_radii.includeLogicalEdges(edges, isHorizontal, includeLogicalLeftEdge, includeLogicalRightEdge); in includeLogicalEdges()
138 void RoundedIntRect::excludeLogicalEdges(bool isHorizontal, bool excludeLogicalLeftEdge, bool exclu… in excludeLogicalEdges() argument
140 m_radii.excludeLogicalEdges(isHorizontal, excludeLogicalLeftEdge, excludeLogicalRightEdge); in excludeLogicalEdges()
DRoundedIntRect.h59 …void includeLogicalEdges(const Radii& edges, bool isHorizontal, bool includeLogicalLeftEdge, bool …
60 …void excludeLogicalEdges(bool isHorizontal, bool excludeLogicalLeftEdge, bool excludeLogicalRightE…
93 …void includeLogicalEdges(const Radii& edges, bool isHorizontal, bool includeLogicalLeftEdge, bool …
94 …void excludeLogicalEdges(bool isHorizontal, bool excludeLogicalLeftEdge, bool excludeLogicalRightE…
/external/webkit/Source/WebCore/page/
DPrintContext.cpp73 bool isHorizontal = view->style()->isHorizontalWritingMode(); in computePageRects() local
77 if (isHorizontal) { in computePageRects()
116 bool isHorizontal = view->style()->isHorizontalWritingMode(); in computePageRectsWithPageSizeInternal() local
118 int docLogicalHeight = isHorizontal ? docRect.height() : docRect.width(); in computePageRectsWithPageSizeInternal()
119 int pageLogicalHeight = isHorizontal ? pageHeight : pageWidth; in computePageRectsWithPageSizeInternal()
120 int pageLogicalWidth = isHorizontal ? pageWidth : pageHeight; in computePageRectsWithPageSizeInternal()
126 if (isHorizontal) { in computePageRectsWithPageSizeInternal()
159 if (!isHorizontal) in computePageRectsWithPageSizeInternal()
166 if (!isHorizontal) in computePageRectsWithPageSizeInternal()
/external/webkit/Source/WebCore/platform/mac/
DWebCoreSystemInterface.h212 extern WKScrollbarPainterRef (*wkMakeScrollbarPainter)(int controlSize, bool isHorizontal);
213 …cementPainter)(WKScrollbarPainterRef oldPainter, int newStyle, int controlSize, bool isHorizontal);
228 …erForPainterController)(WKScrollbarPainterControllerRef, WKScrollbarPainterRef, bool isHorizontal);
DWebCoreSystemInterface.mm134 WKScrollbarPainterRef (*wkMakeScrollbarPainter)(int controlSize, bool isHorizontal);
135 …cementPainter)(WKScrollbarPainterRef oldPainter, int newStyle, int controlSize, bool isHorizontal);
150 …erForPainterController)(WKScrollbarPainterControllerRef, WKScrollbarPainterRef, bool isHorizontal);
/external/webkit/Source/WebCore/css/
DCSSGradientValue.cpp365 …veValue* value, RenderStyle* style, RenderStyle* rootStyle, const IntSize& size, bool isHorizontal) in positionFromValue() argument
374 return value->getFloatValue() / 100.f * (isHorizontal ? size.width() : size.height()); in positionFromValue()
379 ASSERT(!isHorizontal); in positionFromValue()
382 ASSERT(isHorizontal); in positionFromValue()
385 ASSERT(!isHorizontal); in positionFromValue()
388 ASSERT(isHorizontal); in positionFromValue()
/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/webkit/Source/WebCore/dom/
DWheelEvent.h66 bool isHorizontal() const { return m_wheelDeltaX; } in isHorizontal() function
/external/webkit/WebKitLibraries/
DWebKitSystemInterface.h429 WKScrollbarPainterRef WKMakeScrollbarPainter(int controlSize, bool isHorizontal);
430 …acementPainter(WKScrollbarPainterRef oldPainter, int newStyle, int controlSize, bool isHorizontal);
445 …terForPainterController(WKScrollbarPainterControllerRef, WKScrollbarPainterRef, bool isHorizontal);
/external/webkit/Source/WebKit/wince/
DWebView.h84 bool handleMouseWheel(HWND hWnd, WPARAM wParam, LPARAM lParam, bool isHorizontal);

12