Torch: Allow theming via theme chooser

PS3: Fix commit message

Change-Id: Ib90ddfd514719581af2cf96c3a125ad3a7772006
Torch: RU translation

Replaced quotation marks, rephrased some texts.
PS2: one more rephrase.

Change-Id: I8d26db9226e726752167269d854cd4e119af6d40
Torch: CA translations

Change-Id: I0967a2249d33d228520804849c0d1479b96ea535
UI overhaul & code cleanup

- Use Switch views for high brightness and strobe. This gives
  bigger touch targets and a cleaner implementation.
- Move the menu into a dedicated resource instead of creating a
  submenu in code.
- Hide frequency picker when not using strobe.
- Fix logic for saving all preferences.
- Remove old strings that are not and were not needed.
- Other misc. cleanup
- Add full RTL support since we support Hebrew.
- Add GPL v3 copyright headers

Change-Id: I86a2a9415b394c7a0b0bffd1d166ee118fe4d65f
Torch: UG translations

Change-Id: I14ebc91a6c92b0cfe9401cda8eeea31023674704
Torch: refactoring

Fixed some Android Lint warnings.
Removed unused strings and imports.
PS2: added AndroidManifest.xml, forgot to copy it.
PS3: buildbot doesn't seem to like empty "text" attribute, removed it.
PS4: rebased.

Change-Id: Ibcb7aa0f38a5433795dcd822ce49b90fb1f315d6
Torch: Fix aapt warnings [translation]

Change-Id: Ibff488e8260409e0744e5f90829069efb1793918
Torch: LT translations

Change-Id: I3d10e66a358e4f32abf6ef60fbf76fd25f7f4d6f
Torch: remove lt aapt warnings

Change-Id: Iba610e6ac11f2a3d7d6fc29d3ffc4928ce65f5a5
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Torch: Add HR Translations

Add HR Translations to Torch

- Patch set 2:
	-Fix some errors that LorD ClockaN pointed out
- Patch set 3:
	-Fix whitespace error

Change-Id: I366ea520f851d560007b6a1c8b1fc26b0e7d383e
Torch: Do not hard code crespo as not having high brightness.

Change-Id: I5bfbad91790a7dedaeb86745a6b6331a775549e6
Torch: SV translations

Change-Id: I50a73b135d3500a6d3d15065ce5f2876663c013a
Don't show variable brightness options when using the camera iface

Camera is a single-setting interface

Change-Id: I034ba323ee73fc71cdd40249cfbf59467aafb735
Torch : TH translation

Patchset2 : fix wrong translation

Change-Id: I36a893cd8b2c28374ccef1cfde10d894abeefa8f
Torch: PL translations

Fix small typos

Change-Id: I32adedb9aa91c8035fa11aef26d8223dc4896c65
Signed-off-by: jereksel <jereksel@gmail.com>
Torch: ES translations

- Fixed times in led use

Change-Id: I93efe4eff6ac5652786b5fa51f2ac9abb25a1499
Torch: add 2nd sysfs luminosity

Change-Id: Iedc172984bb20c0a4a073a8cbf5f0f008aa57c38
Fix crash of torch app

A hard to track bug occurs when using the torch:
The local variable surfaceTexture gets collected by GC causing it
to free the underlying buffer.
The next access to this buffer crashes with an SIGSEGV after an
assertion failure (BufferQueue already abandoned)

NOTE: The native camera object may possibly hold that reference so
it does not get GC'ed

Change-Id: Ib39d55ffb379ed16a0b94915c1b727e8ddc7f180
(cherry picked from commit 450b3bd93a772d5c7c464842c5806f5abd5c8ad2)
Torch: LT translations

Fixed/improved translations

Change-Id: Icca984b6dcaf62faa49dc125081a08a91446570d
Torch: RU translation: migrate to Transifex

Change-Id: Ifc2316ecf8578933916c6cdf173266fa94384137