FW: New unlock logic for lockscreen

This lets you move the unlock button and still keep
the magnetic targets...

Change-Id: I4f70036836f44362bfc19ad7a3ab3fb7863ea664
FlingTracker can divide by zero and hang StatusBar in an infinite loop

if 2 events have the same timestamp then FlingTracker in PanelView will divide
by zero causing NaNs. the bug is usually triggered by rapid StatusBar up/down
dragging activity and updateCarrierLabelVisibility can then loop indefinitely
looking at NaNs. the user visible symptom is that StatusBar refuses to pull
down and is burning cpu time.

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I0791c6bea953bf03346185fc6aaf44aaea79aace
Revert "am: Allow more hidden apps on devices with lots of RAM"

 * This isn't actually needed on 4.2+

This reverts commit 03a420191d8063a8def901b1955b7c477185d62d.

Change-Id: I1c4ef3c9c00882bf2c36ad042c368bacc0f9220f
SystemUI: Screenshot Toggle

onClick: Screenshot now(collpase status bar)
onLongClick: Starts 'timer' and screenshot after timer expires

PS2: Remove rebootmenu calls from PWM and add 500ms delay to allow statusbar to
         fully collapse

PS3,4: Redependcize commits
PS5: Secure Screenshot
PS6: Resolved conflicts
PS8: Respect RC delay setting & fix drawable padding
PS9: Removed to-do
PS10: collapseStatusBar() for longclick and added toast
PS11: reduce toast length to avoid capturing it. also make it translatable

Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>
Change-Id: I2cebb23e530a92901319b7171c3934125568c3ab
disable camera sounds (2/3)

Change-Id: Iaa37bc6790fe32664f8b52178c14fe926ca7d4ce
Signed-off-by: sethyx <sethyx@gmail.com>
Merge "FW: New unlock logic for lockscreen" into jb-mr1
Merge "SystemUI: Screenshot Toggle" into jb-mr1
SystemUI: Reboot Toggle

onClick: 3-way Reboot Menu
onLongClick: Reboot now

PS7:  Removed dependency on Screenshot toggle
PS9:  Removed light drawables
PS10: Add ProgressDialog to onLongClick for reboot

Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>
Change-Id: Ibc601112ede88490c1dd6e5d01122e5037244150
Updated Japanese translations

- Add missing entries
- Modify some translations

Change-Id: I291f6c62548c8c955b37b2cf7813cab0daa2ba73
Signed-off-by: rdgate <rdgate@gmail.com>
Remove opaque check in GLRenderer when preparing dirty region.

Since preserved swap is enabled, we need to clear the color buffer
when the scissor rect is prepared for a new process. This prevents
garbage to be present from the previous process in the color buffer.

CRs-Fixed: 391492, 403067, 405916

Change-Id: I1f72a3dee2f5d58a984f4cd367c9f7bf08ab9d6a

Conflicts:

	libs/hwui/OpenGLRenderer.cpp

[PATCH] Remove opaque check in preparing dirty region

Since preserved swap is enabled, we need to clear the color buffer
when the scissor rect is prepared for a new rocess. This prevents
garbage to be present from the previous process in the color buffer.

(cherry picked from commit 2b5e584e2615852b68a69bb529c6926190246b64)

Change-Id: I92a4fa35e0746f12fcd736e21fd30d9c4b644a8a
CRs-Fixed: 391492, 403067, 405916

Conflicts:

	libs/hwui/OpenGLRenderer.cpp

Enable scissor when preparing dirty rect that is opaque

Now enabling scissor before setting it in the opaque case, previously was not doing so.

Change-Id: I1ea904cf01603096e423556090564291ab712d36
CRs-Fixed: 465346
Depends-on: 278453
Tighten enforcement of file modes.

Bug: 8275867
Change-Id: I4da14f2dd0049aca69636999696c1f3c02b3b792
Merge "Updated Japanese translations" into jb-mr1
Reboot dialog fixes

Reboot dialog could not show up if the PowerMenu has not been called yet.
Also respect "show reboot on Lockscreen" setting of PowerMenu.

PS2: Formatting fix

Change-Id: If544575f0716be70b6a48d32ee273de0188c47a5
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
Merge remote-tracking branch 'aokp/jb-mr1' into jb-mr1