Skip to content

Instantly share code, notes, and snippets.

Avatar
🤓
Did you do good today?

Mirosław Stanek frogermcs

🤓
Did you do good today?
View GitHub Profile
@julianshen
julianshen / CircleTransform.java
Last active Sep 23, 2020
CircleTransform for Picasso
View CircleTransform.java
/*
* Copyright 2014 Julian Shen
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@jamtur01
jamtur01 / ladder.md
Last active Sep 14, 2020
Kickstarter Engineering Ladder
View FloatLabelLayout.java
/*
* Copyright 2014 Chris Banes
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@danielhawkes
danielhawkes / MediaPlayerStateWrapper.java
Created Jun 16, 2011
A drop-in replacement for a MediaPlayer instance, that provides an accessor for the current state.
View MediaPlayerStateWrapper.java
import java.io.IOException;
import java.lang.reflect.Method;
import java.util.AbstractCollection;
import java.util.ArrayList;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import android.media.AudioManager;
import android.media.MediaPlayer;
View gist:88c9b8c249d95d244264
private class SpringFingerFollow implements OnTouchListener {
private final Point mScreenSize;
private Spring mSpringX;
private Spring mSpringY;
private SpringConfig mSpringConfig = new SpringConfig(30, 8);
private VelocityTracker mVelocityTracker;
private SpringFingerFollow() {
You can’t perform that action at this time.