diff options
| author | 2014-01-20 17:02:37 -0800 | |
|---|---|---|
| committer | 2014-01-20 17:02:37 -0800 | |
| commit | 35d56c0d67537e56fafebd8edf790026644fe8de (patch) | |
| tree | 1f5513a491be890aec3dd8db9683b955857c919a /libs/hwui/ProgramCache.cpp | |
| parent | c174288d345d4a80b326b12ff4c10a6c99570997 (diff) | |
Optimize layout rendering in layoutlib
The height of a layout should be zero if it is assigned a layout_weight.
This way, the layout is measured only once and prevents spurious errors.
Bug: https://code.google.com/p/android/issues/detail?id=58398
Change-Id: If49a7480e5eb82cb86780e00f2f5b65ee053fc2a
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions