framework: fix screenshot and rotation animation for devices with abnormal hw rotation

port foreward from cm10.1:
https://github.com/CyanogenMod/android_frameworks_base/commit/ac555b9ca9a76d13a26fc9ea40980fe57258761b#diff-d6f7bba268a742c91252cc9e64e2381a

Change-Id: I14b6e2403b9be345a1a591138f8a3a12ca8e4f89
Fix navbar editor for RTL layouts.

Remove navigation bar layout XML override which wasn't needed anyway, as
the views in mid_navigation_bar are already reordered based on the
layout direction anyway.

Change-Id: Id57c781d9580fa0cb2eab3bb332daf4136bec321
JIRA:CYAN-2557
Merge "Fix navbar editor for RTL layouts." into cm-11.0
Fix the resource IDs used by CTS tests

* Google didn't make networkAttributes a public resource, so everyone
  is failing CTS after adding new resources to the framework. This
  fixes it.
* Same thing with config_useFixedVolume

Change-Id: I720b36d0922b636fe30f691f016add6b8cc7ade3
MiniThumbFile: Fix image/bitmap retrieval

Change I66005dd69b0a5c8f4353bd7a8225d163a654fd2d changed the insertion
and creation indexing mechanism, but the retrieval method was still
using the old sparse one. Fixit

Fixes android.provider.cts.MediaStore_Images_MediaTest#testInsertImageWithBitmap,
android.provider.cts.MediaStore_Images_MediaTest#testInsertImageWithImagePath,
android.provider.cts.MediaStore_Images_ThumbnailsTest#testQueryExternalMiniThumbnails,
and android.provider.cts.MediaStore_Video_ThumbnailsTest#testGetThumbnail

Change-Id: I41feea79fa304635f3908055fb95a8c85718a97f
SystemUI: fix wrong statusbar background.

If we turned off screen while some panel was visible than
background of PhoneStatusBarView will not be updated because we receiving single
panelExpansionChanged call and after super.panelExpansionChanged mFadingPanel
will be null (onAllPanelsCollapsed cause this).

Allow updating background when mFadingPanel is null.

Change-Id: Ib123f27500790c1b7ec787b7e433372629daa08d
Development shortcut in StatusBar and Recent Panel

It enables the wipe data and application force close option in the
recent tasks list and in the notification area. These options will
be available only if the Development shortcut option is enabled.

Change-Id: Ia4e1d040e8eade5afe118dd62bc28c86381c03e6
Merge "framework: fix screenshot and rotation animation for devices with abnormal hw rotation" into cm-11.0
Merge remote-tracking branch 'cm/cm-11.0' into HEAD