Add support for Latvian (qwerty) keyboard mapping

Add kcm mapping files for Latvian keyboard layout
based on US-international keylayout (qwerty).

Change-Id: I667081d3e7bb0ece3b278da3f97926f54c319ff8
Signed-off-by: Olivier Gay <ogay@logitech.com>
Signed-off-by: Myriam Douve <mdouve@logitech.com>
Signed-off-by: Mathieu Meisser <mmeisser@logitech.com>
Framework: Ensure Intent.ACTION_USER_PRESENT Is Sent

If the user set a keyguard delay (AOSP-Secure-Delay)
	and the screen turned off, many processes will
	thus assume the user is no longer present (true).
	If the screen is turned on before the keyguard
	enables itself, the USER_PRESENT broadcast is never
	sent and the app/process will not know the user has
	returned to using their device.

Change-Id: I6301848043fbf2d76513a20ae189d28018473202
Init the static member when first used for CursorWindow.

As the CursorWindow will be preloaded by zygote, and there is one static
member need use the system resource to initialize. But actually the zygote
do not preload the resource now. (In fact, the zygote will preload classes
first, then preload the resource.) We need ensure the zygote to create the
system resource first.

So change to init this static member as -1, and it will be evaluated when
first used.

Change-Id: Ibccb84e3c410c73788ac682fe76b720306e81dc4
Wait for secondary zygote before bringing up the system_server.

The zygote that's responsible for starting up the system server
now checks if there's another zygote on the system, and waits
for it to start up. Also, a few minor clean ups :

- Address a long standing TODO about zygote retries.
- Have functions throw IOException where appropriate and
  wrap them in ZygoteStartFailedEx with a filled in cause.

bug: 14869939

Change-Id: I9e514659b79b3d2c98a4c5f93c0c376843f6c881
Enable display list updates with zero delta time

It's better not to cancel display lists updates. In the emulator, if we use
low precision clock source like refined-jiffies, the display list which
should be updated with a new frame, won't be updated due to the delta time
is 0 . And this makes all the hardware accelerated GUI out of order.

Change-Id: I41dba8965c96b6ad1b6d326ad1d6fa4a0a49173f
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
[1/2] frameworks: Adding old-school (JB like) battery percents style
due to its better visibility.

Also added "No battery" style.

Added percents visibility while charging and
colorizing percents while charging

One selector made obvious

Removing unnecessary code

Setting green color for text 90+% charged

Now bolt color means color of circle battery, not percents

Fixing percentage color while charging for "text only" style

Fixing percentage color for JB style

Adding green percents color when charging and >90% for circles with percents too

Including Juba's changes regarding battery tile with no battery in statusbar
and styles order

Line to long and use static reference

How does it look like:
https://dl.dropboxusercontent.com/u/66673431/BattModPercentScreen1.jpg
https://dl.dropboxusercontent.com/u/66673431/BattModPercentScreen2.jpg

Settings change: https://gerrit.slimroms.net/#/c/5755/

Change-Id: I7505c7e35c252a0fac0bd37db4be33bbff89ef41
Merge "Wait for secondary zygote before bringing up the system_server."
Framework: Custom Tile Double-Tap (1/2)

Change-Id: I50461ddea85cb03e5c04b43e6a6b09411dba9a0d
Framework: Fine SeekBar control

Allow user to move their finger in the Y direction
	to change the speed at which the seekbar will seek
	on moving their finger across the X direction

PS2: increase time constraints by a bit
PS3: decrease distance constraints, lol

Change-Id: I1fc8db16820fd3615436ee0be6ce0bf4394c0808
Merge "Framework: Ensure Intent.ACTION_USER_PRESENT Is Sent" into kk4.4
fb: translation - RU

I47707f51e61ba0d4687e0232d684de7ee6b0eb72

Change-Id: Id9798b47c8f217b121053f7c8cfa97aa76d34cb8
Change InputMessage.motion.pointerSize to a uint32_t.

This ensures it's the same size in both 32 and 64 bit
processes and also brings it in line with struct
MotionEntry.

(cherry-picked from commit bc6001b026069714177526eb1120b0011d6f2a51)

Change-Id: Ide6bb4dc05cc92a7ae8833e615e8ebb2353255a6
Merge "Change InputMessage.motion.pointerSize to a uint32_t."
Merge "Init the static member when first used for CursorWindow."
Merge "Enable display list updates with zero delta time"
Merge "Add support for Latvian (qwerty) keyboard mapping"
auto-merger: merge in from aosp/master
auto-merger: merge in from github/kk4.4