summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-02Merging constraint layout 1.1studio-4.3.0studio-4.2.0studio-4.1.1studio-4.1.0studio-4.0.0studio-2024.1.2-canary1studio-2024.1.1-canary8studio-2024.1.1-canary6studio-2024.1.1-beta2studio-2023.3.1-rc2studio-2023.3.1-canary8studio-2023.3.1-canary03studio-2023.3.1studio-2023.2.1-rc1studio-2023.2.1-canary05studio-2023.2.1-beta02studio-2023.2.1studio-2023.1.1-patch2studio-2023.1.1-patch1studio-2023.1.1-canary3studio-2023.1.1-canary11studio-2023.1.1-beta05studio-2023.1.1studio-2022.3.1-rc1studio-2022.3.1-canary8studio-2022.3.1-canary1studio-2022.3.1-beta2studio-2022.3.1studio-2022.2.1-canary7studio-2022.2.1-canary2studio-2022.2.1-canary10studio-2022.2.1-beta5studio-2022.2.1-beta1studio-2022.2.1studio-2022.1.1-rc3studio-2022.1.1-canary2studio-2022.1.1-canarystudio-2022.1.1-beta4studio-2022.1.1-beta2studio-2022.1.1studio-2021.3.1-betastudio-2021.3.1studio-2021.2.1-patch2studio-2021.2.1-patch1studio-2021.2.1studio-2021.1.1studio-2020.3.1studio-master-devstudio-mainstudio-canarystudio-betastudio-2022.1.1-canarymirror-goog-studio-master-devmirror-goog-studio-mainIsaac Chai
Bug: N/A Test: Done in another repository Change-Id: I53b124f88dae4b0e1c1b3f6eef93d7c0d95db4d0
2018-06-13Extract a flag to control the cache of measured dimensionCharlie Tsai
Test: covered by exist tests Bug: N/A Change-Id: I1aa0d64664de44fd84145e5046e59ef8cbcd0498
2018-06-12Fixes various issues in complex chainsNicolas Roard
- ratio behavior - complex weights Fixes: 77991323 Test: added checks 203,204,205,206,207,208,209,210,211 add AdvancedChainTest::testComplexChainWeights() add AdvancedChainTest::testTooSmall() update ChainHeadTest Change-Id: Ie0613888f21195d2279a413c7bd331e83ec6d4f2
2018-06-07Added match constraint linked list to ChainHeadOscar Adame Vazquez
Added some extra common fields into Chainhead related to match constraint chains. Bug: N/A Test: Expanded ChainHeadTest Change-Id: Ib226809bdc4ae259c8a74df5c3fbdf20cf817eb0
2018-06-07Merge "Cleaning up Chains related code" into studio-master-devOscar Adame Vázquez
2018-06-07Cleaning up Chains related codeOscar Adame Vazquez
Removed loops to find head, now it waits until it iterates to a chain head to instantiate a chain. Added class to extract commonly used chain fields in Chain and Optimizer. Change-Id: I3d4b9f5f69c61effe5baa955e60b3521fc038249 Bug: N/A Test: Added ChainHeadTest
2018-06-07Move to 1.1.2Nicolas Roard
Fixes: N/A Test: N/A Change-Id: I46a7fcf434010b9d3f4f05e3eca4cf05c03fe809
2018-06-06Do not generate a BuildConfig file.Jake Wharton
Test: none Change-Id: Ia7f2915ca05549f4b990537304e1fae790dc1a68
2018-06-04Don’t remeasure if the visibility is goneNicolas Roard
Change-Id: Idf4045d4d0e7aad9e6902b9d7411ffb32e85db9c Fixes: 75994549 Test: example program
2018-06-04Fix missing import statment.hoford
Test: In design-tools bug: 78443408 Change-Id: If16e43445e4e51568717415cce4661d514236758
2018-06-04Merge "Fix ConstraintSet default value bug. Test: In design-tools bug: ↵TreeHugger Robot
78443408" into studio-master-dev
2018-06-04Fix ConstraintSet default value bug.hoford
Test: In design-tools bug: 78443408 Change-Id: I548afad8d88a765674cd9ed0d2ebdb5e65630654
2018-06-04Handles weights == 0 when other weights > 0Nicolas Roard
Fixes: 80149154 Test: added check 202 added AdvancedChainTest.testChainWeights() added AdvancedChainTest.testChain3Weights() Change-Id: I42125edcf3d985bb75afd6fa99bda0ef01f45627
2018-06-04Correctly take in account max dimension for ratioNicolas Roard
Fixes: 79962504 Test: added check 201 added RatioTest.testRatioMax() Change-Id: I5c86a76c630f3f0c7634fcde4da09ab03f9c14ae
2018-06-04Fix when ration on one side is centered on the same targetNicolas Roard
Fixes: b/78539858 Test: added check 194 added RatioTest:testRatioSingleTarget() Change-Id: I83ef9c1d323de48b2e214d1e9c39b90126192204
2018-06-03Fix ratio resolutionNicolas Roard
Fixes: 77991323 Test: added checks 187,188,189,190,191,192,193 added AdvancedChainTest:testChainLastGone() added RatioTest:testSimpleWrapRatio() RatioTest:testSimpleWrapRatio2() RatioTest:testNestedRatio() Change-Id: If1cc56456e3bae905d37153d44e6f8b71ea99d27
2018-05-31Fixed issue with widget gone positioningOscar Adame Vazquez
A widget with match_constraint on any dimension would get positioned on a wrong place, ignoring vertical/horizontal bias. Additionally, bias would get handled inversely on gone widgets. Fixed VisibilityTest based on old behavior. Bug: 78541266 Test: testGoneMatchConstraint and UI Change-Id: I5d8ebe3c17d0b47b61e4cfce73030c6797930ce9
2018-05-29Update to gradle 3.4.1 for nowNicolas Roard
Test: N/A Bug: N/A Change-Id: Ic5b02436859104785998dda15d5255e6b9ef394a
2018-05-29Move version number to 1.1.1Nicolas Roard
Bug: N/A Test: N/A Change-Id: If619fdd3e8cfd68d2e51fe9d4649dafc8589fbc4
2018-05-26Fixed issue with wrap content and match constraintOscar Adame Vazquez
Widgets would get erroneous dimensions when chained together with "GONE" widgets. Added corresponding test in AdvancedChainTest. Fixed old test related to goneMargin. Test: testRatioChainGone Bug: 79122164 Change-Id: I1c1b09410a0303f357f2b2b593b4201558e02a3b
2018-05-23Fixed goneMargin not working in some situationsOscar Adame Vazquez
Test: UI(184) Bug: 78613911 Change-Id: I71b781340085d8b4d86ba53081658ef856e75339
2018-05-01opt/sherpa: Update path to android.jar and api txt file.Anton Hansson
These files are being moved. Update these paths so that the old files can be deleted. Bug: 77525052 Test: No Change-Id: I038bc16edc4f77222bf025bbb551a548f2f6bd7b
2018-04-12Update documentation for 1.1 release.Nicolas Roard
Test: N/A Fixes: N/A Change-Id: I562d7db5fdae965a61fd15da17e09210cf4d04fd
2018-04-12Fixed wrong wrap_content values in RTLNicolas Roard
Test: added check 182 in sherpa Fixes: 77672715 Change-Id: I82919d57272467b9cef7d793fbeb4d532d9f812f
2018-04-11Fix bug b/77764955Nicolas Roard
Test: added check 183 in sherpa Fixes: 77764955 Change-Id: I915fa55006867104b49e4cb261c026c0c080baea
2018-04-11Fixed issue 77754178Nicolas Roard
Test: Added check 181 in sherpa + ChainTest.testSpreadChainGone() Change-Id: I373c8171c00faaf1c7fa96ce3976c4cbfe4779f0 Fixes: 77754178
2018-04-10Add dimensions optimization.Nicolas Roard
Limit the number of measures on children when possible. Test: sherpa tests passing. Fixes: 77503701 Change-Id: Ic154a725ff9c1722baec8037b94b5e1a7f9b858e
2018-04-09remove unused & hidden titleNicolas Roard
Test: existing tests passing Change-Id: Ic3cb80b33a3be75c7f4cfc94439331bfbc6d32de Fixes: N/A
2018-04-09Merge "Revert "Remove hidden / unused API set/get Title"" into studio-master-devTreeHugger Robot
2018-04-09Revert "Remove hidden / unused API set/get Title"Nicolas Roard
This reverts commit 165526ae9bd531233bb942c7714abba101ff5ce5. Reason for revert: <INSERT REASONING HERE> Change-Id: Ia8c4e41393dad0ee365ffb875049a0991731b2d7
2018-04-08Reverted default behavior of barriers with gone widgets. Added optional ↵Nicolas Roard
attribute to support the new behavior. Test: Existing tests passing in sherpa, added checks 179 & 180 covering this as well. Fixes: 77549477
2018-04-08Remove hidden / unused API set/get TitleNicolas Roard
Test: N/A Fixes: N/A
2018-04-08Fix row updatesNicolas Roard
Add extra checks for simple definition Test: All existing tests passing both here and in sherpa. Fixes: N/A
2018-04-09Merge "Move to version 1.1.0" into studio-master-devTreeHugger Robot
2018-04-03Update BUILD rules after IDEA 181.3263.15 mergeDana Dahlstrom
Change-Id: I18076aac36ba6c83ac2e1d422dcc80abf8506a13
2018-03-28Move to version 1.1.0Nicolas Roard
Test: N/A Fixes: N/A Change-Id: I14e99e2e39c682950f900bd0effaa2fa9451626f
2018-03-27update javadoc build to output yamlv2 _toc.yaml fileScott Main
Resulting new yaml file visible in cl/190564624 bug: 62869488 test: gradlew makeJavadocs -Ponline Change-Id: Ib92bcc65b832e37cfd04ec27643682a512128218
2018-03-22Add @since in javadoc + fixes typos.Nicolas Roard
Test: N/A Fixes: N/A
2018-03-21Add more documentation about the optimization levels and margins in chains.Nicolas Roard
Also unhide the setOptimizationLevel() function and rename the XML attributes for the optimization mask. Fix small issues, fix tests. Increase ratio strength for wrap content. Test: updated tests (also in sherpa) Fixes: N/A Change-Id: I25fed067190de9a433a3ce4010d1dafdf4e97d6b
2018-03-21small change to documentationhoford
bug: none Test: N/A Change-Id: Ie116430a404e692f0319e15737505358d78bf709
2018-03-20Fixed issue with gone element in chains (wrongly adding margin)Nicolas Roard
Test: added ChainTest.testPackChainGone() and check175 in sherpa. Change-Id: Iba48dd3def8f004abefd8809fbaecc457ea331be Fixes: 73730675
2018-03-20Fix chain behavior when centered on a smaller size than the chain itself.Nicolas Roard
Test: Added tests in sherpa (169-174), updated tests, the rest passing. Change-Id: I719a5f092b0cc6b2db3f55c96faed50c3e56d694 Fixes: b/76032551
2018-03-20Change Chains margins behavior. Margins are now not part of the "spread" space.Nicolas Roard
They are still additive. Test: added in ChainTest, plus added check163 in sherpa and updated checks in sherpa. Fixes: 73521836, 74537416, 74130324
2018-03-15Add barrier optimizer and cleanup of CW (solver order)Nicolas Roard
Test: added BarrierTest.barrierImage() Change-Id: Ib7a556732358b9625d03e8d6d5d7f8c194a924bc Fixes: 74139265
2018-03-15Merge "Bump barriers strength to equality" into studio-master-devTreeHugger Robot
2018-03-14Bump barriers strength to equalityNicolas Roard
Test: added check162 in sherpa, other tests passing. Change-Id: I6e0db0a5eeab38f6eb2096118d701d32de92b4da Fixes: 74469361
2018-03-15Merge "ignore 0.0 settings in pivot Test: N/A bug:74055506" into ↵Nicolas Roard
studio-master-dev
2018-03-14Adjust barriers strengthNicolas Roard
Test: added BarrierTest.barrierTooStrong() & barrierMax() and updated checks in sherpa Fixes: b/72050317 Change-Id: I21b947d248d64729e46f88644df2302123d379f5
2018-03-14ignore 0.0 settings in pivothoford
Test: N/A bug:74055506 Change-Id: I7b060c9d67ee386c4ca4dd05008f7ccb92e1932d
2018-03-12Don’t allow GONE widgets to be part of a barrierNicolas Roard
Test: passes all existing tests Fixes: 73634368