Home
last modified time | relevance | path

Searched refs:mPreviewHeight (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Gallery2/src/com/android/camera/
DFocusOverlayManager.java79 private int mPreviewHeight; // The height of the preview frame layout. field in FocusOverlayManager
161 if (mPreviewWidth != previewWidth || mPreviewHeight != previewHeight) { in setPreviewSize()
163 mPreviewHeight = previewHeight; 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()
517 int top = Util.clamp(y - areaSize, 0, mPreviewHeight - 2 * areaSize); in calculateTapArea()
DMosaicFrameProcessor.java60 private int mPreviewHeight; field in MosaicFrameProcessor
91 mPreviewHeight = previewHeight; in initialize()
93 setupMosaicer(mPreviewWidth, mPreviewHeight, mPreviewBufferSize); in initialize()
184 mTranslationLastY * HR_TO_LR_DOWNSAMPLE_FACTOR / mPreviewHeight); in processFrame()
190 mTranslationLastY * HR_TO_LR_DOWNSAMPLE_FACTOR / mPreviewHeight); in processFrame()
231 (mPreviewHeight / HR_TO_LR_DOWNSAMPLE_FACTOR) / WINDOW_SIZE; in calculateTranslationRate()
DPanoramaModule.java141 private int mPreviewHeight; field in PanoramaModule
386 mPreviewHeight = h; 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.java94 private int mPreviewHeight = 0; field in PhotoUI
110 if (mPreviewWidth != width || mPreviewHeight != height) {
112 mPreviewHeight = height;
596 mPreviewHeight = 0; in onPause()
DEffectsRecorder.java145 private int mPreviewHeight; field in EffectsRecorder
441 mPreviewHeight = previewHeight; in setPreviewSurfaceTexture()
614 "previewHeight", mPreviewHeight, in initializeEffect()
/packages/apps/Camera/src/com/android/camera/
DMosaicFrameProcessor.java60 private int mPreviewHeight; field in MosaicFrameProcessor
91 mPreviewHeight = previewHeight; in initialize()
93 setupMosaicer(mPreviewWidth, mPreviewHeight, mPreviewBufferSize); in initialize()
183 mTranslationLastY * HR_TO_LR_DOWNSAMPLE_FACTOR / mPreviewHeight); in processFrame()
189 mTranslationLastY * HR_TO_LR_DOWNSAMPLE_FACTOR / mPreviewHeight); in processFrame()
230 (mPreviewHeight / HR_TO_LR_DOWNSAMPLE_FACTOR) / WINDOW_SIZE; in calculateTranslationRate()
DFocusOverlayManager.java84 private int mPreviewHeight; // The height of the preview frame layout. field in FocusOverlayManager
155 if (mPreviewWidth != previewWidth || mPreviewHeight != previewHeight) { in setPreviewSize()
157 mPreviewHeight = previewHeight; in setPreviewSize()
177 if (mPreviewWidth != 0 && mPreviewHeight != 0) { in setMatrix()
180 mPreviewWidth, mPreviewHeight); in setMatrix()
354 int previewHeight = mPreviewHeight; in onSingleTapUp()
DPanoramaModule.java141 private int mPreviewHeight; field in PanoramaModule
384 mPreviewHeight = h; 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.java144 private int mPreviewHeight; field in EffectsRecorder
440 mPreviewHeight = previewHeight; in setPreviewSurfaceTexture()
613 "previewHeight", mPreviewHeight, in initializeEffect()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DMosaicFrameProcessor.java64 private int mPreviewHeight; field in MosaicFrameProcessor
75 mPreviewHeight = previewHeight; in MosaicFrameProcessor()
88 setupMosaicer(mPreviewWidth, mPreviewHeight, mPreviewBufferSize); in initialize()
181 mTranslationLastY * HR_TO_LR_DOWNSAMPLE_FACTOR / mPreviewHeight); in processFrame()
187 mTranslationLastY * HR_TO_LR_DOWNSAMPLE_FACTOR / mPreviewHeight); in processFrame()
230 (mPreviewHeight / HR_TO_LR_DOWNSAMPLE_FACTOR) / mTotalDeltaTime; in calculateTranslationRate()
DPanoramaActivity.java152 private int mPreviewHeight; field in PanoramaActivity
389 mPreviewHeight = h; 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
100 mPreviewHeight = dbo.outHeight; in onCreate()
124 mPreviewWidth, mPreviewHeight); in updatePreviewImage()
/packages/apps/LegacyCamera/src/com/android/camera/
DEffectsRecorder.java86 private int mPreviewHeight; field in EffectsRecorder
263 mPreviewHeight = previewHeight; in setPreviewDisplay()
434 + mPreviewWidth + ", " + mPreviewHeight); in initializeEffect()
440 "previewHeight", mPreviewHeight, in initializeEffect()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DKeyboardView.java149 private int mPreviewHeight; field in KeyboardView
312 mPreviewHeight = a.getDimensionPixelSize(attr, 80); in KeyboardView()
954 final int popupHeight = mPreviewHeight; in showKey()