929f27aab7ac7231f3734c988d5ee7201627d535 |
20-Apr-2016 |
Alan Viverette <alanv@google.com> |
Update attr refs for unbundling No longer relies on framework-private android.R.styleable fields. Bug: 28124434 Change-Id: Ib2b11d5be949b7243964ada63fba7cd7ec25315b
ridLayout.java
|
70d141daa825e7443df4aa149acddbfdb0bab64a |
23-Mar-2016 |
Yigit Boyar <yboyar@google.com> |
Fix GridLayout to properly convert MarginLayoutParams Bug:27785449 Change-Id: Ief7c2809a1c431dc0d430d6e0479c7c7318937c8
ridLayout.java
|
4145a44a9160898dcf9fee1f59caf91151ab0283 |
31-Oct-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Prevent infinite loop in case of integer overflow. Bug: http://b.android.com/191328 Change-Id: Ibcf3cbaea8a486887066111891fe8a9b84d13268
ridLayout.java
|
ee781a599830945fa4c3f78c8a7e99c971fe5524 |
04-Mar-2015 |
Yigit Boyar <yboyar@google.com> |
Remove original measurements cache from GridLayout This cache was not needed anymore Change-Id: Ibc19b5de6f141e004f41a83e34cdef9af7f0ae30
ridLayout.java
|
aba8d47bf2f26c657a83ab3fbd24f531df5b0510 |
04-Mar-2015 |
Yigit Boyar <yboyar@google.com> |
GridLayout fixes This CL fixes a bunch of bugs in GridLayout. I also added some basic tests to verify that these things don't break in the future. Parent bug: Bug: 19546781 Sub bugs: Bug: 19571249 Bug: 19571653 Bug: 19571319 Bug: 19571841 Change-Id: Ia087687b03cfb389431674fd7d654b8fbf4a52b2
ridLayout.java
|
41c3dc66312394771e0cb147713e124ecd445055 |
26-Feb-2015 |
Chris Banes <chrisbanes@google.com> |
Fix AlertDialog extending to screen width Needed to use Space rather a View, so I've moved over GridLayout's Space impl to v4 and deprecated the v7 one. BUG: 19509863 Change-Id: I427844f139eed7123324881d11b6054e2ec3f416
pace.java
|
5f355e700d63f67b1641f023d95e18c69c596ecb |
18-Nov-2014 |
Yigit Boyar <yboyar@google.com> |
Improve GridLayout's weight calculations This CL improves how excess space is distributed in GridLayout. Previously, GridLayout would find unused space in each axis and distribute it among the Views by weights. It would re-run the constraint solver after this step. This was performing properly when Views are in different columns/rows because total remaining space would not be consumed, leaving the last span in each axis with more space. (in BF solver, remaining space goes to the last span of the axis). This CL changes the weight distribution to use Newton method to find the max distributed space that will not invalidate the constraints. It runs the solver log(<axis size> * <number of Views>) times by different distributed space guesses until the MAX is found. Because it is logarithmic, it does not bring any significant performance cost if the number of views is too many. As a side effect, thhis CL also fixes a bug in GridLayout where remaining space was distributed only in primary direction. Bug: 17485996 Change-Id: Ie549e8ae4fd93a2f417db22f9a087f46a129f6e0
ridLayout.java
|
e0e021449dbe556c4b775a8dcaf486e1d3f361e7 |
30-Jul-2014 |
Philip Milne <pmilne@google.com> |
Revert "Suspected cause of regression affecting Timely " This reverts commit 634291e533ebdbf683b4349eb551a83213140cc3. Thanks to Sblitz, xav, adamp, vsiva, deepanshu for helping getting to the bottom of this. It looks like this was just resource id skew caused by a app build problem which seems to have been caused by prebuilts for the v7 support libraries not being updated correctly. At this point we don't know of any changes that are needed to the original CL or to the weight-enabled version of GridLayout in L. Reverting the revert. Change-Id: I0e052a3707207e15f6dbf8b94225cb64dd2321da
ridLayout.java
|
634291e533ebdbf683b4349eb551a83213140cc3 |
17-Jul-2014 |
Philip Milne <pmilne@google.com> |
Suspected cause of regression affecting Timely Revert "Port weight feature from L into v7 GridLayout support library" This reverts commit b1dbd65b4e8ce2c889381214d0bc44aff8dfe616. Change-Id: Ibd36877558cb2326c324449ef1e3ec0a0a2af03f
ridLayout.java
|
b1dbd65b4e8ce2c889381214d0bc44aff8dfe616 |
14-Jul-2014 |
Philip Milne <pmilne@google.com> |
Port weight feature from L into v7 GridLayout support library We think the weight feature introduced into GridLayout in L leaves GridLayout with a superset of the facilities of the other layouts in the Android platform. This CL updates the v7 version of GridLayout in the support library to the version in L. Change-Id: I339d6b62cc0eed666f66a250c8ff23c74ec78784
ridLayout.java
|
b12ba0547b2fad1c4dfc12dec36c5e7893974e67 |
28-Aug-2013 |
Adam Powell <adamp@google.com> |
Fix compatibility support for v7/gridlayout A previous implementation import from frameworks/base combined with an incorrectly restricted makefile led to GridLayout using new/hidden API from the framework instead of compat lib conventions and public API only. Add required shims to ViewCompat/ViewGroupCompat as needed and have GridLayout use them. Fix some general Android code style guide issues. Change-Id: I5dd965b9c4282c47964bfd1d481e3a62725cca38
ridLayout.java
iewGroup.java
|
2c78c295c13866c37e778375d1b37d6ff6016190 |
17-Jul-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
Update Support Library GridLayout to the same version as Framework - see bug #9880181 GridLayout code in Support Library v7 should be updated and in sync with the code in Framework Change-Id: Idc3d0f15b655647d18c93b149cfd9881a369cbf0
ridLayout.java
|
e1feb53bd8abfa46613fdd0abcf7a015c7e706c1 |
29-Feb-2012 |
Xavier Ducrohet <xav@android.com> |
Add GridLayout as a support project library. The library is distributed as a project containing a single jar and resources but the jar file is built by the Android build system in order to target the current API. The code also relies on the R class being generated, which is currently done manually. The build system uses an intermediary library to compile the R class so that it doesn't get packaged in the final jar file (same behavior as compiling the library project with the SDK). Change-Id: I36ce97d875f2efbb50cca665e9fd0e668f5ba837
ridLayout.java
pace.java
iewGroup.java
|