Android Open Source - dttv-android Constant






From Project

Back to project page dttv-android.

License

The source code is released under:

GNU General Public License

If you think the Android project dttv-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package dttv.app.utils;
// w w  w. ja  v a  2 s .c  o m
public class Constant {
  
  public final static String EXTRA_MESSAGE = "com.example.simpleplayer.MESSAGE";
  public final static String FILE_MSG = "dttp.app.media.URL";
  public final static String FILE_TYPE = "dttp.app.media.type";
  public static final String LOGTAG = "DTTV-FileBrowser";
  
  
  public final static int REFRESH_TIME_MSG = 0x1000;
  public final static int BEGIN_MEDIA_MSG = REFRESH_TIME_MSG + 1;
  public final static int HIDE_OPREATE_BAR_MSG = BEGIN_MEDIA_MSG + 1;
  public final static int HIDE_PROGRESS_BAR_MSG = HIDE_OPREATE_BAR_MSG + 1;
  public final static int REFRESH_TIME = 1000;
  
  
  public static final String ARGUMENTS_NAME = "arg";
  public static final int LOCAL_VIDEO = 0;
  public static final int LOCAL_AUDIO = 1;
  public static final int LOCAL_FILE = 2;
  
  public static final String MEIDA_NAME_STR = "dttv.app.media_name";
  
  public static final String[] gEqulizerPresets = {
    "Normal",
    "Classical",
    "Dance",
    "Flat",
    "Folk",
    "Heavy Metal",
    "Hip Hop",
    "Jazz",
    "Rock"
  };
  
  public static final int FILTER_SIZE = 1 * 1024 * 1024;// 1MB
  public static final int FILTER_DURATION = 1 * 60 * 1000;// 1??
  
  public static final String FILTER_AUDIO_KEY = "filter_audio";
  public static final String FILTER_VIDEO_KEY = "filter_video";
  public static final String DECODE_STYLE_KEY = "dt_setting_decode_list";
}




Java Source Code List

dttv.app.DtPlayer.java
dttv.app.FileBrowserActivity.java
dttv.app.FileShowActivity.java
dttv.app.IndexActivity.java
dttv.app.MainActivity.java
dttv.app.SettingActivity.java
dttv.app.VideoPlayerActivity.java
dttv.app.adapter.FileAdapter.java
dttv.app.compnent.Compnent.java
dttv.app.compnent.MethodPlayerCompnent.java
dttv.app.compnent.PopWindowCompnent.java
dttv.app.impl.ICallBack.java
dttv.app.impl.I_Async.java
dttv.app.impl.I_KeyIntercept.java
dttv.app.impl.I_OnMyKey.java
dttv.app.impl.I_PopWindow.java
dttv.app.model.Item.java
dttv.app.multithread.DataAsyncTask.java
dttv.app.utils.Constant.java
dttv.app.utils.ControlLightness.java
dttv.app.utils.FileUtil.java
dttv.app.utils.Log.java
dttv.app.utils.MultiMediaTypeUtil.java
dttv.app.utils.MusicUtils.java
dttv.app.utils.PlayerUtil.java
dttv.app.utils.SettingUtil.java
dttv.app.utils.TimesUtil.java
dttv.app.utils.VolumeUtil.java
dttv.app.view.SimpleDialog.java
dttv.app.widget.AudioUIFragment.java
dttv.app.widget.EffectWindow.java
dttv.app.widget.FilesUIFragment.java
dttv.app.widget.GlVideoView.java
dttv.app.widget.OnTouchMoveListener.java
dttv.app.widget.SlideTabsFragment.java
dttv.app.widget.VideoUIFragment.java