Jonah Williams
e1cd506187
add onStart hook which places flutter in an inactive state ( #5177 )
2018-05-04 14:46:57 -07:00
Jonah Williams
0b7d6be976
Re-land "do not pause rendering when android view loses focus" ( #5004 )
...
* do not pause rendering when android view loses focus
2018-04-13 17:08:00 -07:00
Jonah Williams
8a6e64a8ef
Revert "Do not pause rendering when android activity loses focus ( #4848 )" ( #4985 )
...
This reverts commit c83d1ef12d .
2018-04-12 11:20:24 -07:00
Jonah Williams
c83d1ef12d
Do not pause rendering when android activity loses focus ( #4848 )
...
* do not pause rendering when android view loses focus
2018-04-12 11:00:31 -07:00
Jason Simmons
5e8557330a
Allow FirstFrameListeners to remove themselves from the FlutterView's list ( #4871 )
...
Fixes https://github.com/flutter/flutter/issues/15884
2018-03-26 15:43:38 -07:00
Sarah Zakarias
2c5a1bf507
Provide lookup key to access Flutter assets in the APK ( #4785 )
2018-03-16 12:59:57 +01:00
Michael Goderbauer
5ce89a0f3d
Fixes crash on Android when activating Now on Tap ( #4536 )
2018-01-12 10:22:55 -08:00
Alexander Aprelev
6bacf4522e
This adds RPC call to set asset path. ( #4323 )
...
* This adds rpc call to simply set asset path.
This is needed when doing hot reload to pick up updated assets.
* Move asset_directory fetch for after view_id. Clean up return. Fix formatting.
* Add SetAssetBundlePath methods implementations for mac and ios
* Fix mac mm
* Fix formatting
* Merge and use nullptr
2018-01-04 09:48:01 -08:00
Michael Goderbauer
e07eafae1d
Roll forward: Parameters for SemanticActions; a11y text selection ( #4452 )
...
Reverts the revert in #4448 with fixes to pass on the bot.
This change will require framework changes in flutter/flutter#13490 .
2017-12-12 14:25:45 -08:00
Chris Bracken
6c6b709b2c
Model Android keyboard height as view inset ( #4447 )
...
Model top and side system insets as padding and bottom (keyboard) as a
view inset. This avoids applying system insets twice (once as an inset,
once as padding).
2017-12-12 11:04:42 -08:00
Michael Goderbauer
056fd4597f
Revert " Add parameters to SemanticActions; implement extend selection for a11y ( #4444 )" ( #4448 )
...
This reverts commit 59c3a37e64 .
2017-12-12 10:53:15 -08:00
Michael Goderbauer
59c3a37e64
Add parameters to SemanticActions; implement extend selection for a11y ( #4444 )
2017-12-12 10:06:04 -08:00
Jason Simmons
aaa758d619
Check for a detached FlutterNativeView before sending messages ( #4445 )
...
Fixes https://github.com/flutter/flutter/issues/13481
2017-12-11 17:15:21 -08:00
Michael Goderbauer
fb44dce8c2
A11y cursor movements for text fields on Android ( #4419 )
...
* a11y cursor movement by character
* focus fixes
* doc fixes
2017-12-06 15:46:35 -08:00
Zachary Anderson
619f452ece
[Android] Extract the PluginRegistry from the FlutterActivity ( #4393 )
2017-11-30 11:05:55 -08:00
Chris Bracken
93648ef0ed
Expose Window.viewInsets in dart:ui ( #4403 )
...
Window.viewInsets is the set of window-relative insets that describe the
area of the window that an application may want to treat as effectively
reducing the size of the content. Typically this is due to system UI
that fully obscures underlying content, such as the keyboard.
This area differs from padding in that padding is the set of insets that
describe the area of the window that may be partially (or fully)
obscured by system UI or physical intrusions into the view area (e.g.
iPhone X sensor housing, status bar, or the iPhone X home indicator
widget).
This patch does not yet enable the iOS bottom edge safe area. Once the
framework has been updated to use viewInsets for bottom-edge occlusions
(today, the keyboard), the bottom safe area will be enabled and
framework patches that depend on it, landed.
2017-11-29 16:27:15 -08:00
Zachary Anderson
7804e8588a
View destroy listener ( #4347 )
...
[Android] Allow persisting a FlutterNativeView across activities.
2017-11-13 13:56:48 -08:00
Jason Simmons
bb55d65085
Delete the native view when destroying the FlutterView ( #4356 )
...
Fixes https://github.com/flutter/flutter/issues/12996
2017-11-13 13:16:48 -08:00
Zachary Anderson
f5bdf9b0fc
[Android] Pulls the native platform view out of FlutterView ( #4338 )
2017-11-09 12:10:00 -08:00
Chinmay Garde
9a960f82f5
Add texture support (eg video, camera) ( #4159 )
2017-11-02 10:57:29 +01:00
Zachary Anderson
57f361dc6a
Pass option to reuse an existing runtime controller ( #4253 )
2017-10-20 10:17:21 -07:00
Yegor
23f5ccd25c
Add alwaysUse24HourFormat and textScaleFactor ( #4202 )
...
* systems/settings channel split
* merge textScaleFactor and alwaysUse24HourFormat into flutter/settings channel
* add debugOverrideAlwaysUse24HourFormat
* implement textScaleFactor on iOS
* address comments
* remove debugOverrideAlwaysUse24HourFormat
* clang-format
2017-10-18 16:13:43 -07:00
Zachary Anderson
d3ebce9cf6
Allow a non-main entrypoint ( #4238 )
2017-10-18 14:19:28 -07:00
Zachary Anderson
faaf321b01
Make Engine::RunBundle* reuse an existing RuntimeController ( #4229 )
2017-10-17 13:44:09 -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