Home
last modified time | relevance | path

Searched refs:viewportHeight (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/web/tests/
DWebFrameTest.cpp726 int viewportHeight = 480; in TEST_F() local
734 webViewHelper.webViewImpl()->resize(WebSize(viewportWidth, viewportHeight)); in TEST_F()
756 int viewportHeight = 480; in TEST_F() local
766 webViewHelper.webViewImpl()->resize(WebSize(viewportWidth, viewportHeight)); in TEST_F()
797 int viewportHeight = 0; in TEST_F() local
801 webViewHelper.webView()->resize(WebSize(viewportWidth, viewportHeight)); in TEST_F()
804 …EXPECT_EQ(viewportHeight, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().… in TEST_F()
813 int viewportHeight = 480; in TEST_F() local
821 webViewHelper.webView()->resize(WebSize(viewportWidth, viewportHeight)); in TEST_F()
845 int viewportHeight = 480; in TEST_F() local
[all …]
/external/chromium_org/third_party/WebKit/Source/core/css/
DMediaValuesCached.cpp51 m_data.viewportHeight = calculateViewportHeight(frame); in MediaValuesCached()
81 …teLength(value, type, m_data.defaultFontSize, m_data.viewportWidth, m_data.viewportHeight, result); in computeLength()
86 …teLength(value, type, m_data.defaultFontSize, m_data.viewportWidth, m_data.viewportHeight, result); in computeLength()
99 int MediaValuesCached::viewportHeight() const in viewportHeight() function in blink::MediaValuesCached
101 return m_data.viewportHeight; in viewportHeight()
DMediaValues.h33 …UnitType, unsigned defaultFontSize, unsigned viewportWidth, unsigned viewportHeight, double& resul…
35 …nitType type, unsigned defaultFontSize, unsigned viewportWidth, unsigned viewportHeight, T& result) in computeLength() argument
38 … if (!computeLengthImpl(value, type, defaultFontSize, viewportWidth, viewportHeight, tempResult)) in computeLength()
47 virtual int viewportHeight() const = 0;
DMediaValues.cpp44 int viewportHeight = frame->view()->layoutSize(IncludeScrollbars).height(); in calculateViewportHeight() local
45 return adjustForAbsoluteZoom(viewportHeight, frame->document()->renderView()); in calculateViewportHeight()
141 …ype type, unsigned defaultFontSize, unsigned viewportWidth, unsigned viewportHeight, double& resul… in computeLengthImpl() argument
172 factor = viewportHeight / 100.0; in computeLengthImpl()
175 factor = std::min(viewportWidth, viewportHeight) / 100.0; in computeLengthImpl()
178 factor = std::max(viewportWidth, viewportHeight) / 100.0; in computeLengthImpl()
DMediaValuesCached.h17 int viewportHeight; member
34 , viewportHeight(0) in MediaValuesCachedData()
61 virtual int viewportHeight() const OVERRIDE;
DMediaValuesTest.cpp20 unsigned viewportHeight; member
53 testCases[i].viewportHeight, in TEST()
DCSSToLengthConversionData.cpp61 …yle* style, const RenderStyle* rootStyle, float viewportWidth, float viewportHeight, float zoom, b… in CSSToLengthConversionData() argument
65 , m_viewportHeight(viewportHeight) in CSSToLengthConversionData()
DCSSToLengthConversionData.h46 … currStyle, const RenderStyle* rootStyle, float viewportWidth, float viewportHeight, float zoom, b…
DMediaValuesDynamic.h24 virtual int viewportHeight() const OVERRIDE;
DMediaValuesDynamic.cpp70 int MediaValuesDynamic::viewportHeight() const in viewportHeight() function in blink::MediaValuesDynamic
DMediaQueryEvaluatorTest.cpp90 data.viewportHeight = 500; in TEST()
DMediaQueryEvaluator.cpp227 int height = mediaValues.viewportHeight(); in orientationMediaFeatureEval()
242 …turn compareAspectRatioValue(value, mediaValues.viewportWidth(), mediaValues.viewportHeight(), op); in aspectRatioMediaFeatureEval()
368 int height = mediaValues.viewportHeight(); in heightMediaFeatureEval()
/external/chromium_org/third_party/WebKit/Source/core/css/parser/
DSizesCalcParserTest.cpp33 …text, double value, bool valid, unsigned fontSize, unsigned viewportWidth, unsigned viewportHeight) in verifyCSSCalc() argument
46 length += lengthArray.at(CSSPrimitiveValue::UnitTypeViewportHeight) * viewportHeight / 100.0; in verifyCSSCalc()
105 data.viewportHeight = 643; in TEST()
132 …ases[i].output, testCases[i].valid, data.defaultFontSize, data.viewportWidth, data.viewportHeight); in TEST()
DSizesAttributeParserTest.cpp71 data.viewportHeight = 500; in TEST()
/external/deqp/modules/gles3/accuracy/
Des3aVaryingInterpolationTests.cpp159 int viewportHeight = 128; in iterate() local
162 renderTarget.getHeight() < viewportHeight) in iterate()
166 int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportHeight); in iterate()
262 tcu::Surface rendered (viewportWidth, viewportHeight); in iterate()
263 tcu::Surface reference (viewportWidth, viewportHeight); in iterate()
264 tcu::Surface diffMask (viewportWidth, viewportHeight); in iterate()
267 glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in iterate()
/external/deqp/modules/gles2/accuracy/
Des2aVaryingInterpolationTests.cpp155 int viewportHeight = 128; in iterate() local
158 m_context.getRenderTarget().getHeight() < viewportHeight) in iterate()
162 int viewportY = rnd.getInt(0, m_context.getRenderTarget().getHeight() - viewportHeight); in iterate()
255 tcu::Surface rendered (viewportWidth, viewportHeight); in iterate()
256 tcu::Surface reference (viewportWidth, viewportHeight); in iterate()
257 tcu::Surface diffMask (viewportWidth, viewportHeight); in iterate()
260 glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in iterate()
/external/deqp/modules/gles3/functional/
Des3fVertexTextureTests.cpp653 const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_2D_RENDER_HEIGHT); in iterate() local
656 const int viewportYOffsetMax = m_context.getRenderTarget().getHeight() - viewportHeight; in iterate()
668 const int bottomHeight = viewportHeight / 2; in iterate()
669 const int topHeight = viewportHeight - bottomHeight; in iterate()
682 tcu::Surface refImage(viewportWidth, viewportHeight); in iterate()
715 tcu::Surface resImage(viewportWidth, viewportHeight); in iterate()
974 …const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_CUBE_RENDER_HEIGH… in iterate() local
977 const int viewportYOffsetMax = m_context.getRenderTarget().getHeight() - viewportHeight; in iterate()
989 const int bottomHeight = viewportHeight / 2; in iterate()
990 const int topHeight = viewportHeight - bottomHeight; in iterate()
[all …]
Des3fTextureUnitTests.cpp991 int viewportHeight = deMin32(VIEWPORT_HEIGHT, renderTarget.getHeight()); in iterate() local
993 int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportHeight); in iterate()
995 tcu::Surface gles3Frame (viewportWidth, viewportHeight); in iterate()
996 tcu::Surface refFrame (viewportWidth, viewportHeight); in iterate()
1021 m_shader->makeSafeLods(texSizes, IVec2(viewportWidth, viewportHeight)); in iterate()
1026 …LLS|sglr::GLCONTEXT_LOG_PROGRAMS, tcu::IVec4(viewportX, viewportY, viewportWidth, viewportHeight)); in iterate()
1030 context.readPixels(gles3Frame, 0, 0, viewportWidth, viewportHeight); in iterate()
1035 …et.getPixelFormat().alphaBits?8:0), 0 /* depth */, 0 /* stencil */, viewportWidth, viewportHeight); in iterate()
1040 context.readPixels(refFrame, 0, 0, viewportWidth, viewportHeight); in iterate()
/external/deqp/modules/gles2/functional/
Des2fVertexTextureTests.cpp552 const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_2D_RENDER_HEIGHT); in iterate() local
555 const int viewportYOffsetMax = m_context.getRenderTarget().getHeight() - viewportHeight; in iterate()
567 const int bottomHeight = viewportHeight / 2; in iterate()
568 const int topHeight = viewportHeight - bottomHeight; in iterate()
581 tcu::Surface refImage(viewportWidth, viewportHeight); in iterate()
614 tcu::Surface resImage(viewportWidth, viewportHeight); in iterate()
870 …const int viewportHeight = deMin32(m_context.getRenderTarget().getHeight(), MAX_CUBE_RENDER_HEIGH… in iterate() local
873 const int viewportYOffsetMax = m_context.getRenderTarget().getHeight() - viewportHeight; in iterate()
885 const int bottomHeight = viewportHeight / 2; in iterate()
886 const int topHeight = viewportHeight - bottomHeight; in iterate()
[all …]
Des2fTextureUnitTests.cpp761 int viewportHeight = deMin32(VIEWPORT_HEIGHT, renderTarget.getHeight()); in iterate() local
763 int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportHeight); in iterate()
765 tcu::Surface gles2Frame (viewportWidth, viewportHeight); in iterate()
766 tcu::Surface refFrame (viewportWidth, viewportHeight); in iterate()
789 m_shader->makeSafeLods(texSizes, IVec2(viewportWidth, viewportHeight)); in iterate()
794 …LLS|sglr::GLCONTEXT_LOG_PROGRAMS, tcu::IVec4(viewportX, viewportY, viewportWidth, viewportHeight)); in iterate()
798 context.readPixels(gles2Frame, 0, 0, viewportWidth, viewportHeight); in iterate()
803 …et.getPixelFormat().alphaBits?8:0), 0 /* depth */, 0 /* stencil */, viewportWidth, viewportHeight); in iterate()
808 context.readPixels(refFrame, 0, 0, viewportWidth, viewportHeight); in iterate()
Des2fTextureCompletenessTests.cpp152 int viewportHeight = de::min(64, m_renderCtx.getRenderTarget().getHeight()); in iterate() local
155 tcu::Surface renderedFrame (viewportWidth, viewportHeight); in iterate()
160 int offsetY = random.getInt(0, m_renderCtx.getRenderTarget().getHeight() - viewportHeight); in iterate()
164 glViewport (offsetX, offsetY, viewportWidth, viewportHeight); in iterate()
204 int viewportHeight = de::min(64, m_renderCtx.getRenderTarget().getHeight()); in iterate() local
208 tcu::Surface renderedFrame (viewportWidth, viewportHeight); in iterate()
221 glViewport (offsetX, offsetY, viewportWidth, viewportHeight); in iterate()
/external/deqp/modules/glshared/
DglsRandomShaderCase.cpp414 int viewportHeight = de::min<int>(VIEWPORT_HEIGHT, m_renderCtx.getRenderTarget().getHeight()); in iterate() local
416 int viewportY = rnd.getInt(0, m_renderCtx.getRenderTarget().getHeight() - viewportHeight); in iterate()
418 …t::RGBA : tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8), viewportWidth, viewportHeight); in iterate()
419 …t::RGBA : tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8), viewportWidth, viewportHeight); in iterate()
483 glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in iterate()
/external/qemu/distrib/sdl-1.2.15/src/video/dga/
DSDL_dgavideo.c249 mode->viewportWidth, mode->viewportHeight, in PrintMode()
287 (b->viewportHeight == a->viewportHeight) ) { in cmpmodes()
302 return b->viewportHeight - a->viewportHeight; in cmpmodes()
425 modes[i].viewportHeight); in DGA_VideoInit()
484 (modes[i].viewportHeight == height) && in DGA_SetVideoMode()
514 current->h = mode->mode.viewportHeight; in DGA_SetVideoMode()
/external/replicaisland/src/com/replica/replicaisland/
DGameRenderer.java275 final int viewportHeight = (int)(mHeight * scaleY); in onSurfaceChanged() local
276 gl.glViewport(0, 0, viewportWidth, viewportHeight); in onSurfaceChanged()
/external/chromium_org/chrome/browser/resources/pdf/
Dpdf_scripting_api.js30 event.data.viewportHeight);

12