Jonah Williams
57f53b98a4
Re-land Enables system chrome customization on Android O/N and greater ( #5171 )
2018-05-07 15:45:59 -07:00
Jonah Williams
3c583f81d9
Revert "Enables system chrome customization on Android O and greater" ( #5167 )
...
* Revert "Roll dart sdk to e6d7d67f4b35556805dd083fed15bf3ed41f7e33. (#5165 )"
This reverts commit 9e4c5d0e1f9daf0c46fdc7e5d1e81ce9c36b65c4.
* Revert "Enables system chrome customization on Android M/O and greater (#5112 )"
This reverts commit f2db5dfd30f12407acab57f04acc8af7c6158891.
2018-05-03 15:38:25 -07:00
Jonah Williams
f2db5dfd30
Enables system chrome customization on Android M/O and greater ( #5112 )
2018-05-03 13:10:44 -07:00
Stanislav Baranov
7fa08b3ba9
Support for decimal and signed numeric keyboard ( #4853 )
...
* Support for decimal and signed numeric keyboard
* Comments
2018-03-26 13:14: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
Mikkel Nygaard Ravn
9671f63459
Make standard codecs extensible ( #4770 )
2018-03-16 00:08:08 +00:00
Mikkel Nygaard Ravn
3656278894
Make deprecated API unavailable ( #4722 )
2018-02-28 11:14:43 +01:00
xster
ba98f2634b
Add more haptic feedback varieties ( #4699 )
...
* Add more haptic feedback varieties
* Make the specific feedback types do nothing on <iOS 10
2018-02-27 14:55:18 -08:00
Jason Simmons
15430edc1f
Fix some errors in Javadoc annotations ( #4622 )
2018-01-31 13:56:32 -08:00
Jason Simmons
8b7ebb7730
Convert other Android clipboard formats into text ( #4578 )
...
Fixes https://github.com/flutter/flutter/issues/14093
2018-01-22 13:55:48 -08:00
Ali Bitek
8e9598df97
Get active Context from the Registrar ( #4523 )
2018-01-20 08:46:40 +01:00
Mikkel Nygaard Ravn
84fc920fde
Deprecate support for big integers in standard message codec ( #4528 )
2018-01-09 23:58:45 +01:00
Mehmet Fidanboylu
9b98d194f2
Fix build break caused by https://github.com/flutter/engine/pull/4491 ( #4524 )
2018-01-07 07:51:46 -08:00
Mehmet Fidanboylu
d43ae0b41b
Add unwrap to JSONUtil ( #4491 )
...
We have a use for this for the internal messaging plugin. Instead of rolling our own, it made sense to add it here especially since it has the mirror functionality (wrap).
2018-01-06 14:32:00 -08:00
Mikkel Nygaard Ravn
288897bb46
Fix API typo ( #4487 )
2018-01-02 15:32:53 +01:00
Jason Simmons
a2f488ac7f
Do not report a cursor location if there is no active selection ( #4427 )
...
Fixes https://github.com/flutter/flutter/issues/13398
2017-12-07 17:43:51 -08:00
Zachary Anderson
619f452ece
[Android] Extract the PluginRegistry from the FlutterActivity ( #4393 )
2017-11-30 11:05:55 -08:00
ethanblake4
3f3d174963
Fix: use firstRequestedOrientation in fallthrough case ( #4392 )
2017-11-27 00:09:56 -08:00
Zachary Anderson
7804e8588a
View destroy listener ( #4347 )
...
[Android] Allow persisting a FlutterNativeView across activities.
2017-11-13 13:56:48 -08:00
Mikkel Nygaard Ravn
bc3ac074d2
Make EventChannel survive hot restart on Android ( #4350 )
2017-11-13 07:47:36 +01:00
Ian Hickson
bc30d7bed2
Support multiple values in SystemChrome.setPreferredOrientations ( #4320 )
2017-11-03 10:28:31 -07:00
Chinmay Garde
9a960f82f5
Add texture support (eg video, camera) ( #4159 )
2017-11-02 10:57:29 +01:00
5u3it
31585e0def
Native keyboard behavior update for multiline input ( #4234 )
...
Use sentence capitalization for non-obscuretext fields of TextInputType.text
and TextInputType.multiline on iOS and Android.
2017-10-19 13:56:35 -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
f02a30b405
Support sendKeyEvent for arrow keys ( #3940 )
...
Fixes https://github.com/flutter/flutter/issues/11352
2017-07-31 16:52:34 -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
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
Jason Simmons
f56da86f98
Invert the autocorrect flag ( #3875 )
...
See https://github.com/flutter/engine/pull/3866
2017-07-13 15:33:08 -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
Jason Simmons
456d746eb0
Do not enter text for key events that are not associated with a character ( #3860 )
...
Fixes https://github.com/flutter/flutter/issues/10723
2017-07-10 17:41:14 -07:00
Jason Simmons
8d5372a82a
Do not try to apply selections outside the length of the text ( #3845 )
...
See https://github.com/flutter/flutter/issues/11041
2017-06-30 14:50:01 -07:00
Jason Simmons
4d1f1f6d8a
Do not call restartInput twice when setting a new text input client. ( #3808 )
...
If restartInput is called twice in quick succession, then the IME may output
warnings related to usage of the obsolete connection resulting from the first
call.
Fixes https://github.com/flutter/flutter/issues/10730
2017-06-21 10:47:02 -07:00
Jason Simmons
e5b79ba63b
Call Selection.removeSelection if the framework has cleared the selection ( #3782 )
...
Fixes https://github.com/flutter/flutter/issues/10748
2017-06-16 14:01:45 -07:00
Jason Simmons
ab2bc15fcc
Align doubles to 8 bytes in the StandardMessageCodec ( #3779 )
...
See https://github.com/flutter/flutter/issues/10701
2017-06-15 21:15:25 -07:00
Jason Simmons
834fb9638e
Simplify state management in the Android text editing plugin ( #3769 )
...
In particular, this avoids some unnecessary calls to InputMethodManager.restartInput
that caused noticeable lag when moving the cursor.
Fixes https://github.com/flutter/flutter/issues/9928
2017-06-14 10:24:41 -07:00
Todd Volkert
b91d2f1bb4
Fix some minor issues with Javadocs ( #3761 )
2017-06-09 07:35:50 -07:00
Todd Volkert
919f0ad063
Create FlutterFragmentActivity ( #3757 )
...
This creates a `FlutterFragmentActivity` class that extends
the Android v4 Support librray's `FragmentActivity` class.
However, we intentionally do not bundle the support library
with our engine, so apps that wish to use this class are
responsible for including the support library .jar file in
their runtime deps when creating the final app.
flutter/flutter#10072
2017-06-08 16:40:37 -07:00
Chris Bracken
bd09286e4a
Improve auto-correct disabling on Android when obscureText is true ( #3731 )
...
Some keyboards (e.g., on some Samsung devices, SwiftKey) ignore
InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS and require
InputType.TYPE_TEXT_VARIATION_PASSWORD.
2017-06-02 15:50:23 -07:00
Chris Bracken
5cd58ba4fa
Add support for TextInputType.url ( #3730 )
...
Adds support for requesting a platform keyboard optimised for entering
URLs.
2017-06-02 15:13:37 -07:00
Chris Bracken
f990f8b0d3
Add support for TextInputType.emailAddress ( #3729 )
...
Adds support for requesting a platform keyboard optimised for entering
email addresses.
2017-06-02 15:04:35 -07:00
Chris Bracken
813623a3f8
Set Android keyboard actionLabel only if non-null ( #3677 )
2017-05-10 12:20:03 -07:00
Sarah Zakarias
d51126b56b
Remove urlLauncher and pathProvider from FlutterPlatformPlugin ( #3673 )
2017-05-10 13:42:13 +02:00
Chris Bracken
ce14f6907b
Disable auto-correct for text editing when obscureText is set ( #3661 )
2017-05-09 14:55:58 -07:00
Mikkel Nygaard Ravn
b273d1ad04
Android plugin registry ( #3641 )
2017-05-08 21:44:49 +02:00
Mikkel Nygaard Ravn
da8ebf40bd
Document channel message value conversions ( #3633 )
2017-04-28 23:31:11 +02:00
Mikkel Nygaard Ravn
3211d2fca2
Fix corner case errors in platform channels ( #3631 )
2017-04-27 07:52:56 +02:00
Mikkel Nygaard Ravn
264b7a6dd5
Add hasArgument convenience to MethodCall ( #3612 )
2017-04-22 14:04:03 +02:00
Mikkel Nygaard Ravn
4eed7d2732
Clarify semantics of channel-related errors ( #3607 )
...
Mainly improvements to javadoc and error logging. A bit of refactoring.
2017-04-19 21:53:46 +02:00
Mikkel Nygaard Ravn
2a4434a058
Make naming consistent across channel APIs ( #3574 )
2017-04-18 14:30:31 +02:00