/packages/apps/LegacyCamera/src/com/android/camera/ |
PreviewFrameLayout.java | 65 int previewHeight = MeasureSpec.getSize(heightSpec); 73 previewHeight -= vPadding; 74 if (previewWidth > previewHeight * mAspectRatio) { 75 previewWidth = (int) (previewHeight * mAspectRatio + .5); 77 previewHeight = (int) (previewWidth / mAspectRatio + .5); 82 previewHeight += vPadding; 86 MeasureSpec.makeMeasureSpec(previewHeight, MeasureSpec.EXACTLY));
|
FocusManager.java | 259 int previewHeight = mPreviewFrame.getHeight(); 270 calculateTapArea(focusWidth, focusHeight, 1f, x, y, previewWidth, previewHeight, 272 calculateTapArea(focusWidth, focusHeight, 1.5f, x, y, previewWidth, previewHeight, 279 int top = Util.clamp(y - focusHeight / 2, 0, previewHeight - focusHeight); 448 int x, int y, int previewWidth, int previewHeight, Rect rect) { 452 int top = Util.clamp(y - areaHeight / 2, 0, previewHeight - areaHeight);
|
EffectsRecorder.java | 250 int previewHeight) { 263 mPreviewHeight = previewHeight; 440 "previewHeight", mPreviewHeight, [all...] |
/packages/apps/Camera/src/com/android/camera/ |
PreviewFrameLayout.java | 87 int previewHeight = MeasureSpec.getSize(heightSpec); 96 previewHeight -= vPadding; 98 boolean widthLonger = previewWidth > previewHeight; 99 int longSide = (widthLonger ? previewWidth : previewHeight); 100 int shortSide = (widthLonger ? previewHeight : previewWidth); 108 previewHeight = shortSide; 111 previewHeight = longSide; 116 previewHeight += vPadding; 121 MeasureSpec.makeMeasureSpec(previewHeight, MeasureSpec.EXACTLY));
|
MosaicFrameProcessor.java | 89 public void initialize(int previewWidth, int previewHeight, int bufSize) { 91 mPreviewHeight = previewHeight; 116 private void setupMosaicer(int previewWidth, int previewHeight, int bufSize) { 117 Log.v(TAG, "setupMosaicer w, h=" + previewWidth + ',' + previewHeight + ',' + bufSize); 121 mMosaicer.allocateMosaicMemory(previewWidth, previewHeight);
|
FocusOverlayManager.java | 154 public void setPreviewSize(int previewWidth, int previewHeight) { 155 if (mPreviewWidth != previewWidth || mPreviewHeight != previewHeight) { 157 mPreviewHeight = previewHeight; 314 int x, int y, int previewWidth, int previewHeight) { 321 calculateTapArea(focusWidth, focusHeight, 1f, x, y, previewWidth, previewHeight, 327 int x, int y, int previewWidth, int previewHeight) { 336 calculateTapArea(focusWidth, focusHeight, 1.5f, x, y, previewWidth, previewHeight, 354 int previewHeight = mPreviewHeight; 358 focusWidth, focusHeight, x, y, previewWidth, previewHeight); 363 focusWidth, focusHeight, x, y, previewWidth, previewHeight); [all...] |
SwitchAnimManager.java | 83 float previewHeight = height * previewAnimScale; 85 int previewY = Math.round(centerY - previewHeight / 2); 111 Math.round(previewHeight));
|
/packages/apps/Camera2/src/com/android/camera/ |
MosaicFrameProcessor.java | 89 public void initialize(int previewWidth, int previewHeight, int bufSize) { 91 mPreviewHeight = previewHeight; 117 private void setupMosaicer(int previewWidth, int previewHeight, int bufSize) { 118 Log.v(TAG, "setupMosaicer w, h=" + previewWidth + ',' + previewHeight + ',' + bufSize); 122 mMosaicer.allocateMosaicMemory(previewWidth, previewHeight);
|
FocusOverlayManager.java | 159 public void setPreviewSize(int previewWidth, int previewHeight) { 160 if (mPreviewRect.width() != previewWidth || mPreviewRect.height() != previewHeight) { 161 setPreviewRect(new Rect(0, 0, previewWidth, previewHeight));
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
MosaicFrameProcessor.java | 72 public MosaicFrameProcessor(int previewWidth, int previewHeight, int bufSize) { 75 mPreviewHeight = previewHeight; 104 private void setupMosaicer(int previewWidth, int previewHeight, int bufSize) { 105 Log.v(TAG, "setupMosaicer w, h=" + previewWidth + ',' + previewHeight + ',' + bufSize); 106 mMosaicer.allocateMosaicMemory(previewWidth, previewHeight);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowCameraParameters.java | 21 private int previewHeight = 480; 55 previewSize.height = previewHeight; 134 previewHeight = height; 142 return previewHeight;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CameraPreview.java | 228 int previewHeight = height; 231 previewHeight = mPreviewSize.height; 235 if (width * previewHeight > height * previewWidth) { 236 final int scaledChildWidth = previewWidth * height / previewHeight; 240 final int scaledChildHeight = previewHeight * width / previewWidth;
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
CameraFragment.java | 244 int previewHeight = height; 247 previewHeight = mPreviewSize.height; 251 if (width * previewHeight > height * previewWidth) { 253 / previewHeight; 257 final int scaledChildHeight = previewHeight * width
|
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
OMXFD.cpp | 191 size_t previewHeight) 278 ret = encodeFaceCoordinates(faceData, &faces, previewWidth, previewHeight); 295 size_t previewHeight) 403 tmp = ( double ) nTop / ( double )previewHeight; 413 tmp = ( double ) faceData->tFacePosition[j].nHeight / ( double ) previewHeight;
|
/device/asus/flo/camera/QCamera2/HAL/test/ |
qcamera_test.cpp | 330 unsigned int previewWidth, previewHeight; 339 previewHeight = dinfo.h; 341 previewHeight = height; 353 previewHeight, 366 ret |= mSurfaceControl->setSize(previewWidth, previewHeight); 522 int previewWidth, previewHeight; 533 previewHeight = currentPreviewSize.height; 536 previewHeight, 543 mParams.setPreviewSize(previewWidth, previewHeight);
|
/hardware/qcom/camera/QCamera2/HAL/test/ |
qcamera_test.cpp | 330 unsigned int previewWidth, previewHeight; 339 previewHeight = dinfo.h; 341 previewHeight = height; 353 previewHeight, 366 ret |= mSurfaceControl->setSize(previewWidth, previewHeight); 522 int previewWidth, previewHeight; 533 previewHeight = currentPreviewSize.height; 536 previewHeight, 543 mParams.setPreviewSize(previewWidth, previewHeight);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
WidgetPreviewLoader.java | 168 public void setPreviewSize(int previewWidth, int previewHeight, 171 mPreviewBitmapHeight = previewHeight; 172 mSize = previewWidth + "x" + previewHeight; 459 int previewHeight; 464 previewHeight = drawable.getIntrinsicHeight(); 477 previewHeight = previewDrawableHeight * cellVSpan; 479 defaultPreview = Bitmap.createBitmap(previewWidth, previewHeight, 483 previewDrawable.setBounds(0, 0, previewWidth, previewHeight); 491 int smallestSide = Math.min(previewWidth, previewHeight); 523 previewHeight = (int) (scale * previewHeight) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
WidgetPreviewLoader.java | 175 public void setPreviewSize(int previewWidth, int previewHeight, 178 mPreviewBitmapHeight = previewHeight; 179 mSize = previewWidth + "x" + previewHeight; 503 int previewHeight; 508 previewHeight = drawable.getIntrinsicHeight(); 521 previewHeight = previewDrawableHeight * cellVSpan; 523 defaultPreview = Bitmap.createBitmap(previewWidth, previewHeight, 527 previewDrawable.setBounds(0, 0, previewWidth, previewHeight); 535 int smallestSide = Math.min(previewWidth, previewHeight); 567 previewHeight = (int) (scale * previewHeight) [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
CallbackProcessor.cpp | 132 currentHeight != (uint32_t)params.previewHeight || 152 params.previewWidth, params.previewHeight, 155 params.previewWidth, params.previewHeight, 316 imgBuffer.height != static_cast<uint32_t>(l.mParameters.previewHeight)) { 319 l.mParameters.previewWidth, l.mParameters.previewHeight,
|
Parameters.cpp | 67 previewHeight = availablePreviewSizes[0].height; 69 videoHeight = previewHeight; 71 params.setPreviewSize(previewWidth, previewHeight); 75 previewWidth, previewHeight)); [all...] |
Parameters.h | 48 int previewWidth, previewHeight;
|
/hardware/ti/omap4xxx/test/CameraHal/ |
camera_test_menu.cpp | 736 unsigned int previewWidth, previewHeight; 745 previewHeight = MAX_PREVIEW_SURFACE_HEIGHT; 747 previewHeight = height; 760 previewHeight, 768 surfaceControl->setSize(previewWidth, previewHeight); 1061 int previewWidth, previewHeight; 1067 previewHeight = VcaptureSize[VcaptureSizeIDX].height; 1071 previewHeight = previewSize[previewSizeIDX].height; 1075 previewHeight, 1085 params.setPreviewSize(previewWidth, previewHeight); [all...] |
/device/lge/mako/camera/ |
QualcommCameraHardware.cpp | [all...] |
QCameraHWI_Parm.cpp | [all...] |
/device/lge/mako/camera/QCamera/HAL/core/src/ |
QCameraHWI_Parm.cpp | [all...] |