/external/chromium_org/third_party/WebKit/Source/core/css/ |
MediaValues.h | 39 static bool computeLengthImpl(double value, CSSPrimitiveValue::UnitType, unsigned defaultFontSize, unsigned viewportWidth, unsigned viewportHeight, double& result); 41 static bool computeLength(double value, CSSPrimitiveValue::UnitType type, unsigned defaultFontSize, unsigned viewportWidth, unsigned viewportHeight, T& result) 44 if (!computeLengthImpl(value, type, defaultFontSize, viewportWidth, viewportHeight, tempResult)) 53 virtual int viewportHeight() const = 0;
|
MediaValuesCached.h | 17 int viewportHeight; 33 , viewportHeight(0) 60 virtual int viewportHeight() const OVERRIDE;
|
CSSToLengthConversionData.cpp | 61 CSSToLengthConversionData::CSSToLengthConversionData(const RenderStyle* style, const RenderStyle* rootStyle, float viewportWidth, float viewportHeight, float zoom, bool computingFontSize) 65 , m_viewportHeight(viewportHeight)
|
MediaValuesTest.cpp | 20 unsigned viewportHeight; 53 testCases[i].viewportHeight,
|
MediaValuesCached.cpp | 54 m_data.viewportHeight = calculateViewportHeight(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); 99 int MediaValuesCached::viewportHeight() const 101 return m_data.viewportHeight;
|
CSSToLengthConversionData.h | 46 CSSToLengthConversionData(const RenderStyle* currStyle, const RenderStyle* rootStyle, float viewportWidth, float viewportHeight, float zoom, bool computingFontSize = false);
|
MediaValuesDynamic.h | 23 virtual int viewportHeight() const OVERRIDE;
|
MediaValues.cpp | 43 int viewportHeight = frame->view()->layoutSize(IncludeScrollbars).height(); 44 return adjustForAbsoluteZoom(viewportHeight, frame->document()->renderView()); 143 bool MediaValues::computeLengthImpl(double value, CSSPrimitiveValue::UnitType type, unsigned defaultFontSize, unsigned viewportWidth, unsigned viewportHeight, double& result) 174 factor = viewportHeight / 100.0; 177 factor = std::min(viewportWidth, viewportHeight) / 100.0; 180 factor = std::max(viewportWidth, viewportHeight) / 100.0;
|
MediaQueryEvaluatorTest.cpp | 75 data.viewportHeight = 500;
|
MediaValuesDynamic.cpp | 62 int MediaValuesDynamic::viewportHeight() const
|
/external/chromium_org/third_party/WebKit/Source/core/css/parser/ |
SizesCalcParserTest.cpp | 31 static void verifyCSSCalc(String text, double value, bool valid, unsigned fontSize, unsigned viewportWidth, unsigned viewportHeight) 46 length += lengthArray.at(CSSPrimitiveValue::UnitTypeViewportHeight) * viewportHeight / 100.0; 104 data.viewportHeight = 643; 132 verifyCSSCalc(testCases[i].input, testCases[i].output, testCases[i].valid, data.defaultFontSize, data.viewportWidth, data.viewportHeight);
|
SizesAttributeParserTest.cpp | 61 data.viewportHeight = 500;
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
WebFrameTest.cpp | 668 int viewportHeight = 480; 674 webViewHelper.webView()->resize(WebSize(viewportWidth, viewportHeight)); 720 int viewportHeight = 480; 728 webViewHelper.webViewImpl()->resize(WebSize(viewportWidth, viewportHeight)); 750 int viewportHeight = 480; 760 webViewHelper.webViewImpl()->resize(WebSize(viewportWidth, viewportHeight)); 790 int viewportHeight = 480; 793 int fixedLayoutHeight = viewportHeight / 2; 798 webViewHelper.webView()->resize(WebSize(viewportWidth, viewportHeight)); 811 int viewportHeight = 480 [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
ZoomView.java | 234 public static RectF adjustToFitInBounds(RectF rect, int viewportWidth, int viewportHeight) { 247 if (newRect.height() < viewportHeight) { 248 dy = viewportHeight / 2 - (newRect.top + newRect.bottom) / 2; 252 } else if (newRect.bottom < viewportHeight) { 253 dy = viewportHeight - newRect.bottom;
|
/external/deqp/modules/gles2/accuracy/ |
es2aVaryingInterpolationTests.cpp | 155 int viewportHeight = 128; 158 m_context.getRenderTarget().getHeight() < viewportHeight) 162 int viewportY = rnd.getInt(0, m_context.getRenderTarget().getHeight() - viewportHeight); 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 | 159 int viewportHeight = 128; 162 renderTarget.getHeight() < viewportHeight) 166 int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportHeight); 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/gles2/functional/ |
es2fVertexTextureTests.cpp | 552 const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_2D_RENDER_HEIGHT); 555 const int viewportYOffsetMax = m_context.getRenderTarget().getHeight() - viewportHeight; 567 const int bottomHeight = viewportHeight / 2; 568 const int topHeight = viewportHeight - bottomHeight; 581 tcu::Surface refImage(viewportWidth, viewportHeight); 614 tcu::Surface resImage(viewportWidth, viewportHeight); 870 const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_CUBE_RENDER_HEIGHT); 873 const int viewportYOffsetMax = m_context.getRenderTarget().getHeight() - viewportHeight; 885 const int bottomHeight = viewportHeight / 2; 886 const int topHeight = viewportHeight - bottomHeight [all...] |
es2fTextureUnitTests.cpp | 761 int viewportHeight = deMin32(VIEWPORT_HEIGHT, renderTarget.getHeight()); 763 int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportHeight); 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...] |
es2fTextureCompletenessTests.cpp | 152 int viewportHeight = de::min(64, m_renderCtx.getRenderTarget().getHeight()); 155 tcu::Surface renderedFrame (viewportWidth, viewportHeight); 160 int offsetY = random.getInt(0, m_renderCtx.getRenderTarget().getHeight() - viewportHeight); 164 glViewport (offsetX, offsetY, viewportWidth, viewportHeight); 204 int viewportHeight = de::min(64, m_renderCtx.getRenderTarget().getHeight()); 208 tcu::Surface renderedFrame (viewportWidth, viewportHeight); 221 glViewport (offsetX, offsetY, viewportWidth, viewportHeight); [all...] |
/external/deqp/modules/gles3/functional/ |
es3fVertexTextureTests.cpp | 653 const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_2D_RENDER_HEIGHT); 656 const int viewportYOffsetMax = m_context.getRenderTarget().getHeight() - viewportHeight; 668 const int bottomHeight = viewportHeight / 2; 669 const int topHeight = viewportHeight - bottomHeight; 682 tcu::Surface refImage(viewportWidth, viewportHeight); 715 tcu::Surface resImage(viewportWidth, viewportHeight); [all...] |
es3fTextureUnitTests.cpp | [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/dga/ |
SDL_dgavideo.c | 249 mode->viewportWidth, mode->viewportHeight, 287 (b->viewportHeight == a->viewportHeight) ) { 302 return b->viewportHeight - a->viewportHeight; 425 modes[i].viewportHeight); 484 (modes[i].viewportHeight == height) && 514 current->h = mode->mode.viewportHeight;
|
/external/replicaisland/src/com/replica/replicaisland/ |
GameRenderer.java | 275 final int viewportHeight = (int)(mHeight * scaleY); 276 gl.glViewport(0, 0, viewportWidth, viewportHeight);
|
/external/deqp/modules/glshared/ |
glsRandomShaderCase.cpp | 414 int viewportHeight = de::min<int>(VIEWPORT_HEIGHT, m_renderCtx.getRenderTarget().getHeight()); 416 int viewportY = rnd.getInt(0, m_renderCtx.getRenderTarget().getHeight() - viewportHeight); 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 | 81 int viewportHeight;
|