summaryrefslogtreecommitdiffstats
path: root/docs/html/guide/topics/renderscript/reference.jd
blob: a0a9df2df8ab3b5f8587c4eaa7a441bf73fd8b66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
page.title=Runtime API Reference
@jd:body

<script language="JavaScript">

function autoResize(element){
    var newheight;
    var newwidth;

    newheight = element.contentWindow.document.body.scrollHeight + 20;
    newwidth = element.contentWindow.document.body.scrollWidth;
    element.height = (newheight) + "px";
    element.width = (newwidth) + "px";
}
</script>


<iframe SRC="{@docRoot}reference/renderscript/index.html" width="100%"  id="iframe" marginheight="0" frameborder="0" onLoad="autoResize(this);"></iframe>