OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:isHorizontal
(Results
1 - 25
of
73
) sorted by null
1
2
3
/external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderRegionSet.cpp
56
bool
isHorizontal
= flowThread()->isHorizontalWritingMode();
57
LayoutUnit logicalTopOffset =
isHorizontal
? rect.y() : rect.x();
59
LayoutUnit logicalHeightWithOverflow = (
isHorizontal
? layoutRect.maxY() : layoutRect.maxX()) - logicalTopOffset;
60
setFlowThreadPortionRect(LayoutRect(rect.x(), rect.y(),
isHorizontal
? rect.width() : logicalHeightWithOverflow,
isHorizontal
? logicalHeightWithOverflow : rect.height()));
RenderScrollbar.cpp
180
bool
isHorizontal
= orientation() == HorizontalScrollbar;
181
int oldThickness =
isHorizontal
? height() : width();
186
newThickness =
isHorizontal
? part->height() : part->width();
190
setFrameRect(IntRect(location(), IntSize(
isHorizontal
? width() : newThickness,
isHorizontal
? newThickness : height())));
283
bool
isHorizontal
= orientation() == HorizontalScrollbar;
285
return IntRect(location(), IntSize(
isHorizontal
? partRenderer->pixelSnappedWidth() : width(),
isHorizontal
? height() : partRenderer->pixelSnappedHeight()));
287
return IntRect(
isHorizontal
? x() + width() - partRenderer->pixelSnappedWidth() : x(),
288
isHorizontal
? y() : y() + height() - partRenderer->pixelSnappedHeight()
[
all
...]
InlineBox.h
50
bool dirty, bool extracted, bool
isHorizontal
, InlineBox* next, InlineBox* prev, InlineFlowBox* parent)
57
, m_bitfields(firstLine, constructed, dirty, extracted,
isHorizontal
)
77
if (
isHorizontal
())
84
if (
isHorizontal
())
91
if (
isHorizontal
())
132
bool
isHorizontal
() const { return m_bitfields.
isHorizontal
(); }
133
void setIsHorizontal(bool
isHorizontal
) { m_bitfields.setIsHorizontal(
isHorizontal
); }
200
float width() const { return
isHorizontal
() ? logicalWidth() : hasVirtualLogicalHeight() ? virtualLogicalHeight() : logicalHeight();
[
all
...]
RenderMarquee.cpp
112
bool RenderMarquee::
isHorizontal
() const
119
if (
isHorizontal
()) {
166
if (
isHorizontal
())
239
if (
isHorizontal
() && childrenInline()) {
245
if (!
isHorizontal
() && s->height().isAuto())
277
if (
isHorizontal
())
301
int clientSize = (
isHorizontal
() ? clientWidth() : clientHeight());
303
int currentPos = (
isHorizontal
() ? layer()->scrollableArea()->scrollXOffset() : layer()->scrollableArea()->scrollYOffset());
319
if (
isHorizontal
())
InlineFlowBox.h
131
return
isHorizontal
() ? boxModelObject()->marginLeft() : boxModelObject()->marginTop();
137
return
isHorizontal
() ? boxModelObject()->marginRight() : boxModelObject()->marginBottom();
143
return
isHorizontal
() ? renderer()->style(isFirstLineStyle())->borderLeftWidth() : renderer()->style(isFirstLineStyle())->borderTopWidth();
149
return
isHorizontal
() ? renderer()->style(isFirstLineStyle())->borderRightWidth() : renderer()->style(isFirstLineStyle())->borderBottomWidth();
155
return
isHorizontal
() ? boxModelObject()->paddingLeft() : boxModelObject()->paddingTop();
161
return
isHorizontal
() ? boxModelObject()->paddingRight() : boxModelObject()->paddingBottom();
224
return m_overflow ? (
isHorizontal
() ? m_overflow->layoutOverflowRect().x() : m_overflow->layoutOverflowRect().y()) :
229
return m_overflow ? (
isHorizontal
() ? m_overflow->layoutOverflowRect().maxX() : m_overflow->layoutOverflowRect().maxY()) :
235
return
isHorizontal
() ? m_overflow->layoutOverflowRect().y() : m_overflow->layoutOverflowRect().x();
241
return
isHorizontal
() ? m_overflow->layoutOverflowRect().maxY() : m_overflow->layoutOverflowRect().maxX()
[
all
...]
RenderDeprecatedFlexibleBox.h
62
bool
isHorizontal
() const { return style()->boxOrient() == HORIZONTAL; }
RenderMarquee.h
69
bool
isHorizontal
() const;
EllipsisBox.cpp
44
if (!
isHorizontal
())
49
if (!
isHorizontal
())
73
int shadowX =
isHorizontal
() ? shadow.x() : shadow.y();
74
int shadowY =
isHorizontal
() ? shadow.y() : -shadow.x();
InlineTextBox.cpp
111
return toRenderBoxModelObject(renderer()->parent())->baselinePosition(baselineType, isFirstLineStyle(),
isHorizontal
() ? HorizontalLine : VerticalLine, PositionOnContainingLine);
122
return toRenderBoxModelObject(renderer()->parent())->lineHeight(isFirstLineStyle(),
isHorizontal
() ? HorizontalLine : VerticalLine, PositionOnContainingLine);
230
LayoutPoint topPoint =
isHorizontal
() ? LayoutPoint(r.x(), selTop) : LayoutPoint(selTop, r.x());
231
LayoutUnit width =
isHorizontal
() ? logicalWidth : selHeight;
232
LayoutUnit height =
isHorizontal
() ? selHeight : logicalWidth;
480
LayoutUnit logicalStart = logicalLeftSide + (
isHorizontal
() ? paintOffset.x() : paintOffset.y());
483
LayoutUnit paintEnd =
isHorizontal
() ? paintInfo.rect.maxX() : paintInfo.rect.maxY();
484
LayoutUnit paintStart =
isHorizontal
() ? paintInfo.rect.x() : paintInfo.rect.y();
513
adjustedPaintOffset.move(
isHorizontal
() ? truncationOffset : truncationOffset.transposedSize());
530
bool shouldRotate = !
isHorizontal
() && !combinedText
[
all
...]
InlineFlowBox.cpp
110
child->setIsHorizontal(
isHorizontal
());
417
LayoutUnit logicalLeftMargin =
isHorizontal
() ? curr->boxModelObject()->marginLeft() : curr->boxModelObject()->marginTop();
418
LayoutUnit logicalRightMargin =
isHorizontal
() ? curr->boxModelObject()->marginRight() : curr->boxModelObject()->marginBottom();
438
if (
isHorizontal
())
656
LayoutUnit overSideMargin = curr->
isHorizontal
() ? box->marginTop() : box->marginRight();
657
LayoutUnit underSideMargin = curr->
isHorizontal
() ? box->marginBottom() : box->marginLeft();
[
all
...]
InlineBox.cpp
127
return
isHorizontal
() ? toRenderBox(m_renderer)->height() : toRenderBox(m_renderer)->width();
140
return boxModelObject()->baselinePosition(baselineType, m_bitfields.firstLine(),
isHorizontal
() ? HorizontalLine : VerticalLine, PositionOnContainingLine);
145
return boxModelObject()->lineHeight(m_bitfields.firstLine(),
isHorizontal
() ? HorizontalLine : VerticalLine, PositionOnContainingLine);
FloatingObjects.h
158
bool hasLowestFloatLogicalBottomCached(bool
isHorizontal
, FloatingObject::Type floatType) const;
160
void setCachedLowestFloatLogicalBottom(bool
isHorizontal
, FloatingObject::Type floatType, LayoutUnit value);
RootInlineBox.cpp
106
return boxModelObject()->baselinePosition(baselineType, isFirstLineStyle(),
isHorizontal
() ? HorizontalLine : VerticalLine, PositionOfInteriorLineBoxes);
111
return boxModelObject()->lineHeight(isFirstLineStyle(),
isHorizontal
() ? HorizontalLine : VerticalLine, PositionOfInteriorLineBoxes);
132
x(), y(), !prevRootBox(),
isHorizontal
(), markupBox);
192
LayoutUnit blockDirectionDelta =
isHorizontal
() ? dy : dx; // The block direction delta is a LayoutUnit.
372
LayoutUnit lineGridPaginationOrigin =
isHorizontal
() ? layoutState->lineGridPaginationOrigin().height() : layoutState->lineGridPaginationOrigin().width();
704
if (
isHorizontal
()) {
[
all
...]
/external/chromium_org/third_party/WebKit/Source/web/
PinchViewports.cpp
139
bool
isHorizontal
= orientation == WebScrollbar::Horizontal;
140
GraphicsLayer* scrollbarGraphicsLayer =
isHorizontal
?
142
OwnPtr<WebScrollbarLayer>& webScrollbarLayer =
isHorizontal
?
150
WebCore::ScrollbarOrientation webcoreOrientation =
isHorizontal
? WebCore::HorizontalScrollbar : WebCore::VerticalScrollbar;
158
int xPosition =
isHorizontal
? 0 : m_innerViewportContainerLayer->size().width() - overlayScrollbarThickness;
159
int yPosition =
isHorizontal
? m_innerViewportContainerLayer->size().height() - overlayScrollbarThickness : 0;
160
int width =
isHorizontal
? m_innerViewportContainerLayer->size().width() - overlayScrollbarThickness : overlayScrollbarThickness;
161
int height =
isHorizontal
? overlayScrollbarThickness : m_innerViewportContainerLayer->size().height() - overlayScrollbarThickness;
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
RoundedRect.cpp
99
void RoundedRect::Radii::includeLogicalEdges(const RoundedRect::Radii& edges, bool
isHorizontal
, bool includeLogicalLeftEdge, bool includeLogicalRightEdge)
102
if (
isHorizontal
)
110
if (
isHorizontal
)
118
void RoundedRect::Radii::excludeLogicalEdges(bool
isHorizontal
, bool excludeLogicalLeftEdge, bool excludeLogicalRightEdge)
121
if (
isHorizontal
)
129
if (
isHorizontal
)
164
void RoundedRect::includeLogicalEdges(const Radii& edges, bool
isHorizontal
, bool includeLogicalLeftEdge, bool includeLogicalRightEdge)
166
m_radii.includeLogicalEdges(edges,
isHorizontal
, includeLogicalLeftEdge, includeLogicalRightEdge);
169
void RoundedRect::excludeLogicalEdges(bool
isHorizontal
, bool excludeLogicalLeftEdge, bool excludeLogicalRightEdge)
171
m_radii.excludeLogicalEdges(
isHorizontal
, excludeLogicalLeftEdge, excludeLogicalRightEdge)
[
all
...]
RoundedRect.h
62
void includeLogicalEdges(const Radii& edges, bool
isHorizontal
, bool includeLogicalLeftEdge, bool includeLogicalRightEdge);
63
void excludeLogicalEdges(bool
isHorizontal
, bool excludeLogicalLeftEdge, bool excludeLogicalRightEdge);
99
void includeLogicalEdges(const Radii& edges, bool
isHorizontal
, bool includeLogicalLeftEdge, bool includeLogicalRightEdge);
100
void excludeLogicalEdges(bool
isHorizontal
, bool excludeLogicalLeftEdge, bool excludeLogicalRightEdge);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
SetScrollViewSizeFix.java
56
boolean
isHorizontal
= HORIZONTAL_SCROLL_VIEW.equals(parent.getTagName());
57
String attributeName =
isHorizontal
? ATTR_LAYOUT_WIDTH : ATTR_LAYOUT_HEIGHT;
/external/chromium_org/third_party/skia/src/pathops/
SkOpAngle.h
45
bool
isHorizontal
() const;
/external/skia/src/pathops/
SkOpAngle.h
45
bool
isHorizontal
() const;
/external/chromium_org/third_party/WebKit/Source/core/page/
PrintContext.cpp
105
bool
isHorizontal
= view->style()->isHorizontalWritingMode();
107
int docLogicalHeight =
isHorizontal
? docRect.height() : docRect.width();
108
int pageLogicalHeight =
isHorizontal
? pageHeight : pageWidth;
109
int pageLogicalWidth =
isHorizontal
? pageWidth : pageHeight;
115
if (
isHorizontal
) {
148
if (!
isHorizontal
)
155
if (!
isHorizontal
)
/frameworks/base/core/java/com/android/internal/widget/
SlidingTab.java
496
if (
isHorizontal
()) {
536
mThreshold =
isHorizontal
() ? THRESHOLD : 1.0f - THRESHOLD;
541
mThreshold =
isHorizontal
() ? 1.0f - THRESHOLD : THRESHOLD;
588
float position =
isHorizontal
() ? x : y;
589
float target = mThreshold * (
isHorizontal
() ? getWidth() : getHeight());
591
if (
isHorizontal
()) {
642
if (
isHorizontal
()) {
709
return
isHorizontal
() && y > - TRACKING_MARGIN && y < TRACKING_MARGIN + view.getHeight()
710
|| !
isHorizontal
() && x > -TRACKING_MARGIN && x < TRACKING_MARGIN + view.getWidth();
713
private boolean
isHorizontal
() {
[
all
...]
/external/chromium_org/third_party/WebKit/Source/platform/mac/
NSScrollerImpDetails.h
69
- (BOOL)
isHorizontal
;
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
ScrollbarThemeMacOverlayAPI.mm
61
bool
isHorizontal
= scrollbar->orientation() == HorizontalScrollbar;
62
ScrollbarPainter scrollbarPainter = [NSClassFromString(@"NSScrollerImp") scrollerImpWithStyle:recommendedScrollerStyle() controlSize:(NSControlSize)scrollbar->controlSize() horizontal:
isHorizontal
replacingScrollerImp:nil];
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
MultiPaneChallengeLayout.java
271
} else if (Gravity.
isHorizontal
(lp.gravity)) {
397
final boolean
isHorizontal
= Gravity.
isHorizontal
(gravity);
435
if (adjustPadding &&
isHorizontal
&& !isVertical) {
445
if (adjustPadding &&
isHorizontal
&& !isVertical) {
/cts/tests/tests/view/src/android/view/cts/
GravityTest.java
269
assertFalse(Gravity.
isHorizontal
(-1));
270
assertTrue(Gravity.
isHorizontal
(Gravity.HORIZONTAL_GRAVITY_MASK));
271
assertTrue(Gravity.
isHorizontal
(Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK));
272
assertFalse(Gravity.
isHorizontal
(Gravity.NO_GRAVITY));
Completed in 2859 milliseconds
1
2
3