Home
last modified time | relevance | path

Searched refs:viewHeight (Results 1 – 17 of 17) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
DDrawableBitmap.java71 public static void beginDrawing(GL10 gl, float viewWidth, float viewHeight) { in beginDrawing() argument
80 gl.glOrthof(0.0f, viewWidth, 0.0f, viewHeight, 0.0f, 1.0f); in beginDrawing()
114 final float viewHeight = mViewHeight; in draw() local
121 || snappedY > viewHeight in draw()
DContextParameters.java24 public int viewHeight; field in ContextParameters
DGame.java62 …public void bootstrap(Context context, int viewWidth, int viewHeight, int gameWidth, int gameHeigh… in bootstrap() argument
73 params.viewHeight = viewHeight; in bootstrap()
77 params.viewScaleY = (float)viewHeight / gameHeight; in bootstrap()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGFitToViewBox.cpp100 … viewBoxRect, const SVGPreserveAspectRatio& preserveAspectRatio, float viewWidth, float viewHeight) in viewBoxToViewTransform() argument
105 …iewBoxRect.x(), viewBoxRect.y(), viewBoxRect.width(), viewBoxRect.height(), viewWidth, viewHeight); in viewBoxToViewTransform()
DSVGFitToViewBox.h37 …rm(const FloatRect& viewBoxRect, const SVGPreserveAspectRatio&, float viewWidth, float viewHeight);
DSVGMarkerElement.cpp103 AffineTransform SVGMarkerElement::viewBoxToViewTransform(float viewWidth, float viewHeight) const in viewBoxToViewTransform()
105 …oxToViewTransform(viewBoxCurrentValue(), preserveAspectRatioCurrentValue(), viewWidth, viewHeight); in viewBoxToViewTransform()
DSVGMarkerElement.h116 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) const;
DSVGSVGElement.cpp668 AffineTransform SVGSVGElement::viewBoxToViewTransform(float viewWidth, float viewHeight) const in viewBoxToViewTransform()
671 …BoxToViewTransform(currentViewBoxRect(), preserveAspectRatioCurrentValue(), viewWidth, viewHeight); in viewBoxToViewTransform()
673 …nsform(currentViewBoxRect(), m_viewSpec->preserveAspectRatioCurrentValue(), viewWidth, viewHeight); in viewBoxToViewTransform()
DSVGSVGElement.h122 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) const;
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/
DRenderManager.java81 private int viewX, viewY, viewWidth, viewHeight; field in RenderManager
425 tempVec4.set(viewX, viewY, viewWidth, viewHeight); in updateUniformBindings()
429 tempVec2.set(viewWidth, viewHeight); in updateUniformBindings()
433 tempVec2.set(1f / viewWidth, 1f / viewHeight); in updateUniformBindings()
437 float aspect = ((float) viewWidth) / viewHeight; in updateUniformBindings()
955 viewHeight = (int) ((cam.getViewPortTop() - cam.getViewPortBottom()) * cam.getHeight()); in setViewPort()
956 renderer.setViewPort(viewX, viewY, viewWidth, viewHeight); in setViewPort()
957 renderer.setClipRect(viewX, viewY, viewWidth, viewHeight); in setViewPort()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderView.h70 …int viewHeight(ScrollableArea::IncludeScrollbarsInRect scrollbarInclusion = ScrollableArea::Exclud…
74 …return style()->isHorizontalWritingMode() ? viewWidth(scrollbarInclusion) : viewHeight(scrollbarIn…
DRenderView.cpp313 …!shouldUsePrintingLayout() && (!m_frameView || width() != viewWidth() || height() != viewHeight()); in layout()
638 rect.setY(viewHeight() - rect.maxY()); in computeRectForRepaint()
1052 int RenderView::viewHeight(ScrollableArea::IncludeScrollbarsInRect scrollbarInclusion) const in viewHeight() function in WebCore::RenderView
1072 …int height = style()->isHorizontalWritingMode() ? viewHeight(scrollbarInclusion) : viewWidth(scrol… in viewLogicalHeight()
DRenderFrameSet.cpp455 setHeight(view()->viewHeight()); in layout()
/external/chromium_org/third_party/WebKit/Source/web/
DWebViewImpl.cpp2727 int viewHeight = m_size.height / newScale; in computeScaleAndScrollForFocusedNode() local
2741 if (textboxRectInDocumentCoordinates.height() <= viewHeight) { in computeScaleAndScrollForFocusedNode()
2743 …newScroll.setY(textboxRectInDocumentCoordinates.y() - (viewHeight - textboxRectInDocumentCoordinat… in computeScaleAndScrollForFocusedNode()
2747 …caretInDocumentCoordinates.y() + caretInDocumentCoordinates.height() + caretPadding - viewHeight)); in computeScaleAndScrollForFocusedNode()
2755 IntRect sizeRect(0, 0, viewWidth, viewHeight); in computeScaleAndScrollForFocusedNode()
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bar_folder_controller.mm1523 CGFloat viewHeight = NSHeight([scrollView_ frame]);
1527 } else if ((scrollPoint.y + viewHeight) < itemTop) { // Need to scroll up.
1528 delta = -(itemTop - (scrollPoint.y + viewHeight));
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bar_folder_controller.mm1505 CGFloat viewHeight = NSHeight([scrollView_ frame]);
1509 } else if ((scrollPoint.y + viewHeight) < itemTop) { // Need to scroll up.
1510 delta = -(itemTop - (scrollPoint.y + viewHeight));
/external/chromium_org/third_party/WebKit/Source/web/tests/
DWebFrameTest.cpp2097 int viewHeight = 500; in TEST_F() local
2103 webViewHelper.webView()->resize(WebSize(viewWidth, viewHeight)); in TEST_F()
2112 webViewHelper.webView()->resize(WebSize(viewWidth * 10, viewHeight * 10)); in TEST_F()