lgtm 2

BR,
Mikhail

________________________________________
From: Crosswalk-dev [[email protected]] on 
behalf of Kenneth Rohde Christiansen [[email protected]]
Sent: Thursday, June 26, 2014 4:57 PM
To: Ye, Jingfu
Cc: [email protected]
Subject: Re: [Crosswalk-dev] Intent to Implement - Splash screen for Tizen

lgtm, Misha?


On Thu, Jun 26, 2014 at 10:55 AM, Ye, Jingfu 
<[email protected]<mailto:[email protected]>> wrote:
Summary
In order to improve the application launching experience, we need to show a 
splash screen before the real content is ready.
The splash screen can hold a single static PNG image at current stage.

Spec
According to the source code of Tizen 2.x, we can follow its behavior.
The splash screen just shows a static image and the image can be set in the 
config file.
The splash screen displays on the main window during the whole launching 
progress. And the content is loaded in parallel in background.
The splash screen disappears when the content is ready. The hiding animation 
may be needed.

Affected Components
xwalk UI

Related feature in JIRA
https://crosswalk-project.org/jira/browse/XWALK-1150

Target release
Crosswalk 8

Target Platform
Crosswalk on Tizen

Implementation details

1.       Define a new node in the “config.xml” to specify the splash screen 
settings, currently we just need to define the relative path of the splash 
image, see:

<tizen:splash src=”splash.png”/>

2.       Define a class SplashScreen to control and implement the splash screen 
behavior.

3.       At very beginning of application launching, the SplashScreen loads the 
splash screen image according to the setting in config file.

4.       When the main window is created and before its content is ready, the 
SplashScreen draws the image on the main window.

5.       The splash screen image is centered on the main window. And it keeps 
non-scaled if its size does not match the size of main window.

6.       When the main content is loaded and ready to render, hide the splash 
screen. The hiding process may happen in animation.

Thanks,
Jingfu

_______________________________________________
Crosswalk-dev mailing list
[email protected]<mailto:[email protected]>
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev




--
Kenneth Rohde Christiansen
Web Platform Architect, Intel Corporation.
Phone  +45 4294 9458 ﹆﹆﹆
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
Crosswalk-dev mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to