Home
last modified time | relevance | path

Searched refs:mPreviewWidth (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Gallery2/src/com/android/camera/
DFocusOverlayManager.java78 private int mPreviewWidth; // The width of the preview frame layout. field in FocusOverlayManager
161 if (mPreviewWidth != previewWidth || mPreviewHeight != previewHeight) { in setPreviewSize()
162 mPreviewWidth = previewWidth; in setPreviewSize()
179 if (mPreviewWidth != 0 && mPreviewHeight != 0) { in setMatrix()
182 mPreviewWidth, mPreviewHeight); in setMatrix()
350 if (mPreviewWidth == 0 || mPreviewHeight == 0) return; in onSingleTapUp()
505 initializeFocusAreas(mPreviewWidth / 2, mPreviewHeight / 2); in resetTouchFocus()
509 initializeMeteringAreas(mPreviewWidth / 2, mPreviewHeight / 2); in resetTouchFocus()
515 int areaSize = (int) (Math.min(mPreviewWidth, mPreviewHeight) * areaMultiple / 20); in calculateTapArea()
516 int left = Util.clamp(x - areaSize, 0, mPreviewWidth - 2 * areaSize); in calculateTapArea()
DMosaicFrameProcessor.java59 private int mPreviewWidth; field in MosaicFrameProcessor
90 mPreviewWidth = previewWidth; in initialize()
93 setupMosaicer(mPreviewWidth, mPreviewHeight, mPreviewBufferSize); in initialize()
183 mTranslationLastX * HR_TO_LR_DOWNSAMPLE_FACTOR / mPreviewWidth, in processFrame()
189 mTranslationLastX * HR_TO_LR_DOWNSAMPLE_FACTOR / mPreviewWidth, in processFrame()
229 (mPreviewWidth / HR_TO_LR_DOWNSAMPLE_FACTOR) / WINDOW_SIZE; in calculateTranslationRate()
DPanoramaModule.java140 private int mPreviewWidth; field in PanoramaModule
385 mPreviewWidth = w; in findBestPreviewSize()
403 Log.v(TAG, "preview h = " + mPreviewHeight + " , w = " + mPreviewWidth); in setupCaptureParams()
404 parameters.setPreviewSize(mPreviewWidth, mPreviewHeight); in setupCaptureParams()
432 return (mPreviewWidth * mPreviewHeight * pixelInfo.bitsPerPixel / 8) + 32; in getPreviewBufSize()
956 mPreviewWidth, mPreviewHeight, getPreviewBufSize()); in initMosaicFrameProcessorIfNeeded()
DPhotoUI.java93 private int mPreviewWidth = 0; field in PhotoUI
110 if (mPreviewWidth != width || mPreviewHeight != height) {
111 mPreviewWidth = width;
595 mPreviewWidth = 0; in onPause()
DEffectsRecorder.java144 private int mPreviewWidth; field in EffectsRecorder
440 mPreviewWidth = previewWidth; in setPreviewSurfaceTexture()
613 "previewWidth", mPreviewWidth, in initializeEffect()
/packages/apps/Camera/src/com/android/camera/
DMosaicFrameProcessor.java59 private int mPreviewWidth; field in MosaicFrameProcessor
90 mPreviewWidth = previewWidth; in initialize()
93 setupMosaicer(mPreviewWidth, mPreviewHeight, mPreviewBufferSize); in initialize()
182 mTranslationLastX * HR_TO_LR_DOWNSAMPLE_FACTOR / mPreviewWidth, in processFrame()
188 mTranslationLastX * HR_TO_LR_DOWNSAMPLE_FACTOR / mPreviewWidth, in processFrame()
228 (mPreviewWidth / HR_TO_LR_DOWNSAMPLE_FACTOR) / WINDOW_SIZE; in calculateTranslationRate()
DFocusOverlayManager.java83 private int mPreviewWidth; // The width of the preview frame layout. field in FocusOverlayManager
155 if (mPreviewWidth != previewWidth || mPreviewHeight != previewHeight) { in setPreviewSize()
156 mPreviewWidth = previewWidth; in setPreviewSize()
177 if (mPreviewWidth != 0 && mPreviewHeight != 0) { in setMatrix()
180 mPreviewWidth, mPreviewHeight); in setMatrix()
353 int previewWidth = mPreviewWidth; in onSingleTapUp()
DPanoramaModule.java140 private int mPreviewWidth; field in PanoramaModule
383 mPreviewWidth = w; in findBestPreviewSize()
401 Log.v(TAG, "preview h = " + mPreviewHeight + " , w = " + mPreviewWidth); in setupCaptureParams()
402 parameters.setPreviewSize(mPreviewWidth, mPreviewHeight); in setupCaptureParams()
430 return (mPreviewWidth * mPreviewHeight * pixelInfo.bitsPerPixel / 8) + 32; in getPreviewBufSize()
976 mPreviewWidth, mPreviewHeight, getPreviewBufSize()); in initMosaicFrameProcessorIfNeeded()
DEffectsRecorder.java143 private int mPreviewWidth; field in EffectsRecorder
439 mPreviewWidth = previewWidth; in setPreviewSurfaceTexture()
612 "previewWidth", mPreviewWidth, in initializeEffect()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DMosaicFrameProcessor.java63 private int mPreviewWidth; field in MosaicFrameProcessor
74 mPreviewWidth = previewWidth; in MosaicFrameProcessor()
88 setupMosaicer(mPreviewWidth, mPreviewHeight, mPreviewBufferSize); in initialize()
180 mTranslationLastX * HR_TO_LR_DOWNSAMPLE_FACTOR / mPreviewWidth, in processFrame()
186 mTranslationLastX * HR_TO_LR_DOWNSAMPLE_FACTOR / mPreviewWidth, in processFrame()
228 (mPreviewWidth / HR_TO_LR_DOWNSAMPLE_FACTOR) / mTotalDeltaTime; in calculateTranslationRate()
DPanoramaActivity.java151 private int mPreviewWidth; field in PanoramaActivity
388 mPreviewWidth = w; in findBestPreviewSize()
406 Log.v(TAG, "preview h = " + mPreviewHeight + " , w = " + mPreviewWidth); in setupCaptureParams()
407 parameters.setPreviewSize(mPreviewWidth, mPreviewHeight); in setupCaptureParams()
435 return (mPreviewWidth * mPreviewHeight * pixelInfo.bitsPerPixel / 8) + 32; in getPreviewBufSize()
995 mPreviewWidth, mPreviewHeight, getPreviewBufSize()); in initMosaicFrameProcessorIfNeeded()
/packages/apps/VideoEditor/src/com/android/videoeditor/
DOverlayTitleEditor.java51 private int mPreviewWidth, mPreviewHeight; field in OverlayTitleEditor
99 mPreviewWidth = dbo.outWidth; in onCreate()
124 mPreviewWidth, mPreviewHeight); in updatePreviewImage()
/packages/apps/LegacyCamera/src/com/android/camera/
DEffectsRecorder.java85 private int mPreviewWidth; field in EffectsRecorder
262 mPreviewWidth = previewWidth; in setPreviewDisplay()
434 + mPreviewWidth + ", " + mPreviewHeight); in initializeEffect()
439 "previewWidth", mPreviewWidth, in initializeEffect()