Home
last modified time | relevance | path

Searched refs:screenX (Results 1 – 25 of 34) sorted by relevance

12

/external/libgdx/gdx/src/com/badlogic/gdx/utils/viewport/
DViewport.java37 private int screenX, screenY, screenWidth, screenHeight; field in Viewport
49 HdpiUtils.glViewport(screenX, screenY, screenWidth, screenHeight); in apply()
74 camera.unproject(tmp, screenX, screenY, screenWidth, screenHeight); in unproject()
84 camera.project(tmp, screenX, screenY, screenWidth, screenHeight); in project()
93 camera.unproject(screenCoords, screenX, screenY, screenWidth, screenHeight); in unproject()
101 camera.project(worldCoords, screenX, screenY, screenWidth, screenHeight); in project()
106 public Ray getPickRay (float screenX, float screenY) { in getPickRay() argument
107 return camera.getPickRay(screenX, screenY, this.screenX, this.screenY, screenWidth, screenHeight); in getPickRay()
112 …ScissorStack.calculateScissors(camera, screenX, screenY, screenWidth, screenHeight, batchTransform… in calculateScissors()
159 return screenX; in getScreenX()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/
DInputMultiplexer.java88 public boolean touchDown (int screenX, int screenY, int pointer, int button) { in touchDown() argument
90 if (processors.get(i).touchDown(screenX, screenY, pointer, button)) return true; in touchDown()
94 public boolean touchUp (int screenX, int screenY, int pointer, int button) { in touchUp() argument
96 if (processors.get(i).touchUp(screenX, screenY, pointer, button)) return true; in touchUp()
100 public boolean touchDragged (int screenX, int screenY, int pointer) { in touchDragged() argument
102 if (processors.get(i).touchDragged(screenX, screenY, pointer)) return true; in touchDragged()
107 public boolean mouseMoved (int screenX, int screenY) { in mouseMoved() argument
109 if (processors.get(i).mouseMoved(screenX, screenY)) return true; in mouseMoved()
DInputEventQueue.java124 public synchronized boolean touchDown (int screenX, int screenY, int pointer, int button) { in touchDown() argument
127 queue.add(screenX); in touchDown()
134 public synchronized boolean touchUp (int screenX, int screenY, int pointer, int button) { in touchUp() argument
137 queue.add(screenX); in touchUp()
144 public synchronized boolean touchDragged (int screenX, int screenY, int pointer) { in touchDragged() argument
147 queue.add(screenX); in touchDragged()
153 public synchronized boolean mouseMoved (int screenX, int screenY) { in mouseMoved() argument
156 queue.add(screenX); in mouseMoved()
DInputAdapter.java35 public boolean touchDown (int screenX, int screenY, int pointer, int button) { in touchDown() argument
39 public boolean touchUp (int screenX, int screenY, int pointer, int button) { in touchUp() argument
43 public boolean touchDragged (int screenX, int screenY, int pointer) { in touchDragged() argument
48 public boolean mouseMoved (int screenX, int screenY) { in mouseMoved() argument
DInputProcessor.java52 public boolean touchDown (int screenX, int screenY, int pointer, int button); in touchDown() argument
58 public boolean touchUp (int screenX, int screenY, int pointer, int button); in touchUp() argument
63 public boolean touchDragged (int screenX, int screenY, int pointer); in touchDragged() argument
67 public boolean mouseMoved (int screenX, int screenY); in mouseMoved() argument
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/
DCameraInputController.java156 public boolean touchDown (int screenX, int screenY, int pointer, int button) { in touchDown() argument
162 startX = screenX; in touchDown()
166 …return super.touchDown(screenX, screenY, pointer, button) || (activateKey == 0 || activatePressed); in touchDown()
170 public boolean touchUp (int screenX, int screenY, int pointer, int button) { in touchUp() argument
174 return super.touchUp(screenX, screenY, pointer, button) || activatePressed; in touchUp()
195 public boolean touchDragged (int screenX, int screenY, int pointer) { in touchDragged() argument
196 boolean result = super.touchDragged(screenX, screenY, pointer); in touchDragged()
198 final float deltaX = (screenX - startX) / Gdx.graphics.getWidth(); in touchDragged()
200 startX = screenX; in touchDragged()
DFirstPersonCameraController.java70 public boolean touchDragged (int screenX, int screenY, int pointer) { in touchDragged() argument
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/
DStage.java225 private Actor fireEnterAndExit (Actor overLast, int screenX, int screenY, int pointer) { in fireEnterAndExit() argument
227 screenToStageCoordinates(tempCoords.set(screenX, screenY)); in fireEnterAndExit()
259 public boolean touchDown (int screenX, int screenY, int pointer, int button) { in touchDown() argument
260 …if (screenX < viewport.getScreenX() || screenX >= viewport.getScreenX() + viewport.getScreenWidth(… in touchDown()
265 pointerScreenX[pointer] = screenX; in touchDown()
268 screenToStageCoordinates(tempCoords.set(screenX, screenY)); in touchDown()
292 public boolean touchDragged (int screenX, int screenY, int pointer) { in touchDragged() argument
293 pointerScreenX[pointer] = screenX; in touchDragged()
295 mouseScreenX = screenX; in touchDragged()
300 screenToStageCoordinates(tempCoords.set(screenX, screenY)); in touchDragged()
[all …]
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
DBulletTest.java53 public boolean touchDown (int screenX, int screenY, int pointer, int button) { in touchDown() argument
58 public boolean touchUp (int screenX, int screenY, int pointer, int button) { in touchUp() argument
63 public boolean touchDragged (int screenX, int screenY, int pointer) { in touchDragged() argument
68 public boolean mouseMoved (int screenX, int screenY) { in mouseMoved() argument
DRayPickRagdollTest.java91 public boolean touchDown (int screenX, int screenY, int pointer, int button) { in touchDown() argument
94 Ray ray = camera.getPickRay(screenX, screenY); in touchDown()
121 return result ? result : super.touchDown(screenX, screenY, pointer, button); in touchDown()
125 public boolean touchUp (int screenX, int screenY, int pointer, int button) { in touchUp() argument
140 return result ? result : super.touchUp(screenX, screenY, pointer, button); in touchUp()
144 public boolean touchDragged (int screenX, int screenY, int pointer) { in touchDragged() argument
147 Ray ray = camera.getPickRay(screenX, screenY); in touchDragged()
152 return result ? result : super.touchDragged(screenX, screenY, pointer); in touchDragged()
DTriangleRaycastTest.java151 public boolean tap (float screenX, float screenY, int count, int button) { in tap() argument
152 Ray ray = camera.getPickRay(screenX, screenY); in tap()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DPathTest.java169 public boolean touchUp (int screenX, int screenY, int pointer, int button) { in touchUp() argument
170 touch(screenX, screenY); in touchUp()
171 return super.touchUp(screenX, screenY, pointer, button); in touchUp()
175 public boolean touchDragged (int screenX, int screenY, int pointer) { in touchDragged() argument
176 touch(screenX, screenY); in touchDragged()
177 return super.touchDragged(screenX, screenY, pointer); in touchDragged()
DDelaunayTriangulatorTest.java46 public boolean touchDown (int screenX, int screenY, int pointer, int button) { in create()
53 public boolean mouseMoved (int screenX, int screenY) { in create()
DInterpolationTest.java130 public boolean touchDown (int screenX, int screenY, int pointer, int button) { in create()
133 targetPosition.set(stage.screenToStageCoordinates(targetPosition.set(screenX, screenY))); in create()
DStageDebugTest.java110 public boolean touchDown (int screenX, int screenY, int pointer, int button) { in touchDown() argument
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/
DCamera.java251 …public Ray getPickRay (float screenX, float screenY, float viewportX, float viewportY, float viewp… in getPickRay() argument
253 …unproject(ray.origin.set(screenX, screenY, 0), viewportX, viewportY, viewportWidth, viewportHeight… in getPickRay()
254 …unproject(ray.direction.set(screenX, screenY, 1), viewportX, viewportY, viewportWidth, viewportHei… in getPickRay()
263 public Ray getPickRay (float screenX, float screenY) { in getPickRay() argument
264 return getPickRay(screenX, screenY, 0, 0, Gdx.graphics.getWidth(), Gdx.graphics.getHeight()); in getPickRay()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/callbacks/
DDebugDraw.java270 public void getScreenToWorldToOut(float screenX, float screenY, Vec2 argWorld) { in getScreenToWorldToOut() argument
271 argWorld.set(screenX, screenY); in getScreenToWorldToOut()
292 public Vec2 getScreenToWorld(float screenX, float screenY) { in getScreenToWorld() argument
293 Vec2 screen = new Vec2(screenX, screenY); in getScreenToWorld()
/external/libgdx/backends/gdx-backend-jglfw/src/com/badlogic/gdx/backends/jglfw/
DJglfwInput.java83 public boolean touchDown (int screenX, int screenY, int pointer, int button) { in JglfwInput()
86 return processor != null ? processor.touchDown(screenX, screenY, pointer, button) : false; in JglfwInput()
89 public boolean touchUp (int screenX, int screenY, int pointer, int button) { in JglfwInput()
91 return processor != null ? processor.touchUp(screenX, screenY, pointer, button) : false; in JglfwInput()
94 public boolean touchDragged (int screenX, int screenY, int pointer) { in JglfwInput()
95 deltaX = screenX - mouseX; in JglfwInput()
97 mouseX = screenX; in JglfwInput()
103 public boolean mouseMoved (int screenX, int screenY) { in JglfwInput()
104 deltaX = screenX - mouseX; in JglfwInput()
106 mouseX = screenX; in JglfwInput()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/
DMaterialTest.java109 public boolean touchUp (int screenX, int screenY, int pointer, int button) { in touchUp() argument
120 return super.touchUp(screenX, screenY, pointer, button); in touchUp()
DBenchmark3DTest.java257 public boolean touchUp (int screenX, int screenY, int pointer, int button) { in touchUp() argument
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/gwt/
DGwtTestWrapper.java176 public boolean touchDown (int screenX, int screenY, int pointer, int button) { in create()
177 if (screenX < Gdx.graphics.getWidth() / 10.0 && screenY < Gdx.graphics.getHeight() / 10.0) { in create()
/external/deqp/modules/gles3/functional/
Des3fShaderDerivateTests.cpp427 tcu::Vec4 evaluateAt (float screenX, float screenY) const;
430 tcu::Vec4 Linear2DFunctionEvaluator::evaluateAt (float screenX, float screenY) const in evaluateAt() argument
432 const tcu::Vec3 position(screenX, screenY, 1.0f); in evaluateAt()
/external/chromium-trace/catapult/tracing/third_party/components/polymer/
Dpolymer.min.js11 …&&(h.x=b.x,h.dx=f.x,h.ddx=g.x,h.clientX=b.clientX,h.pageX=b.pageX,h.screenX=b.screenX,h.xDirection…
/external/chromium-trace/catapult/third_party/polymer/components/polymer/
Dpolymer.js1726 gestureProto.screenX = inEvent.screenX;
Dpolymer.min.js11 …&&(h.x=b.x,h.dx=f.x,h.ddx=g.x,h.clientX=b.clientX,h.pageX=b.pageX,h.screenX=b.screenX,h.xDirection…

12