gecko-dev/widget/android
Makoto Kato eb7e6786b8 Bug 1597897 - Use LayoutDeviceIntRect directly for IME composition rect. r=geckoview-reviewers,agi
Actually `nsIWidget::GetDefaultScale()` will always return 1.0 on GeckoView
([*1] and [*2]). When calculating CSS rect, although we have to consider zoom
factor too, but `ConvertRectArrayToJavaRectFArray` doesn't yet. So then,
GeckoView will notify IME of incorrect rect.

Now we already know the layout device rect, so we should use it directly
instead of converting to CSS unit.

Also, there is no way to add tests since we cannot have the physical keyboard
tests on geckoview-junit.

*1 https://searchfox.org/mozilla-central/rev/4646b826a25d3825cf209db890862b45fa09ffc3/widget/android/nsWindow.cpp#1919-1928
*2 https://searchfox.org/mozilla-central/rev/4646b826a25d3825cf209db890862b45fa09ffc3/widget/android/ScreenHelperAndroid.cpp#39-41

Differential Revision: https://phabricator.services.mozilla.com/D133710
2021-12-15 02:13:03 +00:00
..
bindings Bug 1724994 - Promote GraphRunner to higher priority on Android. r=agi,pehrsons 2021-08-24 15:13:31 +00:00
jni Bug 1739367 - Replaces mozilla::Tuple with std::tuple in widget/ r=emilio,geckoview-reviewers,owlish 2021-11-10 12:57:43 +00:00
AndroidAlerts.cpp
AndroidAlerts.h
AndroidBridge.cpp
AndroidBridge.h Bug 1722397 - Add a way to use the native accent color for selection and form controls on Android. r=agi 2021-07-27 17:12:15 +00:00
AndroidBridgeUtilities.h
AndroidCompositorWidget.cpp Bug 1741156 - Initial GPU process implementation on Android. r=aosmond,agi 2021-11-29 20:52:31 +00:00
AndroidCompositorWidget.h Bug 1741156 - Initial GPU process implementation on Android. r=aosmond,agi 2021-11-29 20:52:31 +00:00
AndroidContentController.cpp
AndroidContentController.h
AndroidUiThread.cpp Bug 1713378: Use a more accurate stack top pointer when registering the Android UI thread with the profiler; r=gerald,geckoview-reviewers,owlish 2021-05-31 22:44:19 +00:00
AndroidUiThread.h
AndroidView.h
AndroidVsync.cpp
AndroidVsync.h
Base64UtilsSupport.h
CompositorWidgetChild.cpp Bug 1741156 - Initial GPU process implementation on Android. r=aosmond,agi 2021-11-29 20:52:31 +00:00
CompositorWidgetChild.h Bug 1741156 - Initial GPU process implementation on Android. r=aosmond,agi 2021-11-29 20:52:31 +00:00
CompositorWidgetParent.cpp Bug 1741156 - Initial GPU process implementation on Android. r=aosmond,agi 2021-11-29 20:52:31 +00:00
CompositorWidgetParent.h Bug 1741156 - Initial GPU process implementation on Android. r=aosmond,agi 2021-11-29 20:52:31 +00:00
EventDispatcher.cpp Bug 1708448 - Move property and element functions into js/public/PropertyAndElement.h. r=nbp 2021-07-13 11:52:42 +00:00
EventDispatcher.h
GeckoBatteryManager.h
GeckoEditableSupport.cpp Bug 1597897 - Use LayoutDeviceIntRect directly for IME composition rect. r=geckoview-reviewers,agi 2021-12-15 02:13:03 +00:00
GeckoEditableSupport.h Bug 1724811 - Use selection data from notification instead of get current selection. r=geckoview-reviewers,agi 2021-09-06 12:38:26 +00:00
GeckoNetworkManager.h
GeckoProcessManager.cpp
GeckoProcessManager.h
GeckoScreenOrientation.h
GeckoSystemStateListener.h
GeckoTelemetryDelegate.h
GeckoVRManager.h
GeckoViewSupport.h Bug 1690296: Add callback to notify app to fully display its dynamic toolbar; r=agi,owlish,hiro 2021-07-27 21:50:03 +00:00
GfxInfo.cpp Bug 1742987 - Block webrender on Android on PowerVR Rogue G6110 GPUs. r=gfx-reviewers,aosmond 2021-11-25 20:47:17 +00:00
GfxInfo.h Bug 1714673 - Fix gfx blocklist support on Android r=jrmuizel 2021-06-10 14:15:04 +00:00
ImageDecoderSupport.cpp
ImageDecoderSupport.h
InProcessAndroidCompositorWidget.cpp Bug 1741156 - Initial GPU process implementation on Android. r=aosmond,agi 2021-11-29 20:52:31 +00:00
InProcessAndroidCompositorWidget.h Bug 1741156 - Initial GPU process implementation on Android. r=aosmond,agi 2021-11-29 20:52:31 +00:00
MediaKeysEventSourceFactory.cpp
PCompositorWidget.ipdl Bug 1741156 - Initial GPU process implementation on Android. r=aosmond,agi 2021-11-29 20:52:31 +00:00
PlatformWidgetTypes.ipdlh Bug 1741156 - Initial GPU process implementation on Android. r=aosmond,agi 2021-11-29 20:52:31 +00:00
ScreenHelperAndroid.cpp Bug 1700370 - Don't use ScreenManager after shutdown phase is started. r=gsvelto 2021-12-09 12:13:28 +00:00
ScreenHelperAndroid.h
Telemetry.h
WebAuthnTokenManager.h
WebExecutorSupport.cpp Bug 1739367 - Replaces mozilla::Tuple with std::tuple in widget/ r=emilio,geckoview-reviewers,owlish 2021-11-10 12:57:43 +00:00
WebExecutorSupport.h
WindowEvent.h
components.conf
moz.build Bug 1738401 - Remove -Wno-shadow warning suppressions. r=firefox-build-system-reviewers,glandium 2021-12-01 06:40:04 +00:00
nsAppShell.cpp Backed out changeset 65f8b0434e1e (bug 1708580) for causing Btime failures. CLOSED TREE 2021-08-14 00:44:48 +03:00
nsAppShell.h
nsClipboard.cpp
nsClipboard.h
nsDeviceContextAndroid.cpp
nsDeviceContextAndroid.h
nsIAndroidBridge.idl
nsLookAndFeel.cpp Bug 1742796 - Use a more transparent color for dark mode / Android selection. r=geckoview-reviewers,owlish 2021-11-25 20:09:25 +00:00
nsLookAndFeel.h Bug 1722353 - Minor cleanup in Android's nsLookAndFeel. r=geckoview-reviewers,agi 2021-07-26 21:17:00 +00:00
nsPrintSettingsServiceAndroid.cpp
nsPrintSettingsServiceAndroid.h
nsUserIdleServiceAndroid.cpp
nsUserIdleServiceAndroid.h
nsWidgetFactory.cpp
nsWidgetFactory.h
nsWindow.cpp Bug 1741156 - Reinitialize compositor and request repaint after GPU process restart. r=aosmond,geckoview-reviewers,agi 2021-11-29 20:52:31 +00:00
nsWindow.h Bug 1741156 - Reinitialize compositor and request repaint after GPU process restart. r=aosmond,geckoview-reviewers,agi 2021-11-29 20:52:31 +00:00