/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 | 47 * @param screenX The x 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) {
127 queue.add(screenX);
134 public synchronized boolean touchUp (int screenX, int screenY, int pointer, int button) {
137 queue.add(screenX);
144 public synchronized boolean touchDragged (int screenX, int screenY, int pointer) {
147 queue.add(screenX);
153 public synchronized boolean mouseMoved (int screenX, int screenY) {
156 queue.add(screenX);
|
/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 | 39 int screenX = x; 45 screenX = x + mLocationOnScreen[0]; 49 screenX, screenY); 54 mOnDragDropListeners.get(i).onDragStarted(screenX, screenY, tileView); 62 final int screenX = x + mLocationOnScreen[0]; 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) {
162 startX = screenX;
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);
198 final float deltaX = (screenX - startX) / Gdx.graphics.getWidth();
200 startX = screenX;
|
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 | 266 * @param screenX 270 public void getScreenToWorldToOut(float screenX, float screenY, Vec2 argWorld) { 271 argWorld.set(screenX, screenY); 289 * @param screenX 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) { 260 if (screenX < viewport.getScreenX() || screenX >= viewport.getScreenX() + viewport.getScreenWidth()) return false; 265 pointerScreenX[pointer] = screenX; 268 screenToStageCoordinates(tempCoords.set(screenX, screenY)); 292 public boolean touchDragged (int screenX, int screenY, int pointer) { 293 pointerScreenX[pointer] = screenX; 295 mouseScreenX = screenX; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
CanvasTransform.java | 208 public int inverseTranslate(int screenX) { 209 return (int) ((screenX - mMargin + mTranslate) / mScale);
|
/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);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
Paper.java | 71 float screenX = rect.centerX() - scrollX; 72 // We linearly interpolate the value [left, right] for the screenX 75 float x = screenX + mWidth / 4;
|
/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) {
95 deltaX = screenX - mouseX;
97 mouseX = screenX;
103 public boolean mouseMoved (int screenX, int screenY) {
104 deltaX = screenX - mouseX;
106 mouseX = screenX;
[all...] |
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/ |
CubeWallpaper2.java | 269 float screenX = newx / (4 - newz / 400); 272 mRotatedPoints[i].x = screenX;
|
/frameworks/support/transition/ics/android/support/transition/ |
FadePort.java | 76 private static final String PROPNAME_SCREEN_X = "android:fade:screenX"; 244 int screenX = (Integer) startValues.values.get(PROPNAME_SCREEN_X); 248 ViewCompat.offsetLeftAndRight(overlayView, (screenX - loc[0]) - overlayView.getLeft());
|
/frameworks/base/core/java/android/transition/ |
Visibility.java | 413 int screenX = screenLoc[0]; 417 overlayView.offsetLeftAndRight((screenX - loc[0]) - overlayView.getLeft());
|