summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorNader Jawad <njawad@google.com>2019-09-19 15:59:53 -0700
committerNader Jawad <njawad@google.com>2019-09-19 16:15:49 -0700
commit9f560fefbc49c2157c3e93989c30c204a74a8798 (patch)
tree7e9eebf9cd66fdaf749dcaaad4f5361949f527bc /tools/aapt2/java/JavaClassGenerator_test.cpp
parent87e5b74f8da3a2f7860f5f2918163862d82ec1f7 (diff)
Restored default behavior of GradientDrawable orientation
Fixed issue where GradientDrawable orientation had diverged from the default behavior. Ensured that orientation by default is configured to LEFT_RIGHT for xml defined GradientDrawables and programmatically defined GradientDrawables have the same default orientation of TOP_BOTTOM. Refactored previous logic that would keep both the mAngle parameter used in xml inflation and the mOrientation parameter that is used to configure the angle of the gradient to no longer keep these 2 values in sync. Test: Added CTS test to verify orientation for xml and programmatically defined GradientDrawables Bug: 140835351 Bug: 139822941 Change-Id: I594496afe48d04d108053bf284e92bbfd3591fa3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions