summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authortiger_huang <tiger_huang@htc.com>2015-04-27 20:36:46 +0800
committerTiger Huang <tiger_huang@htc.com>2015-05-08 13:08:47 +0000
commit5b36c49aea35f418276becdbdf3d733ee11fd976 (patch)
treef80240b2b8efba9747338b381a93f67ce26b83c1 /rs/java/android/renderscript/RenderScript.java
parente8101c047cffc69245493d96f2f2ec36728682f1 (diff)
Use the correct parent size to initialize animations
The original logic would use out-of-date parent sizes to initialize animations. If the screen size is changed after assigning mAnimDw and mAnimDh in the constructor of WindowStateAnimator, the fromDeltaY (in the most cases) of TranslateAnimation would be initialized incorrectly. In this change, we always use up-to-date parent sizes to initialize animations to prevent the issue. https://code.google.com/p/android/issues/detail?id=170348 Change-Id: Ib9c609121228934bdb463263feb1924eb389c1d2
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions