show connected devices or name of single device on Bluetooth Tile

Patchset 4: Add ACL listener to trace back connected/disconnected bt devices
            CleanUp
Patchset 5: Rebased
Patchset 6: Move ACL listener to BluetoothController

Change-Id: Ic9dda4f9123bc541753332df759cbd8534ab2e10
Signed-off-by: bart452 <bart4524@gmail.com>
SystemUI: disable statusbar time refresh when screen off

When screen is off, don't refresh the status bar to save power.
When screen is on, refresh immediately for user experience.

Change-Id: Ie250e20bab57c096a16886680a53263c635bf6f4
Add key layout file for Microsoft Corp. Xbox 360 Wireless Adapter

Change-Id: Ieed2d277e3197767c37d63cff0cedb855ee4fb74
Signed-off-by: John Grub <g@greyltc.com>
Merge "show connected devices or name of single device on Bluetooth Tile" into kk4.4
Fix uninitialized mScreenOn boolean in Clock

Fixes fail introduced from

https://github.com/TeamEOS/frameworks_base/commit/40c6915e43be05ef176023b20303827769c11dbf

Change-Id: I9daf426c588451a0a642951fba7c2d04e65acb3a
base: give users a warm welcome

preview: https://drive.google.com/file/d/0By_Wlo0S-0hZYVUzTDJhOHBJOG8/edit?usp=sharing

- credits to @AlmightyMegadeth00 (Dave Kessler) for the idea and some code
https://github.com/VanirAOSP/frameworks_base/commit/cc5edbb20a950c49826b8db1c723febffc1a8702

ps2: edit drawables
ps3: edit drawabled and strings
ps6: drawables edit by danjull
Change-Id: I8186470171388fcbad2a8ea926f268d7d314e806

Revert "BootMessage: show more info in boot dialog"

This reverts commit 01cec9838902ccdbf2858f60ef7d08dc1cb64854.

Signed-off-by: bart452 <bart4524@gmail.com>

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

Change-Id: Ic05498de312afd72519a04b25b3202282a5f78aa

base: fixup welcome screen

Change-Id: Ia78b3f2fd87f90392979d13af06eea08313e4f7c
Signed-off-by: bart452 <bart4524@gmail.com>

base: add back package name info

- add it anotherway then before

Change-Id: Ie7e5f800f0003b6f89b8a45a17af278f69425b58
Telephony: fix tdsdma asu invalid value

The magic value for invalid asu is "99", not "255". This error is causing the value validity checks to fail incorrectly, fixit.

Change-Id: Ief816eb577ccf371b3c85df1fe9515eb0bfb3f06
MSimNetworkController: Quiet logspam

* Most uses of Slog.d are not protected by the if (DEBUG) they should
  be. Make it so.

Change-Id: I36151113b1bfcdbe84c27abf39918441e23a8e88
Fix camera usage tracking.

When a Camera object is finalized, it notifies the torch service that
it's no longer using the camera. This call used to not check whether the
caller actually is still using the camera and called release() before,
so depending on timing of the finalizer, it could happen that e.g. the
camera app released the camera user record of the torch app, leading to
the torch usage not being detected on next usage of the camera app.

Fix that by checking whether the caller of onCameraClosed() actually
owned the camera prior to releasing the record.
Also fix synchronization between accesses.

Change-Id: Ic01cbc3c89ab8d855e4613bfa1b2f548de919b73
ProximityWake : Add support for checking proximity when waking device

Change-Id: Ia5ff446d88435773acccc7467e66009000dc20cb
Be sure to shutdown the proximity sensor after display wake

This fixes:
http://review.cyanogenmod.org/#/c/66657/

Change-Id: I1768f13cb48c3e056d0e137642690fc3d650c4ab
Proximity : Check proximity flags only if from native

Change-Id: Id1be619e638de6a45252d8390eab6e38bd5de5a7
PowerManager : Make proximity check opt-in

Change-Id: I7cf64a82530da2e655018e43683ba7a5584d54f8
Framework : Fix proximity wakeup reference

Change-Id: Ia40ca6fbf6e37fbb3996f2384f725c30b88c2131
Merge commit '417e56f' into kk4.4
Make default immersive mode style be the stock immersive mode style

Change-Id: Idc04d196725f5b305b9170b42a2ffe92a8f9c452
isolate navbar flashing black to isolated occurances in low profile mode

improved but not fixed.  no more free time for a few days.

Change-Id: I5a04c317d58263c0e3230fde860620c923076527
proper fix for navbar color glitch

Change-Id: I4c8225cdc0705ecc7003ea775f0e95821320d8d4
Optimize drawBitmapMesh using TRIANGLE_STRIP

Draw BitmapMesh using STRIP instead of TRIANGLES.
Depending on where the bottleneck is located in the pipeline,
there is a potential for saving two-thirds of the time spent rendering.
The speedup is due to avoiding redundant operations,
i.e., mapping each vertex four times to texture and color attribute,
sending each vertex twice to the GPU, vertex processing of GPU ...

In this patch:
1. Refactoring mesh using Strip.
2. Batch triangles by adding extra vertexs at the start and end of rows.
3. Optimize computing positions of texture and color attribute.

Benchmark: Drawing Bitmap(1152x768 px) with 200x200 meshes
Performance: ~46% improvements (from 26.4 fps to 38.7 fps)
Memory: Reduce 80800 vertices with xy, uv, rgba data.

Change-Id: I08c5c20d981d88528ce7b02012feefae468d6ec4
Signed-off-by: kui.zheng <kui.zheng@arm.com>
base: update link ring-notifications after read user settings

Change-Id: Ib424124dc20e38243e572333e323ba97aacb1111
JIRA: CYAN-3559
Issue: https://jira.cyanogenmod.org/browse/CYAN-3559
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>