本文整理了Java中android.view.SurfaceView.setOnClickListener()
方法的一些代码示例,展示了SurfaceView.setOnClickListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SurfaceView.setOnClickListener()
方法的具体详情如下:
包路径:android.view.SurfaceView
类名称:SurfaceView
方法名:setOnClickListener
暂无
代码示例来源:origin: stackoverflow.com
surfaceViewFrame.setOnClickListener(this);
surfaceViewFrame.setClickable(false);
代码示例来源:origin: stackoverflow.com
cameraView.setOnClickListener(this);
代码示例来源:origin: googlesamples/android-PictureInPicture
mSurfaceView.setOnClickListener(listener);
mToggle.setOnClickListener(listener);
mFastForward.setOnClickListener(listener);
代码示例来源:origin: stackoverflow.com
cameraView.setOnClickListener(this);
代码示例来源:origin: ysq1051838264/CustomCamera
mSurfaceView.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
代码示例来源:origin: stackoverflow.com
setContentView(R.layout.surface_camera);
mSurfaceView = (SurfaceView) findViewById(R.id.surface_camera);
mSurfaceView.setOnClickListener(this);
mSurfaceHolder = mSurfaceView.getHolder();
mSurfaceHolder.addCallback(this);
代码示例来源:origin: Car-eye-team/Car-eye-device
pView.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
代码示例来源:origin: stackoverflow.com
setContentView(R.layout.camera_image);
sv = (SurfaceView) findViewById(R.id.camera);
sv.setOnClickListener(this);
sh = sv.getHolder();
sh.addCallback(this);
代码示例来源:origin: stackoverflow.com
mSurfaceView.setOnClickListener(this);
mSurfaceHolder = mSurfaceView.getHolder();
mSurfaceHolder.addCallback(this);
代码示例来源:origin: tony-Shx/Swface
mFaceSurface.setOnClickListener(new OnClickListener() {
代码示例来源:origin: yangjie10930/OpenGL4Android
mTvStart = (TextView) findViewById(R.id.mTvStart);
mSurfaceView.setOnClickListener(this);
mFilter = new BeautyFilter(getResources()).setBeautyLevel(5);
mCameraRecord = new CameraRecorder();
代码示例来源:origin: stackoverflow.com
holder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
cameraView.setClickable(true);
cameraView.setOnClickListener(this);
代码示例来源:origin: stackoverflow.com
cameraView.setOnClickListener((OnClickListener) this);
代码示例来源:origin: stackoverflow.com
cameraView.setOnClickListener((OnClickListener) this);// onClicklistener to be called when the surface view is clicked
代码示例来源:origin: stackoverflow.com
holder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
cameraView.setClickable(true);
cameraView.setOnClickListener(this);
代码示例来源:origin: stackoverflow.com
cameraView.setOnClickListener(this);
代码示例来源:origin: stackoverflow.com
cameraView.setOnClickListener(this);
代码示例来源:origin: stackoverflow.com
cameraView.setOnClickListener(this);
代码示例来源:origin: stackoverflow.com
cameraView.setOnClickListener(this);
代码示例来源:origin: stackoverflow.com
cameraView.setOnClickListener(this);
内容来源于网络,如有侵权,请联系作者删除!