Call recording encoder/format choice 3/3

PS1: Adds a user option between WB AMR (the default) or HE-AAC for the encoding of call recording audio. Also changes the output format of the file appropriately (WB AMR now uses the WB_AMR output format and HE_AAC chooses the MPEG_4 output. File extensions are adjust accordingly as well).
This was in reponse to people complaining the quality of call recording audio is poor. It's noticibly better using HE-AAC, but filesizes are larger.

PS2: Removed Whitespace

Change-Id: Iffcdd3ba6f9aa80e238bbcc5db51809a4721711e
Use ProximityWake for SlimAction
ActiveDisplay: clean up package member visibility and trivial funcitons (partial port from Vanir)

Anything in the outer class that is accessed by an inner class should not be labeled
private.  This inlines some trivial functions and moves some code to the inner classes
that uses it also.  It also makes the screen state boolean volatile which fixes the
issue with the screen not turning on occassionally when a notification is received or
pocket mode is activated.
[1/2] Immersive mode: option to disable force navbar when ime shows

Conflicts:
	core/java/android/provider/Settings.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Disable forced navbar: reworked

previous way was causing issue's with displaying emoticons

-only for portrait mode as I cant get rid of the empty navbar layer in landsscape
-also fixed empty navbar layer on the right side when using left navbar and immersive

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
[1/2] Immersive mode: options to disable navbar or statusbar gesture

works for both SystemGesturesPointerEventListener and EdgeGestureService

* 0 - both enabled (default)
* 1 - disable navbar gesture
* 2 - disable statusbar gesture

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