/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
Camera2PreviewSizeSelector.java | 39 public Size pickPreviewSize(Size pictureSize) { 40 if (pictureSize == null) { 42 // pictureSize should never be null. 43 pictureSize = getLargestPictureSize(); 45 float pictureAspectRatio = pictureSize.getWidth() / (float) pictureSize.getHeight();
|
GenericOneCameraImpl.java | 186 public Size pickPreviewSize(Size pictureSize, Context context) { 187 return mPreviewSizeSelector.pickPreviewSize(pictureSize);
|
/external/skia/gm/ |
pictureshadertile.cpp | 60 static void draw_scene(SkCanvas* canvas, SkScalar pictureSize) { 68 canvas->drawCircle(pictureSize / 4, pictureSize / 4, pictureSize / 4, paint); 69 canvas->drawRect(SkRect::MakeXYWH(pictureSize / 2, pictureSize / 2, 70 pictureSize / 2, pictureSize / 2), paint); 73 canvas->drawLine(pictureSize / 2, pictureSize * 1 / 3 [all...] |
/packages/apps/Camera2/src/com/android/camera/settings/ |
ResolutionSetting.java | 112 Size pictureSize = null; 129 pictureSize = SettingsUtil.sizeFromSettingString( 132 isPictureSizeBlacklisted = pictureSize == null || 133 ResolutionUtil.isBlackListed(pictureSize, blacklist); 142 final boolean isPictureSizeFromSettingsValid = pictureSize != null && 143 pictureSize.width() > 0 && pictureSize.height() > 0; 161 pictureSize = fallbackPictureSize; 168 return pictureSize; 181 Size pictureSize = getPictureSize(cameraId, facing) [all...] |
AppUpgrader.java | 330 String pictureSize = settingsManager.getString(SettingsManager.SCOPE_GLOBAL, key); 335 Size size = SettingsUtil.getPhotoSize(pictureSize, supported, camera); 474 String pictureSize = settingsManager.getString(SettingsManager.SCOPE_GLOBAL, 476 if ("1836x3264".equals(pictureSize)) {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/ |
CameraPairwiseTest.java | 60 public enum PictureSize { SMALL, MEDIUM, LARGE }; 130 PictureSize.MEDIUM, Geotagging.OFF); 140 PictureSize.LARGE, Geotagging.ON); 150 PictureSize.SMALL, Geotagging.ON); 160 PictureSize.MEDIUM, Geotagging.OFF); 170 SceneMode.AUTO, PictureSize.LARGE, Geotagging.OFF); 180 PictureSize.SMALL, Geotagging.ON); 190 PictureSize.SMALL, Geotagging.ON); 200 PictureSize.MEDIUM, Geotagging.OFF); 210 PictureSize.LARGE, Geotagging.OFF) [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowCameraParameters.java | 29 Camera.Size pictureSize = Robolectric.newInstanceOf(Camera.class).new Size(0, 0); 30 pictureSize.width = pictureWidth; 31 pictureSize.height = pictureHeight; 32 return pictureSize;
|
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
ResourceOpenedCameraImpl.java | 61 Size pictureSize, 64 camera, cameraId, cameraFacing, cameraCharacteristics, pictureSize, captureSetting); 73 Size pictureSize, 79 mPictureSize = pictureSize;
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
CameraParametersTest.java | 37 Camera.Size pictureSize = parameters.getPictureSize(); 38 assertThat(pictureSize.width, equalTo(800)); 39 assertThat(pictureSize.height, equalTo(600));
|
/packages/apps/Camera2/src/com/android/camera/one/ |
OneCameraCaptureSetting.java | 43 Size pictureSize, 60 pictureSize,
|
OneCamera.java | 427 * @param pictureSize the picture size as selected by the user. A camera 435 public Size pickPreviewSize(Size pictureSize, Context context);
|
/packages/apps/Camera2/src/com/android/camera/captureintent/state/ |
StateStartingPreview.java | 63 Size pictureSize, 73 pictureSize, 85 Size pictureSize, 93 camera, cameraId, cameraFacing, cameraCharacteristics, pictureSize, captureSetting);
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
OneCameraFactory.java | 35 Size pictureSize,
|
OneCameraImpl.java | 316 * @param pictureSize the size of the final image to be taken. 318 OneCameraImpl(CameraDevice device, CameraCharacteristics characteristics, Size pictureSize) { 325 // Override pictureSize for RAW (our picture size settings don't include 330 // pictureSize being passes into here. 332 pictureSize = getDefaultPictureSize(); 339 mCaptureImageReader = ImageReader.newInstance(pictureSize.getWidth(), 340 pictureSize.getHeight(), 720 public Size pickPreviewSize(Size pictureSize, Context context) { 721 if (pictureSize == null) { 723 // pictureSize should never be null [all...] |
OneCameraZslImpl.java | 291 * @param pictureSize the size of the final image to be taken. 293 OneCameraZslImpl(CameraDevice device, CameraCharacteristics characteristics, Size pictureSize) { 349 if (pictureSize == null) { 351 // pictureSize should never be null. 352 pictureSize = getDefaultPictureSize(); 354 mCaptureImageReader = ImageReader.newInstance(pictureSize.getWidth(), 355 pictureSize.getHeight(), [all...] |
SimpleOneCameraFactory.java | 104 final Size pictureSize, 115 pictureSize.getWidth(), pictureSize.getHeight(),
|
ZslOneCameraFactory.java | 137 Size pictureSize, 148 pictureSize.getWidth(), pictureSize.getHeight(),
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/ |
SoftAVC.cpp | 245 uint32_t pictureSize = mWidth * mHeight * 3 / 2; 246 mFirstPicture = new uint8_t[pictureSize]; 247 memcpy(mFirstPicture, data, pictureSize);
|
/packages/apps/Camera2/src/com/android/camera/one/v1/ |
OneCameraCharacteristicsImpl.java | 53 for (Camera.Size pictureSize : supportedPictureSizes) { 54 mSupportedPictureSizes.add(new Size(pictureSize));
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
CameraManager.java | 740 final Camera.Size pictureSize = chooseBestPictureSize(); 741 final Camera.Size previewSize = chooseBestPreviewSize(pictureSize); 743 params.setPictureSize(pictureSize.width, pictureSize.height); 745 logCameraSize("Setting picture size: ", pictureSize); [all...] |
/cts/tests/camera/src/android/hardware/cts/ |
CameraTest.java | 391 Size pictureSize = mCamera.getParameters().getPictureSize(); 405 assertEquals(pictureSize.width, bmpOptions.outWidth); 406 assertEquals(pictureSize.height, bmpOptions.outHeight); 649 Size pictureSize = pictureSizes.get(0); 695 parameters.setPictureSize(pictureSize.width, pictureSize.height); 696 assertEquals(pictureSize.width, parameters.getPictureSize().width); 697 assertEquals(pictureSize.height, parameters.getPictureSize().height); 710 assertEquals(pictureSize.width, paramActual.getPictureSize().width); 711 assertEquals(pictureSize.height, paramActual.getPictureSize().height) [all...] |
/packages/apps/Camera2/src/com/android/camera/session/ |
CaptureSession.java | 168 * @param pictureSize the size, in pixels of the empty placeholder. 170 public void startEmpty(@Nullable ImageLifecycleListener listener, @Nonnull Size pictureSize);
|
CaptureSessionImpl.java | 200 @Nonnull Size pictureSize) { 211 mPlaceHolder = mPlaceholderManager.insertEmptyPlaceholder(mTitle, pictureSize,
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
CameraSettings.java | 138 ListPreference pictureSize = group.findPreference(KEY_PICTURE_SIZE); 156 if (pictureSize != null) { 157 filterUnsupportedOptions(group, pictureSize, sizeListToStringList(
|
/packages/apps/Camera2/src/com/android/camera/captureintent/ |
CaptureIntentSession.java | 123 public synchronized void startEmpty(ImageLifecycleListener listener, @Nonnull Size pictureSize) {
|