gecko-dev/widget/android
Gregory Pappas 72efd49679 Bug 1860161 - Fade out overlay scrollbars on Android r=emilio,geckoview-reviewers,m_kato
Noticed while working on bug 1859864 that ScrollbarFadeDuration on
Android is 0. It seemed a bit odd because every other platform with
overlay scrollbars has a non-zero fade duration, but I figured that it
was intentional and for power saving/performance/etc.

Looking closer, it seems this is actually a regression from switching
away from the old java scrollbars to gecko scrollbars (bug 1223928).
The old java scrollbars did fade out (bug 704784).

The fade animation makes scrollbars look nicer imo so it would be cool
if we could bring this back.

Chromium uses a duration of 300ms so we should probably match that,
since people are used to it.
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/widget/compositing/layer_tree_settings.cc;l=68-84;drc=6d4dcee2c0a7d7750037ffb70de6b82385d7ad0e

Differential Revision: https://phabricator.services.mozilla.com/D191503
2023-10-24 04:18:50 +00:00
..
bindings Bug 1833654 - Switch android to f32. r=alwu,geckoview-reviewers,owlish 2023-08-08 12:12:44 +00:00
jni
AndroidAlerts.cpp
AndroidAlerts.h
AndroidBridge.cpp
AndroidBridge.h
AndroidBridgeUtilities.h
AndroidCompositorWidget.cpp
AndroidCompositorWidget.h
AndroidContentController.cpp
AndroidContentController.h
AndroidUiThread.cpp
AndroidUiThread.h
AndroidView.h
AndroidVsync.cpp
AndroidVsync.h
Base64UtilsSupport.h
components.conf Bug 1845946 - Part 2. Add plumbing for component services to be used in the GMP process. r=emilio,geckoview-reviewers,owlish 2023-08-18 22:01:08 +00:00
CompositorWidgetChild.cpp
CompositorWidgetChild.h
CompositorWidgetParent.cpp
CompositorWidgetParent.h
EventDispatcher.cpp
EventDispatcher.h
GeckoBatteryManager.h
GeckoEditableSupport.cpp
GeckoEditableSupport.h
GeckoNetworkManager.h
GeckoProcessManager.cpp
GeckoProcessManager.h
GeckoSystemStateListener.h
GeckoTelemetryDelegate.h
GeckoViewSupport.h
GeckoVRManager.h
GfxInfo.cpp
GfxInfo.h
ImageDecoderSupport.cpp
ImageDecoderSupport.h
InProcessAndroidCompositorWidget.cpp
InProcessAndroidCompositorWidget.h
MediaKeysEventSourceFactory.cpp
moz.build
nsAppShell.cpp
nsAppShell.h
nsClipboard.cpp Bug 1856052 - Remove unused parameter from SetNativeClipboardData; r=geckoview-reviewers,win-reviewers,spohl,mhowell,m_kato 2023-10-17 13:15:31 +00:00
nsClipboard.h Bug 1856052 - Remove unused parameter from SetNativeClipboardData; r=geckoview-reviewers,win-reviewers,spohl,mhowell,m_kato 2023-10-17 13:15:31 +00:00
nsDeviceContextAndroid.cpp
nsDeviceContextAndroid.h
nsIAndroidBridge.idl
nsLookAndFeel.cpp Bug 1860161 - Fade out overlay scrollbars on Android r=emilio,geckoview-reviewers,m_kato 2023-10-24 04:18:50 +00:00
nsLookAndFeel.h
nsPrintSettingsServiceAndroid.cpp
nsPrintSettingsServiceAndroid.h
nsUserIdleServiceAndroid.cpp
nsUserIdleServiceAndroid.h
nsWidgetFactory.cpp
nsWidgetFactory.h
nsWindow.cpp
nsWindow.h
PCompositorWidget.ipdl
PlatformWidgetTypes.ipdlh
ScreenHelperAndroid.cpp
ScreenHelperAndroid.h
Telemetry.h
WebExecutorSupport.cpp
WebExecutorSupport.h
WindowEvent.h