Back to project page Look.
The source code is released under:
====================== LOOK! LICENSING TERMS ====================== look! is licensed under the BSD 3-Clause (also known as "BSD New" or "BSD Simplified"), as follows: Copyright (c) 2010-2012, Look...
If you think the Android project Look listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** *----------------------------------------------------------------------------- * Copyright (c) 2012, Look! Development Team * All rights reserved.//from w w w .j a v a2s. c om * * Distributed under the terms of the BSD Simplified License. * * The full license is in the LICENSE file, distributed with this software. *----------------------------------------------------------------------------- */ package es.ucm.look.locationProvider; /** * Motion object storing timestamp and distance moved * * @author Jorge Creixell Rojo * Based on Indoor Navigation System for Handheld Devices * by Manh Hung V. Le, Dimitris Saragas, Nathan Webb * */ public class Motion { public float[] distance; public long time; public Motion() { this.distance = new float[2]; this.time = 0; } public Motion(long time) { this.distance = new float[2]; distance[0] = 0; distance[1] = 0; this.time = time; } public Motion(Motion m) { this.distance = Util.copyArray(m.distance); this.time = m.time; } }