Speed up Gradle build times by enabling the Gradle Daemon
echo org.gradle.daemon=true >> ~/.gradle/gradle.properties
| package spoon.test; | |
| import spoon.reflect.declaration.*; | |
| import java.util.ArrayList; | |
| import java.util.IntSummaryStatistics; | |
| import java.util.TreeSet; | |
| import java.util.function.Consumer; | |
| import java.util.function.ToIntFunction; |
| public class QuickReturn { | |
| private final static int ANIMATION_DURATION_MILLIS = 250; | |
| private final ListView listView; | |
| private final View quickReturnView; | |
| private final View headerPlaceholder; | |
| private int itemCount; | |
| private int itemOffsetY[]; |
| /* | |
| * Copyright (C) 2013 The Android Open Source Project | |
| * | |
| * 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 |
| #!/bin/bash | |
| # License for any modification to the original (linked below): | |
| # ---------------------------------------------------------------------------- | |
| # "THE BEER-WARE LICENSE" (Revision 42): | |
| # Sebastiano Poggi wrote this file. As long as you retain this notice you | |
| # can do whatever you want with this stuff. If we meet some day, and you think | |
| # this stuff is worth it, you can buy me a beer in return. | |
| # ---------------------------------------------------------------------------- | |
| prefix=${1-"drawable"} | |
| buckets=( mdpi hdpi xhdpi xxhdpi xxxhdpi ) |
| import android.graphics.PointF; | |
| import android.view.animation.Interpolator; | |
| /** | |
| * From https://github.com/codesoup/android-cubic-bezier-interpolator | |
| * Derived from: https://github.com/rdallasgray/bez | |
| */ | |
| public class CubicBezierInterpolator implements Interpolator { |
| package net.frakbot.util.color; | |
| import android.graphics.Color; | |
| /** | |
| * The MIT License (MIT) | |
| * <p/> | |
| * Copyright (c) 2014 Sebastiano Poggi | |
| * <p/> | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy |
| package com.materialdesign.chris.materialdesignexperimenting; | |
| import android.animation.Animator; | |
| import android.animation.AnimatorListenerAdapter; | |
| import android.animation.ObjectAnimator; | |
| import android.app.Activity; | |
| import android.os.Bundle; | |
| import android.os.Handler; | |
| import android.view.View; | |
| import android.view.ViewAnimationUtils; |
| about | |
| account | |
| add | |
| admin | |
| api | |
| app | |
| apps | |
| archive | |
| archives | |
| auth |
| package com.example.components; | |
| import android.content.Context; | |
| import android.content.res.Resources; | |
| import android.graphics.Bitmap; | |
| import android.graphics.Canvas; | |
| import android.graphics.drawable.BitmapDrawable; | |
| import android.graphics.drawable.Drawable; | |
| import android.text.Html; | |
| import android.view.View; |