transparent nav bar

Signed-off-by: Roman Birg <romanbirg@gmail.com>
Change-Id: I71eb46af407ec97084dcf7944f0c4231c98dbe97

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/config.xml
	packages/SystemUI/src/com/android/systemui/statusbar/NavigationBarView.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
transparent statusbar

Currently just uses the same logic/values as the nav bar. We may want to separate those out

  Patch Set 9: Fix whitespace before merge

Change-Id: I6188ebd98684c8775b0447b4e6a1f09ec1a78887
Signed-off-by: Roman Birg <romanbirg@gmail.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
fix IME overlapping fields while typing in certain situations

Change-Id: Ia8762443b4f43174fb416bd432c2e70f97881558
Signed-off-by: Roman Birg <romanbirg@gmail.com>
SystemUI: respect statusbar background for themes

one love

Change-Id: Iaa71bdec2b258b13b581cacb618be2a90eba3020
Signed-off-by: Roman Birg <romanbirg@gmail.com>
LockScreen: Option to hide initial page hints (1/2)

This will add an option to hide the initial page hints
that are shown left and right when the device is turned on.

Change-Id: Id4f29f7cfbaca6b4dd91f0b2de2b8195a966259b
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardWidgetPager.java
SystemUI: update nav bar keyguard logic

More consistant with statusbar transparency logic.

Change-Id: Ieba5e695417f2c0a7e34805a21c7b198274ccf83
Signed-off-by: Roman Birg <romanbirg@gmail.com>
SystemUI: cleaner recents key implementation

Also, I noticed that the RecentsTaskLoader implemented
View.OnTouchListener, so just use that implementation for the button.
Also camelCased some variables.

I can't stand the way AokpTarget looks... so I renamed it to
AwesomeAction :/

Change-Id: If51c592bebcfbe98d49bb362f845a1b1d86cfb1e
Signed-off-by: Roman Birg <romanbirg@gmail.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/SearchPanelView.java
	packages/SystemUI/src/com/android/systemui/aokp/AwesomeAction.java
	packages/SystemUI/src/com/android/systemui/statusbar/NavigationBarView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/ExtensibleKeyButtonView.java
Framework: NavBarColor (1/2)

Change-Id: I7ed579d95d921e08d8f9d0a9160605457b8c4cb3
SystemUI: unlock keyguard to open nav ring apps

Should not launch apps if it's secured with a pin/password/pattern.

Change-Id: I52fd604a15982e9eed465e005425b93ffb2a6e82
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Lockscreen: enable longpress on expand challenge handle (1/2)

If enabled it will be possible to longpress the little lock icon.

If it is an unsecure screen lock then the longpress will unlock the device.
If it is secure then the widget will fade into the background and you need
to enter the pattern, pin, password or whatever.

Change-Id: I901424c8c54d59298d6d77c10154f5410a636b01
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/symbols.xml
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardHostView.java
LockScreen: add option to minimize challenge when showing the lockscreen (1/2)

This will allow the user to choose wether the lockscreen
challenge (circle, pattern, pin) is minimized when the screen
is turned on.

PS2: rebase
PS3: hide if needed after inflation

Change-Id: Ib5bd0a84e5542a49d34ed8c8541e10a7878a616c
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardHostView.java
Lockscreen: provide haptic feedback on longpress unlock

Change-Id: Ie7e32a0e3d410da26095bfce1a8e5ba94f0b5eaf
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
SystemUI: fix long-press navring targets not opening in keyguard

Change-Id: I80d63b7a9b8429d19bcad5a15419c9e72def1f70
Signed-off-by: Roman Birg <romanbirg@gmail.com>
SystemUI: fix current window minimize animation in recents

This is how it's implemented by default on stock

Change-Id: I07ffd8ab7236782e23fba20057232ca518c0a4d1
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Lockscreen: respect global vibrate settings on longpress unlock

Change-Id: I5fd868b89236f1a3ca09d5f79530d841121516d0
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
PowerManager: Don't wake up device when charger is plugged/unplugged (1/2)

This will add the option to disable waking up the device when a charger
is plugged or unplugged.

Change-Id: I3367041a05931510f367dafe412b173c80b89df1
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
SystemUI: respect global vibrate settings in the statusbar

Change-Id: I6df0fe2c6eb00a625e4c0aff6d0c8743979de966
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
LastApp Toggle [1/2]

Creates an action useable by NavBar & NavRing to toggle
between most recent apps.  Will try to ignore the launcher
when possible.  ie, if you've just rebooted and have not opened any
apps, it will do nothing.  if you open 1 app, it will toggle between
that 1 app and the launcher.  Once two apps have been opened, it will
toggle between those two apps.
It's kind of like opening recents and hitting your #2 slot repeatedly

PS 2:  Add Icons from Hoolm.  {Thanks!}
       Re-wrote the logic for selecting next app.  Rather than
toggling back to launcher if only 1 app open, it does nothing.
toggling only occurs now when there are at least two apps open.
One issue that I still need to work out is that 'Recents' is somehow
showing up as a valid target to toggle to.  It shouldn't.

ps 3:  getRunningTasks() does not filter out 'Excludefromrecents'.
Thus we need checks for 'default launcher' and SystemUI.
as I write this, I realize I might be able to query the
ExcludeFromRecents flag of the package a bit more easily.

ps 4: Whitespace fix.
ps 5: one more whitespace fix.
ps 6: remove unnecessary dependency

Signed-off-by: Zaphod <mwilson@acesappraisal.com>
Change-Id: I0b59121b07b9ba44a2837a8db0266441ed82f9a3

Conflicts:
	packages/SystemUI/src/com/android/systemui/aokp/AwesomeAction.java
Remove BigMenu Logic

When BigMenu exists, NavBar assumes you want 'DONT_SHOW' for
left/right little menus.  This had spacing implications for users
that used BigMenu, but few buttons :
http://rootzwiki.com/topic/38274-menu-button-in-navbar/

removing this had little implication on the NavBar itself, but
did force some re-working of the MenuArrowKeys.

Change-Id: I6946d85d2e0a6db26b937a9ced9643c6a2a1ae83
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
Lockscreen : Quick unlock (Part 2/2)

Unlock password/pin lockscreen without pressing enter button

Patchset 2 : Remove unecessary intialization

Change-Id: Iecb5ed52ef28234f6adad813906dc885296a157c

Quick unlock : Fix bug

There is an issue where users whose passwords are greater than 8 chars and
have quick unlock enabled will be unable to unlock their lockscreen.
This is due to the logic evaluating anything beyond 3chars as a password attempt.

This change modifies the quick unlock behavior so that when typing the password,
each character is considered an attempt, however if incorrect, is not reported as a failed attempt.
Only when the user presses enter is it considered an "explicit" attempt and a failed attempt is reported.

Patchset 2 : Rename runnable to better reflect its purpose
Patchset 3 : Switch to new behavior
Patchset 4 : Fix padding

Menu unlock (frameworks part)

    	The option in Settings/Security/Lockscreen was
    	added before in some CM commit, but not working
    	and was missing a proper frameworks part

Patchet 3: Done like master Danesh M wanted

p2: Remove menu unlock option
p3: Remove further menu unlock left over code

-----------------

Forward port to AOKP JB-MR1

PS2: allow quick unlock only for PIN and Password Keyguard
     and not for SIM PIN/PUK
PS3: remove tabs to put a smile on KhasMeks face

Change-Id: I359f06055400a716e8b999ca8272476a7c1f5781
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>

Conflicts:
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardAbsKeyInputView.java