Minor code maintenance for base classes BaseUiAutomation and
UxPerfUiAutomation. Changes include:
- Prefer static calls for UiDevice methods where possible
- Rename inconsistently named variables
- Avoid long wrapped lines where possible
- Remove unused imports
- Fix whitespace around operators
Remove the clickUiObject method from the base class and refactor the
gmail workload to use clickAndWaitForWindow methods instead. For quick
popup menus prefer simple click events.
A new workload for testing context switching between applications.
Uses googlephotos as the producer workload and gmail and skype as
the consumer workloads.
This allows workloads to be launched in a pre-determined orientation not the orientation of the physical device itself.
Updated the productivity workloads to take advantage of this new facility.