Home
last modified time | relevance | path

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

/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/
DCameraPreviewActivity.java78 private Camera.Size mPreviewSize; field in CameraPreviewActivity
180 if (mPreviewSizes.get(position) != mPreviewSize) {
282 mPreviewSize = mNextPreviewSize; in startPreview()
286 p.setPreviewSize(mPreviewSize.width, mPreviewSize.height); in startPreview()
290 int expectedBytes = mPreviewSize.width * mPreviewSize.height * in startPreview()
352 int expectedBytes = mPreviewSize.width * mPreviewSize.height * in onPreviewFrame()
364 (mPreviewSize.width != mFilterYuv.getWidth()) || in onPreviewFrame()
365 (mPreviewSize.height != mFilterYuv.getHeight()) ) { in onPreviewFrame()
367 mFilterYuv.reset(mPreviewSize.width, mPreviewSize.height); in onPreviewFrame()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewTestCase.java124 protected Size mPreviewSize; field in Camera2SurfaceViewTestCase
219 Log.v(TAG, "start preview with size " + mPreviewSize.toString()); in startPreview()
656 if (size.equals(mPreviewSize) && mPreviewSurface != null) { in updatePreviewSurface()
661 mPreviewSize = size; in updatePreviewSurface()
668 holder.setFixedSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in updatePreviewSurface()
673 WAIT_FOR_SURFACE_CHANGE_TIMEOUT_MS, mPreviewSize.getWidth(), in updatePreviewSurface()
674 mPreviewSize.getHeight()); in updatePreviewSurface()
675 assertTrue("wait for surface change to " + mPreviewSize.toString() + " timed out", res); in updatePreviewSurface()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
DBitmapRegionTileSource.java161 private int mPreviewSize; field in BitmapRegionTileSource.BitmapSource
166 mPreviewSize = previewSize; in BitmapSource()
183 if (mPreviewSize != 0) { in loadInBackground()
184 int previewSize = Math.min(mPreviewSize, MAX_PREVIEW_SIZE); in loadInBackground()
212 return mPreviewSize; in getPreviewSize()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2AgentImpl.java193 private Size mPreviewSize; field in AndroidCamera2AgentImpl.Camera2Handler
280 mPreviewSize = null; in handleMessage()
673 mActiveArray, mPreviewSize, mPhotoSize); in buildSettings()
693 mPreviewSize = settings.getCurrentPreviewSize(); in applyToRequest()
733 surfaceTexture.setDefaultBufferSize(mPreviewSize.width(), mPreviewSize.height()); in setPreviewTexture()