Battery text mode (1/2)

PS2: Make battery level more fit current solution
PS3: Fix displaing battery level inside the icon

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

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

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Keyguard: Enable quick unlock (1/2)

old way does not work anymore exactly like before. So adapt the idea to new LP code

Thankd DVTonder for the basic idea prior LP

PS:
- do PIN view correctly
- Hide OK button if quick unlock is enabled on PIN view

Change-Id: I86660afafb8648d36d6c135343c88afcfc5173fc
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Frameworks: Policy: implement a pin keypad shuffler [1/2]

this is to further prevent people using the tablet guessing your pin based on fingerprints left on the screen
example of the expected outcome - https://www.dropbox.com/sh/r3xb2q53ksaqni9/Oz1Eu8Dm7O

- correct coding style
- added reload button

PatchSet:
- simplify shuffle code
- fix over shifting in some cases
- add reload button functionallity
- add lockscreenutils method to detect only PIN lock
  for settings
- exclude sim and simpuk PIN lock
- add drawables for reload button

PatchSet
- cleanup

PatchSet:
- fix shuffle NumKeyPad even if a theme replaces the xml
  and reload button is not present.

PatchSet:
- add mode disabled/always/on request

PatchSet:
- add nicer drawables

cheers

kufi

Ported to new keyguard package on LP

A bit rewrite of this feature + clean up and shorten aosp code

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

Conflicts:
	packages/Keyguard/res/layout/keyguard_pin_view.xml
	packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java
	packages/Keyguard/src/com/android/keyguard/NumPadKey.java

Change-Id: I6cf23a70a24ff0d640850d35acd4584e2e8d2192
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Keyguard: shuffler - be sure klondikeText is visible if needed and poke a wakelock...

if the user press the random key

Change-Id: I0f599928085f333e4f8d1ced06644c43917cc27f
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Keyguard: Correctly set the visibility

What a day. Small derp due that the keyguard does not gets every time reinflated
we need to ensure that the visibilities are set correctly if the user changed the
configuration.

Sorry for 2 fix commits today

Change-Id: I2c7f4501c3ef589e515afe6d5ca07c1286bed5f3
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Keyguard: Fix another derp and check against null

good night

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