HomeSort by relevance Sort by last modified time
    Searched full:logicalwidth (Results 1 - 25 of 66) sorted by null

1 2 3

  /external/chromium_org/third_party/WebKit/Source/core/rendering/
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...]
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;
RenderReplaced.cpp 227 if (containingBlock->style()->logicalWidth().isSpecified())
236 if (style()->logicalWidth().isSpecified())
239 if (style()->logicalWidth().isAuto())
266 return hasRelativeLogicalHeight() && style()->logicalWidth().isAuto() && !hasAutoHeightOrContainingBlockWithAutoHeight();
320 if (intrinsicRatio && !isPercentageIntrinsicSize && !intrinsicSize.isEmpty() && style()->logicalWidth().isAuto() && style()->logicalHeight().isAuto()) {
384 if (style()->logicalWidth().isSpecified() || style()->logicalWidth().isIntrinsic())
385 return computeReplacedLogicalWidthRespectingMinMaxWidth(computeReplacedLogicalWidthUsing(style()->logicalWidth()), shouldComputePreferred);
395 if (style()->logicalWidth().isAuto()) {
419 LayoutUnit logicalWidth;
    [all...]
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...]
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;
RenderTableCaption.cpp 39 return cb->logicalWidth();
RenderTextControl.cpp 109 LayoutUnit unitWidth = logicalWidth() - borderAndPaddingLogicalWidth();
247 if (!style()->logicalWidth().isPercent())
258 if (style()->logicalWidth().isFixed() && style()->logicalWidth().value() >= 0)
259 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)
200 float width() const { return isHorizontal() ? logicalWidth() : hasVirtualLogicalHeight() ? virtualLogicalHeight() : logicalHeight(); }
201 float height() const { return isHorizontal() ? hasVirtualLogicalHeight() ? virtualLogicalHeight() : logicalHeight() : logicalWidth(); }
208 float logicalRight() const { return logicalLeft() + logicalWidth(); }
234 float logicalWidth() const { return m_logicalWidth; }
AutoTableLayout.h 63 Length 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);
RenderRubyText.h 55 virtual void adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const;
RenderBlock.h 173 : logicalWidth() - logicalRightOffsetForLineInRegion(position, shouldIndentText, region, logicalHeight);
178 : logicalWidth() - logicalRightOffsetForLineInRegion(position, shouldIndentText, region, logicalHeight);
208 : logicalWidth() - logicalRightOffsetForLine(position, shouldIndentText, logicalHeight);
213 : logicalWidth() - logicalRightOffsetForLine(position, shouldIndentText, logicalHeight);
327 return style()->isLeftToRightDirection() ? logicalLeftOffsetForContent(region) : logicalWidth() - logicalRightOffsetForContent(region);
331 return !style()->isLeftToRightDirection() ? logicalLeftOffsetForContent(region) : logicalWidth() - logicalRightOffsetForContent(region);
355 LayoutUnit startOffsetForContent() const { return style()->isLeftToRightDirection() ? logicalLeftOffsetForContent() : logicalWidth() - logicalRightOffsetForContent(); }
356 LayoutUnit endOffsetForContent() const { return !style()->isLeftToRightDirection() ? logicalLeftOffsetForContent() : logicalWidth() - logicalRightOffsetForContent(); }
422 virtual void adjustInlineDirectionLineBounds(int /* expansionOpportunityCount */, float& /* logicalLeft */, float& /* logicalWidth */) const { }
    [all...]
RenderRubyBase.h 56 virtual void adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const;
RenderTextControlSingleLine.cpp 177 innerSpinBox->setLogicalLocation(LayoutPoint(parentBox->logicalWidth() - innerSpinBox->logicalWidth() + paddingLogicalRight(), -paddingBefore()));
337 // Since the width of spinRenderer is not calculated yet, spinRenderer->logicalWidth() returns 0.
338 // So computedStyle()->logicalWidth() is used instead.
339 result += spinButton->computedStyle()->logicalWidth().value();
RenderRubyRun.cpp 293 int logicalWidth = this->logicalWidth();
298 logicalRightOverhang = min<int>(logicalRightOverhang, logicalWidth - rootInlineBox->logicalRight());
RenderBox.cpp 121 LayoutUnit logicalWidth = boxInfo->logicalWidth();
132 logicalLeft -= (currentBox->logicalWidth() - currentBoxInfo->logicalWidth()) - currentBoxInfo->logicalLeft();
142 return LayoutRect(logicalLeft, 0, logicalWidth, height());
143 return LayoutRect(0, logicalLeft, width(), logicalWidth);
606 LayoutUnit RenderBox::constrainLogicalWidthInRegionByMinMax(LayoutUnit logicalWidth, LayoutUnit availableWidth, RenderBlock* cb, RenderRegion* region) const
610 logicalWidth = min(logicalWidth, computeLogicalWidthInRegionUsing(MaxSize, styleToUse->logicalMaxWidth(), availableWidth, cb, region));
611 return max(logicalWidth, computeLogicalWidthInRegionUsing(MinSize, styleToUse->logicalMinWidth(), availableWidth, cb, regi (…)
    [all...]
RenderListItem.cpp 381 if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalVisualOverflowRect.maxX() && !hitSelfPaintingLayer) {
382 newLogicalVisualOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalVisualOverflowRect.x());
386 if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalLayoutOverflowRect.maxX()) {
387 newLogicalLayoutOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalLayoutOverflowRect.x());
  /external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
ShapeInfo.h 71 void setShapeSize(LayoutUnit logicalWidth, LayoutUnit logicalHeight)
77 logicalWidth += m_renderer->marginLogicalWidth();
83 logicalWidth -= m_renderer->borderLogicalWidth();
87 logicalWidth -= m_renderer->borderAndPaddingLogicalWidth();
92 logicalWidth -= m_renderer->borderAndPaddingLogicalWidth();
95 LayoutSize newLogicalSize(logicalWidth, logicalHeight);
  /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...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/
WindowManagerImpl.java 35 info.logicalWidth = mMetrics.widthPixels;
  /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));
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSProperty.cpp 163 enum LogicalExtent { LogicalWidth, LogicalHeight };
169 return logicalSide == LogicalWidth ? properties[1] : properties[0];
232 return resolveToPhysicalProperty(writingMode, LogicalWidth, properties);
240 return resolveToPhysicalProperty(writingMode, LogicalWidth, properties);
248 return resolveToPhysicalProperty(writingMode, LogicalWidth, properties);
  /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 772 milliseconds

1 2 3