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
package com.project.gutenberg.util; | |
import android.util.Log; | |
import java.util.HashMap; | |
import java.util.Map; | |
public class Action_Time_Analysis { | |
private final static String app_name = "gutendroid"; | |
private static HashMap<String,Long[]> times = new HashMap<String,Long[]>(); |
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
apply plugin: 'android' | |
android { | |
compileSdkVersion 19 | |
buildToolsVersion "19.0.3" | |
defaultConfig { | |
minSdkVersion 14 | |
targetSdkVersion 19 | |
versionCode 23 |
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
package com.eski.android_utils.view.animations; | |
import android.view.View; | |
import android.view.animation.AccelerateInterpolator; | |
import android.view.animation.Animation; | |
import android.view.animation.Transformation; | |
public class ViewCollapser { | |
public static void collapse(final View view, Animation.AnimationListener listener) { |
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
public abstract class TruthTable { | |
boolean[] variables; | |
private List<Boolean> rows; | |
private int numRows; | |
public TruthTable() { | |
init(getNumVariables()); | |
} |
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
package com.eski.android_utils.view.typeface; | |
import android.graphics.Typeface; | |
import dagger.DaggerApplication; | |
public class Typefaces { | |
private static Typeface robotoRegular; | |
private static Typeface robotoLight; | |
private static Typeface robotoMedium; |
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
package com.morse_tutor.util.sound; | |
import java.util.HashMap; | |
import java.util.Iterator; | |
import java.util.LinkedList; | |
import java.util.Vector; | |
import android.content.Context; | |
import android.media.AudioManager; | |
import android.media.SoundPool; |
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
package dbreneisen.testapp; | |
import android.app.Activity; | |
import android.os.Bundle; | |
import android.os.Parcel; | |
import android.os.Parcelable; | |
import android.util.Log; | |
import java.io.ByteArrayOutputStream; | |
import java.io.IOException; |
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
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package so2; | |
import java.io.BufferedWriter; | |
import java.io.File; | |
import java.io.FileNotFoundException; |
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
open class A { | |
open protected fun x(): Int = 5 | |
val x: Int by lazy { x() } | |
} | |
class B: A() { | |
override fun x(): Int = 10 | |
} |
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 model object representation of a musical note. | |
class Note { | |
/// The index of the note in the [allNotes] list starting from 0 with C0 and ending with 107 with B8. | |
final int index; | |
/// The physical frequency in Hz of the note. | |
/// | |
/// The following table lists the frequency for each note: | |
/// Octave C C# D D# E F F# G G# A A# B | |
/// 0 16.35 17.32 18.35 19.45 20.60 21.83 23.12 24.50 25.96 27.50 29.14 30.87 |
OlderNewer