At the moment I have code to fade brightness adjustments which looks something like this:
new Thread() { public void run() { for (int i = initial; i
From Honeycomb you can do things lie this using Property Animation. This post on the Android Developers blog talks about it all in some detail.
how about reducing the brightness to half in each iteration.
Then loop will complete in O(log n) rather than O(n) in current solution.