Gallery: Removed "Settings" item from menu. (GallerySettings are empty)

As soon as GallerySettings.java has content, comments should be removed
from the files that this commit changes.
Menu without "Settings": http://i.imgur.com/gOX7x.png

Patchset2: Reverted AlbumSetPage.java changes

Change-Id: Idf8157849f9f394100ef858f4947e3f6cb734a93
Gallery: Removed "Settings" item from menu. (GallerySettings are empty)

Fixed Build Error from previous patch

Patchset2: Minor comment fix

Change-Id: Idf8157849f9f394100ef858f4947e3f6cb734a93

Conflicts:
	res/menu/albumset.xml
Some changes added to compile and run with Java 6 and Java 7.

  - correction of errors with Javac 6:
    - fields accessibility of generic class.

Change-Id: Ice8a707450cd07f1c562c826af644153a30e8cfe
Gallery2: Localize strings

Undo and redo were hardcoded in the photo editor. This allows their
localization.

Patch Set 2: Use new strings so that it may be better translated for
certain languages. (Translations in separate patch)

Change-Id: I63df977696b74128ca5e6fc45037b6b43d43a465
Gallery2: Filtershow toast translations

Toast translation strings that were copy-pasted from existing "undo" and
"redo" strings. Some of these may need to be modified for the toast to
fit on the screen.

Patch Set 2: Shorten Dutch strings as per Marco Brohet's suggestion.

Change-Id: Iaa42ca57dfdd327ffde35a77e320d7f04605f682
Merge tag 'android-4.2.2_r1' of https://android.googlesource.com/platform/packages/apps/Gallery2 into 1.1

Android 4.2.2 release 1
[2/2] Camera: add software HDR rendering

Since Camera stuff is compiled with Gallery2, we have to make sure the
renderscript files are compiled too.

Change-Id: Ia377a6f1e4839000aa528febc5c2b3fe42155be6
es_ES: Fix spanish translations

- Move CM additions to end of file
- Add missing translation

Change-Id: I90de978f4f386acdc72cde57d6bb704f0039ccbd
Add storage selection (2/2)

Change-Id: I364c9fd43c48195248d374e2f441fad2280aa4de
Revert "Add storage selection (2/2)"

 * Not needed.

This reverts commit bffa11174ba8f85ada239e3044b441d61ac4c3ba.

Change-Id: Ibf1dfa1fc70dba5a5cc1cb2cf16d0e25de74f376
Gallery2: ES translations

- Restore AOSP strings
- Move CM additions to new file

Change-Id: I22089dc040df86a430f8aa1449915a0b4db09d31
Spline: limit control point X co-ordinates to the graph area.

This fixes an oversight in the control point handling which allows
the X co-ordinate to be outside the range 0..1 if the width of the
graph (including margins) is less than the width of the display.

On my Nexus 4, without this fix, this problem occurs in landscape
mode when dragging a control point outside the graph area,
effectively onto the system buttons area. This bad X co-ordinate and
a lack of bounds checking causes an 'index out of range' exception to
be thrown from within Spline.getAppliedCurve().

The Y co-ordinate is already suitably handled; this commit copies and
adapts that handling for the X co-ordinate. It also adds the
necessary bounds checking to Spline.getAppliedCurve().

Change-Id: I325a1b6837927a6dd050b30209a7beeadf76d089
Gallery2: Refactor default translations

Change-Id: I71f7e47846035c220e545f34f7ab1650b4837a3e
Gallery2: ES translations

- Update filtershow messages: http://review.cyanogenmod.org/36582

Change-Id: Id189b229064d64c1d3f98ffeb967115ce72fa68c
Merge "Spline: limit control point X co-ordinates to the graph area." into cm-10.1
Merge "Gallery2: ES translations" into cm-10.1
Revert "Revert "Add storage selection (2/2)""

This reverts commit 27f80c30596362e2f9a3e2045068fdd6c2f9a168.
Fix activity stack when restarting the screen nail

We were stacking multiple activities, resulting in the need for multiple
destructions (back key events) when killing the camera app

Change-Id: I7ec61c517d25f7e47baf47fcd1696f987631c344
Merge branch 'cm' into HEAD

To revert
Git reset --hard dd2fc4184ac969609b30835db1be3963fa9ad832

Change-Id: Ic18119d6b4dc217d4fb9061d9c38fc1c1b9eeba2