Adding project.properties from current Android tools.
Removing old default.properties file.
Updating AndroidManifest based on ADT suggestions.
Cleaning up a leaked formatter by calling close.
Fixing a couple of typos and adding a string resource.
Changing Face %d/6 to Color %d/6 because you are trying to group the facelet colors.
Making if logic more clear and marking potential bug when index is bad.
Fixing instructions counter because there are 7 steps not 6. Also
adding protects for the ends of the steps so we don't crash.
Fixing a couple of rendering bugs with the move navigation UI.
Because the current position can get updated independently of the
rendering thread it is possible for position to change mid render.
To protect against this we cache the position value at the begining
of the render loop. Also fixed some size bugs and changed the highlight
color to red.
Initial attempt at fixing some threading issues in the cube render thread.
Because the animation and render threads are seperate, but share state they
need to be synchronized. Trying to use a lock here when changing the shared
state. This does not fix the problem so need to dig deeper.
This does fix a bug where surfaceHolder.lockCanvas can return null when
leaving the activity. This gaurds against an NPE in that scenario.
Cleaning up some more link from the ADT.
Doing some renaming so I can get a handle on the state that is actually changing.
Screwed up the AndroidManifest.xml. Doesn't seem to allow for the named
reference to the SDK version.
Use a SparseIntArray instead of a HashMap.
Fixing bug I introduced by making the eye vectors static. They are mutable
so can not be shared.
This fixes the flickering of the cube at the end of the rotations.
This was happening because 'cube' was getting updated at the same
time as the draw loop was rendering. I had synchronized getting a
copy of cube, but I did not do a deep copy like I needed to. There
are much better ways to do this state passing that I may spend some
time on later.
Handle thread deletion a little better so we don't crash when trying
to restart the activity. Before the thread would be stopped then
an attemp to restart the thread would happen when re-opening the
activity. This now sets the threads to null once they are destroyed
then we create new ones when we come back.
Adding a null check for the camera to gaurd against an NPE.
Prep work to make ColorDecoder thread safe. Currently ids has unsafe access
and exposure outside of the class. Made methods private that need not be
exposed and commented out unused code.
Incorrectly remove CREATOR. This is required when implementing
Parcelable.