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
diff -ru layoutlib_4-0-3-r1/Android.mk layoutlib_4-4-2-r1/Android.mk | |
--- layoutlib_4-0-3-r1/Android.mk 2014-03-13 18:27:34.000000000 -0700 | |
+++ layoutlib_4-4-2-r1/Android.mk 2014-03-13 18:28:01.000000000 -0700 | |
@@ -25,12 +25,15 @@ | |
# We need to process the framework classes.jar file, but we can't | |
# depend directly on it (private vars won't be inherited correctly). | |
# So, we depend on framework's BUILT file. | |
-built_framework_dep := $(call java-lib-deps,framework) | |
-built_framework_classes := $(call java-lib-files,framework) | |
+built_framework_dep := $(call java-lib-deps,framework-base) |
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
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { |
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
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<polymer-element name="my-element"> |
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
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
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
var title = document.getElementById("title"); | |
title.parentNode.removeChild(title); | |
function square( x ) { | |
return x * x; | |
} | |
pino.buildWall = function( n ) { | |
var wall = document.getElementById("wall"); | |
var i = 0; |
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
<?xml version="1.0" encoding="utf-8"?> | |
<svg version="1.1" | |
baseProfile="full" | |
xmlns="http://www.w3.org/2000/svg" | |
xmlns:xlink="http://www.w3.org/1999/xlink" | |
xmlns:ev="http://www.w3.org/2001/xml-events"> | |
<!-- ENTER YER STUFF HERE. DELETE THIS LINE --> | |
</svg> |
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
<!-- DELETE ME --> |
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
d3.select("body").append("svg:svg").attr("width", 3000).attr("height",500); | |
var chart = d3.select("svg"); | |
var fill = d3.scale.category20(); | |
d3.json("data/dataset1.json", function(json) { | |
var size = function(d,i) { | |
return d.size; | |
} |
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
// The following line selects all circles on the page and changes their stroke-width to 10 (px) | |
d3.selectAll("circle").attr("stroke-width", 10) | |
// Two slashes means "comment". Commented code is not run. | |
// It is good to comment your code so you remember what's going on. | |
// d3.selectAll("circle").attr("fill", "blue"); | |
// The following lines deal with making selections and then sub selections within those selections | |
d3.selectAll("circle").attr("stroke-width", 10); | |
d3.select("#blue").selectAll("circle").attr("stroke","rgb(34,56,35)"); |
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
/* | |
Yo doods. This code creates a bubble chart. It's unfinished, so you gotta finish it. | |
Use the comments I left to figure things out. Comments are specified by two slashes // | |
Multiple line comments begin with /asterix and end with asterix/ | |
Commented code does not run. | |
;\ | |
|' \ | |
_ ; : ; | |
/ `-. /: : | |
OlderNewer