OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:viewSize
(Results
1 - 10
of
10
) sorted by null
/external/chromium_org/third_party/WebKit/Source/web/
PageScaleConstraintsSet.h
51
void updatePageDefinedConstraints(const WebCore::ViewportDescription&, WebCore::IntSize
viewSize
);
52
void adjustForAndroidWebViewQuirks(const WebCore::ViewportDescription&, WebCore::IntSize
viewSize
, int layoutFallbackWidth, float deviceScaleFactor, bool supportTargetDensityDPI, bool wideViewportQuirkEnabled, bool useWideViewport, bool loadWithOverviewMode, bool nonUserScalableQuirkEnabled);
63
void adjustFinalConstraintsToContentsSize(WebCore::IntSize
viewSize
, WebCore::IntSize contentsSize, int nonOverlayScrollbarWidth);
PageScaleConstraintsSet.cpp
56
void PageScaleConstraintsSet::updatePageDefinedConstraints(const ViewportDescription& description, IntSize
viewSize
)
58
m_pageDefinedConstraints = description.resolve(
viewSize
);
84
void PageScaleConstraintsSet::adjustFinalConstraintsToContentsSize(IntSize
viewSize
, IntSize contentsSize, int nonOverlayScrollbarWidth)
86
m_finalConstraints.fitToContentsWidth(contentsSize.width(),
viewSize
.width() - nonOverlayScrollbarWidth);
137
void PageScaleConstraintsSet::adjustForAndroidWebViewQuirks(const ViewportDescription& description, IntSize
viewSize
, int layoutFallbackWidth, float deviceScaleFactor, bool supportTargetDensityDPI, bool wideViewportQuirkEnabled, bool useWideViewport, bool loadWithOverviewMode, bool nonUserScalableQuirkEnabled)
176
adjustedLayoutSizeHeight = computeHeightByAspectRatio(adjustedLayoutSizeWidth,
viewSize
);
179
adjustedLayoutSizeWidth = getLayoutWidthForNonWideViewport(
viewSize
, nonWideScale) / targetDensityDPIFactor;
185
adjustedLayoutSizeHeight = computeHeightByAspectRatio(adjustedLayoutSizeWidth,
viewSize
);
201
adjustedLayoutSizeWidth =
viewSize
.width() / targetDensityDPIFactor;
202
adjustedLayoutSizeHeight = computeHeightByAspectRatio(adjustedLayoutSizeWidth,
viewSize
);
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
SwipeHelper.java
147
float
viewSize
= getSize(view);
148
final float fadeSize = ALPHA_FADE_END *
viewSize
;
151
if (pos >=
viewSize
* ALPHA_FADE_START) {
152
result = 1.0f - (pos -
viewSize
* ALPHA_FADE_START) / fadeSize;
153
} else if (pos <
viewSize
* (1.0f - ALPHA_FADE_START)) {
154
result = 1.0f + (
viewSize
* ALPHA_FADE_START + pos) / fadeSize;
161
float
viewSize
= getSize(view);
162
final float fadeSize = ALPHA_TEXT_FADE_START *
viewSize
;
/sdk/testapps/gridlayoutTest/v7-gridlayout/libs/
android-support-v7-gridlayout.jar
/frameworks/base/packages/SystemUI/src/com/android/systemui/
SwipeHelper.java
144
float
viewSize
= getSize(view);
145
final float fadeSize = ALPHA_FADE_END *
viewSize
;
148
if (pos >=
viewSize
* ALPHA_FADE_START) {
149
result = 1.0f - (pos -
viewSize
* ALPHA_FADE_START) / fadeSize;
150
} else if (pos <
viewSize
* (1.0f - ALPHA_FADE_START)) {
151
result = 1.0f + (
viewSize
* ALPHA_FADE_START + pos) / fadeSize;
/packages/apps/Dialer/src/com/android/dialer/list/
SwipeHelper.java
173
float
viewSize
= getSize(view);
174
final float fadeSize = ALPHA_FADE_END *
viewSize
;
177
if (pos >=
viewSize
* ALPHA_FADE_START) {
178
result = mStartAlpha - (pos -
viewSize
* ALPHA_FADE_START) / fadeSize;
179
} else if (pos <
viewSize
* (mStartAlpha - ALPHA_FADE_START)) {
180
result = mStartAlpha + (
viewSize
* ALPHA_FADE_START + pos) / fadeSize;
/external/chromium_org/third_party/WebKit/Source/core/page/
SpatialNavigation.cpp
45
static RectsAlignment alignmentForRects(FocusDirection, const LayoutRect&, const LayoutRect&, const LayoutSize&
viewSize
);
48
static bool areRectsMoreThanFullScreenApart(FocusDirection, const LayoutRect& curRect, const LayoutRect& targetRect, const LayoutSize&
viewSize
);
95
static RectsAlignment alignmentForRects(FocusDirection direction, const LayoutRect& curRect, const LayoutRect& targetRect, const LayoutSize&
viewSize
)
98
if (areRectsMoreThanFullScreenApart(direction, curRect, targetRect,
viewSize
))
238
static bool areRectsMoreThanFullScreenApart(FocusDirection direction, const LayoutRect& curRect, const LayoutRect& targetRect, const LayoutSize&
viewSize
)
244
return curRect.x() - targetRect.maxX() >
viewSize
.width();
246
return targetRect.x() - curRect.maxX() >
viewSize
.width();
248
return curRect.y() - targetRect.maxY() >
viewSize
.height();
250
return targetRect.y() - curRect.maxY() >
viewSize
.height();
673
LayoutSize
viewSize
= candidate.visibleNode->document().page()->mainFrame()->view()->visibleContentRect().size()
[
all
...]
/frameworks/base/core/java/android/widget/
GridLayout.java
[
all
...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
GridLayout.java
[
all
...]
/external/chromium_org/third_party/WebKit/Source/testing/runner/
WebTestProxy.cpp
533
WebSize
viewSize
= webWidget()->size();
534
int width =
viewSize
.width;
535
int height =
viewSize
.height;
[
all
...]
Completed in 364 milliseconds