Searched refs:targetPosition (Results 1 – 3 of 3) sorted by relevance
/external/replicaisland/src/com/replica/replicaisland/ |
D | CameraSystem.java | 110 final Vector2 targetPosition = mTargetPosition; in update() local 117 targetPosition.x, INTERPOLATE_TO_TARGET_TIME, delta); in update() 120 targetPosition.y, INTERPOLATE_TO_TARGET_TIME, delta); in update() 135 final float xDelta = targetPosition.x - mCurrentCameraPosition.x; in update() 137 … mCurrentCameraPosition.x = targetPosition.x - (X_FOLLOW_DISTANCE * Utils.sign(xDelta)); in update() 141 final float yDelta = targetPosition.y - mCurrentCameraPosition.y; in update() 143 mCurrentCameraPosition.y = targetPosition.y - Y_UP_FOLLOW_DISTANCE; in update() 145 mCurrentCameraPosition.y = targetPosition.y + Y_DOWN_FOLLOW_DISTANCE; in update()
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
D | InterpolationTest.java | 51 Vector2 startPosition = new Vector2(), targetPosition = new Vector2(), position = new Vector2(); field in InterpolationTest 56 targetPosition.set(startPosition.x, stage.getHeight() / 5f); in resetPositions() 61 position.set(targetPosition); in getPosition() 133 targetPosition.set(stage.screenToStageCoordinates(targetPosition.set(screenX, screenY))); in create() 169 startPosition.set(targetPosition); // set startPosition to targetPosition for next click in render() 176 renderer.line(startPosition, targetPosition); in render()
|
/external/icu/icu4c/source/layout/ |
D | IndicReordering.cpp | 1022 le_int32 targetPosition = i+1; in finalReordering() local 1026 tmpGlyph = glyphStorage.getGlyphID(targetPosition,success); in finalReordering() 1027 tmpAuxData = glyphStorage.getAuxData(targetPosition,success); in finalReordering() 1033 targetPosition++; in finalReordering() 1041 tmpGlyph = glyphStorage.getGlyphID(targetPosition,success); in finalReordering() 1045 targetPosition--; in finalReordering() 1052 le_int32 checkMatraPosition = targetPosition+1; in finalReordering() 1062 targetPosition = checkMatraPosition; in finalReordering() 1067 glyphStorage.moveGlyph(i,targetPosition,repositionedGlyphMask); in finalReordering()
|