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

1 2 3

  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderRubyText.cpp 63 void RenderRubyText::adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const
68 return RenderBlockFlow::adjustInlineDirectionLineBounds(expansionOpportunityCount, logicalLeft, logicalWidth);
71 if (maxPreferredLogicalWidth >= logicalWidth)
76 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1);
81 logicalWidth -= inset;
AutoTableLayout.cpp 98 if (cellLogicalWidth.isPositive() && !columnLayout.logicalWidth.isPercent()) {
99 int logicalWidth = cell->adjustBorderBoxLogicalWidthForBoxSizing(cellLogicalWidth.value());
100 if (columnLayout.logicalWidth.isFixed()) {
102 if ((logicalWidth > columnLayout.logicalWidth.value())
103 || ((columnLayout.logicalWidth.value() == logicalWidth) && (maxContributor == cell))) {
104 columnLayout.logicalWidth.setValue(Fixed, logicalWidth);
108 columnLayout.logicalWidth.setValue(Fixed, logicalWidth)
    [all...]
RenderRubyText.h 53 virtual void adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const OVERRIDE;
FixedTableLayout.cpp 100 Length colStyleLogicalWidth = col->style()->logicalWidth();
140 Length logicalWidth = cell->styleOrColLogicalWidth();
143 if (logicalWidth.isCalculated())
144 logicalWidth = Length(); // Make it Auto
150 if (logicalWidth.isFixed() && logicalWidth.isPositive()) {
151 fixedBorderBoxLogicalWidth = cell->adjustBorderBoxLogicalWidthForBoxSizing(logicalWidth.value());
152 logicalWidth.setValue(fixedBorderBoxLogicalWidth);
159 if (m_width[currentColumn].isAuto() && logicalWidth.type() != Auto) {
160 m_width[currentColumn] = logicalWidth;
    [all...]
RenderRubyBase.cpp 136 void RenderRubyBase::adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const
139 if (maxPreferredLogicalWidth >= logicalWidth)
143 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1);
146 logicalWidth -= inset;
RenderTableCaption.cpp 39 return cb->logicalWidth();
RenderRubyBase.h 56 virtual void adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const OVERRIDE;
AutoTableLayout.h 63 Length logicalWidth;
RenderReplaced.cpp 235 return hasRelativeLogicalHeight() && style()->logicalWidth().isAuto() && !hasAutoHeightOrContainingBlockWithAutoHeight();
279 if (intrinsicRatio && !intrinsicSize.isEmpty() && style()->logicalWidth().isAuto() && style()->logicalHeight().isAuto()) {
340 if (style()->logicalWidth().isSpecified() || style()->logicalWidth().isIntrinsic())
341 return computeReplacedLogicalWidthRespectingMinMaxWidth(computeReplacedLogicalWidthUsing(style()->logicalWidth()), shouldComputePreferred);
350 if (style()->logicalWidth().isAuto()) {
376 LayoutUnit logicalWidth = containingBlock()->availableLogicalWidth();
378 // This solves above equation for 'width' (== logicalWidth).
379 LayoutUnit marginStart = minimumValueForLength(style()->marginStart(), logicalWidth);
380 LayoutUnit marginEnd = minimumValueForLength(style()->marginEnd(), logicalWidth);
    [all...]
RenderTextControl.cpp 108 LayoutUnit unitWidth = logicalWidth() - borderAndPaddingLogicalWidth();
251 if (!style()->logicalWidth().isPercent())
263 if (styleToUse->logicalWidth().isFixed() && styleToUse->logicalWidth().value() >= 0)
264 m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalWidth().value());
InlineBox.h 53 InlineBox(RenderObject& obj, FloatPoint topLeft, float logicalWidth, bool firstLine, bool constructed,
60 , m_logicalWidth(logicalWidth)
204 float width() const { return isHorizontal() ? logicalWidth() : hasVirtualLogicalHeight() ? virtualLogicalHeight() : logicalHeight(); }
205 float height() const { return isHorizontal() ? hasVirtualLogicalHeight() ? virtualLogicalHeight() : logicalHeight() : logicalWidth(); }
212 float logicalRight() const { return logicalLeft() + logicalWidth(); }
238 float logicalWidth() const { return m_logicalWidth; }
RenderFieldset.cpp 78 logicalLeft = (logicalWidth() - logicalWidthForChild(legend)) / 2;
81 logicalLeft = logicalWidth() - borderEnd() - paddingEnd() - logicalWidthForChild(legend);
95 LayoutUnit centeredWidth = logicalWidth() - logicalWidthForChild(legend);
100 logicalLeft = logicalWidth() - borderStart() - paddingStart() - marginStartForChild(legend) - logicalWidthForChild(legend);
RenderRubyRun.cpp 274 int logicalWidth = this->logicalWidth();
279 logicalRightOverhang = std::min<int>(logicalRightOverhang, logicalWidth - rootInlineBox->logicalRight());
RenderListItem.cpp 392 if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalVisualOverflowRect.maxX() && !hitSelfPaintingLayer) {
393 newLogicalVisualOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalVisualOverflowRect.x());
397 if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalLayoutOverflowRect.maxX()) {
398 newLogicalLayoutOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalLayoutOverflowRect.x());
RenderMultiColumnSet.h 61 virtual LayoutUnit pageLogicalWidth() const OVERRIDE FINAL { return flowThread()->logicalWidth(); }
RenderBox.cpp 523 LayoutUnit RenderBox::constrainLogicalWidthByMinMax(LayoutUnit logicalWidth, LayoutUnit availableWidth, RenderBlock* cb) const
527 logicalWidth = std::min(logicalWidth, computeLogicalWidthUsing(MaxSize, styleToUse->logicalMaxWidth(), availableWidth, cb));
528 return std::max(logicalWidth, computeLogicalWidthUsing(MinSize, styleToUse->logicalMinWidth(), availableWidth, cb));
    [all...]
RenderBlockFlow.h 82 : logicalWidth() - logicalRightOffsetForLine(position, shouldIndentText, logicalHeight);
87 : logicalWidth() - logicalRightOffsetForLine(position, shouldIndentText, logicalHeight);
151 void setLogicalWidthForFloat(FloatingObject* floatingObject, LayoutUnit logicalWidth)
154 floatingObject->setWidth(logicalWidth);
156 floatingObject->setHeight(logicalWidth);
InlineTextBox.cpp 232 LayoutUnit logicalWidth = r.width();
234 logicalWidth = 0;
236 logicalWidth = logicalRight() - r.x();
239 LayoutUnit width = isHorizontal() ? logicalWidth : selHeight;
240 LayoutUnit height = isHorizontal() ? selHeight : logicalWidth;
281 bool rtlFullTruncation = !flowIsLTR && ellipsisX >= logicalLeft() + logicalWidth();
331 truncatedWidth += logicalWidth();
438 FloatRect boxRect(boxOrigin, LayoutSize(logicalWidth(), logicalHeight()));
    [all...]
  /frameworks/base/core/java/android/view/
DisplayInfo.java 111 public int logicalWidth;
272 && logicalWidth == other.logicalWidth
308 logicalWidth = other.logicalWidth;
340 logicalWidth = source.readInt();
373 dest.writeInt(logicalWidth);
413 getMetricsWithSize(outMetrics, compatInfo, token, logicalWidth, logicalHeight);
418 logicalWidth : logicalHeight;
423 logicalHeight : logicalWidth;
    [all...]
Display.java 520 return Math.max(mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight);
698 outSize.x = mDisplayInfo.logicalWidth;
  /frameworks/base/services/core/java/com/android/server/display/
LogicalDisplay.java 215 mBaseDisplayInfo.logicalWidth = deviceInfo.width;
270 mTempLayerStackRect.set(0, 0, displayInfo.logicalWidth, displayInfo.logicalHeight);
294 // physWidth / displayInfo.logicalWidth => letter box
302 < physHeight * displayInfo.logicalWidth) {
305 displayRectHeight = displayInfo.logicalHeight * physWidth / displayInfo.logicalWidth;
308 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/paint/
InlineFlowBoxPainter.cpp 117 logicalOffsetOnLine += curr->logicalWidth();
120 totalLogicalWidth += curr->logicalWidth();
123 logicalOffsetOnLine += curr->logicalWidth();
126 totalLogicalWidth += curr->logicalWidth();
237 logicalOffsetOnLine += curr->logicalWidth();
240 totalLogicalWidth += curr->logicalWidth();
305 logicalOffsetOnLine += curr->logicalWidth();
308 totalLogicalWidth += curr->logicalWidth();
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGPreserveAspectRatio.cpp 293 AffineTransform SVGPreserveAspectRatio::getCTM(float logicalX, float logicalY, float logicalWidth, float logicalHeight, float physicalWidth, float physicalHeight) const
295 ASSERT(logicalWidth);
306 double extendedLogicalWidth = logicalWidth;

Completed in 691 milliseconds

1 2 3