716 Commits

Author SHA1 Message Date
Pierre-Louis
e71eb183d8
Use curly_braces_in_flow_control_structures for rendering (#104611)
* Use `curly_braces_in_flow_control_structures` for `rendering`

* fix comments

* fix dangling
2022-05-25 19:57:57 +02:00
Michael Goderbauer
d5fbc3750e
Remove unused code from tests (#104550) 2022-05-25 09:38:09 -07:00
chunhtai
efb9368573
Supports global selection for all devices (#95226)
* Support global selection

* addressing comments

* add new test

* Addressing review comments

* update

* addressing comments

* addressing comments

* Addressing comments

* fix build
2022-05-24 13:53:55 -07:00
gaaclarke
914556ea64
Started sharing SemanticsProperties between the Widget and the RenderObject (#104281) 2022-05-23 16:18:08 -07:00
Dan Field
1c852cedaa
Do not assert callbacks contains key if disposed (#104292) 2022-05-20 14:51:14 -07:00
Casey Hillers
da105b2b24
Revert "[framework] inline AbstractNode into RenderObject" (#104257) 2022-05-20 11:43:11 -07:00
Jonah Williams
24bd28f696
[framework] inline AbstractNode into RenderObject (#103832) 2022-05-19 14:28:09 -07:00
Dan Field
d50b5a0749
Stop recommending "shrinkWrap" (#104008) 2022-05-18 17:47:15 -07:00
Dan Field
1662a14bc8
More missing clipBehavior respects (#103931) 2022-05-17 11:32:11 -07:00
Dan Field
d54cdf9e18
Add a mechanism to observe layer tree composition. (#103378) 2022-05-17 11:22:11 -07:00
Dan Field
fe87538b76
Implement paintsChild on RenderObjects that skip painting on their children (#103768) 2022-05-16 11:29:07 -07:00
Dan Field
4f96419612
Make _RenderCustomClip respect clipBehavior (#103748) 2022-05-13 17:14:07 -07:00
Bruno Leroux
c18097178c
Fix empty Stack with infinite constraints throws (#102642) 2022-05-07 04:34:06 -07:00
xubaolin
b20e27e77e
Does not replace the root layer unnecessarily (#101748) 2022-05-05 18:44:10 -07:00
xubaolin
82afe3ea43
Clear the cached data of RenderBox if its parent re-layout (#101493) 2022-05-05 18:39:10 -07:00
Tong Mu
55881f7ae6
Reland "Fix crash from alt-tab'ing just after startup" (#103093) 2022-05-05 17:44:08 -07:00
Darren Austin
3c9f417326
Revert "Fix crash from alt-tab'ing just after startup (#102453)" (#103074)
This reverts commit 74e9a6d9cd8a26287b14b88790a104ea41f9de65.
2022-05-04 12:13:02 -07:00
Jeremy Schlatter
74e9a6d9cd
Fix crash from alt-tab'ing just after startup (#102453) 2022-05-04 11:14:12 -07:00
Phil Quitslund
bca071815f
rename local functions with _s (#102615) 2022-04-27 09:14:57 -07:00
Jonah Williams
fba9214d11
[framework] remove usage and deprecate physical model layer (#102274) 2022-04-26 16:14:04 -07:00
Jonah Williams
0cb5772e73
[framework] allow other RenderObjects to behave like repaint boundaries (#101952) 2022-04-26 10:19:09 -07:00
Dan Field
34d84209cf
Avoid scheduling a forced frame when there is no child to the renderView (#102556) 2022-04-26 08:44:09 -07:00
Justin McCandless
8817521ad1
Revert "Clipping if only one character text overflows (#99146)" (#102092)
This reverts commit 08e467dde7a1c3906ce6f4231d9f1d1b36b64022 (Google test failures after merge).
2022-04-18 12:30:59 -07:00
ColdPaleLight
94d7f5e672
Refactor 'FakeSceneBuilder' to use 'NoSuchMethod Forwarding' (#101970) 2022-04-15 20:59:07 -07:00
xubaolin
08e467dde7
Clipping if only one character text overflows (#99146) 2022-04-14 10:24:13 -07:00
Michael Goderbauer
51bcdb9407
super parameters for framework (#100905) 2022-04-13 22:38:40 -07:00
wangying
38542d284c
Add some debug properties to BackdropFilterLayer (#101101) 2022-04-11 09:59:08 -07:00
Michael Goderbauer
a01424773e
Enable unnecessary_import (#101600) 2022-04-08 12:56:45 -07:00
Emmanuel Garcia
032205eaca
Reland: "Use texture layer when displaying an Android view" (#100990) 2022-03-29 19:40:17 -07:00
Zachary Anderson
37d619d228
Revert "Reland: "Use texture layer when displaying an Android view" (#100934)" (#100950)
This reverts commit 61c30eed4f19009aa3caf8eede877c40c105b1b9.
2022-03-29 08:27:55 -07:00
Emmanuel Garcia
61c30eed4f
Reland: "Use texture layer when displaying an Android view" (#100934) 2022-03-28 21:25:06 -07:00
LongCatIsLooong
a63ee24b17
Reland "Avoid calling performLayout when only the relayout boundary is different" (#100581) 2022-03-25 16:20:14 -07:00
Emmanuel Garcia
19680c34cc
Revert "Reland: "Always use texture layer when displaying an Android view" (#100237)" (#100660)
This reverts commit d92fedcccb645ba155e93c5b72052692f10196b1.
2022-03-24 00:28:13 -07:00
Jonah Williams
984d8a8b5a
Revert "[framework] don't hit test for system nav bar or system chrome on desktop" (#100263) 2022-03-17 16:55:24 -07:00
Emmanuel Garcia
d92fedcccb
Reland: "Always use texture layer when displaying an Android view" (#100237) 2022-03-17 12:46:26 -07:00
Zachary Anderson
1c2c942112
Revert "Always use texture layer when displaying an Android view (#100091)" (#100222)
This reverts commit 509ddfda5c1bda7c01cf51fe24607da19423d5f9.
2022-03-16 09:12:25 -07:00
Emmanuel Garcia
509ddfda5c
Always use texture layer when displaying an Android view (#100091) 2022-03-15 21:10:18 -07:00
LongCatIsLooong
a3514c77c6
Revert "Avoid calling performLayout when only the relayout boundary is different" (#100068) 2022-03-14 15:00:19 -07:00
Kate Lovett
cb9e9a3786
Remove deprecated RenderEditable.onSelectionChanged (#98582) 2022-03-09 14:45:21 -08:00
LongCatIsLooong
bf6fcee173
Avoid calling performLayout when only the relayout boundary is different (#99056) 2022-03-09 00:00:05 -08:00
Michael Goderbauer
7f2c1cd772
Use PlatformDispatcher.instance over window where possible (#99496) 2022-03-03 14:46:16 -08:00
Viren Khatri
078deb9230
Migrates packages/flutter to from hashValues to Object.hash (#96109)
* migrates lib/foundation and lib/widgets

* migrates lib/painting and lib/material

* migrates lib/cupertino, lib/gestures, lib/services, lib/semantics and lib/rendering

* fixes failing tests

* migrates test/

* improves hashing of lists
2022-03-01 23:54:11 +05:30
chunhtai
1178c8e9d3
Revert "Remove redundant hide handles API from TextSelectionDelegate (#98944)" (#99008)
This reverts commit 94f6fd6ea8934407452853405835b92fec0d7ad9.
2022-02-23 09:48:53 -08:00
Emmanuel Garcia
f4fc2c87f7
Test that render object changed its visual appearance after texture is create (#98622) 2022-02-22 14:53:17 -08:00
chunhtai
94f6fd6ea8
Remove redundant hide handles API from TextSelectionDelegate (#98944) 2022-02-22 14:44:18 -08:00
Michael Goderbauer
a454da0220
Revert "[performance] Process dirty nodes from top to bottom during paint to avoid unnecessary layer tree walks" (#98520) 2022-02-15 13:30:13 -08:00
Michael Goderbauer
8cd540f449
[performance] Process dirty nodes from top to bottom during paint to avoid unnecessary layer tree walks (#98219) 2022-02-11 04:30:21 -08:00
Jonah Williams
a7a3d8ba13
[framework] don't hit test for system nav bar or system chrome on desktop (#97883) 2022-02-07 22:55:09 -08:00
Marcel Kirchhoff
36a8f0f2ae
RenderIndexedStack - Mark invisible children as offstage in debugDescribeProperties (#96639) 2022-02-07 16:15:19 -08:00
Ian Hickson
ab89ce285f
Clean up the bindings APIs. (#89451) 2022-02-03 14:55:15 -08:00