am d161e3f2: am 0fdae4cc: Merge change 24747 into eclair
am d161e3f2: am 0fdae4cc: Merge change 24747 into eclair

Merge commit 'd161e3f2753507ed0b1d62d2e9d16a882f6db989'

* commit 'd161e3f2753507ed0b1d62d2e9d16a882f6db989':
  Use floor to calculate the range to avoid the rounding error triggered

xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base