This file contains hidden or 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.getbewarned.bewarned.utils.soundEngine; | |
| import java.io.InputStream; | |
| /** | |
| * Created by Eugene Shcherbinock on 30.05.16. | |
| */ | |
| public interface Emulator { | |
| /** | 
  
    
      This file contains hidden or 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
    
  
  
    
  | import android.content.Context; | |
| import android.content.pm.PackageManager; | |
| import android.hardware.Camera; | |
| import java.util.List; | |
| public class FlashLightEngine { | |
| public FlashLightEngine(final List<Morse> currentRythm, final Context context) { | 
  
    
      This file contains hidden or 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
    
  
  
    
  | import android.content.Context; | |
| import android.graphics.Canvas; | |
| import android.graphics.Color; | |
| import android.graphics.LinearGradient; | |
| import android.graphics.Paint; | |
| import android.graphics.Path; | |
| import android.graphics.Rect; | |
| import android.graphics.Shader; | |
| import android.support.v4.content.ContextCompat; | 
  
    
      This file contains hidden or 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 class EqSurfaceView extends SurfaceView implements SurfaceHolder.Callback, SoundAmplitudeListener { | |
| private static int SECONDS_SHOWING_RANGE = 3; | |
| Path p = new Path(); | |
| public EqSurfaceView(Context context, AttributeSet attrs, int defStyleAttr) { | |
| super(context, attrs, defStyleAttr); | |
| } | 
  
    
      This file contains hidden or 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 class EqSurfaceView extends SurfaceView implements SurfaceHolder.Callback, SoundAmplitudeListener { | |
| private static int SECONDS_SHOWING_RANGE = 3; | |
| Path p = new Path(); | |
| public EqSurfaceView(Context context, AttributeSet attrs, int defStyleAttr) { | |
| super(context, attrs, defStyleAttr); | |
| } | 
  
    
      This file contains hidden or 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
    
  
  
    
  | /** | |
| * Author: Mario Velasco Casquero | |
| * Date: 08/09/2015 | |
| * Email: [email protected] | |
| */ | |
| public class ImagePicker { | |
| private static final int DEFAULT_MIN_WIDTH_QUALITY = 400; // min pixels | |
| private static final String TAG = "ImagePicker"; |