Allow adjusting progress on touch events.

Change-Id: Ide0a7ae057a62f3631a32eeaa63f3e04dec5bf54
Revert "fix some frameworks cursor leaks"

This reverts commit 2d577fec99911a1a30dd50679696a9aaf002d031.

This breaks calling numbers from contacts, log: http://pastebin.com/G88dFKJv

Numbers that are not in contacts can be called without problems.

Change-Id: Ie81a3c35baa5019b213e0c669107899872598aba
ProcessStats: Handle changes in the scaling frequnency

Switching from MP to IKS mode results increase in number of operating points
and results in bug #1183781 . The patch makes sure that whenever the available
scaling frequency changes it resets the existing values and sets them as per the
new values.

Change-Id: Ic74cdc2015f3c4ddd61cb116d1f4b4ed1204a3bf
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>

Conflicts:
	core/java/com/android/internal/os/ProcessStats.java