This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Commit 67d114f
authored
Display Features support (Foldable and Cutout) (#24756)
* Add DisplayFeatures and DisplayCutout to viewport metrics
* WindowManager alpha03 and better documentation
* Fixed formatting
* Fixed failing tests
* Replaced API version code P with 28
* Unnecessary import
* Fixed display features parameters missing
* Documentation changes
* First paragraph is a sentence
* Update androidx window library to version 1.0.0-alpha05
* Improve documentation, remove deprecated display feature call
* Write tests and improve documentation
* Migrate to Window Manager alpha08
* Update androidx window to beta01
* Remove unused import
* Remove window_hook_integration_test.dart
* Fix tests
* Update android_embedding_dependencies version to include androidx.window
* Add androidx.window to test_runner build
* Add empty display features arrays to fuchsia platform view
* Fix tests using final class mocking
* Add missing license header
* Update licenses_golden1 parent 9e1337e commit 67d114f
29 files changed
Lines changed: 896 additions & 93 deletions
File tree
- ci/licenses_golden
- lib
- ui
- fixtures
- window
- web_ui/lib/src/ui
- shell
- common
- platform
- android
- io/flutter
- embedding
- android
- engine
- renderer
- view
- test_runner
- test/io/flutter
- embedding
- android
- engine/renderer
- plugin
- editing
- mouse
- platform
- fuchsia/flutter
- tools
- androidx
- cipd/android_embedding_bundle
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
552 | | - | |
| 552 | + | |
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
824 | 824 | | |
825 | 825 | | |
826 | 826 | | |
| 827 | + | |
827 | 828 | | |
828 | 829 | | |
829 | 830 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
| 342 | + | |
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | | - | |
| 358 | + | |
359 | 359 | | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
360 | 363 | | |
361 | 364 | | |
362 | 365 | | |
| |||
403 | 406 | | |
404 | 407 | | |
405 | 408 | | |
406 | | - | |
| 409 | + | |
407 | 410 | | |
408 | 411 | | |
409 | 412 | | |
| |||
421 | 424 | | |
422 | 425 | | |
423 | 426 | | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
424 | 430 | | |
425 | 431 | | |
426 | 432 | | |
| |||
430 | 436 | | |
431 | 437 | | |
432 | 438 | | |
433 | | - | |
| 439 | + | |
434 | 440 | | |
435 | 441 | | |
436 | 442 | | |
| |||
448 | 454 | | |
449 | 455 | | |
450 | 456 | | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
451 | 460 | | |
452 | 461 | | |
453 | 462 | | |
| |||
459 | 468 | | |
460 | 469 | | |
461 | 470 | | |
462 | | - | |
| 471 | + | |
463 | 472 | | |
464 | 473 | | |
465 | 474 | | |
| |||
477 | 486 | | |
478 | 487 | | |
479 | 488 | | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
480 | 492 | | |
481 | 493 | | |
482 | 494 | | |
483 | 495 | | |
484 | 496 | | |
485 | 497 | | |
486 | 498 | | |
487 | | - | |
| 499 | + | |
488 | 500 | | |
489 | 501 | | |
490 | 502 | | |
| |||
502 | 514 | | |
503 | 515 | | |
504 | 516 | | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
505 | 520 | | |
506 | 521 | | |
507 | 522 | | |
508 | 523 | | |
509 | 524 | | |
510 | 525 | | |
511 | 526 | | |
512 | | - | |
| 527 | + | |
513 | 528 | | |
514 | 529 | | |
515 | 530 | | |
| |||
527 | 542 | | |
528 | 543 | | |
529 | 544 | | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
530 | 548 | | |
531 | 549 | | |
532 | 550 | | |
| |||
752 | 770 | | |
753 | 771 | | |
754 | 772 | | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
755 | 776 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
50 | 56 | | |
51 | 57 | | |
52 | 58 | | |
| |||
0 commit comments