/external/webkit/Source/WebCore/rendering/ |
RenderScrollbar.cpp | 187 bool isHorizontal = orientation() == HorizontalScrollbar; 188 int oldThickness = isHorizontal ? height() : width(); 193 newThickness = isHorizontal ? part->height() : part->width(); 197 setFrameRect(IntRect(x(), y(), isHorizontal ? width() : newThickness, isHorizontal ? newThickness : height())); 289 bool isHorizontal = orientation() == HorizontalScrollbar; 291 return IntRect(x(), y(), isHorizontal ? partRenderer->width() : width(), isHorizontal ? height() : partRenderer->height()); 293 return IntRect(isHorizontal ? x() + width() - partRenderer->width() : x(), 295 isHorizontal ? y() : y() + height() - partRenderer->height() [all...] |
InlineFlowBox.h | 120 return isHorizontal() ? boxModelObject()->marginLeft() : boxModelObject()->marginTop(); 126 return isHorizontal() ? boxModelObject()->marginRight() : boxModelObject()->marginBottom(); 132 return isHorizontal() ? renderer()->style()->borderLeftWidth() : renderer()->style()->borderTopWidth(); 138 return isHorizontal() ? renderer()->style()->borderRightWidth() : renderer()->style()->borderBottomWidth(); 144 return isHorizontal() ? boxModelObject()->paddingLeft() : boxModelObject()->paddingTop(); 150 return isHorizontal() ? boxModelObject()->paddingRight() : boxModelObject()->paddingBottom(); 200 int logicalLeftLayoutOverflow() const { return m_overflow ? (isHorizontal() ? m_overflow->minXLayoutOverflow() : m_overflow->minYLayoutOverflow()) : logicalLeft(); } 201 int logicalRightLayoutOverflow() const { return m_overflow ? (isHorizontal() ? m_overflow->maxXLayoutOverflow() : m_overflow->maxYLayoutOverflow()) : ceilf(logicalRight()); } 205 return isHorizontal() ? m_overflow->minYLayoutOverflow() : m_overflow->minXLayoutOverflow(); 211 return isHorizontal() ? m_overflow->maxYLayoutOverflow() : m_overflow->maxXLayoutOverflow() [all...] |
InlineBox.h | 73 bool dirty, bool extracted, bool isHorizontal, InlineBox* next, InlineBox* prev, InlineFlowBox* parent) 89 , m_isHorizontal(isHorizontal) 120 if (isHorizontal()) 127 if (isHorizontal()) 173 bool isHorizontal() const { return m_isHorizontal; } 232 float width() const { return isHorizontal() ? logicalWidth() : logicalHeight(); } 233 float height() const { return isHorizontal() ? logicalHeight() : logicalWidth(); } 236 float logicalLeft() const { return isHorizontal() ? m_x : m_y; } 240 if (isHorizontal()) 249 int logicalTop() const { return isHorizontal() ? m_y : m_x; [all...] |
RenderMarquee.cpp | 106 bool RenderMarquee::isHorizontal() const 116 if (isHorizontal()) { 173 if (isHorizontal()) 235 if (isHorizontal() && m_layer->renderer()->childrenInline()) { 244 if (isHorizontal()) { 271 if (isHorizontal()) 295 int clientSize = (isHorizontal() ? m_layer->renderBox()->clientWidth() : m_layer->renderBox()->clientHeight()); 297 int currentPos = (isHorizontal() ? m_layer->scrollXOffset() : m_layer->scrollYOffset()); 313 if (isHorizontal())
|
RenderLineBoxList.cpp | 288 bool isHorizontal = firstLineBox()->isHorizontal(); 290 int logicalPointStart = isHorizontal ? y - result.topPadding() : x - result.leftPadding(); 291 int logicalPointEnd = (isHorizontal ? y + result.bottomPadding() : x + result.rightPadding()) + 1; 292 IntRect rect(isHorizontal ? x : logicalPointStart, isHorizontal ? logicalPointStart : y, 293 isHorizontal ? 1 : logicalPointEnd - logicalPointStart, 294 isHorizontal ? logicalPointEnd - logicalPointStart : 1);
|
RenderFlexibleBox.h | 60 bool isHorizontal() const { return style()->boxOrient() == HORIZONTAL; }
|
InlineTextBox.cpp | 83 return toRenderBoxModelObject(renderer()->parent())->baselinePosition(baselineType, m_firstLine, isHorizontal() ? HorizontalLine : VerticalLine, PositionOnContainingLine); 94 return toRenderBoxModelObject(renderer()->parent())->lineHeight(m_firstLine, isHorizontal() ? HorizontalLine : VerticalLine, PositionOnContainingLine); 205 IntPoint topPoint = isHorizontal() ? IntPoint(tx + m_x + r.x(), ty + selTop) : IntPoint(tx + selTop, ty + m_y + r.x()); 206 int width = isHorizontal() ? logicalWidth : selHeight; 207 int height = isHorizontal() ? selHeight : logicalWidth; 478 int logicalStart = logicalLeftSide + (isHorizontal() ? tx : ty); 481 int paintEnd = isHorizontal() ? paintInfo.rect.maxX() : paintInfo.rect.maxY(); 482 int paintStart = isHorizontal() ? paintInfo.rect.x() : paintInfo.rect.y(); 508 if (isHorizontal()) 527 bool shouldRotate = !isHorizontal() && !combinedText [all...] |
InlineFlowBox.cpp | 98 child->setIsHorizontal(isHorizontal()); 391 int logicalLeftMargin = isHorizontal() ? curr->boxModelObject()->marginLeft() : curr->boxModelObject()->marginTop(); 392 int logicalRightMargin = isHorizontal() ? curr->boxModelObject()->marginRight() : curr->boxModelObject()->marginBottom(); 415 if (isHorizontal()) 631 int overSideMargin = curr->isHorizontal() ? box->marginTop() : box->marginRight(); 632 int underSideMargin = curr->isHorizontal() ? box->marginBottom() : box->marginLeft(); [all...] |
RootInlineBox.h | 90 virtual int baselinePosition(FontBaseline baselineType) const { return boxModelObject()->baselinePosition(baselineType, m_firstLine, isHorizontal() ? HorizontalLine : VerticalLine, PositionOfInteriorLineBoxes); } 91 virtual int lineHeight() const { return boxModelObject()->lineHeight(m_firstLine, isHorizontal() ? HorizontalLine : VerticalLine, PositionOfInteriorLineBoxes); }
|
RenderInline.cpp | 491 bool isHorizontal = style()->isHorizontalWritingMode(); 505 if (isHorizontal) 522 if (isHorizontal) 542 if (isHorizontal) 575 bool isHorizontal = style()->isHorizontalWritingMode(); 589 if (isHorizontal) 606 if (isHorizontal) 626 if (isHorizontal) [all...] |
RenderMarquee.h | 68 bool isHorizontal() const;
|
RenderText.cpp | 422 if (box->isHorizontal()) { 437 if (box->isHorizontal()) { 480 int pointLineDirection = firstTextBox()->isHorizontal() ? point.x() : point.y(); 481 int pointBlockDirection = firstTextBox()->isHorizontal() ? point.y() : point.x(); [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
RoundedIntRect.cpp | 78 void RoundedIntRect::Radii::includeLogicalEdges(const RoundedIntRect::Radii& edges, bool isHorizontal, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) 81 if (isHorizontal) 89 if (isHorizontal) 97 void RoundedIntRect::Radii::excludeLogicalEdges(bool isHorizontal, bool excludeLogicalLeftEdge, bool excludeLogicalRightEdge) 100 if (isHorizontal) 108 if (isHorizontal) 133 void RoundedIntRect::includeLogicalEdges(const Radii& edges, bool isHorizontal, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) 135 m_radii.includeLogicalEdges(edges, isHorizontal, includeLogicalLeftEdge, includeLogicalRightEdge); 138 void RoundedIntRect::excludeLogicalEdges(bool isHorizontal, bool excludeLogicalLeftEdge, bool excludeLogicalRightEdge) 140 m_radii.excludeLogicalEdges(isHorizontal, excludeLogicalLeftEdge, excludeLogicalRightEdge) [all...] |
RoundedIntRect.h | 59 void includeLogicalEdges(const Radii& edges, bool isHorizontal, bool includeLogicalLeftEdge, bool includeLogicalRightEdge); 60 void excludeLogicalEdges(bool isHorizontal, bool excludeLogicalLeftEdge, bool excludeLogicalRightEdge); 93 void includeLogicalEdges(const Radii& edges, bool isHorizontal, bool includeLogicalLeftEdge, bool includeLogicalRightEdge); 94 void excludeLogicalEdges(bool isHorizontal, bool excludeLogicalLeftEdge, bool excludeLogicalRightEdge);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
SetScrollViewSizeFix.java | 56 boolean isHorizontal = HORIZONTAL_SCROLL_VIEW.equals(parent.getTagName()); 57 String attributeName = isHorizontal ? ATTR_LAYOUT_WIDTH : ATTR_LAYOUT_HEIGHT;
|
/frameworks/base/core/java/com/android/internal/widget/ |
SlidingTab.java | 496 if (isHorizontal()) { 536 mThreshold = isHorizontal() ? THRESHOLD : 1.0f - THRESHOLD; 541 mThreshold = isHorizontal() ? 1.0f - THRESHOLD : THRESHOLD; 588 float position = isHorizontal() ? x : y; 589 float target = mThreshold * (isHorizontal() ? getWidth() : getHeight()); 591 if (isHorizontal()) { 642 if (isHorizontal()) { 709 return isHorizontal() && y > - TRACKING_MARGIN && y < TRACKING_MARGIN + view.getHeight() 710 || !isHorizontal() && x > -TRACKING_MARGIN && x < TRACKING_MARGIN + view.getWidth(); 713 private boolean isHorizontal() { [all...] |
/external/webkit/Source/WebCore/page/ |
PrintContext.cpp | 73 bool isHorizontal = view->style()->isHorizontalWritingMode(); 77 if (isHorizontal) { 116 bool isHorizontal = view->style()->isHorizontalWritingMode(); 118 int docLogicalHeight = isHorizontal ? docRect.height() : docRect.width(); 119 int pageLogicalHeight = isHorizontal ? pageHeight : pageWidth; 120 int pageLogicalWidth = isHorizontal ? pageWidth : pageHeight; 126 if (isHorizontal) { 159 if (!isHorizontal) 166 if (!isHorizontal)
|
/external/webkit/Source/WebCore/dom/ |
WheelEvent.idl | 44 readonly attribute boolean isHorizontal;
|
WheelEvent.h | 66 bool isHorizontal() const { return m_wheelDeltaX; }
|
/external/webkit/Source/WebCore/platform/mac/ |
WebCoreSystemInterface.mm | 134 WKScrollbarPainterRef (*wkMakeScrollbarPainter)(int controlSize, bool isHorizontal); 135 WKScrollbarPainterRef (*wkMakeScrollbarReplacementPainter)(WKScrollbarPainterRef oldPainter, int newStyle, int controlSize, bool isHorizontal); 150 void (*wkSetPainterForPainterController)(WKScrollbarPainterControllerRef, WKScrollbarPainterRef, bool isHorizontal);
|
WebCoreSystemInterface.h | 212 extern WKScrollbarPainterRef (*wkMakeScrollbarPainter)(int controlSize, bool isHorizontal); 213 extern WKScrollbarPainterRef (*wkMakeScrollbarReplacementPainter)(WKScrollbarPainterRef oldPainter, int newStyle, int controlSize, bool isHorizontal); 228 extern void (*wkSetPainterForPainterController)(WKScrollbarPainterControllerRef, WKScrollbarPainterRef, bool isHorizontal);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
MultiPaneChallengeLayout.java | 264 } else if (Gravity.isHorizontal(lp.gravity)) { 389 final boolean isHorizontal = Gravity.isHorizontal(gravity); 427 if (adjustPadding && isHorizontal && !isVertical) { 437 if (adjustPadding && isHorizontal && !isVertical) {
|
/external/webkit/WebKitLibraries/ |
WebKitSystemInterface.h | 429 WKScrollbarPainterRef WKMakeScrollbarPainter(int controlSize, bool isHorizontal); 430 WKScrollbarPainterRef WKMakeScrollbarReplacementPainter(WKScrollbarPainterRef oldPainter, int newStyle, int controlSize, bool isHorizontal); 445 void WKSetPainterForPainterController(WKScrollbarPainterControllerRef, WKScrollbarPainterRef, bool isHorizontal);
|
/cts/tests/tests/view/src/android/view/cts/ |
GravityTest.java | 269 assertFalse(Gravity.isHorizontal(-1)); 270 assertTrue(Gravity.isHorizontal(Gravity.HORIZONTAL_GRAVITY_MASK)); 271 assertTrue(Gravity.isHorizontal(Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK)); 272 assertFalse(Gravity.isHorizontal(Gravity.NO_GRAVITY));
|
/external/webkit/Source/WebKit/wince/ |
WebView.h | 84 bool handleMouseWheel(HWND hWnd, WPARAM wParam, LPARAM lParam, bool isHorizontal);
|