use of com.example.advanceDemo.view.FocusImageView in project LanSoEditor_advance by LanSoSdk.
the class CameraLayerFullLandscapeActivity method initView.
private void initView() {
tvTime = (TextView) findViewById(R.id.id_fullscreen_timetv);
playVideo = (LinearLayout) findViewById(R.id.id_fullscreen_saveplay);
playVideo.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
if (SDKFileUtils.fileExist(dstPath)) {
Intent intent = new Intent(CameraLayerFullLandscapeActivity.this, VideoPlayerActivity.class);
intent.putExtra("videopath", dstPath);
startActivity(intent);
} else {
Toast.makeText(CameraLayerFullLandscapeActivity.this, "目标文件不存在", Toast.LENGTH_SHORT).show();
}
}
});
playVideo.setVisibility(View.GONE);
focusView = (FocusImageView) findViewById(R.id.id_fullscreen_focus_view);
findViewById(R.id.id_fullscreen_flashlight).setOnClickListener(this);
findViewById(R.id.id_fullscreen_frontcamera).setOnClickListener(this);
findViewById(R.id.id_fullscreen_filter).setOnClickListener(this);
initBeautyView();
}
Aggregations