Applying ChannelScrolling to remove calculateDragAngle

To avoid angle calculation changed the logic to use virtual areas.
When try to drag or pan, check where the current touch point locates
and determine how to drag a page.

Change-Id: Id9bd08a69c4ac93ff385c8088e6c16bed5dc5f88
Signed-off-by: kiwon <kiwon98.lee@samsung.com>
Account malloc mmaped pages as native heap.

Currently when malloc uses a page rather than brk the heap gets accounted as
ashmem memory. Previously the memory would be accounted as unknown but since
[1] it gets accounted as ashmem. This change makes the accounting see this
memory as being native, ie the same kind of memory we associate with brk.

[1] https://android-review.googlesource.com/#/c/49583/3

Change-Id: I6f496cfeb590268d41d8e047b12cd5c90359e2b0
Policy: fix keyguard statusbar showing while in ext desktop, fixes it in
apps like currents as well

Change-Id: Id3e4b99d60c33e4050e0e97c365d1ae739f603ec
Merge "Fix ListView is not scrolled properly with arrows"
Merge "Recognize odex files in memory accounting."
Track stack memory in MemoryInfo.

In /proc/pid/maps the main stack is identified as "[stack]". In Linux 3.4
thread stacks are identified as "[stack:<tid>]" where <tid> is the thread ID of
the thread using that stack. Add support in MemInfo's otherStats to track
memory being used by the stack.

Add sanity check on the length of the otherStats array.
Add detail messages to two null pointer exceptions.

Bug: 8265251

Change-Id: I2b228b147da9bdc5c7a4d825dfc628fcc7923927
Enable vecorized bitmaps for all devices

Change-Id: I2231234adf115cf7f83c4b2778b53461f7a5587e

Conflicts:
	core/jni/Android.mk
restore transparent bluetooth for xhdpi & mdpi

Change-Id: I11dacffb27f1ad019118b828f0a458f922ba1df7
PIE: slightly smaller as default

Change-Id: I69d4830c52c1116b5d44b5b73f3375d8a074c5da
PWM: disable HW overlays for PIE

SurfaceFlinger wont wake up the GPU in SysUI's fullscreen state,
probably because it does not occupy any tangible region. That sets poor
PIE into software rendering, which has bad effects on transparency and
mdp compositioning. Disabling HW overlays as long as PIE is active seems
like a good alternative for now.

Change-Id: Ie7ed720edc5bbdd0cfb79c34a22996cf15fcd79b

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
add tabUI to HW overlays

Change-Id: Ib352cb05c0dca1155b3d1c8fe3da4b16de898e44
PWM: check for expanded desktop on boot

Change-Id: I8f3883019b60138d8937bd85adc9231b0e18c595
revert to old data/signal null icons

Change-Id: Ia071717100c217b66c0498e174558b3c31f86b9b
Please don't hardcode strings!

This avoids translations and clutters up the code really badly.
Uppercase

Just to keep consistency
update preloaded-classes

Remove some preloaded-classes and fix typo for deleting log messages
as the followings during booting.

W/Zygote  (  163): Class not found for preloading: android.bluetooth.
BluetoothAudioGateway
W/Zygote  (  163): Class not found for preloading: android.bluetooth.
HeadsetBase
W/Zygote  (  163): Class not found for preloading: undroid.content.Ab
stractThreadedSyncAdapter$SyncThread

Change-Id: Id02e0cccaeb150f48e12d67b2d691df828842e4c
prevent policy from spamming logs

Change-Id: I948881c304a380da6b3f5a497670aafc34b7818c