/external/libgdx/gdx/src/com/badlogic/gdx/ |
InputAdapter.java | 35 public boolean touchDown (int screenX, int screenY, int pointer, int button) {
39 public boolean touchUp (int screenX, int screenY, int pointer, int button) {
43 public boolean touchDragged (int screenX, int screenY, int pointer) {
48 public boolean mouseMoved (int screenX, int screenY) {
|
InputProcessor.java | 48 * @param screenY The y coordinate, origin is in the upper left corner
52 public boolean touchDown (int screenX, int screenY, int pointer, int button);
58 public boolean touchUp (int screenX, int screenY, int pointer, int button);
63 public boolean touchDragged (int screenX, int screenY, int pointer);
67 public boolean mouseMoved (int screenX, int screenY);
|
InputMultiplexer.java | 88 public boolean touchDown (int screenX, int screenY, int pointer, int button) {
90 if (processors.get(i).touchDown(screenX, screenY, pointer, button)) return true;
94 public boolean touchUp (int screenX, int screenY, int pointer, int button) {
96 if (processors.get(i).touchUp(screenX, screenY, pointer, button)) return true;
100 public boolean touchDragged (int screenX, int screenY, int pointer) {
102 if (processors.get(i).touchDragged(screenX, screenY, pointer)) return true;
107 public boolean mouseMoved (int screenX, int screenY) {
109 if (processors.get(i).mouseMoved(screenX, screenY)) return true;
|
InputEventQueue.java | 124 public synchronized boolean touchDown (int screenX, int screenY, int pointer, int button) {
128 queue.add(screenY);
134 public synchronized boolean touchUp (int screenX, int screenY, int pointer, int button) {
138 queue.add(screenY);
144 public synchronized boolean touchDragged (int screenX, int screenY, int pointer) {
148 queue.add(screenY);
153 public synchronized boolean mouseMoved (int screenX, int screenY) {
157 queue.add(screenY);
|
/external/libgdx/gdx/src/com/badlogic/gdx/utils/viewport/ |
Viewport.java | 37 private int screenX, screenY, screenWidth, screenHeight; 49 HdpiUtils.glViewport(screenX, screenY, screenWidth, screenHeight); 74 camera.unproject(tmp, screenX, screenY, screenWidth, screenHeight); 84 camera.project(tmp, screenX, screenY, screenWidth, screenHeight); 93 camera.unproject(screenCoords, screenX, screenY, screenWidth, screenHeight); 101 camera.project(worldCoords, screenX, screenY, screenWidth, screenHeight); 106 public Ray getPickRay (float screenX, float screenY) { 107 return camera.getPickRay(screenX, screenY, this.screenX, this.screenY, screenWidth, screenHeight); 112 ScissorStack.calculateScissors(camera, screenX, screenY, screenWidth, screenHeight, batchTransform, area, scissor) [all...] |
/packages/apps/Dialer/src/com/android/dialer/list/ |
DragDropController.java | 40 int screenY = y; 46 screenY = y + mLocationOnScreen[1]; 49 screenX, screenY); 54 mOnDragDropListeners.get(i).onDragStarted(screenX, screenY, tileView); 63 final int screenY = y + mLocationOnScreen[1]; 65 screenX, screenY); 67 mOnDragDropListeners.get(i).onDragHovered(screenX, screenY, view);
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/ |
BulletTest.java | 53 public boolean touchDown (int screenX, int screenY, int pointer, int button) { 58 public boolean touchUp (int screenX, int screenY, int pointer, int button) { 63 public boolean touchDragged (int screenX, int screenY, int pointer) { 68 public boolean mouseMoved (int screenX, int screenY) {
|
RayPickRagdollTest.java | 91 public boolean touchDown (int screenX, int screenY, int pointer, int button) { 94 Ray ray = camera.getPickRay(screenX, screenY); 121 return result ? result : super.touchDown(screenX, screenY, pointer, button); 125 public boolean touchUp (int screenX, int screenY, int pointer, int button) { 140 return result ? result : super.touchUp(screenX, screenY, pointer, button); 144 public boolean touchDragged (int screenX, int screenY, int pointer) { 147 Ray ray = camera.getPickRay(screenX, screenY); 152 return result ? result : super.touchDragged(screenX, screenY, pointer);
|
TriangleRaycastTest.java | 151 public boolean tap (float screenX, float screenY, int count, int button) { 152 Ray ray = camera.getPickRay(screenX, screenY);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/ |
CameraInputController.java | 156 public boolean touchDown (int screenX, int screenY, int pointer, int button) {
163 startY = screenY;
166 return super.touchDown(screenX, screenY, pointer, button) || (activateKey == 0 || activatePressed);
170 public boolean touchUp (int screenX, int screenY, int pointer, int button) {
174 return super.touchUp(screenX, screenY, pointer, button) || activatePressed;
195 public boolean touchDragged (int screenX, int screenY, int pointer) {
196 boolean result = super.touchDragged(screenX, screenY, pointer);
199 final float deltaY = (startY - screenY) / Gdx.graphics.getHeight();
201 startY = screenY;
|
FirstPersonCameraController.java | 70 public boolean touchDragged (int screenX, int screenY, int pointer) {
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/callbacks/ |
DebugDraw.java | 267 * @param screenY 270 public void getScreenToWorldToOut(float screenX, float screenY, Vec2 argWorld) { 271 argWorld.set(screenX, screenY); 290 * @param screenY 292 public Vec2 getScreenToWorld(float screenX, float screenY) { 293 Vec2 screen = new Vec2(screenX, screenY);
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
PathTest.java | 169 public boolean touchUp (int screenX, int screenY, int pointer, int button) { 170 touch(screenX, screenY); 171 return super.touchUp(screenX, screenY, pointer, button); 175 public boolean touchDragged (int screenX, int screenY, int pointer) { 176 touch(screenX, screenY); 177 return super.touchDragged(screenX, screenY, pointer);
|
DelaunayTriangulatorTest.java | 46 public boolean touchDown (int screenX, int screenY, int pointer, int button) { 53 public boolean mouseMoved (int screenX, int screenY) {
|
StageDebugTest.java | 110 public boolean touchDown (int screenX, int screenY, int pointer, int button) {
|
InterpolationTest.java | 130 public boolean touchDown (int screenX, int screenY, int pointer, int button) {
133 targetPosition.set(stage.screenToStageCoordinates(targetPosition.set(screenX, screenY)));
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/ |
Camera.java | 251 public Ray getPickRay (float screenX, float screenY, float viewportX, float viewportY, float viewportWidth,
253 unproject(ray.origin.set(screenX, screenY, 0), viewportX, viewportY, viewportWidth, viewportHeight);
254 unproject(ray.direction.set(screenX, screenY, 1), viewportX, viewportY, viewportWidth, viewportHeight);
263 public Ray getPickRay (float screenX, float screenY) {
264 return getPickRay(screenX, screenY, 0, 0, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ |
Stage.java | 225 private Actor fireEnterAndExit (Actor overLast, int screenX, int screenY, int pointer) { 227 screenToStageCoordinates(tempCoords.set(screenX, screenY)); 259 public boolean touchDown (int screenX, int screenY, int pointer, int button) { 261 if (Gdx.graphics.getHeight() - screenY < viewport.getScreenY() 262 || Gdx.graphics.getHeight() - screenY >= viewport.getScreenY() + viewport.getScreenHeight()) return false; 266 pointerScreenY[pointer] = screenY; 268 screenToStageCoordinates(tempCoords.set(screenX, screenY)); 292 public boolean touchDragged (int screenX, int screenY, int pointer) { 294 pointerScreenY[pointer] = screenY; 296 mouseScreenY = screenY; [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ |
MaterialTest.java | 109 public boolean touchUp (int screenX, int screenY, int pointer, int button) { 120 return super.touchUp(screenX, screenY, pointer, button);
|
/external/libgdx/backends/gdx-backend-jglfw/src/com/badlogic/gdx/backends/jglfw/ |
JglfwInput.java | 83 public boolean touchDown (int screenX, int screenY, int pointer, int button) {
86 return processor != null ? processor.touchDown(screenX, screenY, pointer, button) : false;
89 public boolean touchUp (int screenX, int screenY, int pointer, int button) {
91 return processor != null ? processor.touchUp(screenX, screenY, pointer, button) : false;
94 public boolean touchDragged (int screenX, int screenY, int pointer) {
96 deltaY = screenY - mouseY;
98 mouseY = screenY;
103 public boolean mouseMoved (int screenX, int screenY) {
105 deltaY = screenY - mouseY;
107 mouseY = screenY;
[all...] |
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/ |
CubeWallpaper2.java | 270 float screenY = newy / (4 - newz / 400); 273 mRotatedPoints[i].y = screenY;
|
/frameworks/support/transition/ics/android/support/transition/ |
FadePort.java | 78 private static final String PROPNAME_SCREEN_Y = "android:fade:screenY"; 245 int screenY = (Integer) startValues.values.get(PROPNAME_SCREEN_Y); 249 ViewCompat.offsetTopAndBottom(overlayView, (screenY - loc[1]) - overlayView.getTop());
|
/frameworks/base/core/java/android/transition/ |
Visibility.java | 414 int screenY = screenLoc[1]; 418 overlayView.offsetTopAndBottom((screenY - loc[1]) - overlayView.getTop());
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/gwt/ |
GwtTestWrapper.java | 176 public boolean touchDown (int screenX, int screenY, int pointer, int button) { 177 if (screenX < Gdx.graphics.getWidth() / 10.0 && screenY < Gdx.graphics.getHeight() / 10.0) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
TaskStackLayoutAlgorithm.java | [all...] |