Initial empty repository
uiautomator branding and source move

This moves the source of core pieces of uiautomator framework:
* module uiautomator.core: core classeses, including test runner
* module uiautomator: command line runner

Modules are building into system image, but they are marked
optional for now.

No material Java code changes are made, only package names,
imports and makefiles are modified as needed.

Change-Id: I09816368c02203fed2eeabd4f73b93111d1d4b29
module name shuffling

change module name for command line too to 'uiautomator'

Change-Id: I8a48f7fb6ec034453f084686bf7a306c499ee50c
implement a sub command mechanism for uiautomator

Currently uiautomator is a simple test runner. To consolidate
multiple functions into it, the command is refactored with a sub
command mechanism that allows more extensions.

Existing UiAutomator class is changed into a sub command
implementation RunTestCommand. A new Launcher class is added
as a generic launcher for various subcommands and help info. The
uiautomator shell script also have some changes to special-case
the 'runtest' subcommand, mainly for things that cannot be
achieved in Java code (setting signal trap and classpath)

Change-Id: Ib3e3b4a5c101fedf396e8094d5734803affa03fa
consolidate uidump and uidebug command into uiautomator

uidump becomes 'uiautomator dump', it creates an XML dump of
current UI tree

uidebug becomes 'uiautomator events', it prints out accessibility
events received from accessibility service

Change-Id: I57bbb8cbac6965cc230b4c5c1df32e4dc6ab9dde
consolidate uidump and uidebug command into uiautomator

uidump becomes 'uiautomator dump', it creates an XML dump of
current UI tree

uidebug becomes 'uiautomator events', it prints out accessibility
events received from accessibility service

Change-Id: I57bbb8cbac6965cc230b4c5c1df32e4dc6ab9dde
Reconcile with jb-release

Change-Id: I3a11b80039c11ba079d6088da32d1d5e8a2cd4be
move UI Automator Viewer, DummyIME

UI Automator Viewer is a tool used to retrieve matching UI
hierarchy dump and XML from device. In addition to moving
the source code, it's also modified to call the new
'uiautomator' command in system partition.

DummyIME is a testing fixture. It's an empty implementation
of an input method. This is used for preventing soft keyboard
from obscuring app window, to make life eaiser for some test
cases.

Change-Id: I13ee07180f5c685fef223ee9ba13bad3150ab03d
am aecdc4a4: move UI Automator Viewer, DummyIME

* commit 'aecdc4a41f1f2f3e76e05d6549df75359f8397c3':
  move UI Automator Viewer, DummyIME
merge in jb-release history after reset to jb-dev
Reconcile with jb-release

Change-Id: If4b0c2ccf9b3fdf0911f4b486d80972342674f1e
Allow selectors to be created with new operator

- Also renamed the By selector to Selector and updated all tests.
- Fixed the Selector clone method
- Renamed touch to click and updated comments

Change-Id: If338525e2759c1211497300bac20a6ceea8f926f
add a toggle for showing "Not Accessibility Friendly" nodes

when we parse the XML, we keep a list of nodes that have the NAF
flag. At rendering time, we draw an alpha blended rectangle over
the problematic nodes based on the toggle state.

Change-Id: Ia81d017cfb076523dffc3a6a37088c891c729043
am 4075f17d: add a toggle for showing "Not Accessibility Friendly" nodes

* commit '4075f17dc5615c8f453452e80633946530d6a91b':
  add a toggle for showing "Not Accessibility Friendly" nodes
Merge "Allow selectors to be created with new operator" into jb-dev
am eb93bb9d: Merge "Allow selectors to be created with new operator" into jb-dev

* commit 'eb93bb9d525e8067635b56bc3f269a6a5aecae86':
  Allow selectors to be created with new operator
resizable border for UI Automator

We no longer restrict the size of UI automator window, and no
longer forces a size when we load screenshot based on monitor
size etc.

notable implementation changes:
* turns out SWT supports transformation of images, i.e. scaling
  and translation, so we use the built-in mechanism to scale the
  image, rather than generate a prescaled image when we load
  screenshot

notable behavior changes:
* window no longer uses fixed size border
* screenshot is fit into current window size at load, there
  are no longer window size or location adjustment when we load

Change-Id: I9f6e843601a691342786781f54f76272c4af1814
merge in jb-release history after reset to jb-dev
am 127a97e2: resizable border for UI Automator

* commit '127a97e2ffc8cc177afb24330b2808d93225b109':
  resizable border for UI Automator
merge in jb-release history after reset to jb-dev