import "shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.h"#include "display_list/geometry/dl_geometry_types.h"#include "impeller/geometry/rounding_radii.h"#include "flutter/display_list/effects/image_filters/dl_blur_image_filter.h"#include "flutter/display_list/geometry/dl_geometry_conversions.h"#include "flutter/display_list/utils/dl_matrix_clip_tracker.h"#include "flutter/flow/surface_frame.h"#include "flutter/flow/view_slicer.h"#include "flutter/fml/logging.h"#include "flutter/fml/make_copyable.h"#include "flutter/fml/synchronization/count_down_latch.h"import "flutter/shell/platform/darwin/common/InternalFlutterSwiftCommon/InternalFlutterSwiftCommon.h"import "flutter/shell/platform/darwin/ios/framework/Source/FlutterOverlayView.h"import "flutter/shell/platform/darwin/ios/framework/Source/FlutterView.h"#include "flutter/shell/platform/darwin/ios/framework/Source/overlay_layer_pool.h"import "flutter/shell/platform/darwin/ios/ios_surface.h"Go to the source code of this file.
Classes | |
| struct | LayerData |
| struct | PlatformViewData |
Typedefs | |
| using | LayersMap = std::unordered_map< int64_t, LayerData > |
Functions | |
| static CATransform3D | GetCATransform3DFromDlMatrix (const DlMatrix &matrix) |
| static void | ResetAnchor (CALayer *layer) |
| static CGRect | GetCGRectFromDlRect (const DlRect &clipDlRect) |
| static bool | HasNonRectClipForUnderlayCutout (const flutter::EmbeddedViewParams ¶ms) |
| static void | ApplyNonRectClipToOverlayCanvas (flutter::DlCanvas *overlay_canvas, const flutter::EmbeddedViewParams ¶ms) |
Variables | |
| static constexpr NSUInteger | kFlutterClippingMaskViewPoolCapacity = 5 |
| static NSString *const | kGestureBlockingPolicyEagerValue = @"@"eager" |
| static NSString *const | kGestureBlockingPolicyWaitUntilTouchesEndedValue = @"@"waitUntilTouchesEnded" |
| static NSString *const | kGestureBlockingPolicyDoNotBlockGesture = @"@"doNotBlockGesture" |
| static NSString *const | kGestureBlockingPolicyFallbackToPluginDefault = @"@"fallbackToPluginDefault" |
| std::unordered_map< int64_t, std::unique_ptr< flutter::EmbedderViewSlice > > | _slices |
| std::unordered_map< std::string, NSObject< FlutterPlatformViewFactory > * > | _factories |
| std::unordered_map< std::string, FlutterPlatformViewGestureRecognizersBlockingPolicy > | _gestureRecognizersBlockingPoliciesByType |
| FlutterFMLTaskRunner * | _platformTaskRunner |
| std::unordered_map< int64_t, PlatformViewData > | _platformViews |
| std::unordered_map< int64_t, flutter::EmbeddedViewParams > | _currentCompositionParams |
| std::unordered_set< int64_t > | _viewsToDispose |
| std::vector< int64_t > | _compositionOrder |
| std::vector< int64_t > | _visitedPlatformViews |
| std::unordered_set< int64_t > | _viewsToRecomposite |
| std::vector< int64_t > | _previousCompositionOrder |
Definition at line 41 of file FlutterPlatformViewsController.mm.
|
static |
Definition at line 113 of file FlutterPlatformViewsController.mm.
References flutter::DlCanvas::ClipPath(), flutter::DlCanvas::ClipRoundRect(), flutter::DlCanvas::ClipRoundSuperellipse(), impeller::Matrix::IsIdentity(), flutter::kClipPath, flutter::kClipRRect, flutter::kClipRSE, flutter::kIntersect, flutter::kTransform, flutter::DlPath::MakeRoundRect(), flutter::DlPath::MakeRoundSuperellipse(), params, flutter::ToSkMatrix(), and transform.
|
static |
Definition at line 54 of file FlutterPlatformViewsController.mm.
References impeller::Matrix::m, and transform.
|
static |
Definition at line 87 of file FlutterPlatformViewsController.mm.
|
static |
Definition at line 94 of file FlutterPlatformViewsController.mm.
References flutter::kClipPath, flutter::kClipRRect, flutter::kClipRSE, and params.
|
static |
Definition at line 81 of file FlutterPlatformViewsController.mm.
| std::vector<int64_t> _compositionOrder |
Definition at line 317 of file FlutterPlatformViewsController.mm.
| std::unordered_map<int64_t, flutter::EmbeddedViewParams> _currentCompositionParams |
Definition at line 315 of file FlutterPlatformViewsController.mm.
| std::unordered_map<std::string, NSObject<FlutterPlatformViewFactory>*> _factories |
Definition at line 310 of file FlutterPlatformViewsController.mm.
| std::unordered_map<std::string, FlutterPlatformViewGestureRecognizersBlockingPolicy> _gestureRecognizersBlockingPoliciesByType |
Definition at line 312 of file FlutterPlatformViewsController.mm.
| FlutterFMLTaskRunner* _platformTaskRunner |
Definition at line 313 of file FlutterPlatformViewsController.mm.
| std::unordered_map<int64_t, PlatformViewData> _platformViews |
Definition at line 314 of file FlutterPlatformViewsController.mm.
| std::vector<int64_t> _previousCompositionOrder |
Definition at line 320 of file FlutterPlatformViewsController.mm.
| std::unordered_map<int64_t, std::unique_ptr<flutter::EmbedderViewSlice> > _slices |
Definition at line 309 of file FlutterPlatformViewsController.mm.
| std::unordered_set<int64_t> _viewsToDispose |
Definition at line 316 of file FlutterPlatformViewsController.mm.
| std::unordered_set<int64_t> _viewsToRecomposite |
Definition at line 319 of file FlutterPlatformViewsController.mm.
| std::vector<int64_t> _visitedPlatformViews |
Definition at line 318 of file FlutterPlatformViewsController.mm.
|
staticconstexpr |
Definition at line 28 of file FlutterPlatformViewsController.mm.
|
static |
Definition at line 32 of file FlutterPlatformViewsController.mm.
|
static |
Definition at line 30 of file FlutterPlatformViewsController.mm.
|
static |
Definition at line 33 of file FlutterPlatformViewsController.mm.
|
static |
Definition at line 31 of file FlutterPlatformViewsController.mm.