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="../paper-toggle-button/paper-toggle-button.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
<link rel="import" href="../topeka-elements/category-images.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> |
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
/* OctoWS2811 BasicTest.ino - Basic RGB LED Test | |
http://www.pjrc.com/teensy/td_libs_OctoWS2811.html | |
Copyright (c) 2013 Paul Stoffregen, PJRC.COM, LLC | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
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
<ul class="nav nav-tabs"> | |
<li ng-repeat="criteria in criterias track by $index" ng-animate="'animate'"> | |
<a href="#Criteria {{$index+1}}" toggle="on" parent-active-class="active">{{$index+1}}. Criteria | |
<small><small><div class="star-rating" star-rating rating-value="criteria.assessment_value" data-max="5" data-display="1" ></div></small></small> | |
</a> | |
</li> | |
<li><a href="#Summary" toggle="on" parent-active-class="active">Summary <h3>{{getWeight()| number : 2}}%</h3></a></li> | |
</ul> |
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
.animate.ng-enter, | |
.animate.ng-leave | |
{ | |
-webkit-transition: 400ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all; | |
-moz-transition: 400ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all; | |
-ms-transition: 400ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all; | |
-o-transition: 400ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all; | |
transition: 400ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all; |
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
int i = getArguments().getInt(ARG_PLANET_NUMBER); | |
String planet = getResources().getStringArray(R.array.planets_array)[i]; | |
int imageId = getResources().getIdentifier(planet.toLowerCase(Locale.getDefault()), | |
"drawable", getActivity().getPackageName()); | |
((ImageView) rootView.findViewById(R.id.image)).setImageResource(imageId); |
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
// Pattern Matching (very Slow) | |
int match_method = Imgproc.TM_SQDIFF; | |
Bitmap mBitmap = BitmapFactory.decodeResource(getResources(),R.drawable.speedlimit55); | |
//battHeight and battWidth should have the height and width of your bitmap... | |
Mat mBatt = new Mat(mBitmap.getHeight(), mBitmap.getWidth(), CvType.CV_8UC1); | |
Utils.bitmapToMat(mBitmap, mBatt); |
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
//S4 | |
// [0] = {java.util.HashMap$HashMapEntry@830038207424}"capture-burst-interval-max" -> "10" | |
// [1] = {java.util.HashMap$HashMapEntry@830040617288}"zoom" -> "0" | |
// [2] = {java.util.HashMap$HashMapEntry@830040612272}"redeye-reduction-values" -> "enable,disable" | |
// [3] = {java.util.HashMap$HashMapEntry@830038213592}"max-num-detected-faces-hw" -> "10" | |
// [4] = {java.util.HashMap$HashMapEntry@830040612656}"scene-detect-values" -> "off,on" | |
// [5] = {java.util.HashMap$HashMapEntry@830040611760}"qc-camera-features" -> "1" | |
// [6] = {java.util.HashMap$HashMapEntry@830038209600}"face-detection-values" -> "off,on" | |
// [7] = {java.util.HashMap$HashMapEntry@830040617032}"whitebalance" -> "auto" | |
// [8] = {java.util.HashMap$HashMapEntry@830038214104}"max-sharpness" -> "30" |
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
//S3 | |
// [0] = {java.util.HashMap$HashMapEntry@830048175056}"preferred-preview-size-for-video" -> "1280x720" | |
// [1] = {java.util.HashMap$HashMapEntry@830048178024}"zoom" -> "0" | |
// [2] = {java.util.HashMap$HashMapEntry@830048173904}"max-num-detected-faces-hw" -> "5" | |
// [3] = {java.util.HashMap$HashMapEntry@830048178280}"zoom-supported" -> "true" | |
// [4] = {java.util.HashMap$HashMapEntry@830048174288}"metering" -> "center" | |
// [5] = {java.util.HashMap$HashMapEntry@830048170696}"contrast" -> "2" | |
// [6] = {java.util.HashMap$HashMapEntry@830048177768}"whitebalance" -> "auto" | |
// [7] = {java.util.HashMap$HashMapEntry@830048176208}"scene-mode" -> "auto" |
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
// S2 | |
// [0] = {java.util.HashMap$HashMapEntry@830026631376}"preferred-preview-size-for-video" -> "640x480" | |
// [1] = {java.util.HashMap$HashMapEntry@830026633552}"zoom" -> "0" | |
// [2] = {java.util.HashMap$HashMapEntry@830026630224}"max-num-detected-faces-hw" -> "0" | |
// [3] = {java.util.HashMap$HashMapEntry@830026634344}"zoom-supported" -> "true" | |
// [4] = {java.util.HashMap$HashMapEntry@830026633296}"whitebalance" -> "auto" | |
// [5] = {java.util.HashMap$HashMapEntry@830026632528}"scene-mode" -> "auto" | |
// [6] = {java.util.HashMap$HashMapEntry@830026629456}"jpeg-quality" -> "100" | |
// [7] = {java.util.HashMap$HashMapEntry@830026631632}"preview-format-values" -> "yuv420sp,yuv420p,yuv422i-yuyv,yuv422sp,rgb565" | |
// [8] = {java.util.HashMap$HashMapEntry@830026629712}"jpeg-thumbnail-quality" -> "100" |
NewerOlder