Fixing 2 FC's in Dev Tools

Added missing permission for SyncTester
Removed non-existent Google Login Service
Fix warnings in sample detected by NDK_ANALYZE=1

Change-Id: I999a96fb3de5225adde91eb014170ffd7b6092f6
Squash all 4.2.2 changes into one

Cleanup eclipse .classpath for Gallery2

A couple of minor fixes to make eclipse happy.

Change-Id: Id9a30778efd3ef18e45efe316402971ca72a7c60

Move plat-tools SDK component rev to 16.0.1

Change-Id: Id04fb83c09190bdb1a1b0c685c2c7db3ada8c47d

Redirects /guide/google to /google/.

Change-Id: I5018200bb8717e69d2485ce4d1b8804a1d90e2c8

SDK Only: Fix search interaction with various samples.

These were broken where pressing back would not clear the
search filter.

Change-Id: Iafd4a497a31a9689efabe7d92f44618a5e8dc80c

Add redirect for IAB v3 restructure.

Change-Id: I65ccc6767408977a9756b217168b819b71816c1f

Android Training: Threads sample app

Change-Id: I6d07871acad31807eb4bf06aa8406b722320680c

Add ko and ru to validLangs.

Change-Id: I40d1a8e82d4b30cc2e787826252a85161e0157d8

Update platform tools rev to 16.0.2

Change-Id: I814294bc9374f6194671eb173bd9942908db3848

Network sample: fix typo in manifest

Change-Id: I5731dbb89d17bd15bc72a2f140bca2915976b4c1

Bitmapfun Sample: Fix inSampleSize selection and update dependencies

When computing inSampleSize, calculateInSampleSize() needs to compare
height/width ratios, rather than raw values.

Also updating support library JAR to latest version.

Bug: 7951398
Change-Id: Id15dbcc105bbd2bbf8e03883aeba780da6f807eb

Bitmapfun Sample: Change cache memory calculation to use maxMemory()

When calculating memory cache size, use Runtime.maxMemory() instead
of getMemoryClass() which is a more accurate value of available VM
heap size.

Also bump target and build SDK to 17.

Bug: 7988323
Change-Id: I4b94688b3800d958ffbe03ee9a2a620982483d3d

Cherrypick from Change-Id: I4ae984cf776604cede32b98db6b1eb3cb6c59c7e

First set of demo apps for DevBytes videos

Change-Id: I696b184aaa8058f01c0369a173aae09e38a8cb08

Bitmapfun Sample: Fix bug where background image loading could hang

Background image loading is paused when the GridView is scrolling,
if the activity is destroyed during a scroll the image loading was
not unpaused causing it to remain running indefinitely. This change
makes sure the background image loading is unpaused.

Change-Id: Iad8093fc2af50fcfc1416c5d9089db0c064711cf

Minor updates to keep androiddevdocs redirect in sync with devsite version (in frameworks/base)

Change-Id: If2fdf0b92d560fcfbbcfe0f5ec65dd6dcf471560

Add redirect for removed file.

Change-Id: I94c59f54ab7daaae588f61c02601b7599799894b

Update bitmapfun sample to call recycle()

A new sub-class of BitmapDrawable has been created which tracks
when it is being used or cached when running on Gingerbread or
older. A new ImageView subclass has been added to accomplish this,
as well as changes to the LruCache.

Change-Id: I95d3334684703aebb6b09fcd56194cf73e3c2dcf
Signed-off-by: Chris Banes <chrisbanes@google.com>