Home
last modified time | relevance | path

Searched refs:mPreviewView (Results 1 – 4 of 4) sorted by relevance

/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DMainActivity.java38 private CameraView mPreviewView; field in MainActivity
52 mPreviewView = findViewById(R.id.preview); in onCreate()
58 mPreviewView.setFocusInMeters(seekBar.getProgress() / 10.f); in onCreate()
71 mPreviewView.setParametersChangedCallback(new CameraView.ParametersChangedCallback() { in onCreate()
86 setTitle("RS Camera (" + mPreviewView.getFps() + "fps)"); in onCreate()
97 mPreviewView.resume(this); in onResume()
103 mPreviewView.pause(); in onPause()
107 if (mPreviewView.isAutoExposure()) { in setShutterSpeed()
108 mPreviewView.setAutoExposure(false); in setShutterSpeed()
109 mPreviewView.setMode(CameraView.MODE_SPEED); in setShutterSpeed()
[all …]
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DMainActivity.java46 private CameraView mPreviewView; field in MainActivity
62 mPreviewView = (CameraView) findViewById(R.id.preview); in onPermissionOK()
74 setTitle("RS Camera (" + df.format( mPreviewView.getFps()) + "fps)"); in onPermissionOK()
150 if (mPreviewView != null) { in onResume()
151 mPreviewView.resume(this); in onResume()
156 mPreviewView.changeEffectMode(); in changeEffectMode()
163 if (mPreviewView != null) { in onPause()
164 mPreviewView.pause(); in onPause()
182 mPreviewView.takePicture(mPreviewView.getEffect()); in capture()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardAffordanceView.java74 private View mPreviewView; field in KeyguardAffordanceView
178 if (mPreviewView == v) { in setPreviewView()
181 View oldPreviewView = mPreviewView; in setPreviewView()
182 mPreviewView = v; in setPreviewView()
183 if (mPreviewView != null) { in setPreviewView()
184 mPreviewView.setVisibility(mLaunchingAffordance in setPreviewView()
217 if (mPreviewView != null && mPreviewView.getVisibility() == VISIBLE) { in updateCircleColor()
255 if (mPreviewView != null) { in finishAnimation()
256 mPreviewView.setVisibility(View.VISIBLE); in finishAnimation()
258 mPreviewView, getLeft() + mCenterX, getTop() + mCenterY, mCircleRadius, in finishAnimation()
[all …]
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/
DCameraPreviewActivity.java63 private TextureView mPreviewView; field in CameraPreviewActivity
100 mPreviewView = findViewById(R.id.preview_view); in onCreate()
103 mPreviewView.setSurfaceTextureListener(this); in onCreate()
279 mPreviewView.setTransform(transform); in startPreview()