summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorFilip Gruszczynski <gruszczy@google.com>2015-11-11 13:46:04 -0800
committerFilip Gruszczynski <gruszczy@google.com>2015-11-12 08:45:37 -0800
commit69cbc35b12fd49113bcf6c93265edc5fff3819ec (patch)
treeb4a23dcd26cf781648872232e764938dd2dce7ab /rs/java/android/renderscript/ProgramStore.java
parent1bc5d9b3d4d4521dc9a1b5954bc571400de6ced4 (diff)
Refactoring: deduplicate surface bounds calculation.
This merges code from WindowStateAnimator.setSurfaceBoundariesLocked and WindowStateAnimator.createSurfaceLocked. We calculate the final surface size and position in both of these methods in very similar way. The minor differences seem like small mistakes that aren't visible, because they happen during surface creation and get fixed very soon after when the boundaries are set. Change-Id: I321cb17831888f97619b0cae73fdaf9cbbc762fb
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions