Change SQL to improve performance.

To know the number of images, use "COUNT(*)" instead of "_id" in SQL.
Using "_id" gets all result set. and when getCount() is called, CursorWindow is filled.
But using "COUNT(*)" gets just 1by1 data.
So using "COUNT(*)" is more faster than now.
And this SQL is called everytime per a file during a file transfer in MTP
The better way is by using "EXIST".
But if using "EXIST", modify MediaProvider.call() method.
So i applied just a "COUNT(*)"

Change-Id: Ic5882af0fad2304f836b7b7043a4746359391609
Signed-off-by: muzbit.kim <muzbit.kim@lge.com>
Forward Port: Hide USB Debugging Icon [1/2]

Change-Id: Ibd63a9df207ddfb67dc16fbd44697261a9f6f0b4
Forward Port: Add Camera sound toggle [1/3]

Change-Id: I9e90f606d528eea08a41c35e75cd189e765c5d97
MediaScanner behavior on boot (1/3)

Lets you enable/disable/ask (with a notification) media scanning on boot.
Can speed up boot and reduce initial boot lag from MediaScanner

Change-Id: I634ae96b1dcb493b966b4653589cd97523b63da7
Add clear all recents action to recents panel

Change-Id: I2243ebc83abc483e78b112900a653d7e61edc5ba
Fix - place Clear Recents button above the nav bar

Change-Id: Ie7059cd1f71bae28ff25f367221b7c7ba0131932
Fix up 'clear recents' UX.

Use the 'dismiss all' button drawable and place the button in the upper
right corner. Doing so fixes the broken animation when going into
recents.

Change-Id: I497a8b023f1872c5f9ae5df87af6ed2159e6b7b1
Increase Touch Sensitivity

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Speed Up Windows Orientation

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
	policy/src/com/android/internal/policy/impl/WindowOrientationListener.java

Change-Id: I46dfffe3d520aa7709a29c2f71c906855420ae8c
Frameworks: Speed up orientation rotation

Change-Id: Iac876ad479f368088113c4355b70727b33ed4ba8
Signed-off-by: Arnav Gosain <nolinuxnoparty@gmail.com>
Signed-off-by: pcarenza <pcarenza@gmail.com>
Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
	policy/src/com/android/internal/policy/impl/WindowOrientationListener.java
Speed Animations up a bit

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
0.25 animations

Change-Id: I92df9a715c283817668ed797a65c16a31abc457a
Battery text mode (1/2)

Change-Id: I537c99827e78c796b4980ec7751e5f9b58a88251
Signed-off-by: kecinzer <kecinzer@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java