boolean (Component component) { if (component == null || !component.isShowing() || !LoadingState.COMPONENTS_REGISTERED.isOccurred()) { return false; } Application application = getApplication(); if (application == null || PowerSaveMode.isEnabled() || RemoteDesktopService.isRemoteSession()) { return false; } UISettings settings = UISettings.getInstanceOrNull(); return settings != null && settings.getSmoothScrolling(); }