HomeSort by relevance Sort by last modified time
    Searched refs:logicalWidth (Results 1 - 25 of 63) sorted by null

1 2 3

  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderBoxRegionInfo.h 38 RenderBoxRegionInfo(LayoutUnit logicalLeft, LayoutUnit logicalWidth, bool isShifted)
40 , m_logicalWidth(logicalWidth)
45 LayoutUnit logicalWidth() const { return m_logicalWidth; }
RenderRubyText.cpp 65 void RenderRubyText::adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const
70 return RenderBlock::adjustInlineDirectionLineBounds(expansionOpportunityCount, logicalLeft, logicalWidth);
73 if (maxPreferredLogicalWidth >= logicalWidth)
78 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1);
83 logicalWidth -= inset;
AutoTableLayout.cpp 96 if (cellLogicalWidth.isPositive() && !columnLayout.logicalWidth.isPercent()) {
97 int logicalWidth = cell->adjustBorderBoxLogicalWidthForBoxSizing(cellLogicalWidth.value());
98 if (columnLayout.logicalWidth.isFixed()) {
100 if ((logicalWidth > columnLayout.logicalWidth.value())
101 || ((columnLayout.logicalWidth.value() == logicalWidth) && (maxContributor == cell))) {
102 columnLayout.logicalWidth.setValue(Fixed, logicalWidth);
106 columnLayout.logicalWidth.setValue(Fixed, logicalWidth)
    [all...]
RenderRubyText.h 53 virtual void adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const;
RenderTableCaption.cpp 39 return cb->logicalWidth();
FixedTableLayout.cpp 102 Length colStyleLogicalWidth = col->style()->logicalWidth();
147 Length logicalWidth = cell->styleOrColLogicalWidth();
152 if (logicalWidth.isFixed() && logicalWidth.isPositive()) {
153 fixedBorderBoxLogicalWidth = cell->adjustBorderBoxLogicalWidthForBoxSizing(logicalWidth.value());
154 logicalWidth.setValue(fixedBorderBoxLogicalWidth);
161 if (m_width[currentColumn].isAuto() && logicalWidth.type() != Auto) {
162 m_width[currentColumn] = logicalWidth;
187 Length tableLogicalWidth = m_table->style()->logicalWidth();
203 if (m_table->style()->logicalWidth().isPercent() && maxWidth < tableMaxWidth
    [all...]
RenderReplaced.cpp 216 if (containingBlock->style()->logicalWidth().isSpecified())
225 if (style()->logicalWidth().isSpecified())
228 if (style()->logicalWidth().isAuto())
255 return hasRelativeLogicalHeight() && style()->logicalWidth().isAuto() && !hasAutoHeightOrContainingBlockWithAutoHeight();
306 if (intrinsicRatio && !isPercentageIntrinsicSize && !intrinsicSize.isEmpty() && style()->logicalWidth().isAuto() && style()->logicalHeight().isAuto()) {
330 if (style()->logicalWidth().isSpecified() || style()->logicalWidth().isIntrinsic())
331 return computeReplacedLogicalWidthRespectingMinMaxWidth(computeReplacedLogicalWidthUsing(style()->logicalWidth()), shouldComputePreferred);
341 if (style()->logicalWidth().isAuto()) {
365 LayoutUnit logicalWidth;
    [all...]
AutoTableLayout.h 62 Length logicalWidth;
RenderRubyBase.cpp 146 void RenderRubyBase::adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const
149 if (maxPreferredLogicalWidth >= logicalWidth)
153 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1);
156 logicalWidth -= inset;
RenderRubyBase.h 56 virtual void adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const;
RenderTextControl.cpp 98 LayoutUnit unitWidth = logicalWidth() - borderAndPaddingLogicalWidth();
236 if (!style()->logicalWidth().isPercent())
247 if (style()->logicalWidth().isFixed() && style()->logicalWidth().value() >= 0)
248 m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(style()->logicalWidth().value());
InlineBox.h 49 InlineBox(RenderObject* obj, FloatPoint topLeft, float logicalWidth, bool firstLine, bool constructed,
56 , m_logicalWidth(logicalWidth)
201 float width() const { return isHorizontal() ? logicalWidth() : logicalHeight(); }
202 float height() const { return isHorizontal() ? logicalHeight() : logicalWidth(); }
209 float logicalRight() const { return logicalLeft() + logicalWidth(); }
235 float logicalWidth() const { return m_logicalWidth; }
RenderFieldset.cpp 75 logicalLeft = (logicalWidth() - logicalWidthForChild(legend)) / 2;
78 logicalLeft = logicalWidth() - borderEnd() - paddingEnd() - logicalWidthForChild(legend);
92 LayoutUnit centeredWidth = logicalWidth() - logicalWidthForChild(legend);
97 logicalLeft = logicalWidth() - borderStart() - paddingStart() - marginStartForChild(legend) - logicalWidthForChild(legend);
RenderBox.cpp 119 LayoutUnit logicalWidth = boxInfo->logicalWidth();
131 logicalLeft -= (currentBox->logicalWidth() - currentBoxInfo->logicalWidth()) - currentBoxInfo->logicalLeft();
142 return LayoutRect(logicalLeft, 0, logicalWidth, height());
143 return LayoutRect(0, logicalLeft, width(), logicalWidth);
537 LayoutUnit RenderBox::constrainLogicalWidthInRegionByMinMax(LayoutUnit logicalWidth, LayoutUnit availableWidth, RenderBlock* cb, RenderRegion* region, LayoutUnit offsetFromLogicalTopOfFirstPage) const
541 logicalWidth = min(logicalWidth, computeLogicalWidthInRegionUsing(MaxSize, styleToUse->logicalMaxWidth(), availableWidth, cb, region, offsetFromLogicalTopOfFirstPage));
542 return max(logicalWidth, computeLogicalWidthInRegionUsing(MinSize, styleToUse->logicalMinWidth(), availableWidth, cb, regi (…)
    [all...]
RenderRubyRun.cpp 292 int logicalWidth = this->logicalWidth();
297 logicalRightOverhang = min<int>(logicalRightOverhang, logicalWidth - rootInlineBox->logicalRight());
RenderFlowThread.cpp 228 LayoutUnit logicalWidth = initialLogicalWidth();
232 logicalWidth = max(region->pageLogicalWidth(), logicalWidth);
234 setLogicalWidth(logicalWidth);
240 if (regionLogicalWidth != logicalWidth) {
241 LayoutUnit logicalLeft = style()->direction() == LTR ? LayoutUnit() : logicalWidth - regionLogicalWidth;
601 LayoutUnit oldLogicalWidth = oldInfo->logicalWidth();
603 if (!newInfo || newInfo->logicalWidth() != oldLogicalWidth)
    [all...]
RenderListItem.cpp 369 if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalVisualOverflowRect.maxX() && !hitSelfPaintingLayer) {
370 newLogicalVisualOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalVisualOverflowRect.x());
374 if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalLayoutOverflowRect.maxX()) {
375 newLogicalLayoutOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalLayoutOverflowRect.x());
  /external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
ShapeOutsideInfo.cpp 53 m_rightSegmentMarginBoxDelta = m_segments[m_segments.size()-1].logicalRight - m_renderer->logicalWidth() - m_renderer->marginEnd();
55 m_leftSegmentMarginBoxDelta = m_renderer->logicalWidth() + m_renderer->marginStart();
56 m_rightSegmentMarginBoxDelta = -m_renderer->logicalWidth() - m_renderer->marginEnd();
ShapeInfo.h 71 void setShapeSize(LayoutUnit logicalWidth, LayoutUnit logicalHeight)
74 logicalWidth -= m_renderer->borderAndPaddingLogicalWidth();
78 if (m_shapeLogicalWidth == logicalWidth && m_shapeLogicalHeight == logicalHeight)
81 m_shapeLogicalWidth = logicalWidth;
  /frameworks/base/core/java/android/view/
DisplayInfo.java 104 public int logicalWidth;
240 && logicalWidth == other.logicalWidth
272 logicalWidth = other.logicalWidth;
299 logicalWidth = source.readInt();
327 dest.writeInt(logicalWidth);
362 getMetricsWithSize(outMetrics, compatInfo, token, logicalWidth, logicalHeight);
367 logicalWidth : logicalHeight;
372 logicalHeight : logicalWidth;
    [all...]
Display.java 474 return Math.max(mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight);
605 outSize.x = mDisplayInfo.logicalWidth;
  /frameworks/base/services/java/com/android/server/display/
LogicalDisplay.java 208 mBaseDisplayInfo.logicalWidth = deviceInfo.width;
255 mTempLayerStackRect.set(0, 0, displayInfo.logicalWidth, displayInfo.logicalHeight);
280 // physWidth / displayInfo.logicalWidth => letter box
288 < physHeight * displayInfo.logicalWidth) {
291 displayRectHeight = displayInfo.logicalHeight * physWidth / displayInfo.logicalWidth;
294 displayRectWidth = displayInfo.logicalWidth * physHeight / displayInfo.logicalHeight;
OverlayDisplayWindow.java 225 0 : mDefaultDisplayInfo.logicalWidth;
233 scale = Math.min(scale, (float)mDefaultDisplayInfo.logicalWidth / mWidth);
242 x = Math.max(0, Math.min(x, mDefaultDisplayInfo.logicalWidth - width));
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/
WindowManagerImpl.java 35 info.logicalWidth = mMetrics.widthPixels;
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
RenderSVGInline.cpp 106 quads.append(localToAbsoluteQuad(FloatRect(textBoundingBox.x() + box->x(), textBoundingBox.y() + box->y(), box->logicalWidth(), box->logicalHeight()), false, wasFixed));

Completed in 1608 milliseconds

1 2 3