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

1 2

  /external/webkit/Source/WebCore/rendering/
RenderRubyText.cpp 64 void RenderRubyText::adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const
68 return RenderBlock::adjustInlineDirectionLineBounds(expansionOpportunityCount, logicalLeft, logicalWidth);
71 if (maxPreferredLogicalWidth >= logicalWidth)
76 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1);
81 logicalWidth -= inset;
RenderRubyText.h 51 virtual void adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const;
AutoTableLayout.cpp 91 if (cellLogicalWidth.value() > 0 && columnLayout.logicalWidth.type() != Percent) {
92 int logicalWidth = cell->computeBorderBoxLogicalWidth(cellLogicalWidth.value());
93 if (columnLayout.logicalWidth.isFixed()) {
95 if ((logicalWidth > columnLayout.logicalWidth.value()) ||
96 ((columnLayout.logicalWidth.value() == logicalWidth) && (maxContributor == cell))) {
97 columnLayout.logicalWidth.setValue(logicalWidth);
101 columnLayout.logicalWidth.setValue(Fixed, logicalWidth)
    [all...]
AutoTableLayout.h 60 Length logicalWidth;
RenderRubyBase.h 53 virtual void adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const;
RenderImage.cpp 451 switch (style()->logicalWidth().type()) {
489 int logicalWidth;
491 logicalWidth = computeReplacedLogicalWidthUsing(style()->logicalWidth());
494 logicalWidth = style()->isHorizontalWritingMode() ? size.width() : size.height();
496 logicalWidth = 0; // If the image is relatively-sized, set the width to 0 until there is a set container size.
498 logicalWidth = calcAspectRatioLogicalWidth();
501 int maxLogicalWidth = !includeMaxWidth || style()->logicalMaxWidth().isUndefined() ? logicalWidth : computeReplacedLogicalWidthUsing(style()->logicalMaxWidth());
504 logicalWidth = max(minLogicalWidth, min(logicalWidth, maxLogicalWidth))
    [all...]
RenderRubyBase.cpp 202 void RenderRubyBase::adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const
205 if (maxPreferredLogicalWidth >= logicalWidth)
209 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1);
212 logicalWidth -= inset;
FixedTableLayout.cpp 95 grpWidth = col->style()->logicalWidth();
97 Length w = col->style()->logicalWidth();
205 int tableLogicalWidth = m_table->style()->logicalWidth().isFixed() ? m_table->style()->logicalWidth().value() - bordersPaddingAndSpacing : 0;
225 if (m_table->document()->inQuirksMode() && m_table->style()->logicalWidth().isPercent() && maxWidth < TABLE_MAX_WIDTH)
231 int tableLogicalWidth = m_table->logicalWidth() - m_table->bordersPaddingAndSpacingInRowDirection();
InlineBox.h 72 InlineBox(RenderObject* obj, float x, float y, float logicalWidth, bool firstLine, bool constructed,
80 , m_logicalWidth(logicalWidth)
232 float width() const { return isHorizontal() ? logicalWidth() : logicalHeight(); }
233 float height() const { return isHorizontal() ? logicalHeight() : logicalWidth(); }
237 float logicalRight() const { return logicalLeft() + logicalWidth(); }
261 float logicalWidth() const { return m_logicalWidth; }
RenderReplaced.cpp 209 int logicalWidth;
211 logicalWidth = computeReplacedLogicalWidthUsing(style()->logicalWidth());
213 logicalWidth = calcAspectRatioLogicalWidth();
215 logicalWidth = intrinsicLogicalWidth();
218 int maxLogicalWidth = !includeMaxWidth || style()->logicalMaxWidth().isUndefined() ? logicalWidth : computeReplacedLogicalWidthUsing(style()->logicalMaxWidth());
220 return max(minLogicalWidth, min(logicalWidth, maxLogicalWidth));
305 if (lineDirectionPosition <= box->logicalLeft() + (box->logicalWidth() / 2))
RenderFieldset.cpp 79 logicalLeft = (logicalWidth() - logicalWidthForChild(legend)) / 2;
82 logicalLeft = logicalWidth() - borderEnd() - paddingEnd() - logicalWidthForChild(legend);
96 int centeredWidth = logicalWidth() - logicalWidthForChild(legend);
101 logicalLeft = logicalWidth() - borderStart() - paddingStart() - marginStartForChild(legend) - logicalWidthForChild(legend);
RenderRubyRun.cpp 287 int logicalWidth = this->logicalWidth();
295 logicalRightOverhang = min<int>(logicalRightOverhang, logicalWidth - rootInlineBox->logicalRight());
RenderBox.cpp     [all...]
RenderListItem.cpp 304 if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalVisualOverflowRect.maxX() && !hitSelfPaintingLayer) {
305 newLogicalVisualOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalVisualOverflowRect.x());
309 if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalLayoutOverflowRect.maxX()) {
310 newLogicalLayoutOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalLayoutOverflowRect.x());
RenderInline.cpp 525 childLine->logicalWidth() + childLine->marginLogicalLeft() + childLine->marginLogicalRight(),
531 childLine->logicalWidth() + childLine->marginLogicalLeft() + childLine->marginLogicalRight());
543 result = FloatRect(offset.width() + childText->x(), offset.height() + logicalTop, childText->logicalWidth(), logicalHeight);
545 result = FloatRect(offset.width() + logicalTop, offset.height() + childText->y(), logicalHeight, childText->logicalWidth());
609 childLine->logicalWidth() + childLine->marginLogicalLeft() + childLine->marginLogicalRight(),
615 childLine->logicalWidth() + childLine->marginLogicalLeft() + childLine->marginLogicalRight());
627 result = FloatRect(childText->x(), logicalTop, childText->logicalWidth(), logicalHeight);
629 result = FloatRect(logicalTop, childText->y(), logicalHeight, childText->logicalWidth());
    [all...]
InlineFlowBox.cpp 365 logicalLeft += text->logicalWidth();
376 curr->setLogicalLeft(root()->block()->logicalWidth() - logicalLeft);
398 logicalLeft += curr->logicalWidth();
    [all...]
RenderTable.cpp 94 if (style()->tableLayout() == TFIXED && !style()->logicalWidth().isAuto())
234 LengthType logicalWidthType = style()->logicalWidth().type();
235 if (logicalWidthType > Relative && style()->logicalWidth().isPositive()) {
237 setLogicalWidth(style()->logicalWidth().calcMinValue(containerWidthInInlineDirection));
238 setLogicalWidth(max(minPreferredLogicalWidth(), logicalWidth()));
254 setLogicalWidth(max(logicalWidth(), minPreferredLogicalWidth()));
265 computeInlineDirectionMargins(cb, availableLogicalWidth, logicalWidth());
305 int oldLogicalWidth = logicalWidth();
337 if (m_caption && logicalWidth() != oldLogicalWidth)
    [all...]
RootInlineBox.cpp 94 if (logicalWidth() - delta < ellipsisWidth)
107 ellipsisWidth - (markupBox ? markupBox->logicalWidth() : 0), logicalHeight(),
116 if (ltr && (x() + logicalWidth() + ellipsisWidth) <= blockRightEdge) {
117 ellipsisBox->m_x = x() + logicalWidth();
155 FloatRect rootRect(0, selectionTop(), logicalWidth(), selectionHeight());
173 FloatRect rootRect(tx + x(), ty + selectionTop(), logicalWidth(), selectionHeight());
    [all...]
  /frameworks/base/core/java/android/view/
DisplayInfo.java 102 public int logicalWidth;
221 && logicalWidth == other.logicalWidth
251 logicalWidth = other.logicalWidth;
276 logicalWidth = source.readInt();
302 dest.writeInt(logicalWidth);
325 getMetricsWithSize(outMetrics, cih, logicalWidth, logicalHeight);
330 logicalWidth : logicalHeight;
335 logicalHeight : logicalWidth;
    [all...]
Display.java 413 return Math.max(mDisplayInfo.logicalWidth, mDisplayInfo.logicalHeight);
544 outSize.x = mDisplayInfo.logicalWidth;
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/
WindowManagerImpl.java 34 info.logicalWidth = mMetrics.widthPixels;
  /frameworks/base/services/java/com/android/server/display/
LogicalDisplay.java 210 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 215 0 : mDefaultDisplayInfo.logicalWidth;
223 scale = Math.min(scale, (float)mDefaultDisplayInfo.logicalWidth / mWidth);
232 x = Math.max(0, Math.min(x, mDefaultDisplayInfo.logicalWidth - width));
  /external/webkit/Source/WebCore/rendering/svg/
RenderSVGInline.cpp 93 quads.append(localToAbsoluteQuad(FloatRect(textBoundingBox.x() + box->x(), textBoundingBox.y() + box->y(), box->logicalWidth(), box->logicalHeight())));
  /frameworks/base/services/java/com/android/server/wm/
DisplayContent.java 113 pw.print(mDisplayInfo.logicalWidth);

Completed in 249 milliseconds

1 2