#import <FlutterResizeSynchronizer.h>
Instance Methods | |
| (void) | - beginResizeForSize:notify: |
| (void) | - performCommitForSize:notify:delay: |
| (void) | - shutDown |
Class responsible for coordinating window resize with content update.
Definition at line 16 of file FlutterResizeSynchronizer.h.
| - (void) beginResizeForSize: | (CGSize) | size | |
| notify: | (nonnull dispatch_block_t) | notify | |
Begins a resize operation for the given size. Block the thread until performCommitForSize: with the same size is called. While the thread is blocked Flutter messages are being pumped. See [FlutterRunLoop pollFlutterMessagesOnce].
Definition at line 14 of file FlutterResizeSynchronizer.mm.
| - (void) performCommitForSize: | (CGSize) | size | |
| notify: | (nonnull dispatch_block_t) | notify | |
| delay: | (NSTimeInterval) | delay | |
Called from raster thread. Schedules the given block on platform thread at given delay and unblocks the platform thread if waiting for the surface during resize.
Definition at line 14 of file FlutterResizeSynchronizer.mm.
Referenced by flutter::testing::TEST_F().
| - (void) shutDown |
Called when the view is shut down. Unblocks platform thread if blocked during resize.
Definition at line 14 of file FlutterResizeSynchronizer.mm.
Referenced by flutter::testing::TEST_F().