/hardware/ti/omap4xxx/test/CameraHal/ |
camera_test_menu.cpp | 215 preview_size previewSize [] = { 233 size_t length_previewSize = ARRAY_SIZE(previewSize); 410 int previewSizeIDX = ARRAY_SIZE(previewSize) - 1; 1070 previewWidth = previewSize[previewSizeIDX].width; 1071 previewHeight = previewSize[previewSizeIDX].height; 1166 params.setPreviewSize(previewSize[previewSizeIDX].width, previewSize[previewSizeIDX].height); 1193 params.set(CameraParameters::KEY_JPEG_THUMBNAIL_WIDTH, previewSize[thumbSizeIDX].width); 1194 params.set(CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT, previewSize[thumbSizeIDX].height); [all...] |
camera_test_script.cpp | 33 extern const preview_size previewSize []; 277 if( strcmp((cmd + 1), previewSize[i].desc) == 0) 279 width = previewSize[i].width; 280 height = previewSize[i].height; 505 if( strcmp((cmd + 1), previewSize[i].desc) == 0) 507 width = previewSize[i].width; 508 height = previewSize[i].height; [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowCameraParameters.java | 53 Camera.Size previewSize = Robolectric.newInstanceOf(Camera.class).new Size(0, 0); 54 previewSize.width = previewWidth; 55 previewSize.height = previewHeight; 56 return previewSize;
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
DrawableTileSource.java | 40 public DrawableTileSource(Context context, Drawable d, int previewSize) { 43 mPreviewSize = Math.min(previewSize, MAX_PREVIEW_SIZE);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
BitmapRegionTileSource.java | 167 public BitmapSource(int previewSize) { 168 mPreviewSize = previewSize; 186 int previewSize = Math.min(mPreviewSize, MAX_PREVIEW_SIZE); 191 float scale = (float) previewSize / Math.max(width, height); 228 public FilePathBitmapSource(String path, int previewSize) { 229 super(previewSize); 260 public UriBitmapSource(Context context, Uri uri, int previewSize) { 261 super(previewSize); 325 public ResourceBitmapSource(Resources res, int resId, int previewSize) { 326 super(previewSize); [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/ |
BitmapRegionTileSource.java | 165 public BitmapSource(int previewSize) { 166 mPreviewSize = previewSize; 184 int previewSize = Math.min(mPreviewSize, MAX_PREVIEW_SIZE); 189 float scale = (float) previewSize / Math.max(width, height); 226 public FilePathBitmapSource(String path, int previewSize) { 227 super(previewSize); 261 public UriBitmapSource(Context context, Uri uri, int previewSize) { 262 super(previewSize); 329 public ResourceBitmapSource(Resources res, int resId, int previewSize) { 330 super(previewSize); [all...] |
/packages/apps/Gallery2/src/com/android/photos/ |
BitmapRegionTileSource.java | 67 public BitmapRegionTileSource(Context context, String path, int previewSize, int rotation) { 81 if (previewSize != 0) { 82 previewSize = Math.min(previewSize, MAX_PREVIEW_SIZE); 86 Bitmap preview = decodePreview(path, previewSize);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
TextureViewActivity.java | 105 Camera.Size previewSize = mCamera.getParameters().getPreviewSize(); 107 previewSize.width, previewSize.height, Gravity.CENTER));
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
FolderIcon.java | 205 final int previewSize = sPreviewSize; 209 mOuterRingSize = (1 + percent * OUTER_RING_GROWTH_FACTOR) * previewSize; 210 mInnerRingSize = (1 + percent * INNER_RING_GROWTH_FACTOR) * previewSize; 234 final int previewSize = sPreviewSize; 238 mOuterRingSize = (1 + (1 - percent) * OUTER_RING_GROWTH_FACTOR) * previewSize; 239 mInnerRingSize = (1 + (1 - percent) * INNER_RING_GROWTH_FACTOR) * previewSize; 439 final int previewSize = FolderRingAnimator.sPreviewSize; 442 mAvailableSpaceInPreview = (previewSize - 2 * previewPadding);
|
Workspace.java | [all...] |
/device/asus/flo/camera/QCamera2/HAL/test/ |
qcamera_test.h | 75 status_t getCurrentPreviewSize(Size &previewSize);
|
qcamera_test.cpp | 691 Size previewSize = mSupportedPreviewSizes.itemAt(mCurrentPreviewSizeIdx); 692 mParams.setPreviewSize(previewSize.width, 693 previewSize.height); 714 * @previewSize : preview size currently configured 720 status_t CameraContext::getCurrentPreviewSize(Size &previewSize) 723 previewSize = mSupportedPreviewSizes.itemAt(mCurrentPreviewSizeIdx);
|
/hardware/qcom/camera/QCamera2/HAL/test/ |
qcamera_test.h | 75 status_t getCurrentPreviewSize(Size &previewSize);
|
qcamera_test.cpp | 691 Size previewSize = mSupportedPreviewSizes.itemAt(mCurrentPreviewSizeIdx); 692 mParams.setPreviewSize(previewSize.width, 693 previewSize.height); 714 * @previewSize : preview size currently configured 720 status_t CameraContext::getCurrentPreviewSize(Size &previewSize) 723 previewSize = mSupportedPreviewSizes.itemAt(mCurrentPreviewSizeIdx);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
FolderIcon.java | 232 final int previewSize = sPreviewSize; 236 mOuterRingSize = (1 + percent * OUTER_RING_GROWTH_FACTOR) * previewSize; 237 mInnerRingSize = (1 + percent * INNER_RING_GROWTH_FACTOR) * previewSize; 261 final int previewSize = sPreviewSize; 265 mOuterRingSize = (1 + (1 - percent) * OUTER_RING_GROWTH_FACTOR) * previewSize; 266 mInnerRingSize = (1 + (1 - percent) * INNER_RING_GROWTH_FACTOR) * previewSize; 487 final int previewSize = mPreviewBackground.getLayoutParams().height; 490 mAvailableSpaceInPreview = (previewSize - 2 * previewPadding);
|
/hardware/libhardware/tests/camera2/ |
CameraMultiStreamTests.cpp | 538 Size previewSize = CapSize(previewLimit, processedMaxSize); 545 previewSize.width, previewSize.height, 556 previewSize.width, 557 previewSize.height,
|
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
GL2CameraEye.java | 175 Camera.Size previewSize = camera.getParameters().getPreviewSize(); 176 mCameraRatio = (float)previewSize.width/previewSize.height;
|
/frameworks/base/core/java/android/hardware/ |
Camera.java | [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
CameraFormatsActivity.java | 318 for (Camera.Size previewSize: mPreviewSizes) { 321 + previewSize.width + "x" + previewSize.height
|
/packages/apps/Camera2/src/com/android/camera/tinyplanet/ |
TinyPlanetFragment.java | 262 private Bitmap createPaddedSourceImage(Uri sourceImageUri, boolean previewSize) { 274 int size = previewSize ? getDisplaySize() : sourceBitmap.getWidth();
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
CameraTest.java | 626 Size previewSize = previewSizes.get(0); 680 parameters.setPreviewSize(previewSize.width, previewSize.height); 681 assertEquals(previewSize.width, parameters.getPreviewSize().width); 682 assertEquals(previewSize.height, parameters.getPreviewSize().height); 691 assertEquals(previewSize.width, paramActual.getPreviewSize().width); 692 assertEquals(previewSize.height, paramActual.getPreviewSize().height); [all...] |
CameraGLTest.java | 647 public void setCameraSizing(Camera.Size previewSize) { 648 mCameraRatio = (float)previewSize.width/previewSize.height; [all...] |
/frameworks/base/core/java/android/widget/ |
FastScroller.java | 301 final int previewSize = res.getDimensionPixelSize(R.dimen.fastscroll_overlay_size); 303 mPreviewImage.setMinimumWidth(previewSize); 304 mPreviewImage.setMinimumHeight(previewSize); 310 final int textMinSize = Math.max(0, previewSize - mPreviewPadding); [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
Parameters.cpp | [all...] |
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
TestingCamera.java | [all...] |