- 09 3月, 2021 1 次提交
-
-
由 Chris Bracken 提交于
Corrects uses of setup as a verb to 'set up', leaves noun/noun-phrase forms of setup as 'setup'. Also settles on 'teardown' as opposed to tear-down for consistency across the codebase. A few other minor comment/wording corrections.
-
- 04 12月, 2020 1 次提交
-
-
由 Greg Spencer 提交于
-
- 03 12月, 2020 1 次提交
-
-
由 Greg Spencer 提交于
This reverts commit 40fa345c (#22658) because it breaks some Google tests. Will investigate and re-land.
-
- 02 12月, 2020 1 次提交
-
-
由 Greg Spencer 提交于
This fixes a problem in Android key event handling where, because I was only using a single bool to indicate that we were re-dispatching, there was a race condition when multiple keys were pending (sent to the framework, awaiting responses). This fixes that by switching to a mechanism that uses the event itself to tell if it was redispatched. In doing this, I realized that because key events can come from either the dispatchEvent call, or through the InputConnectionAdaptor, I needed to handle both routes properly so that the events would all be handled, and all go through the same mechanism on the framework side.
-
- 20 11月, 2020 1 次提交
-
-
由 Gary Qian 提交于
-
- 07 11月, 2020 1 次提交
-
-
由 Greg Spencer 提交于
This (mostly) re-lands #21163, which was reverted in #22321 This switches from using onKeyDown to using dispatchKeyEvent on Android so that keys can be intercepted handled by the framework and not continue to be dispatched to other controls. It also now intercepts key events sent to InputConnection.sendKeyEvent, as some IMEs do (e.g. the Hacker's Keyboard), and sends them to Flutter. This fixes the problem where (for example) pressing TAB on a hardware keyboard sends the tab to both the text field and to the focus traversal system. Note that we still can't intercept all keystrokes given to a soft keyboard, only those which the soft keyboard decides to send to InputConnection.sendKeyEvent, and system keys (like the back button) are only received if the IME doesn't eat them.
-
- 06 11月, 2020 1 次提交
-
-
由 Greg Spencer 提交于
Revert "Reland: Use dispatchKeyEventPreIme, and handle keys sent to InputConnection.sendKeyEvent on Android (#22304)" (#22321) This reverts commit 7a8057bd because it breaks back button functionality.
-
- 05 11月, 2020 1 次提交
-
-
由 Greg Spencer 提交于
Reland: Use dispatchKeyEventPreIme, and handle keys sent to InputConnection.sendKeyEvent on Android (#22304) This re-lands #21163, which was reverted in #22004 Now that flutter/flutter#67359 has landed, this change will no longer cause spaces (and other shortcuts) to be ignored in text fields if there is no action associated with the intent, even if there is a shortcut key mapping to an intent. It also no longer causes web test failures (as far as I can tell without submitting it: the same tests don't fail locally). Here's the original PR description: This switches from using dispatchKeyEvent to using dispatchKeyEventPreIme so that keys can be intercepted before they reach the IME and be handled by the framework. It also now intercepts key events sent to InputConnection.sendKeyEvent, as some IMEs do (e.g. the Hacker's Keyboard), and sends the to Flutter before sending them to the IME (which it now only does if they are not handled by the framework). This fixes the problem where pressing TAB on a hardware keyboard sends the tab to both the text field and to the focus traversal system. Note that we still can't intercept all keystrokes given to a soft keyboard, only those which the soft keyboard decides to send to InputConnection.sendKeyEvent.
-
- 30 10月, 2020 1 次提交
-
-
由 Lazy Llama 提交于
-
- 21 10月, 2020 2 次提交
-
-
由 Greg Spencer 提交于
Revert "Reland: Use dispatchKeyEventPreIme, and handle keys sent to InputConnection.sendKeyEvent on Android (#21979)" (#22004) This reverts commit 3cd70f2c because it causes some failures in web tests.
-
由 Greg Spencer 提交于
Reland: Use dispatchKeyEventPreIme, and handle keys sent to InputConnection.sendKeyEvent on Android (#21979) This re-lands #21163, which was reverted in #21513 Now that flutter/flutter#67359 has landed, this change will no longer cause spaces (and other shortcuts) to be ignored in text fields if there is no action associated with the intent, even if there is a shortcut key mapping to an intent. Here's the original PR description: This switches from using dispatchKeyEvent to using dispatchKeyEventPreIme so that keys can be intercepted before they reach the IME and be handled by the framework. It also now intercepts key events sent to InputConnection.sendKeyEvent, as some IMEs do (e.g. the Hacker's Keyboard), and sends the to Flutter before sending them to the IME (which it now only does if they are not handled by the framework). This fixes the problem where pressing TAB on a hardware keyboard sends the tab to both the text field and to the focus traversal system. Note that we still can't intercept all keystrokes given to a soft keyboard, only those which the soft keyboard decides to send to InputConnection.sendKeyEvent.
-
- 15 10月, 2020 1 次提交
-
-
由 Jason Simmons 提交于
-
- 09 10月, 2020 1 次提交
-
-
由 Dan Field 提交于
-
- 01 10月, 2020 1 次提交
-
- 30 9月, 2020 1 次提交
-
-
由 Greg Spencer 提交于
Use dispatchKeyEventPreIme, and handle keys sent to InputConnection.sendKeyEvent on Android (#21163) This switches from using dispatchKeyEvent to using dispatchKeyEventPreIme so that keys can be intercepted before they reach the IME and be handled by the framework. It also now intercepts key events sent to InputConnection.sendKeyEvent, as some IMEs do (e.g. the Hacker's Keyboard), and sends the to Flutter before sending them to the IME (which it now only does if they are not handled by the framework). This fixes the problem where pressing TAB on a hardware keyboard sends the tab to both the text field and to the focus traversal system. Note that we still can't intercept all keystrokes given to a soft keyboard, only those which the soft keyboard decides to send to InputConnection.sendKeyEvent.
-
- 24 9月, 2020 1 次提交
-
-
由 xster 提交于
-
- 23 9月, 2020 1 次提交
-
-
由 Zachary Anderson 提交于
This reverts commit 3011b14a.
-
- 22 9月, 2020 1 次提交
-
-
由 xster 提交于
-
- 02 9月, 2020 1 次提交
-
-
由 Gary Qian 提交于
-
- 29 8月, 2020 1 次提交
-
-
由 Greg Spencer 提交于
This re-lands the key event synthesis implementation for Android (Original PR: #19024, Revert PR: #19956). The only difference is sending the synthesized key events to the root view instead of the current view. Without sending it to the root view, the system doesn't have any chance of handling keys like the back button. The event will still not be sent to the framework twice, since we turn off event propagation while re-dispatching the event.
-
- 20 8月, 2020 1 次提交
-
-
由 Jason Simmons 提交于
-
- 31 7月, 2020 1 次提交
-
-
由 Emmanuel Garcia 提交于
-
- 23 7月, 2020 1 次提交
-
-
由 Greg Spencer 提交于
This reverts commit 8825f917 because it breaks flutter_gallery__back_button_memory and a customer test.
-
- 18 7月, 2020 1 次提交
-
-
由 Greg Spencer 提交于
This implements the design in flutter.dev/go/handling-synchronous-keyboard-events for Android. I started with Android, but this will be used for all platforms as we add them. The related framework PR is: flutter/flutter#59358 (which has already landed)
-
- 15 7月, 2020 1 次提交
-
-
由 Kaushik Iska 提交于
-
- 16 6月, 2020 1 次提交
-
-
由 Gary Qian 提交于
-
- 13 6月, 2020 2 次提交
-
-
由 Emmanuel Garcia 提交于
This reverts commit f5ab179e.
- 11 6月, 2020 1 次提交
-
-
由 Dan Field 提交于
-
- 02 6月, 2020 1 次提交
-
-
由 Tong Mu 提交于
Adds system mouse cursor to the Android engine.
-
- 09 5月, 2020 1 次提交
-
-
由 Gary Qian 提交于
-
- 23 4月, 2020 1 次提交
-
-
由 Mehmet Fidanboylu 提交于
-
- 22 4月, 2020 1 次提交
-
-
由 Gary Qian 提交于
-
- 18 4月, 2020 1 次提交
-
-
- 16 4月, 2020 1 次提交
-
-
由 LongCatIsLooong 提交于
-
- 14 3月, 2020 2 次提交
-
-
由 Emmanuel Garcia 提交于
-
由 xster 提交于
-
- 08 2月, 2020 1 次提交
-
-
由 Michael Klimushyn 提交于
This shouldn't result in any logical changes. I've done a quick smoke test by building a local Android engine and running Flutter gallery, no compile errors or other obvious issues. Applied by running `/ci/format.sh | patch -p0` with the altered script added in flutter/engine#16500. I did locally modify the script slightly further so it would run against all Java files in the repo instead of just modified ones.
-
- 01 2月, 2020 1 次提交
-
-
由 Michael Klimushyn 提交于
FlutterView#enableTransparentBackground has been deprecated for some time now since it breaks a11y highlighting in most cases. When the warning was first added there was no known workaround, but now the v2 embedding is in stable and ready to support this usecase. Update the warning to point to the v2 embedding.
-
- 15 10月, 2019 1 次提交
-
-
由 Michael Klimushyn 提交于
Fixes a bug where `PlatformViewController` was not being notified of `FlutterView` attachment changes.
-