Commit Graph

26 Commits

Author SHA1 Message Date
Jonah Williams
7ce6ddabab
[gallery] roll gallery to 6a8d738c94d0710e229d726729c09fdb5ccaf7ed (#122747)
[gallery] roll gallery to 6a8d738c94d0710e229d726729c09fdb5ccaf7ed
2023-03-15 21:22:03 +00:00
Daco Harkes
cd3806337c
Update gallery.dart (#120366)
Incorporating:

* https://github.com/flutter/flutter/issues/120260
2023-02-09 16:37:09 +00:00
Andrew Kolos
fd76ef0f26
Reland "Add API for discovering assets" (#119277)
* add asset manifest bin loading and asset manifest api

* use new api for image resolution

* remove upfront smc data casting

* fix typecasting issue

* remove unused import

* fix tests

* lints

* lints

* fix import

* revert image resolution changes

* Update image_resolution_test.dart

* Update decode_and_parse_asset_manifest.dart

* make targetDevicePixelRatio optional

* Update packages/flutter/lib/src/services/asset_manifest.dart

Co-authored-by: Jonah Williams <jonahwilliams@google.com>

* Update packages/flutter/lib/src/services/asset_manifest.dart

Co-authored-by: Jonah Williams <jonahwilliams@google.com>

* fix immutable not being imported

* return List in AssetManifest methods, fix annotation import

* simplify onError callback

* make AssetManifest methods abstract instead of throwing UnimplementedError

* simplify AssetVariant.key docstring

* tweak _AssetManifestBin docstring

* make AssetManifest and AssetVariant doc strings more specific

* use List.of instead of List.from for type-safety

* adjust import

* change _AssetManifestBin comment from doc comment to normal comment

* revert to callback function for onError in loadStructuredBinaryData

* add more to the docstring of AssetManifest.listAssets and AssetVariant.key

* add tests for CachingAssetBundle caching behavior

* add simple test to ensure loadStructuredBinaryData correctly calls load

* Update asset_manifest.dart

* update docstring for AssetManifest.getAssetVariants

* rename getAssetVariants, have it include main asset

* rename isMainAsset field of AssetMetadata to main

* (slightly) shorten name of describeAssetAndVariants

* rename describeAssetVariants back to getAssetVariants

* add tests for TestAssetBundle

* nits

* fix typo in docstring

* remove no longer necessary non-null asserts

* update gallery and google_fonts versions

---------

Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2023-02-02 15:17:15 +00:00
Chris Bracken
15867a612f
Roll gallery to b6728704a6441ac37a21e433a1e43c990780d47b (#114537) 2022-11-02 20:47:06 +00:00
Jenn Magder
94b740ad6d
Roll gallery for devicelab tests (#112509) 2022-09-28 18:13:24 +00:00
Pierre-Louis
a5589dd828
Roll gallery for device lab tests (#103993) 2022-05-17 23:07:08 -07:00
Michael Goderbauer
43029bebc4
Roll gallery to 03dedee4bc24878fec1c1d1338daffd5b792a29d (#100989) 2022-03-29 12:15:32 -07:00
Michael Goderbauer
c4585ecc46
Roll gallery to d63bd9200b6a8ad69d47bdc5e4059fadb9c962c1 (#100979) 2022-03-29 11:02:09 -07:00
Emmanuel Garcia
3facdb8717
Pin Gallery to version with updated settings.gradle (#97986) 2022-02-07 15:15:46 -08:00
Jason Simmons
67a8200e24
Roll Gallery for compatibility with the latest Gradle dependencies (#93985)
See https://github.com/flutter/flutter/issues/93975
2021-11-20 17:42:56 -08:00
Zachary Anderson
3fba55a18d
Revert "Bump Gallery version (#93173)" (#93207)
This reverts commit 36a0bc5b96.
2021-11-06 23:40:10 -07:00
Emmanuel Garcia
36a0bc5b96
Bump Gallery version (#93173) 2021-11-05 17:33:31 -07:00
Emmanuel Garcia
93b3810022
Roll Gallery with updated Gradle lockfiles (#92850) 2021-11-01 10:47:57 -07:00
Emmanuel Garcia
10416b3054
Roll Flutter Gallery with Gradle pinned dependencies (#83136) 2021-05-21 18:34:08 -07:00
Greg Spencer
36daea2d54
Reland "Remove a dynamic that is no longer necessary (and the TODO for it) (#80294)" (#80373) 2021-04-13 18:29:21 -07:00
Jonah Williams
4d54b8966a
roll gallery version to fix build (#79456) 2021-03-31 08:14:38 -07:00
Jason Simmons
5c004eaf65
Roll Gallery (required by the latest engine update and Dart SDK) (#76409) 2021-02-19 14:45:54 -08:00
George Wright
3f4544611c
Revert "Reland "Roll Engine from 6993cb229b99 to c217d9d06e4f (60 revisions) (#76352)" (#76394)" (#76403)
This reverts commit 562f53bf52.
2021-02-19 12:39:59 -08:00
Jason Simmons
562f53bf52
Reland "Roll Engine from 6993cb229b99 to c217d9d06e4f (60 revisions) (#76352)" (#76394)
This reverts commit c310717af2.

Also update Gallery to a version that is compatible with this roll.
2021-02-19 11:32:59 -08:00
Emmanuel Garcia
b18e2a1cc4
Bump Gallery version (#70130) 2020-11-09 13:05:56 -08:00
Yuqian Li
4728892753
Roll gallery to the newest version (#66693)
The previously broken test should be fixed by
https://github.com/flutter/gallery/pull/331
2020-09-28 22:45:54 -07:00
Yuqian Li
3e8fb33c08
Revert "Roll gallery to the newest version (#66584)" (#66666)
This reverts commit 2ae09caace.
2020-09-25 12:18:28 -07:00
Yuqian Li
2ae09caace
Roll gallery to the newest version (#66584)
This shouldn't break our tests as
https://github.com/flutter/gallery/issues/275 is closed.
2020-09-25 11:05:33 -07:00
Zachary Anderson
6f02c0b231
Revert "Roll new gallery to help flaky Crane test (#64676)" (#64824)
This reverts commit e825281745.
2020-08-28 13:54:51 -07:00
Yuqian Li
e825281745
Roll new gallery to help flaky Crane test (#64676) 2020-08-28 10:48:03 -07:00
Tianguang
504963b4d1
Pin gallery version (#62986) 2020-08-05 15:11:18 -07:00