/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);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowCameraParameters.java | 21 private int previewHeight = 480; 55 previewSize.height = previewHeight; 134 previewHeight = height; 142 return previewHeight;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeyPreviewChoreographer.java | 114 final int previewHeight = mParams.mPreviewHeight; 135 final int previewY = key.getY() - previewHeight + mParams.mPreviewOffset 139 keyPreviewView, previewX, previewY, previewWidth, previewHeight); 141 keyPreviewView.setPivotY(previewHeight);
|
KeyPreviewDrawParams.java | 97 final int previewHeight = mPreviewHeight; 102 mVisibleHeight = previewHeight - previewTextView.getPaddingTop()
|
/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
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
Parameters.h | 50 int previewWidth, previewHeight;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
WidgetPreviewLoader.java | 94 int previewHeight, WidgetCell caller) { 95 String size = previewWidth + "x" + previewHeight; 98 PreviewLoadTask task = new PreviewLoadTask(key, o, previewWidth, previewHeight, caller); 298 int previewWidth, int previewHeight) { 304 (ResolveInfo) info, previewWidth, previewHeight, recycle); 340 int previewHeight; 346 previewHeight = drawable.getIntrinsicHeight(); 352 previewHeight = tileBitmap.getHeight() * spanY; 366 previewHeight = (int) (scale * previewHeight); [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
FocusOverlayManager.java | 144 public void setPreviewSize(int previewWidth, int previewHeight) { 145 if (mPreviewWidth != previewWidth || mPreviewHeight != previewHeight) { 147 mPreviewHeight = previewHeight; 306 int x, int y, int previewWidth, int previewHeight) { 313 calculateTapArea(focusWidth, focusHeight, 1f, x, y, previewWidth, previewHeight, 318 int x, int y, int previewWidth, int previewHeight) { 327 calculateTapArea(focusWidth, focusHeight, 1.5f, x, y, previewWidth, previewHeight, 348 int previewHeight = mPreviewHeight; 351 initializeFocusAreas(focusWidth, focusHeight, x, y, previewWidth, previewHeight); 355 initializeMeteringAreas(focusWidth, focusHeight, x, y, previewWidth, previewHeight); [all...] |
/device/moto/shamu/camera/QCamera2/HAL/test/ |
qcamera_test.cpp | [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
GlobalScreenshot.java | 82 int previewheight; field in class:SaveImageInBackgroundData 141 int previewHeight = data.previewheight; 151 Bitmap picture = Bitmap.createBitmap(previewWidth, previewHeight, data.image.getConfig()); 152 matrix.setTranslate((previewWidth - mImageWidth) / 2, (previewHeight - mImageHeight) / 2); 518 data.previewheight = mPreviewHeight; [all...] |
/hardware/qcom/camera/QCamera2/HAL/test/ |
qcamera_test.cpp | [all...] |
/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...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
WidgetPreviewLoader.java | 183 public void setPreviewSize(int previewWidth, int previewHeight, 186 mPreviewBitmapHeight = previewHeight; 187 mSize = previewWidth + "x" + previewHeight; 485 int previewHeight; 490 previewHeight = drawable.getIntrinsicHeight(); 503 previewHeight = previewDrawableHeight * cellVSpan; 505 defaultPreview = Bitmap.createBitmap(previewWidth, previewHeight, 509 previewDrawable.setBounds(0, 0, previewWidth, previewHeight); 517 int smallestSide = Math.min(previewWidth, previewHeight); 550 previewHeight = (int) (scale * previewHeight) [all...] |
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
TestingCamera.java | 406 final int previewHeight = 409 if ( Math.abs((float)previewWidth / previewHeight - [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
RenderPreviewManager.java | 540 int previewHeight = preview.getHeight(); 541 previewHeight += PREVIEW_VGAP; 543 previewHeight += PREVIEW_VGAP; 547 Rect position = packer.occupy(previewWidth, previewHeight); [all...] |
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
QCameraHWI_Parm.cpp | [all...] |
/hardware/ti/omap4-aah/test/CameraHal/ |
camera_test_menu.cpp | 871 unsigned int previewWidth, previewHeight; 885 previewHeight = MAX_PREVIEW_SURFACE_HEIGHT; 887 previewHeight = height; 900 previewHeight, 908 surfaceControl->setSize(previewWidth, previewHeight); [all...] |
/device/huawei/angler/camera/QCamera2/HAL/ |
QCameraParameters.cpp | [all...] |
/device/lge/bullhead/camera/QCamera2/HAL/ |
QCameraParameters.cpp | [all...] |
/device/moto/shamu/camera/QCamera2/HAL/ |
QCameraParameters.cpp | [all...] |
/hardware/qcom/camera/QCamera2/HAL/ |
QCameraParameters.cpp | [all...] |
/external/robolectric/v3/runtime/ |
shadows-core-3.1-SNAPSHOT-16.jar | |
shadows-core-3.1-SNAPSHOT-17.jar | |