/frameworks/base/core/java/android/view/ |
DisplayInfo.java | 109 public int logicalHeight; 222 && logicalHeight == other.logicalHeight 252 logicalHeight = other.logicalHeight; 277 logicalHeight = source.readInt(); 303 dest.writeInt(logicalHeight); 325 getMetricsWithSize(outMetrics, cih, logicalWidth, logicalHeight); 330 logicalWidth : logicalHeight; 335 logicalHeight : logicalWidth [all...] |
/external/webkit/Source/WebCore/rendering/ |
RenderTableSection.cpp | 54 row->logicalHeight = row->rowRenderer->style()->logicalHeight(); 55 if (row->logicalHeight.isRelative()) 56 row->logicalHeight = Length(); 182 m_grid[r].logicalHeight = Length(); 207 Length logicalHeight = cell->style()->logicalHeight(); 208 if (logicalHeight.isPositive() || (logicalHeight.isRelative() && logicalHeight.value() >= 0)) [all...] |
RenderReplaced.cpp | 225 int logicalHeight; 226 if (lengthIsSpecified(style()->logicalHeight())) 227 logicalHeight = computeReplacedLogicalHeightUsing(style()->logicalHeight()); 229 logicalHeight = calcAspectRatioLogicalHeight(); 231 logicalHeight = intrinsicLogicalHeight(); 234 int maxLogicalHeight = style()->logicalMaxHeight().isUndefined() ? logicalHeight : computeReplacedLogicalHeightUsing(style()->logicalMaxHeight()); 236 return max(minLogicalHeight, min(logicalHeight, maxLogicalHeight));
|
RenderImage.cpp | 467 switch (style()->logicalHeight().type()) { 519 int logicalHeight; 521 logicalHeight = computeReplacedLogicalHeightUsing(style()->logicalHeight()); 524 logicalHeight = style()->isHorizontalWritingMode() ? size.height() : size.width(); 526 logicalHeight = 0; // If the image is relatively-sized, set the height to 0 until there is a set container size. 528 logicalHeight = calcAspectRatioLogicalHeight(); 531 int maxLogicalHeight = style()->logicalMaxHeight().isUndefined() ? logicalHeight : computeReplacedLogicalHeightUsing(style()->logicalMaxHeight()); 534 logicalHeight = max(minLogicalHeight, min(logicalHeight, maxLogicalHeight)) [all...] |
InlineBox.h | 232 float width() const { return isHorizontal() ? logicalWidth() : logicalHeight(); } 233 float height() const { return isHorizontal() ? logicalHeight() : logicalWidth(); } 250 int logicalBottom() const { return logicalTop() + logicalHeight(); } 264 int logicalHeight() const; 266 FloatRect logicalFrameRect() const { return isHorizontal() ? IntRect(m_x, m_y, m_logicalWidth, logicalHeight()) : IntRect(m_y, m_x, m_logicalWidth, logicalHeight()); }
|
RenderTableSection.h | 52 int layoutRows(int logicalHeight); 82 Length logicalHeight;
|
RenderTable.cpp | 277 m_caption->setLogicalLocation(m_caption->marginStart(), logicalHeight()); 281 setLogicalHeight(logicalHeight() + m_caption->logicalHeight() + m_caption->marginBefore() + m_caption->marginAfter()); 350 int oldTableLogicalTop = m_caption ? m_caption->logicalHeight() + m_caption->marginBefore() + m_caption->marginAfter() : 0; 391 if (logicalHeight() != oldTableLogicalTop) { 393 movedSectionLogicalTop = min(logicalHeight(), oldTableLogicalTop); 400 setLogicalHeight(logicalHeight() + borderAndPaddingBefore); 405 Length logicalHeightLength = style()->logicalHeight(); 423 setLogicalHeight(logicalHeight() + computedLogicalHeight); 433 if (!sectionMoved && section->logicalTop() != logicalHeight()) { [all...] |
RenderInline.cpp | 503 int logicalHeight = container->style(rootBox->isFirstLineStyle())->font().fontMetrics().height(); 506 result = FloatRect(offset.width() + currBox->inlineBoxWrapper()->x() - currBox->marginLeft(), offset.height() + logicalTop, currBox->width() + currBox->marginLeft() + currBox->marginRight(), logicalHeight); 508 result = FloatRect(offset.width() + logicalTop, offset.height() + currBox->inlineBoxWrapper()->y() - currBox->marginTop(), logicalHeight, currBox->height() + currBox->marginTop() + currBox->marginBottom()); 520 int logicalHeight = container->style(rootBox->isFirstLineStyle())->font().fontMetrics().height(); 526 logicalHeight); 530 logicalHeight, 540 int logicalHeight = container->style(rootBox->isFirstLineStyle())->font().fontMetrics().height(); 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()); 587 int logicalHeight = container->style(rootBox->isFirstLineStyle())->font().fontMetrics().height() [all...] |
RenderBlockLineLayout.cpp | 432 float logicalLeft = logicalLeftOffsetForLine(logicalHeight(), firstLine); 433 float availableLogicalWidth = logicalRightOffsetForLine(logicalHeight(), firstLine) - logicalLeft; 613 setLogicalHeight(lineBox->alignBoxesInBlockDirection(logicalHeight(), textBoxDataMap, verticalPositionCache)); 614 lineBox->setBlockLogicalHeight(logicalHeight()); 625 r->m_box->setLogicalTop(logicalHeight()); 656 int blockHeight = block->logicalHeight(); [all...] |
InlineFlowBox.cpp | 616 int boxHeight = curr->logicalHeight(); 651 int bottomRubyBaseLeading = (curr->logicalHeight() - rubyBase->logicalBottom()) + rubyBase->logicalHeight() - (rubyBase->lastRootBox() ? rubyBase->lastRootBox()->lineBottom() : 0); 697 lineBottom = max(lineBottom, logicalTop() + logicalHeight()); 709 setLogicalTop(lineBottom - (logicalTop() - lineTop) - logicalHeight()); [all...] |
RenderBox.cpp | 219 if (style() && (style()->logicalHeight().isPercent() || style()->logicalMinHeight().isPercent() || style()->logicalMaxHeight().isPercent())) 303 if (oldStyle && (oldStyle->logicalHeight().isPercent() || oldStyle->logicalMinHeight().isPercent() || oldStyle->logicalMaxHeight().isPercent())) [all...] |
RenderBlock.cpp | 108 (block->style()->logicalHeight().isAuto() && block->style()->logicalHeight().value() == 0) && block->style()->marginAfterCollapse() != MSEPARATE; [all...] |
RenderDetailsMarker.cpp | 116 result.transform(AffineTransform().scale(logicalHeight()));
|
RenderTableRow.cpp | 58 if (section() && style() && style()->logicalHeight() != newStyle->logicalHeight())
|
RenderBlock.h | 125 RenderObject* selObj, int logicalLeft, int logicalTop, int logicalHeight, const PaintInfo*); 127 RenderObject* selObj, int logicalRight, int logicalTop, int logicalHeight, const PaintInfo*); 461 void setLogicalHeightForFloat(FloatingObject* child, int logicalHeight) 464 child->setHeight(logicalHeight); 466 child->setWidth(logicalHeight); 544 bool hasOverhangingFloats() { return parent() && !hasColumns() && containsFloats() && lowestFloatLogicalBottom() > logicalHeight(); } [all...] |
RenderRubyRun.cpp | 235 int lastLineRubyTextBottom = rt->logicalHeight(); 255 int lastLineBottom = logicalHeight();
|
RenderBox.h | 60 int logicalBottom() const { return logicalTop() + logicalHeight(); } 62 int logicalHeight() const { return style()->isHorizontalWritingMode() ? height() : width(); } 289 return document()->inQuirksMode() && style()->logicalHeight().isAuto() && !isFloatingOrPositioned() && (isRoot() || isBody()); 448 void computePositionedLogicalHeightUsing(Length logicalHeight, const RenderBoxModelObject* containerBlock,
|
InlineTextBox.cpp | 519 ty -= styleToUse->isHorizontalWritingMode() ? 0 : logicalHeight(); 523 FloatRect boxRect(boxOrigin, IntSize(logicalWidth(), logicalHeight())); [all...] |
RenderText.cpp | 329 IntRect r = IntRect(box->x(), box->y(), box->logicalWidth(), box->logicalHeight()); 345 r.setHeight(box->logicalHeight()); 438 r.setHeight(box->logicalHeight()); 441 r.setWidth(box->logicalHeight()); [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/ |
WindowManagerImpl.java | 33 info.logicalHeight = mMetrics.heightPixels;
|
/frameworks/base/services/java/com/android/server/display/ |
LogicalDisplay.java | 211 mBaseDisplayInfo.logicalHeight = deviceInfo.height; 255 mTempLayerStackRect.set(0, 0, displayInfo.logicalWidth, displayInfo.logicalHeight); 281 // or physHeight / displayInfo.logicalHeight => pillar box 287 if (physWidth * displayInfo.logicalHeight 291 displayRectHeight = displayInfo.logicalHeight * physWidth / displayInfo.logicalWidth; 294 displayRectWidth = displayInfo.logicalWidth * physHeight / displayInfo.logicalHeight;
|
OverlayDisplayWindow.java | 217 0 : mDefaultDisplayInfo.logicalHeight; 224 scale = Math.min(scale, (float)mDefaultDisplayInfo.logicalHeight / mHeight); 233 y = Math.max(0, Math.min(y, mDefaultDisplayInfo.logicalHeight - height));
|
/external/webkit/Source/WebCore/css/ |
CSSProperty.cpp | 148 enum LogicalExtent { LogicalWidth, LogicalHeight }; 262 return resolveToPhysicalProperty(writingMode, LogicalHeight, properties); 270 return resolveToPhysicalProperty(writingMode, LogicalHeight, properties); 278 return resolveToPhysicalProperty(writingMode, LogicalHeight, properties);
|
/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 | 114 pw.print("x"); pw.print(mDisplayInfo.logicalHeight);
|