Commit Graph

24 Commits

Author SHA1 Message Date
Mikkel Nygaard Ravn 3656278894 Make deprecated API unavailable (#4722) 2018-02-28 11:14:43 +01:00
Todd Volkert 4cafde3c80 Add flag to skip call to SkGraphics::Init() (#4694)
https://github.com/flutter/flutter/issues/14519
2018-02-20 17:42:11 -08:00
Siva 19e8d9b2bf Fix strong flag setting (#4683)
* Turn on strong mode by default when a platform file is present in the
bundle instead of using a flag passed into the engine which might not be
true when we invoke an installed app.

* - Roll dart to version fe96de2858f078e4ad04f8f30640184bf3d8102d

* Update license file.
2018-02-15 11:02:31 -08:00
Siva 0f0b144b03 Add support for --strong option in the engine, create a strong mode version of the platform file (#4504)
* Add a --strong option to the front end server so we can use strong mode with preview-dart-2.

* Plumb the --strong option through the dart controller into the VM.

* - Build a strong version of platform.dill for use with the engine.
- Fix a strong mode static error in the assert statement

* Enable asserts when running debug version even in strong mode.

* Use the correct platform dill file for linking when doing the aot builds.

* Fix formatting issue.
2018-01-03 16:52:24 -08:00
Mikkel Nygaard Ravn 288897bb46 Fix API typo (#4487) 2018-01-02 15:32:53 +01:00
Zachary Anderson 619f452ece [Android] Extract the PluginRegistry from the FlutterActivity (#4393) 2017-11-30 11:05:55 -08:00
Zachary Anderson 242ce44af5 [Android] Cleanup in FlutterActivityDelegate (#4357) 2017-11-13 14:13:04 -08:00
Zachary Anderson 7804e8588a View destroy listener (#4347)
[Android] Allow persisting a FlutterNativeView across activities.
2017-11-13 13:56:48 -08:00
Chinmay Garde 9a960f82f5 Add texture support (eg video, camera) (#4159) 2017-11-02 10:57:29 +01:00
Carlo Bernaschina 57a1445a45 Add --trace-skia parameter to flutter run (#4100)
Skia tracing is extremely useful for internal debug, but reduces the
amount of space available in the Dart Timeline buffers.
Disable skia tracing by default and expose them via the --trace-skia
flag.
2017-09-13 10:18:45 -07:00
xster 51775c77a9 Add animation to Android too (#3981) 2017-08-23 12:57:06 -07:00
Jason Simmons e260e35dec Revert to a Jellybean compatible variant of getDrawable (#3997) 2017-08-21 17:25:31 -07:00
Jason Simmons 841cd66712 Remove use of a deprecated getDrawable API (#3979) 2017-08-15 11:54:04 -07:00
xster 08eb72341f Add an explicit user configurable check for whether to keep showing the splash screen. (#3976) 2017-08-15 11:01:12 -07:00
xster f187a5c219 Create platform API for first frame callback. Use for defer hiding splash screens on Android and iOS (#3956)
* Add back launch screen view until first frame on iOS

* improvements

* Move callback plumbing from ios surfaces to the gpu rasterizer. Didn’t wire java JNI yet.

* Android JNI

* Fix ios reference count and let android engine manage a view on top with launch screen

* Hook up Android activity and view

* review notes

* review notes

* Move thread switching upstream. Use weak references for callbacks.

* Some clean up
2017-08-14 15:44:52 -07:00
Todd Volkert 488584f8b7 Add PluginRegistry.Registrar#view() (#3900)
Sometimes, plugin instances need access to the `FlutterView`.
They can currently cast the `messenger()`, but that's fragile.
This adds API support for getting the view from the registry.
2017-07-18 19:16:15 -07:00
Chris Bracken fffe502d43 Revert libtxt integration (#3802)
* Revert "Fix licenses_lib golden file (#3798)"

This reverts commit d8ac43c3c9.

* Revert "Remove ParagraphConstriants (#3796)"

This reverts commit 8ccf767ff7.

* Revert "Reland "Initial integration of libtxt with Flutter alongside Blink." (#3793)"

This reverts commit 3c049219e1.
2017-06-20 09:59:56 -07:00
Jason Simmons 979f8a63ea Set the initial route before launching the Dart app (#3795)
See https://github.com/flutter/flutter/issues/10813
2017-06-19 15:25:47 -07:00
Gary Qian 3c049219e1 Reland "Initial integration of libtxt with Flutter alongside Blink." (#3793)
* Transition to Hybrid lib/txt and blink text system.
2017-06-19 15:21:41 -07:00
Ian McKellar d2c77f973d Revert "Initial integration of libtxt with Flutter alongside Blink." (#3785)
* Revert "Enable line join styles and miter limit. (#3777)"

This reverts commit 5403f65bca.

* Revert "Revert "Update switches to use StringView." (#3784)"

This reverts commit 80f039ff32.

* Revert "Initial integration of libtxt with Flutter alongside Blink. (#3771)"

This reverts commit c548c65b50.
2017-06-16 15:15:48 -07:00
Gary Qian c548c65b50 Initial integration of libtxt with Flutter alongside Blink. (#3771) 2017-06-16 14:15:53 -07:00
Todd Volkert b91d2f1bb4 Fix some minor issues with Javadocs (#3761) 2017-06-09 07:35:50 -07:00
Todd Volkert 2d541dd5e7 Only handle refresh intent when the app is marked as debuggable. (#3752) 2017-06-08 08:13:52 -07:00
Todd Volkert ec8cbe0fb6 Refactor FlutterActivity to be more composable (#3748)
This factors the functionality that was in `FlutterActivity`
to live in `FlutterActivityDelegate`. This will allow the creation of a
`FlutterFragmentActivity` that has the same core functionality, which in
turn unlocks certain Android plugins that choose to require the v4
support library (like Google Sign-In).

https://github.com/flutter/flutter/issues/10072
2017-06-07 12:28:41 -07:00