This page: http://goo.gl/j8koww
Please give us feedback on the talk!
Follow:
Links referenced from the talk, in chronological order:
| /* Copyright 2013 Google Inc. | |
| Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0.html */ | |
| package com.example.latlnginterpolation; | |
| import android.animation.ObjectAnimator; | |
| import android.animation.TypeEvaluator; | |
| import android.animation.ValueAnimator; | |
| import android.annotation.TargetApi; | |
| import android.os.Build; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | |
| <meta charset="utf-8"> | |
| <title>Adding controls to the map</title> | |
| <link href="/maps/documentation/javascript/examples/default.css" rel="stylesheet"> | |
| <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script> | |
| <script> |
| final Marker m = mMap.addMarker(new MarkerOptions() | |
| .icon(BitmapDescriptorFactory.fromResource(R.drawable.house_flag)) | |
| .position(new LatLng(lat, lng))); | |
| final ValueAnimator va = ValueAnimator.ofFloat(20, 1); | |
| va.setDuration(1500); | |
| va.setInterpolator(new BounceInterpolator()); | |
| va.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { | |
| @Override | |
| public void onAnimationUpdate(ValueAnimator animation) { |
This page: http://goo.gl/j8koww
Please give us feedback on the talk!
Follow:
Links referenced from the talk, in chronological order:
| import android.os.Handler; | |
| import android.os.Looper; | |
| import android.os.Message; | |
| public class Debouncer extends Handler implements Runnable { | |
| private final Runnable mRunnable; | |
| private final long mDelay; | |
| public Debouncer(long delay, Runnable runnable) { |
| type Watcher struct { | |
| Suffix string | |
| ETag string | |
| } | |
| func NewWatcher(string s) *Watcher { | |
| return &Watcher{s, ""} | |
| } | |
| func (w *Watcher) WaitForChange(ctx context.Context) (string, error) { |
| commit f2e4c8b5fb3660d793b2c545ef207153db0a34b1 | |
| Author: Chris Broadfoot <cbro@golang.org> | |
| Date: Tue Sep 8 17:42:34 2015 -0700 | |
| [release-branch.go1.5] go1.5.1 | |
| Change-Id: I98d9fefd923e2a35031385045382ba372f1d614a | |
| Reviewed-on: https://go-review.googlesource.com/14401 | |
| Reviewed-by: Andrew Gerrand <adg@golang.org> |
| ### Keybase proof | |
| I hereby claim: | |
| * I am broady on github. | |
| * I am cbro (https://keybase.io/cbro) on keybase. | |
| * I have a public key whose fingerprint is C0D3 AC90 D3A7 64A1 8231 62D3 AA86 B641 DDC2 DB10 | |
| To claim this, I am signing this object: |
| kind: Deployment | |
| apiVersion: extensions/v1beta1 | |
| metadata: | |
| labels: | |
| app: readiness-bug | |
| name: readiness-bug | |
| spec: | |
| replicas: 1 | |
| template: | |
| metadata: |
| kind: Deployment | |
| apiVersion: extensions/v1beta1 | |
| metadata: | |
| labels: | |
| app: readiness-bug | |
| name: readiness-bug | |
| spec: | |
| replicas: 1 | |
| strategy: | |
| type: RollingUpdate |