Commit Graph

9 Commits

Author SHA1 Message Date
Kristian Sloth Lauszus e658c65cef Fix animation transition around the unit circle in Android compass example
For example if the previous angle was 269 and the new angle is -84, then the current code would rotate the needle in a clockwise direction. This fix would add 360 to -84, so the new angle would be 276, which would result in the correct behaviour of the needle rotating anti-clockwise.
2018-05-21 16:22:16 +02:00
Susmit 8c180097cb Pep8 fixes for example directory. (#4814)
* fixed pep8 errors

* pep8 fixes forexamples directory

* some more pep8 fixes
2016-12-17 11:41:12 +02:00
dessant 799da559bc tabs to spaces in example kv files 2015-10-24 20:41:19 +03:00
dessant bf2ffdd58f fix kv path issue and clean up container example 2015-10-13 23:43:07 +03:00
Charles Merriam 02c30a4e9f Fix examples/ PEP8 errors. Mostly white space.
This fixes a large number of white space errors in the examples/
directory.
When I upgraded Makefile to check the 'make style' on the examples
directory,
the output was hundreds of lines long.   Currently, the output is
managable
and consists solely of "lines too long", as kv lines cannot be split.
This
commit touches an obscene number of files in trivial ways.
2015-02-01 17:09:20 -08:00
Mathieu Virbel 0ec55c7e1d example: rework compass example to work with python-for-android, and remove all broken code. 2013-06-25 13:56:47 +02:00
Mathieu Virbel bae94bc3db first 2to3 pass + manual fix for metaclass, UserDict and OrderedDict 2013-03-18 17:39:56 -06:00
Nik Klever 86bc437fcf compass app example adopted to a tidy new Hardware.java 2012-09-08 21:51:32 +02:00
Nik Klever b403b9d8dd moved compass app from examples/demo to examples/android 2012-09-07 09:16:53 +02:00