commit | d5edc7721791ad807b9a8fbd923b8d6e73c399cc | [log] [tgz] |
---|---|---|
author | Adam Powell <adamp@google.com> | Wed Sep 26 15:21:39 2012 -0700 |
committer | Adam Powell <adamp@google.com> | Fri Sep 28 15:52:36 2012 -0700 |
tree | 34fd559e27573e2d3f624c0438ec3c2abdccc9ef | |
parent | 59adf04ab391d5cbfb8d031eff39937aebabade1 [diff] |
Fix adjustViewBounds handling for ImageView When computing the adjusted view bounds, don't constrain the dimensions by the original estimate if the opposite dimension has a fixed size. This can result in the view never getting properly enlarged. Also fix a long-standing bug in MeasureSpec.makeMeasureSpec where oversized or negative values could result in broken packed values. Bug 7240251 Change-Id: I359d108ff52b6f3b5c4bf393d2271d28999c0127