summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDiego Perez <diegoperez@google.com>2015-04-22 09:51:54 +0100
committerDiego Perez <diegoperez@google.com>2015-05-07 00:39:39 +0000
commit8ab069f3aed15c7e5de32ff52a3b4710218f9895 (patch)
tree19f5ebc08550ac56345f9e6230bdf24dc4aa0708 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf3cb4ba213a0fa4d1c184c430a2eaac7e27ccf6f (diff)
Fix GcSnapshot drawInLayer when clipping is used.
GcSnapshot only allocates an image for tinting that is the size of the current clipping area. When drawing to that image, the wrong coordinate system was used since now we are dealing with only the clipping rect we need to translate -clipX, -clipY the drawing so it's painted at 0,0 of the new BufferedImage. Change-Id: Id8639d5ea9bef36ac07743df332161d6eadc6a81
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions