HomeSort by relevance Sort by last modified time
    Searched refs:viewSize (Results 1 - 10 of 10) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/page/
PageScaleConstraintsSet.h 51 void updatePageDefinedConstraints(const ViewportArguments&, IntSize viewSize, int layoutFallbackWidth);
52 void adjustForAndroidWebViewQuirks(const ViewportArguments&, IntSize viewSize, int layoutFallbackWidth, float deviceScaleFactor, bool supportTargetDensityDPI, bool wideViewportQuirkEnabled, bool useWideViewport, bool loadWithOverviewMode);
63 void adjustFinalConstraintsToContentsSize(IntSize viewSize, IntSize contentsSize, int nonOverlayScrollbarWidth);
PageScaleConstraintsSet.cpp 52 void PageScaleConstraintsSet::updatePageDefinedConstraints(const ViewportArguments& arguments, IntSize viewSize, int layoutFallbackWidth)
54 m_pageDefinedConstraints = arguments.resolve(viewSize, viewSize, layoutFallbackWidth);
80 void PageScaleConstraintsSet::adjustFinalConstraintsToContentsSize(IntSize viewSize, IntSize contentsSize, int nonOverlayScrollbarWidth)
82 m_finalConstraints.fitToContentsWidth(contentsSize.width(), viewSize.width() - nonOverlayScrollbarWidth);
133 void PageScaleConstraintsSet::adjustForAndroidWebViewQuirks(const ViewportArguments& arguments, IntSize viewSize, int layoutFallbackWidth, float deviceScaleFactor, bool supportTargetDensityDPI, bool wideViewportQuirkEnabled, bool useWideViewport, bool loadWithOverviewMode)
180 adjustedLayoutSizeHeight = computeHeightByAspectRatio(adjustedLayoutSizeWidth, viewSize);
183 adjustedLayoutSizeWidth = getLayoutWidthForNonWideViewport(viewSize, nonWideScale) / targetDensityDPIFactor;
184 adjustedLayoutSizeHeight = computeHeightByAspectRatio(adjustedLayoutSizeWidth, viewSize);
SpatialNavigation.cpp 46 static RectsAlignment alignmentForRects(FocusDirection, const LayoutRect&, const LayoutRect&, const LayoutSize& viewSize);
49 static bool areRectsMoreThanFullScreenApart(FocusDirection, const LayoutRect& curRect, const LayoutRect& targetRect, const LayoutSize& viewSize);
96 static RectsAlignment alignmentForRects(FocusDirection direction, const LayoutRect& curRect, const LayoutRect& targetRect, const LayoutSize& viewSize)
99 if (areRectsMoreThanFullScreenApart(direction, curRect, targetRect, viewSize))
239 static bool areRectsMoreThanFullScreenApart(FocusDirection direction, const LayoutRect& curRect, const LayoutRect& targetRect, const LayoutSize& viewSize)
245 return curRect.x() - targetRect.maxX() > viewSize.width();
247 return targetRect.x() - curRect.maxX() > viewSize.width();
249 return curRect.y() - targetRect.maxY() > viewSize.height();
251 return targetRect.y() - curRect.maxY() > viewSize.height();
674 LayoutSize viewSize = candidate.visibleNode->document()->page()->mainFrame()->view()->visibleContentRect().size()
    [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;
  /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 570 WebSize viewSize = webWidget()->size();
571 int width = viewSize.width;
572 int height = viewSize.height;
    [all...]

Completed in 420 milliseconds