OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:shouldIndentText
(Results
1 - 5
of
5
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/
LineWidth.cpp
38
LineWidth::LineWidth(RenderBlockFlow& block, bool isFirstLine, IndentTextOrNot
shouldIndentText
)
48
, m_shouldIndentText(
shouldIndentText
)
57
m_left = m_block.logicalLeftOffsetForLine(height,
shouldIndentText
(), logicalHeight).toFloat();
58
m_right = m_block.logicalRightOffsetForLine(height,
shouldIndentText
(), logicalHeight).toFloat();
83
if (
shouldIndentText
() && m_block.style()->isLeftToRightDirection())
94
if (
shouldIndentText
() && !m_block.style()->isLeftToRightDirection())
122
inline static float availableWidthAtOffset(const RenderBlockFlow& block, const LayoutUnit& offset, bool
shouldIndentText
, float& newLineLeft, float& newLineRight)
124
newLineLeft = block.logicalLeftOffsetForLine(offset,
shouldIndentText
).toFloat();
125
newLineRight = block.logicalRightOffsetForLine(offset,
shouldIndentText
).toFloat();
129
inline static float availableWidthAtOffset(const RenderBlockFlow& block, const LayoutUnit& offset, bool
shouldIndentText
)
[
all
...]
LineWidth.h
47
LineWidth(RenderBlockFlow&, bool isFirstLine, IndentTextOrNot
shouldIndentText
);
71
bool
shouldIndentText
() const { return m_shouldIndentText == IndentText; }
BreakingContextInlineHeaders.h
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderBlockFlow.h
67
LayoutUnit availableLogicalWidthForLine(LayoutUnit position, bool
shouldIndentText
, LayoutUnit logicalHeight = 0) const
69
return max<LayoutUnit>(0, logicalRightOffsetForLine(position,
shouldIndentText
, logicalHeight) - logicalLeftOffsetForLine(position,
shouldIndentText
, logicalHeight));
71
LayoutUnit logicalRightOffsetForLine(LayoutUnit position, bool
shouldIndentText
, LayoutUnit logicalHeight = 0) const
73
return logicalRightOffsetForLine(position, logicalRightOffsetForContent(),
shouldIndentText
, logicalHeight);
75
LayoutUnit logicalLeftOffsetForLine(LayoutUnit position, bool
shouldIndentText
, LayoutUnit logicalHeight = 0) const
77
return logicalLeftOffsetForLine(position, logicalLeftOffsetForContent(),
shouldIndentText
, logicalHeight);
79
LayoutUnit startOffsetForLine(LayoutUnit position, bool
shouldIndentText
, LayoutUnit logicalHeight = 0) const
81
return style()->isLeftToRightDirection() ? logicalLeftOffsetForLine(position,
shouldIndentText
, logicalHeight)
82
: logicalWidth() - logicalRightOffsetForLine(position,
shouldIndentText
, logicalHeight)
[
all
...]
RenderBlockLineLayout.cpp
537
static void updateLogicalInlinePositions(RenderBlockFlow* block, float& lineLogicalLeft, float& lineLogicalRight, float& availableLogicalWidth, bool firstLine, IndentTextOrNot
shouldIndentText
, LayoutUnit boxLogicalHeight)
540
lineLogicalLeft = block->logicalLeftOffsetForLine(block->logicalHeight(),
shouldIndentText
== IndentText, lineLogicalHeight).toFloat();
541
lineLogicalRight = block->logicalRightOffsetForLine(block->logicalHeight(),
shouldIndentText
== IndentText, lineLogicalHeight).toFloat();
556
IndentTextOrNot
shouldIndentText
= requiresIndent(isFirstLine, isAfterHardLineBreak, style());
560
updateLogicalInlinePositions(this, lineLogicalLeft, lineLogicalRight, availableLogicalWidth, isFirstLine,
shouldIndentText
, 0);
565
updateLogicalInlinePositions(this, lineLogicalLeft, lineLogicalRight, availableLogicalWidth, isFirstLine,
shouldIndentText
, renderBox->logicalHeight());
[
all
...]
Completed in 126 milliseconds