3 Commits

Author SHA1 Message Date
Doris Liu
adb8921453 Clean up calls to Rect.intersect()
This CL checks for the return value for Rect.intersect() for whether
there is actually an intersection before taking the return intersected
rect. In the case of no intersection (Rect.intersect() returns false),
an empty rect will be used as the intersection.

bug: 7368679
Change-Id: Ibda3bfd662f8ca83cb5662748d9be250243b72b2
2015-05-28 15:39:05 -07:00
Guang Zhu
0d09166a68 Reapply: Add generated source dependency for Jack compilation.
Original change:
frameworks/testing 04af616aeba3a4e57b32092afe763981d1776dc8

Change reapplied due to source location move

Bug: 18708851
Change-Id: I2c220194aa94af528767c123f6fa34b623ce73d4
2014-12-13 23:09:56 -08:00
Guang Zhu
18b892c723 shell based UI Automator source move
frameworks/testing/uiautomator -> frameworks/base/cmds/uiautomator
  (samples, utils sub folders exlcuded)
frameworks/testing/uiautomator/utils -> frameworks/base/tests/utils

no source files changed, only one line makefile update (for
UI Automator API check)

Bug: 18708851
Change-Id: I396bd386d3d55a52df18af183685daf80caa9f73
2014-12-12 17:31:38 -08:00