Searched refs:mPreviewSize (Results 1 – 5 of 5) sorted by relevance
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
D | CameraPreviewActivity.java | 78 private Camera.Size mPreviewSize; field in CameraPreviewActivity 179 if (mPreviewSizes.get(position) != mPreviewSize) { 281 mPreviewSize = mNextPreviewSize; in startPreview() 285 p.setPreviewSize(mPreviewSize.width, mPreviewSize.height); in startPreview() 289 int expectedBytes = mPreviewSize.width * mPreviewSize.height * in startPreview() 351 int expectedBytes = mPreviewSize.width * mPreviewSize.height * in onPreviewFrame() 365 (mPreviewSize.width != mFilterYuv.getWidth()) || in onPreviewFrame() 366 (mPreviewSize.height != mFilterYuv.getHeight()) ) { in onPreviewFrame() 368 mFilterYuv.reset(mPreviewSize.width, mPreviewSize.height); in onPreviewFrame()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | Camera2SurfaceViewTestCase.java | 124 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/ |
D | BitmapRegionTileSource.java | 161 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/ |
D | AndroidCamera2AgentImpl.java | 193 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()
|
/frameworks/base/docs/html/training/camera/ |
D | cameradirect.jd | 174 parameters.setPreviewSize(mPreviewSize.width, mPreviewSize.height);
|