Show licence agreement if missing SDK in new project wizard.

Bug: http://b.android.com/73242

Change-Id: I6f055f12878f7914a1e89987b8e08c78e5e13c20
Merge "Show licence agreement if missing SDK in new project wizard." into idea133
device panel and process chooser: Show user id if applicable

On a multi user device, append the user id to the process name
so as to allow distinguishing between the same packages running
on different accounts.

Fix for b/16701966

Change-Id: I247d7fa50845feda88a3040537e13ab167750b5e
Merge "device panel and process chooser: Show user id if applicable" into idea133
Parameter Validation: Improve existence detection

For template parameters which have the exists/unique constraints
we were not properly detecting items which were not declared in
named files (e.g. layout aliases). This change replaces the old
file-based detection method with proper calls to the resource repository
for the res folders inside a given source set.

If there isn't a facet available, we fall back to the file based
detection system.
Fixes https://code.google.com/p/android/issues/detail?id=74253
Change-Id: I879ee823bead63d5e3775ecf85a37e01cd6c32fa
Merge "Parameter Validation: Improve existence detection" into idea133
Make Android console toolbar consistent with run

1. Move the toolbar from the right of the console to the left.
2. Rearrange the actions to make sure they are in the same order as
   in other views.

Change-Id: I4a32cfaceb0fe6e930c0f6338bb763a10d77cfc8
Merge "Make Android console toolbar consistent with run" into idea133
Bug 70300: Clear logcat if no device is connected

Note that cleared content will reappear if device is connected again.
The reason for this is that the log is stored on the device and is
reread when the device is connected.

Change-Id: I0a22fc44f2ed5abe371bcac007299637344ba1d5
Merge "Bug 70300: Clear logcat if no device is connected" into idea133
Shows read-only table view of string resources in new strings editor.

Attaches an editor to strings.xml to show a read-only table of string
keys, default values, and translations. Table resizes as needed to fill
its viewport.

A future CL will change the entry point so the editor does not
erroneously appear to be associated with a single file.

Change-Id: Ic108459d6f6d32340b560754fa5314f5c065ff69
Signed-off-by: Rebecca Chen <rechen@google.com>
Merge "Shows read-only table view of string resources in new strings editor." into idea133
De-couples strings editor from individual strings.xml files.

Create a wrapper class LocalResourceRepositoryAsVirtualFile that allows
a local resource repository to be opened as its own file.
StringResourceEditor pulls out and shows only the string resources from
the local resource repository file it is passed.

A notification bar appears across the top of strings.xml files with a
link to the editor and an option to hide the notification for the
duration of the current session. The right-click menu for strings.xml
files in the project navigation panel and, in Android View, for the node
under which they are grouped also offers an option to open the editor.

Change-Id: Iae8da096ce21e093bc622128d9cb285b6fdc271d
Signed-off-by: Rebecca Chen <rechen@google.com>
Merge "De-couples strings editor from individual strings.xml files." into idea133
[strings-editor] Handles untranslatable keys, provides error messages.

Adds a table column showing which strings are marked translatable=false.
If such a string is translated, alerts the user by shading the cell.
Colors problematically translated keys red. Since red keys and shaded
cells can now be indicative of more than one problem, when the user
hovers over a problematic cell, a tool tip provides a brief explanation.

Change-Id: I01afaa89cad34e49cf1130b07d1233dc741496b8
Signed-off-by: Rebecca Chen <rechen@google.com>
Merge "[strings-editor] Handles untranslatable keys, provides error messages." into idea133
Adds speed search to strings editor table.

Subclasses TableSpeedSearch to deal with filtered tables and adds to
strings editor table.

Change-Id: I3f38dddebe9753b0b3c9e424ce84bbd7f22e08c7
Signed-off-by: Rebecca Chen <rechen@google.com>
Merge "Adds speed search to strings editor table." into idea133
Project Structure: fixes project dependency excludes

For build files that contain compile(project(':prj'))
dependency statement with exclusion rules in a closure, preserves
those exclusions when being read/written for the Project Structure
dialog.

Bug: 68441

Change-Id: I0f0434a6e591efeb2150885ab6f7a15e0617ba3c
Merge "Project Structure: fixes project dependency excludes" into idea133