/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
ViewportTest.java | 52 int viewportWidth = evaluateIntegerValue("document.documentElement.clientWidth"); 53 assertTrue(Math.abs(evaluateIntegerValue("window.innerWidth") - viewportWidth) <= 1); 54 assertTrue(viewportWidth >= 979); 55 assertTrue(viewportWidth <= Math.max(981, metrics.widthPixels / metrics.density + 1));
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
MediaValuesTest.cpp | 19 unsigned viewportWidth; 47 for (unsigned i = 0; testCases[i].viewportWidth; ++i) { 52 testCases[i].viewportWidth,
|
MediaValues.cpp | 37 int viewportWidth = frame->view()->layoutSize(IncludeScrollbars).width(); 38 return adjustForAbsoluteZoom(viewportWidth, frame->document()->renderView()); 141 bool MediaValues::computeLengthImpl(double value, CSSPrimitiveValue::UnitType type, unsigned defaultFontSize, unsigned viewportWidth, unsigned viewportHeight, double& result) 169 factor = viewportWidth / 100.0; 175 factor = std::min(viewportWidth, viewportHeight) / 100.0; 178 factor = std::max(viewportWidth, viewportHeight) / 100.0;
|
MediaValuesCached.cpp | 50 m_data.viewportWidth = calculateViewportWidth(frame); 81 return MediaValues::computeLength(value, type, m_data.defaultFontSize, m_data.viewportWidth, m_data.viewportHeight, result); 86 return MediaValues::computeLength(value, type, m_data.defaultFontSize, m_data.viewportWidth, m_data.viewportHeight, result); 94 int MediaValuesCached::viewportWidth() const 96 return m_data.viewportWidth;
|
MediaValuesCached.h | 16 int viewportWidth; 33 : viewportWidth(0) 60 virtual int viewportWidth() const OVERRIDE;
|
MediaValuesDynamic.cpp | 65 int MediaValuesDynamic::viewportWidth() const
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
ViewportDescription.cpp | 240 int viewportWidth = maxWidth.intValue(); 244 int overviewZoomPercent = 100 * windowWidth / static_cast<float>(viewportWidth);
|
/external/deqp/modules/gles2/accuracy/ |
es2aVaryingInterpolationTests.cpp | 154 int viewportWidth = 128; 157 if (m_context.getRenderTarget().getWidth() < viewportWidth || 161 int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth() - viewportWidth); 255 tcu::Surface rendered (viewportWidth, viewportHeight); 256 tcu::Surface reference (viewportWidth, viewportHeight); 257 tcu::Surface diffMask (viewportWidth, viewportHeight); 260 glViewport(viewportX, viewportY, viewportWidth, viewportHeight);
|
/external/deqp/modules/gles3/accuracy/ |
es3aVaryingInterpolationTests.cpp | 158 int viewportWidth = 128; 161 if (renderTarget.getWidth() < viewportWidth || 165 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportWidth); 262 tcu::Surface rendered (viewportWidth, viewportHeight); 263 tcu::Surface reference (viewportWidth, viewportHeight); 264 tcu::Surface diffMask (viewportWidth, viewportHeight); 267 glViewport(viewportX, viewportY, viewportWidth, viewportHeight);
|
/external/deqp/modules/glshared/ |
glsRandomShaderCase.cpp | 413 int viewportWidth = de::min<int>(VIEWPORT_WIDTH, m_renderCtx.getRenderTarget().getWidth()); 415 int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWidth); 418 tcu::TextureLevel rendered (tcu::TextureFormat(hasAlpha ? tcu::TextureFormat::RGBA : tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8), viewportWidth, viewportHeight); 419 tcu::TextureLevel reference (tcu::TextureFormat(hasAlpha ? tcu::TextureFormat::RGBA : tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8), viewportWidth, viewportHeight); 483 glViewport(viewportX, viewportY, viewportWidth, viewportHeight);
|
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/extensions/ |
xf86dga.h | 80 int viewportWidth;
|
/external/deqp/modules/gles2/functional/ |
es2fTextureCompletenessTests.cpp | 151 int viewportWidth = de::min(64, m_renderCtx.getRenderTarget().getWidth()); 155 tcu::Surface renderedFrame (viewportWidth, viewportHeight); 159 int offsetX = random.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWidth ); 164 glViewport (offsetX, offsetY, viewportWidth, viewportHeight); 203 int viewportWidth = de::min(64, m_renderCtx.getRenderTarget().getWidth()); 208 tcu::Surface renderedFrame (viewportWidth, viewportHeight); 221 glViewport (offsetX, offsetY, viewportWidth, viewportHeight); [all...] |
es2fTextureUnitTests.cpp | 760 int viewportWidth = deMin32(VIEWPORT_WIDTH, renderTarget.getWidth()); 762 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportWidth); 765 tcu::Surface gles2Frame (viewportWidth, viewportHeight); 766 tcu::Surface refFrame (viewportWidth, viewportHeight); 789 m_shader->makeSafeLods(texSizes, IVec2(viewportWidth, viewportHeight)); 794 sglr::GLContext context(renderCtx, log, sglr::GLCONTEXT_LOG_CALLS|sglr::GLCONTEXT_LOG_PROGRAMS, tcu::IVec4(viewportX, viewportY, viewportWidth, viewportHeight)); 798 context.readPixels(gles2Frame, 0, 0, viewportWidth, viewportHeight); 803 sglr::ReferenceContextBuffers buffers (tcu::PixelFormat(8,8,8,renderTarget.getPixelFormat().alphaBits?8:0), 0 /* depth */, 0 /* stencil */, viewportWidth, viewportHeight); 808 context.readPixels(refFrame, 0, 0, viewportWidth, viewportHeight); [all...] |
es2fVertexTextureTests.cpp | 551 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_2D_RENDER_WIDTH); 554 const int viewportXOffsetMax = m_context.getRenderTarget().getWidth() - viewportWidth; 565 const int leftWidth = viewportWidth / 2; 566 const int rightWidth = viewportWidth - leftWidth; 581 tcu::Surface refImage(viewportWidth, viewportHeight); 614 tcu::Surface resImage(viewportWidth, viewportHeight); 869 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_CUBE_RENDER_WIDTH); 872 const int viewportXOffsetMax = m_context.getRenderTarget().getWidth() - viewportWidth; 883 const int leftWidth = viewportWidth / 2; 884 const int rightWidth = viewportWidth - leftWidth [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
GameRenderer.java | 274 final int viewportWidth = (int)(mWidth * scaleX); 276 gl.glViewport(0, 0, viewportWidth, viewportHeight);
|
/external/deqp/modules/gles3/functional/ |
es3fTextureUnitTests.cpp | [all...] |
es3fVertexTextureTests.cpp | 652 const int viewportWidth = deMin32(m_context.getRenderTarget().getWidth(), MAX_2D_RENDER_WIDTH); 655 const int viewportXOffsetMax = m_context.getRenderTarget().getWidth() - viewportWidth; 666 const int leftWidth = viewportWidth / 2; 667 const int rightWidth = viewportWidth - leftWidth; 682 tcu::Surface refImage(viewportWidth, viewportHeight); 715 tcu::Surface resImage(viewportWidth, viewportHeight); [all...] |
/frameworks/base/core/java/android/widget/ |
HorizontalScrollView.java | 775 final int viewportWidth = getWidth() - mPaddingLeft - mPaddingRight; 776 final int targetScrollX = Math.min(mScrollX + viewportWidth, getScrollRange()); 786 final int viewportWidth = getWidth() - mPaddingLeft - mPaddingRight; 787 final int targetScrollX = Math.max(0, mScrollX - viewportWidth); [all...] |
/external/deqp/modules/gles31/functional/ |
es31fShaderImageLoadStoreTests.cpp | [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
VectorDrawable.java | 69 * <dt><code>android:viewportWidth</code></dt> 168 * android:viewportWidth="600" > 408 float viewportWidth = mVectorState.mVPathRenderer.mViewportWidth; 410 float scaleX = viewportWidth / intrinsicWidth; 495 "<vector> tag requires viewportWidth > 0"); [all...] |
/frameworks/base/media/java/android/media/ |
WebVttRenderer.java | [all...] |
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
ScreenMagnifier.java | [all...] |
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
WebFrameTest.cpp | 725 int viewportWidth = 640; 734 webViewHelper.webViewImpl()->resize(WebSize(viewportWidth, viewportHeight)); 755 int viewportWidth = 640; 766 webViewHelper.webViewImpl()->resize(WebSize(viewportWidth, viewportHeight)); 796 int viewportWidth = 1280; 801 webViewHelper.webView()->resize(WebSize(viewportWidth, viewportHeight)); 803 EXPECT_EQ(viewportWidth, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width()); 812 int viewportWidth = 640; 821 webViewHelper.webView()->resize(WebSize(viewportWidth, viewportHeight)); [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
PagedView.java | [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
R.java | [all...] |