P.Y. Laligand
5fae5d52cf
Allow the project to be mapped to a location other than //flutter. ( #4203 )
...
This is for Fuchsia where we would like it to be located at //third_party/flutter.
2017-10-13 17:00:58 -07:00
Zachary Anderson
555ccfc030
[Android] Lazily create the rasterizer and platform surface ( #4207 )
2017-10-12 15:38:28 -07:00
Jason Simmons
b28933d4f6
Remove AndroidSurface::SetFlutterView ( #4208 )
...
This was used by AndroidSurfaceSoftware but is now obsolete
2017-10-12 13:49:56 -07:00
Michael Goderbauer
0448bf9bd7
Proper horizontal a11y scrolling on Android ( #4163 )
2017-10-02 15:46:38 -07:00
gspencergoog
b2a7f4bf8f
Add support for system text scale factor. ( #4124 )
...
Adds support for system text scale factor, including hooks for Android system settings changes. iOS hooks will be added in another PR.
2017-09-29 13:19:06 -07:00
Michael Goderbauer
45b11f742d
Send scroll progress with a11y event TYPE_VIEW_SCROLLED ( #4144 )
2017-09-27 11:18:50 -07:00
gspencergoog
90ba98e741
Fixing accidental paste. ( #4145 )
2017-09-26 13:44:39 -07:00
gspencergoog
faabc10178
Support correct keyboards for multi-line text editing. ( #4115 )
...
This addresses part of #8028 , implementing the Engine-side support for it.
2017-09-26 12:53:19 -07:00
Jason Simmons
77ec0b5f5b
Replace a View.getDisplay call that is not supported on API level 16 ( #4139 )
...
Fixes https://github.com/flutter/flutter/issues/12235
2017-09-25 11:25:47 -07:00
Carlo Bernaschina
0c1e217287
Add anchor events for developer centric timeline ( #4105 )
...
By adding these events the new developer centric timeline will be able
to identify and correlate events related to the different stages of the
drawing pipeline.
Roll Dart to 62045a4590a333ae557f8f261a909ee75449cd70
2017-09-14 20:18:07 -07: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
Michael Goderbauer
08961f8ec5
Format all c-like sources with clang-format ( #4088 )
...
* format
* license script adaptions
* updated licenses
* review comments
2017-09-12 15:36:20 -07:00
George Kulakowski
6502090278
Fix remaining ftl->fxl conversions ( #4091 )
...
* Fix remaining ftl->fxl conversions
The previous scripting pass at this did not account for objective c file endings
* Update tonic DEPS reference to the post-fxl version
2017-09-11 16:31:18 -07:00
George Kulakowski
3aa7522c11
Rename ftl to fxl in Fuchsia specific code ( #4090 )
2017-09-11 15:58:48 -07:00
Michael Goderbauer
afcc1d1e1f
a11y improvements for iOS ( #4079 )
...
* Various iOS a11y fixes
* undo
* review comments
* review comments
2017-09-11 14:44:17 -07:00
Jason Simmons
a44146f13b
Log instead of asserting when sending a reply message to a defunct engine ( #4084 )
...
Fixes https://github.com/flutter/flutter/issues/12037
2017-09-11 14:05:14 -07:00
Michael Goderbauer
81e3f8b86f
refactor accessibility channel to use StandardMessageCodec ( #4073 )
2017-09-07 15:24:47 -07:00
Michael Goderbauer
ccf68cdcb6
Tell Android which SemanticsNodes are focusable ( #4067 )
...
A node is considered focusable if it contains information that is interesing to the user. A node that doesn't add any semantic information of its own should not be focusable. It's expected that such a node has children, who have smeantics information and are therefore focusable.
Fixes https://github.com/flutter/flutter/issues/11179
2017-09-06 16:56:23 -07:00
Michael Goderbauer
ceb6d05c2f
Adapt semantics event handling to framework changes ( #4066 )
2017-09-05 16:31:24 -07:00
Michael Goderbauer
d60d630ec6
Wire up basic a11y channel for a11y events ( #4054 )
2017-09-01 16:40:04 -07:00
Ryan Macnak
ffbefaf477
Initial implementation of idle notification. ( #4012 )
...
- Assumes only the Dart VM is interested in idle notification.
- Gives the VM the time remaining in each frame.
- Gives the VM 100ms if there is no pending frame.
Issue flutter/flutter#9594
2017-09-01 11:11:25 -07:00
Adam Barth
73554a1c32
Add //garnet ( #4043 )
...
This repository contains FTL now in the Fuchsia build.
2017-08-31 16:47:13 -07:00
Ryan Macnak
cfb8975e72
Fix truncation of frame time on 32-bit Android. ( #4040 )
2017-08-31 09:46:34 -07:00
Ian Hickson
60bce44c9f
Implement i18n features in the a11y API. ( #4029 )
2017-08-28 16:12:39 -07:00
Michael Goderbauer
32447c72fc
Traverse children from top left to bottom right for a11y ( #4017 )
...
* order
* comment fix
* review comments
2017-08-28 12:02:07 -07:00
Michael Goderbauer
8cfa97609c
Only expose available semantic scroll actions ( #4010 )
...
* Only expose available scroll actions
* formatting
* more formatting
2017-08-25 16:12:50 -07:00
Chinmay Garde
217ba07f5d
Update ICU to ToT and ensure that slimmed down versions of data files are shipped on the mobile platforms. ( #4005 )
...
This reduces the size of the ICU data files from 10.3 MB to 6.6 MB (uncompressed). Also allows us to remove version specific hacks from libTXT and dependencies.
2017-08-24 14:26:07 -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
0223e293f2
Improve checks for calls into native code made after the platform view has been detached ( #3926 )
2017-08-17 10:24:12 -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
Jason Simmons
42f5bc5fdf
Fixes related to usage of std::weak_ptr to hold PlatformViews ( #3949 )
...
* Call weak_ptr.lock(), which returns a null shared_ptr and does not throw
* IsViewInvalid was inverted
2017-08-03 10:53:17 -07:00
Jason Simmons
f02a30b405
Support sendKeyEvent for arrow keys ( #3940 )
...
Fixes https://github.com/flutter/flutter/issues/11352
2017-07-31 16:52:34 -07:00
Chinmay Garde
63861464df
Update buildroot to account for stricter warning flags. ( #3939 )
2017-07-31 16:22:15 -07:00
Jason Simmons
ca19ab0a99
Check for an empty selection in deleteSurroundingText ( #3938 )
...
Fixes https://github.com/flutter/flutter/issues/11437
2017-07-31 16:18:27 -07:00
Chinmay Garde
983c92f050
Update the Vulkan backend to account for GPUSurface API updates. ( #3933 )
2017-07-28 18:25:13 -07:00
Chinmay Garde
ddaa125ca7
When the surface does not support SRGB, render to an offscreen texture. ( #3930 )
2017-07-28 12:48:32 -07:00
Jason Simmons
232f4636e5
Do not send messages if the platform view has been detached ( #3927 )
2017-07-26 20:04:31 -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
Chinmay Garde
777bb82851
Enable the “Highlight Vsync” option in the timeline viewer on Android. ( #3901 )
2017-07-18 18:11:35 -07:00
Brian Osman
de00757ddb
Revert "Revert "Reland "Run Flutter on iOS and Android with color correct Skia ( #3826 )" ( #3878 )" ( #3895 )
...
This reverts commit 1db18a40da855b102e391cb11189e73f9c2ec40d.
2017-07-18 15:58:35 -04:00
Michael Goderbauer
1a4bffc4ba
Wire up SemanticsAction Increase and Decrease on Android ( #3876 )
2017-07-17 16:48:50 -07:00
Jason Simmons
f56da86f98
Invert the autocorrect flag ( #3875 )
...
See https://github.com/flutter/engine/pull/3866
2017-07-13 15:33:08 -07:00
Collin Jackson
1db18a40da
Revert "Reland "Run Flutter on iOS and Android with color correct Skia ( #3826 )" ( #3878 )
...
This reverts commit 2d9155e174d83e9646c951dbbc85fe1eda8b20e9.
Fixes a regression with semitransparent images (flutter/flutter#11169 )
2017-07-13 14:22:25 -07:00
Michael Goderbauer
63bf1d282f
a11y: Add SemanticsAction "showOnScreen" ( #3856 )
...
This action is triggered when the user swipes (in accessibility mode) to the last visible item of a scrollable list to bring that item fully on screen.
iOS implementation to follow.
2017-07-12 15:52:30 -07:00
Jason Simmons
74d6f60558
Enable text autocorrect on Android with a flag to disable it ( #3866 )
...
See https://github.com/flutter/flutter/issues/11168
2017-07-12 14:44:20 -07:00
Carlo Bernaschina
354d90a957
Add missing virtual methods in PlatformView ( #3867 )
2017-07-12 13:06:02 -07:00
Carlo Bernaschina
8ba522eeae
Avoid to freeze the system if hot reloading during debug ( #3833 )
2017-07-12 10:25:42 -07:00