Android Open Source - videoMerge Frame From Project Back to project page videoMerge .
License The source code is released under:
Apache License
If you think the Android project videoMerge 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 com.dragonplayer.merge.frames;
/ * w w w . j a v a 2 s . c o m * /
import java.util.ArrayList;
public class Frame {
public static final int FRAMETYPEIMAGE = 1;
public static final int FRAMETYPEVIDEO = 2;
public static final int FRAMEUNLOCK = 0;
public static final int FRAMELOCK = 1;
public static final int FRAMEVERTICAL = 0;
public static final int FRAMEHORIZONTAL = 1;
private int frame_id;
private int height;
private ArrayList<FramePart> parts = new ArrayList<FramePart>();
private int width;
private String framename;
private int frametype; // 1:image, 2:video
private int color;
private int lockflag; // 0:unlock, 1:lock
private int framedirection; // 0:vertical, 1:horizontal
public Frame() {
}
public Frame(int frmId, int w, int h, ArrayList<FramePart> partList, int type, String name, int clr, int lflag, int fdir) {
frame_id = frmId;
width = w;
height = h;
parts = partList;
framename = name;
frametype = type;
color = clr;
lockflag = clr;
framedirection = fdir;
}
public void addPart(FramePart framepart) {
parts.add(framepart);
}
public int getFrame_id() {
return frame_id;
}
public int getHeight() {
return height;
}
public ArrayList<FramePart> getParts() {
return parts;
}
public int getWidth() {
return width;
}
public int getColor() {
return color;
}
public int getLockFlag() {
return lockflag;
}
public int getFrameDirection() {
return framedirection;
}
public int getFrameType() {
return frametype;
}
public String getFrameName() {
return framename;
}
public void setFrame_id(int id) {
frame_id = id;
}
public void setHeight(int h) {
height = h;
}
public void setParts(ArrayList<FramePart> partList) {
parts = partList;
}
public void setWidth(int w) {
width = w;
}
public void setColor(int clr) {
color = clr;
}
public void setLockFlag(int flag) {
lockflag = flag;
}
public void setFrameDirection(int fdir) {
framedirection = fdir;
}
public void setFrameType(int t) {
frametype = t;
}
public void setFrameName(String name) {
framename = name;
}
}
Java Source Code List com.dragonplayer.merge.FBLikeActivity.java com.dragonplayer.merge.FacebookActivity.java com.dragonplayer.merge.FacebookEventObserver.java com.dragonplayer.merge.LoadingDialog.java com.dragonplayer.merge.MainActivity.java com.dragonplayer.merge.SplashActivity.java com.dragonplayer.merge.TextInputActivity.java com.dragonplayer.merge.adapter.FrameListAdapter.java com.dragonplayer.merge.adapter.FrameSubListAdapter.java com.dragonplayer.merge.adapter.MediaListAdapter.java com.dragonplayer.merge.adapter.ProjectListAdapter.java com.dragonplayer.merge.adapter.ProjectSubListAdapter.java com.dragonplayer.merge.fragment.AboutFragment.java com.dragonplayer.merge.fragment.AddAudioFragment.java com.dragonplayer.merge.fragment.BaseFragment.java com.dragonplayer.merge.fragment.FinishFragment.java com.dragonplayer.merge.fragment.FrameFragment.java com.dragonplayer.merge.fragment.FrameListFragment.java com.dragonplayer.merge.fragment.GiftFragment.java com.dragonplayer.merge.fragment.GridFragment.java com.dragonplayer.merge.fragment.HomeFragment.java com.dragonplayer.merge.fragment.LockConfirmFragment.java com.dragonplayer.merge.fragment.LockFragment.java com.dragonplayer.merge.fragment.UploadConfirmFragment.java com.dragonplayer.merge.fragment.UploadFragment.java com.dragonplayer.merge.fragment.UploadInfoFragment.java com.dragonplayer.merge.fragment.UploadSelectMediaFragment.java com.dragonplayer.merge.fragment.WorkFragment.java com.dragonplayer.merge.frames.FrameInfo.java com.dragonplayer.merge.frames.FramePart.java com.dragonplayer.merge.frames.FrameView.java com.dragonplayer.merge.frames.Frame.java com.dragonplayer.merge.frames.FramesLayout.java com.dragonplayer.merge.frames.Frames.java com.dragonplayer.merge.frames.HorizontalListView.java com.dragonplayer.merge.frames.ProjectFiles.java com.dragonplayer.merge.frames.timeout.java com.dragonplayer.merge.utils.AppConnectivity.java com.dragonplayer.merge.utils.BannerData.java com.dragonplayer.merge.utils.BitmapManager.java com.dragonplayer.merge.utils.BitmapUtil.java com.dragonplayer.merge.utils.Constants.java com.dragonplayer.merge.utils.DlgWindow1.java com.dragonplayer.merge.utils.DlgWindow2.java com.dragonplayer.merge.utils.DlgWindow4.java com.dragonplayer.merge.utils.DlgWindow5.java com.dragonplayer.merge.utils.DlgWindow6.java com.dragonplayer.merge.utils.DlgWindow7.java com.dragonplayer.merge.utils.DlgWindow8.java com.dragonplayer.merge.utils.FileMover.java com.dragonplayer.merge.utils.Flag.java com.dragonplayer.merge.utils.MLog.java com.dragonplayer.merge.utils.SingleMediaScanner.java com.dragonplayer.merge.utils.Utils.java com.dragonplayer.merge.utils.WeTouch_network_interface.java com.dragonplayer.merge.utils.WeTouch_uploadImage.java com.dragonplayer.merge.utils.WebService.java