Searched refs:viewport (Results 1 - 25 of 59) sorted by relevance

123

/external/chromium-trace/trace-viewer/src/tracks/
H A Dtimeline_viewport_track.css5 .timeline-viewport-track {
9 .timeline-viewport-track-with-distance-measurements {
13 .timeline-viewport-track .timeline-canvas-based-track-canvas-container {
H A Dtimeline_container_track.js37 get viewport() {
41 set viewport(v) {
44 this.tracks_[i].viewport = v;
99 track.viewport = this.viewport_;
H A Dtimeline_canvas_based_track.js71 get viewport() {
75 set viewport(v) {
104 this.classList.remove('timeline-viewport-track-with' +
107 this.classList.add('timeline-viewport-track-with' +
/external/skia/src/gpu/gl/
H A DGrGLRenderTarget.cpp19 const GrGLIRect& viewport,
24 fViewport = viewport;
32 const GrGLIRect& viewport,
37 viewport.fWidth,
38 viewport.fHeight,
47 // we assume this is true, TODO: get rid of viewport as a param.
48 GrAssert(viewport.fWidth == texture->width());
49 GrAssert(viewport.fHeight == texture->height());
51 this->init(desc, viewport, texID);
56 const GrGLIRect& viewport)
18 init(const Desc& desc, const GrGLIRect& viewport, GrGLTexID* texID) argument
30 GrGLRenderTarget(GrGpuGL* gpu, const Desc& desc, const GrGLIRect& viewport, GrGLTexID* texID, GrGLTexture* texture) argument
54 GrGLRenderTarget(GrGpuGL* gpu, const Desc& desc, const GrGLIRect& viewport) argument
[all...]
H A DGrGLRenderTarget.h40 const GrGLIRect& viewport,
47 const GrGLIRect& viewport);
97 // when we switch to this rendertarget we want to set the viewport to
105 void init(const Desc& desc, const GrGLIRect& viewport, GrGLTexID* texID);
/external/webkit/Source/WebCore/platform/graphics/android/layers/
H A DFixedPositioning.cpp36 // and the iframe's size as the viewport and pass to the children
49 SkRect viewport = getViewport(aViewport, parentIframeLayer); local
51 float w = viewport.width();
52 float h = viewport.height();
53 float dx = viewport.fLeft;
54 float dy = viewport.fTop;
117 SkRect viewport = getViewport(aViewport, parentIframeLayer); local
119 float w = viewport.width() - m_layer->getWidth();
120 float h = viewport.height() - m_layer->getHeight();
129 m_nbRepeatX = ceilf((viewport
[all...]
H A DIFrameLayerAndroid.cpp14 IFrameLayerAndroid* IFrameLayerAndroid::updatePosition(SkRect viewport, argument
H A DIFrameLayerAndroid.h53 virtual IFrameLayerAndroid* updatePosition(SkRect viewport,
H A DBaseLayerAndroid.cpp68 IFrameLayerAndroid* BaseLayerAndroid::updatePosition(SkRect viewport, argument
71 if (viewport.fRight > getWidth() || viewport.fBottom > getHeight()) {
72 // To handle the viewport expanding past the layer's size with HW accel,
73 // expand the size of the layer, so that tiles will cover the viewport.
74 setSize(std::max(viewport.fRight, getWidth()),
75 std::max(viewport.fBottom, getHeight()));
78 return LayerAndroid::updatePosition(viewport, parentIframeLayer);
89 // dynamically increase in size to cover the viewport, and we cache its draw
91 // by its m_clippingRect, only the viewport
[all...]
H A DBaseLayerAndroid.h46 virtual IFrameLayerAndroid* updatePosition(SkRect viewport,
/external/webkit/Source/WebKit/gtk/webkit/
H A Dwebkitviewportattributes.cpp34 * @short_description: Represents the viewport properties of a web page
35 * @see_also: #WebKitWebView::viewport-attributes-recompute-requested
36 * @see_also: #WebKitWebView::viewport-attributes-changed
38 * #WebKitViewportAttributes offers the viewport properties to user agents to
39 * control the viewport layout. It contains the viewport size, initial scale with limits,
40 * and information about whether a user is able to scale the contents in the viewport.
43 * The #WebKitWebView::viewport-attributes-changed signal will be emitted with #WebKitViewportAttributes
44 * when the viewport attributes are updated in the case of loading web pages contain
45 * the viewport propertie
415 webkit_viewport_attributes_init(WebKitViewportAttributes* viewport) argument
[all...]
/external/mesa3d/src/pixelflinger2/
H A Dpixelflinger2.cpp35 ctx->viewport.n = VectorComp_t_CTR((zNear + zFar) / 2);
36 ctx->viewport.f = VectorComp_t_CTR((zFar - zNear) / 2);
42 ctx->viewport.x = VectorComp_t_CTR(x + width / 2);
43 ctx->viewport.y = VectorComp_t_CTR(y + height / 2);
44 ctx->viewport.w = VectorComp_t_CTR(width / 2);
45 ctx->viewport.h = VectorComp_t_CTR(height / 2);
H A Draster.cpp572 v->x = v->x * ctx->viewport.w + ctx->viewport.x;
574 v->y = v->y * ctx->viewport.h + ctx->viewport.y;
575 v->z = v->z * ctx->viewport.f + ctx->viewport.n;
/external/webkit/Tools/EWebLauncher/
H A Dmain.c159 Viewport viewport; member in struct:_ELauncher
266 * This is en example function to adjust viewport via viewport tag's arguments.
267 * Application can invoke this function in order to adjust viewport tag when it is required.
275 ewk_view_fixed_layout_size_set(app->browser, app->viewport.w, app->viewport.h);
276 ewk_view_zoom_set(app->browser, app->viewport.initScale, 0, 0);
277 if (!ewk_view_zoom_range_set(app->browser, app->viewport.minScale, app->viewport.maxScale))
278 info(" Fail to set zoom range. minScale = %f, maxScale = %f\n", app->viewport
[all...]
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
H A DShaderProgram.cpp498 //// viewport ////
511 // the GL viewport can save all the trouble of re-position from screenRect
707 IntRect viewport(m_visibleContentRect.fLeft - margin, m_visibleContentRect.fTop - margin,
710 viewport.intersect(rect);
711 return viewport;
947 int viewport[4]; local
948 glGetIntegerv(GL_VIEWPORT, viewport);
949 ALOGV("viewport %d, %d, %d, %d , currentScale %f",
950 viewport[0], viewport[
[all...]
H A DTransferQueue.cpp559 glGetIntegerv(GL_VIEWPORT, m_GLStateBeforeBlit.viewport);
583 glViewport(m_GLStateBeforeBlit.viewport[0],
584 m_GLStateBeforeBlit.viewport[1],
585 m_GLStateBeforeBlit.viewport[2],
586 m_GLStateBeforeBlit.viewport[3]);
/external/chromium/chrome/browser/resources/gpu_internals/
H A Dtimeline_track.js67 set viewport(v) {
70 this.tracks_[i].viewport = v;
108 track.viewport = this.viewport_;
195 set viewport(v) {
/external/mesa3d/docs/
H A DMESA_window_pos.spec33 matrix and viewport must be set very carefully. Furthermore, if the
40 projection matrix and the viewport to window mapping. Furthermore,
94 matrix, projection matrix and viewport parameters are ignored and the
/external/webkit/Source/WebCore/svg/
H A DSVGSVGElement.idl44 readonly attribute SVGRect viewport;
/external/qemu/android/skin/
H A Dcomposer.h40 typedef void (*SkinPlateDrawFunc)( void* user, SkinRegion* region, SkinPos* apos, SkinViewport* viewport, int opaque );
H A Dcomposer.c284 skin_plate_redraw( SkinPlate* plate, SkinRegion* updated, SkinRegion* drawn, SkinPos* apos, SkinViewport* viewport )
307 plate->surface.draw( plate->surface.user, r, apos, viewport, 1 );
316 plate->surface.draw( plate->surface.user, r, apos, viewport, 0);
330 skin_plate_redraw( areflist_get(plate->group.children, n ), updated, drawn, &pos, viewport );
/external/skia/src/gpu/
H A Dapp-android.cpp279 SkBitmap viewport; local
280 viewport.setConfig(SkBitmap::kARGB_8888_Config,
285 canvas.setBitmapDevice(viewport);
314 c.setBitmapDevice(viewport);
/external/webkit/Source/WebCore/platform/graphics/
H A DTiledBackingStore.h62 // Tiled are dropped outside the keep area, and created for cover area. The values a relative to the viewport size.
98 double tileDistance(const IntRect& viewport, const Tile::Coordinate&);
H A DTiledBackingStore.cpp186 double TiledBackingStore::tileDistance(const IntRect& viewport, const Tile::Coordinate& tileCoordinate) argument
188 if (viewport.intersects(tileRectForCoordinate(tileCoordinate)))
191 IntPoint viewCenter = viewport.location() + IntSize(viewport.width() / 2, viewport.height() / 2);
227 // Search for the tile position closest to the viewport center that does not yet contain a tile.
/external/webkit/Source/WebKit/qt/WebCoreSupport/
H A DPageClientQt.cpp131 if (view && view->viewport() && view->viewport()->inherits("QGLWidget")) {
459 return view->mapRectFromScene(QRectF(QPointF(xOffset, yOffset), graphicsView->viewport()->size()));

Completed in 740 milliseconds

123