aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/ui/CompassMiniView.java
Commit message (Collapse)AuthorAgeFilesLines
* refactoring: simplify CompassMiniView logicSamuel Tardieu2014-03-221-36/+11
|
* Add more @NonNull annotationsSamuel Tardieu2014-03-221-2/+4
|
* remove unused drawing codeBananeweizen2013-09-201-6/+1
|
* lint: call super methods in onDetachedFromWindowBananeweizen2013-09-201-1/+2
|
* Implements #750, use preference activitykoem2013-07-091-1/+1
|
* Refactoring: do not use protected methods in final classesSamuel Tardieu2012-12-181-3/+3
|
* Put angle-related utilities into their own packageSamuel Tardieu2012-06-011-1/+2
| | | | Also, use float instead of double for every angle computation.
* Simplify previous fix due to root cause fixingSamuel Tardieu2012-05-311-5/+1
| | | | | | | | | | | | | | | The fix for #1680 introduced in ad93745d42f9aaf5bc4925075987ef64c13b2f71 had to account for the possibility of angles being outside the [0, 360[ range. Commit 0034e358668d5911639628468be7409b2696d6c5 fixed #1685 and now ensures that the returned orientation is within the right domain range even after the phone rotation has been added to the sensor angle. It is now possible to simplify the computation because we now that the difference of two angle values will always be in the ]-360; 720[ range, and can this fixed by adding 360 and taking the module with 360 to enter back the [0, 360[ range.
* fix #1680: compass gets stuck after some rotationsBananeweizen2012-05-301-3/+1
|
* #1518: avoid repainting mini compass for changes less than 5 degreesBananeweizen2012-05-181-10/+27
|
* refactoring: share one bitmap in all mini compass viewsBananeweizen2012-04-301-74/+93
|
* Refactoring: remove redundant initializersSamuel Tardieu2012-04-281-4/+4
| | | | | The initial values were never used as the variables are set in any case before being used.
* refactoring: remove unused imports to avoid warningsBananeweizen2012-01-161-2/+0
|
* refactoring: move more widget related classes into own packageBananeweizen2012-01-141-0/+175