Status bar brightness control improvements

- Prevent brightness changes after notifications panel has been opened.
- Don't adjust brightness for swipes <45° from vertical.
- Stop using a VelocityTracker since we weren't actually giving it any
  events to track.

Change-Id: Ie28c5c186b692e3f308bba4a1ee02faeb0982ac1
PhoneWindowPolicy: Fix NPE race condition by excessive screen on delay

When screen on has an excessive delay mTopFullscreenOpaqueWindowState could
not be initialized. This derives in a NPE from a Power key press. If
mTopFullscreenOpaqueWindowState = null then PREVENT_POWER_KEY can be safelly
ignored

Change-Id: I04ce5d88f6f9abf02b2bbcdce4a2acad2f6451fa
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Framework: NL translation

ps1: QS performance profiles tile

ps2: move CAF strings to bottom

Change-Id: I63f73a78b659cc3da8c39583d9f4f2627fb3fcf4
Merge "PhoneWindowPolicy: Fix NPE race condition by excessive screen on delay" into cm-10.2
Move android-4.3_r3.1 config options

Change-Id: I9c51a13236795c18903e001a4070b7e8959b7278
Merge "Framework: NL translation" into cm-10.2
Merge "Move android-4.3_r3.1 config options" into cm-10.2
Merge "Status bar brightness control improvements" into cm-10.2
Merge branch 'cm-10.2' of git://github.com/CyanogenMod/android_frameworks_base into cm-10.2

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