This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from zhuyongyong/demoExpress-embedding/update6…
…samples [demoexpress-embedding] Update sample-embedding in demo-express
- Loading branch information
Showing
20 changed files
with
194 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
body{ font-size:40px;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,32 @@ | ||
<html> | ||
<head> | ||
<title></title> | ||
<link rel="stylesheet" type="text/css" href="css/page.css"> | ||
</head> | ||
<body> | ||
Extension Page: This page shows the feedback message from extension and the execution result.<br/><br/><br/> | ||
<br/><br/> | ||
<script> | ||
|
||
try { | ||
var d = new Date().toString(); | ||
echo.echo(d, function(msg) { | ||
document.write(msg + "<br>"); | ||
document.write("<br/><font size=40>" + msg + "</font><br/>"); | ||
var expected = "From java:" + d; | ||
if (msg === expected) { | ||
document.write("Async echo <font color=green>passed</font>."); | ||
document.write("<br/><font size=40>Async echo <font color=green>passed</font></font>"); | ||
document.title = "Pass"; | ||
} else { | ||
document.write("Async echo <font color=red>failed</font>."); | ||
document.write("<br/><font size=40>Async echo <font color=red>failed</font></font>"); | ||
document.title = "Fail"; | ||
} | ||
}); | ||
} catch(e) { | ||
console.log(e); | ||
document.title = "Fail"; | ||
document.write("<br/><font size=40>Async echo <font color=red>failed</font></font>"); | ||
} | ||
|
||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<html> | ||
<head> | ||
<title>Navigate Page</title> | ||
<style type="text/css"> | ||
body{ font-size:30px;} | ||
</style> | ||
</head> | ||
<body> | ||
<br/> | ||
<ul> | ||
<li>Click "Link To Clock Page" to go to a clock page.</li> | ||
<li>Click prev button to navigate to the prev page.</li> | ||
<li>Click next button to navigate to the next page.</li> | ||
</ul> | ||
<br/> | ||
<a id="create_window_a_top" href="timers.html" target="_top">Link To Clock Page</a> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<html> | ||
<head> | ||
<link rel="stylesheet" type="text/css" href="css/page.css"> | ||
</head> | ||
<body bgcolor="red"> | ||
<p>Page1: This page is loaded from page1.html.</p><br/><br/> | ||
<p><b>Page 1</b></p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<html> | ||
<head> | ||
<link rel="stylesheet" type="text/css" href="css/page.css"> | ||
</head> | ||
<body bgcolor="green"> | ||
Page2: This page is loaded from page2.html.<br/><br/><br/> | ||
<p><b>Page 2</b></p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<html> | ||
<head> | ||
<link rel="stylesheet" type="text/css" href="css/page.css"> | ||
</head> | ||
<body bgcolor="blue"> | ||
Page3: This page is loaded as app from manifest.<br/><br/><br/> | ||
<p><b>Page 3</b></p> | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Clock Page</title> | ||
<style type="text/css"> | ||
body{ font-size:30px;} | ||
</style> | ||
</head> | ||
<body> | ||
<br/> | ||
<ul> | ||
<li>Click pause/resume button to pause/resume this clock.</li> | ||
<li>Click "Run Animation" button to scaled down or scaled up the page view.</li> | ||
<li>Click prev button to navigate to the prev page.</li> | ||
<li>Click next button to navigate to the next page.</li> | ||
</ul> | ||
<br/> | ||
<p>A script on this page starts this clock:</p> | ||
<h1><p id="demo"></p></h1> | ||
|
||
<script> | ||
var myVar=setInterval(function(){myTimer()},1000); | ||
|
||
function myTimer() | ||
{ | ||
var d=new Date(); | ||
var t=d.toLocaleTimeString(); | ||
document.getElementById("demo").innerHTML=t; | ||
} | ||
</script> | ||
|
||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
Copyright (c) 2014 Intel Corporation. All rights reserved. | ||
Use of this source code is governed by a BSD-style license that can be | ||
found in the LICENSE file. | ||
--> | ||
|
||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/multi_texture_views" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:layout_weight="2" | ||
android:orientation="vertical" > | ||
<TextView | ||
android:id="@+id/multiViews_des" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"/> | ||
<LinearLayout | ||
android:id="@+id/toolbar2" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="horizontal"> | ||
<Button android:id="@+id/run_resize" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:gravity="end" | ||
android:text="Resize"/> | ||
</LinearLayout> | ||
<RelativeLayout | ||
android:id="@+id/root_views" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:layout_weight="2" | ||
android:orientation="vertical" > | ||
|
||
</RelativeLayout> | ||
</RelativeLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.