Searched refs:viewWidth (Results 1 - 19 of 19) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
H A DContextParameters.java23 public int viewWidth; field in class:ContextParameters
H A DDrawableBitmap.java68 * @param viewWidth The width of the screen.
71 public static void beginDrawing(GL10 gl, float viewWidth, float viewHeight) { argument
80 gl.glOrthof(0.0f, viewWidth, 0.0f, viewHeight, 0.0f, 1.0f);
113 final float viewWidth = mViewWidth;
117 if (viewWidth > 0) {
119 || snappedX > viewWidth
H A DGame.java62 public void bootstrap(Context context, int viewWidth, int viewHeight, int gameWidth, int gameHeight, int difficulty) { argument
72 params.viewWidth = viewWidth;
76 params.viewScaleX = (float)viewWidth / gameWidth;
126 GameObjectManager gameManager = new GameObjectManager(params.viewWidth * 2);
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGFitToViewBox.cpp47 AffineTransform SVGFitToViewBox::viewBoxToViewTransform(const FloatRect& viewBoxRect, PassRefPtr<SVGPreserveAspectRatio> preserveAspectRatio, float viewWidth, float viewHeight) argument
49 if (!viewBoxRect.width() || !viewBoxRect.height() || !viewWidth || !viewHeight)
52 return preserveAspectRatio->getCTM(viewBoxRect.x(), viewBoxRect.y(), viewBoxRect.width(), viewBoxRect.height(), viewWidth, viewHeight);
H A DSVGFitToViewBox.h48 static AffineTransform viewBoxToViewTransform(const FloatRect& viewBoxRect, PassRefPtr<SVGPreserveAspectRatio>, float viewWidth, float viewHeight);
H A DSVGMarkerElement.h60 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) const;
H A DSVGMarkerElement.cpp67 AffineTransform SVGMarkerElement::viewBoxToViewTransform(float viewWidth, float viewHeight) const argument
69 return SVGFitToViewBox::viewBoxToViewTransform(viewBox()->currentValue()->value(), preserveAspectRatio()->currentValue(), viewWidth, viewHeight);
H A DSVGSVGElement.h108 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) const;
H A DSVGSVGElement.cpp671 AffineTransform SVGSVGElement::viewBoxToViewTransform(float viewWidth, float viewHeight) const argument
674 return SVGFitToViewBox::viewBoxToViewTransform(currentViewBoxRect(), preserveAspectRatio()->currentValue(), viewWidth, viewHeight);
676 AffineTransform ctm = SVGFitToViewBox::viewBoxToViewTransform(currentViewBoxRect(), m_viewSpec->preserveAspectRatio()->currentValue(), viewWidth, viewHeight);
/external/chromium-trace/trace-viewer/src/tracing/
H A Dtimeline_viewport.js223 xPanWorldPosToViewPos: function(worldX, viewX, viewWidth) {
228 viewX = viewWidth / 2;
230 viewX = viewWidth - 1;
238 xPanWorldBoundsIntoView: function(worldMin, worldMax, viewWidth) {
240 this.xPanWorldPosToViewPos(worldMin, 'left', viewWidth);
241 else if (this.xWorldToView(worldMax) > viewWidth)
242 this.xPanWorldPosToViewPos(worldMax, 'right', viewWidth);
245 xSetWorldBounds: function(worldMin, worldMax, viewWidth) {
247 var scaleX = viewWidth / worldWidth;
H A Dtimeline_track_view.js297 var viewWidth = this.modelTrackContainer_.canvas.clientWidth;
324 vp.panX += vp.xViewVectorToWorld(viewWidth * 0.1);
328 vp.panX -= vp.xViewVectorToWorld(viewWidth * 0.1);
331 vp.panX += vp.xViewVectorToWorld(viewWidth * 0.5);
334 vp.panX -= vp.xViewVectorToWorld(viewWidth * 0.5);
353 var viewWidth = this.modelTrackContainer_.canvas.clientWidth;
363 vp.panX += vp.xViewVectorToWorld(viewWidth * 0.1);
373 vp.panX -= vp.xViewVectorToWorld(viewWidth * 0.1);
406 var viewWidth = this.modelTrackContainer_.canvas.clientWidth;
411 vp.xPanWorldPosToViewPos(curCenterW, curMouseV, viewWidth);
[all...]
/external/chromium_org/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/
H A DValidationMessageBubble.java147 final int viewWidth = coordinates.getLastFrameViewportWidthPixInt();
154 } else if (x + width > viewWidth) {
155 x = viewWidth - width;
/external/chromium_org/third_party/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/
H A DViEAndroidGLES20.java40 private int viewWidth = 0; field in class:ViEAndroidGLES20
319 if(0 != CreateOpenGLNative(nativeObject, viewWidth, viewHeight)) {
330 viewWidth = width;
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderView.h71 int viewWidth(IncludeScrollbarsInRect = ExcludeScrollbars) const;
74 return style()->isHorizontalWritingMode() ? viewWidth(ExcludeScrollbars) : viewHeight(ExcludeScrollbars);
H A DRenderView.cpp170 if (!style()->isHorizontalWritingMode() || width() != viewWidth())
201 bool relayoutChildren = !shouldUsePrintingLayout() && (!m_frameView || width() != viewWidth() || height() != viewHeight());
382 rect.setX(viewWidth() - rect.maxX());
782 int RenderView::viewWidth(IncludeScrollbarsInRect scrollbarInclusion) const function in class:blink::RenderView
793 return style()->isHorizontalWritingMode() ? viewHeight(ExcludeScrollbars) : viewWidth(ExcludeScrollbars);
896 return viewWidth(IncludeScrollbars) / scale;
H A DRenderFrameSet.cpp456 setWidth(view()->viewWidth());
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebViewImpl.cpp2832 int viewWidth = m_size.width / newScale; local
2835 if (textboxRectInDocumentCoordinates.width() <= viewWidth) {
2839 int idealLeftPadding = viewWidth * leftBoxRatio;
2840 int maxLeftPaddingKeepingBoxOnscreen = viewWidth - textboxRectInDocumentCoordinates.width();
2845 newScroll.setX(std::max<int>(textboxRectInDocumentCoordinates.x(), caretInDocumentCoordinates.x() + caretInDocumentCoordinates.width() + caretPadding - viewWidth));
2861 IntRect sizeRect(0, 0, viewWidth, viewHeight);
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DWebFrameTest.cpp2125 int viewWidth = 500; local
2133 webViewHelper.webView()->resize(WebSize(viewWidth, viewHeight));
2140 webViewHelper.webView()->resize(WebSize(viewWidth * 10, viewHeight * 10));
4003 int viewWidth = 500; local
4013 webViewHelper.webView()->resize(WebSize(viewWidth, viewHeight));
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 836 milliseconds