/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 | 73 int previewHeight = MeasureSpec.getSize(heightSpec); 81 previewHeight -= vPadding; 82 if (previewWidth > previewHeight * mAspectRatio) { 83 previewWidth = (int) (previewHeight * mAspectRatio + .5); 85 previewHeight = (int) (previewWidth / mAspectRatio + .5); 90 previewHeight += vPadding; 94 MeasureSpec.makeMeasureSpec(previewHeight, MeasureSpec.EXACTLY));
|
MosaicFrameProcessor.java | 92 public void initialize(int previewWidth, int previewHeight, int bufSize) { 94 mPreviewHeight = previewHeight; 119 private void setupMosaicer(int previewWidth, int previewHeight, int bufSize) { 120 Log.v(TAG, "setupMosaicer w, h=" + previewWidth + ',' + previewHeight + ',' + bufSize); 124 mMosaicer.allocateMosaicMemory(previewWidth, previewHeight);
|
SwitchAnimManager.java | 83 float previewHeight = height * previewAnimScale; 85 int previewY = Math.round(centerY - previewHeight / 2); 111 Math.round(previewHeight));
|
FocusManager.java | 156 public void setPreviewSize(int previewWidth, int previewHeight) { 157 if (mPreviewWidth != previewWidth || mPreviewHeight != previewHeight) { 159 mPreviewHeight = previewHeight; 323 int previewHeight = mPreviewHeight; 334 calculateTapArea(focusWidth, focusHeight, 1f, x, y, previewWidth, previewHeight, 336 calculateTapArea(focusWidth, focusHeight, 1.5f, x, y, previewWidth, previewHeight, 343 int top = Util.clamp(y - focusHeight / 2, 0, previewHeight - focusHeight); 502 int x, int y, int previewWidth, int previewHeight, Rect rect) { 506 int top = Util.clamp(y - areaHeight / 2, 0, previewHeight - areaHeight);
|
EffectsRecorder.java | 249 int previewHeight) { 264 mPreviewHeight = previewHeight; 435 "previewHeight", mPreviewHeight, [all...] |
/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);
|
/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;
|
/hardware/ti/omap4xxx/test/CameraHal/ |
camera_test_menu.cpp | 734 unsigned int previewWidth, previewHeight; 743 previewHeight = MAX_PREVIEW_SURFACE_HEIGHT; 745 previewHeight = height; 758 previewHeight, 766 surfaceControl->setSize(previewWidth, previewHeight); 1055 int previewWidth, previewHeight; 1061 previewHeight = VcaptureSize[VcaptureSizeIDX].height; 1065 previewHeight = previewSize[previewSizeIDX].height; 1069 previewHeight, 1079 params.setPreviewSize(previewWidth, previewHeight); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
KeyboardView.java | [all...] |
/hardware/ti/omap4xxx/camera/inc/OMXCameraAdapter/ |
OMXCameraAdapter.h | 558 size_t previewHeight); 562 size_t previewHeight); [all...] |