Home
last modified time | relevance | path

Searched refs:viewX (Results 1 – 4 of 4) sorted by relevance

/external/chromium-trace/trace-viewer/src/tracing/
Dtimeline_viewport.js223 xPanWorldPosToViewPos: function(worldX, viewX, viewWidth) { argument
224 if (typeof viewX == 'string') {
225 if (viewX == 'left') {
226 viewX = 0;
227 } else if (viewX == 'center') {
228 viewX = viewWidth / 2;
229 } else if (viewX == 'right') {
230 viewX = viewWidth - 1;
235 this.panX = (viewX / this.scaleX_) - worldX;
395 var viewX = vp.xWorldToView(ts);
[all …]
/external/chromium/chrome/browser/resources/gpu_internals/
Dtimeline.js89 xPanWorldPosToViewPos: function(worldX, viewX, viewWidth) { argument
90 if (typeof viewX == 'string') {
91 if (viewX == 'left') {
92 viewX = 0;
93 } else if (viewX == 'center') {
94 viewX = viewWidth / 2;
95 } else if (viewX == 'right') {
96 viewX = viewWidth - 1;
101 this.panX = (viewX / this.scaleX_) - worldX;
/external/chromium-trace/trace-viewer/src/tracing/tracks/
Druler_track.js66 var viewX =
69 var worldX = this.viewport.xViewToWorld(viewX);
81 var viewX =
84 var worldX = this.viewport.xViewToWorld(viewX);
/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()
952 viewX = (int) (cam.getViewPortLeft() * cam.getWidth()); in setViewPort()
956 renderer.setViewPort(viewX, viewY, viewWidth, viewHeight); in setViewPort()
957 renderer.setClipRect(viewX, viewY, viewWidth, viewHeight); in setViewPort()