/packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
D | SelfManagedAnswerVideoCallScreen.java | 128 Size previewSize = getOptimalSize(configMap.getOutputSizes(SurfaceHolder.class)); in openCamera() local 129 LogUtil.i("SelfManagedAnswerVideoCallScreen.openCamera", "Optimal size: " + previewSize); in openCamera() 130 float outputAspect = (float) previewSize.getWidth() / previewSize.getHeight(); in openCamera() 132 surfaceView.getHolder().setFixedSize(previewSize.getWidth(), previewSize.getHeight()); in openCamera()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
D | ResourceSurfaceTextureNexus4Impl.java | 67 public void setPreviewSize(Size previewSize) { in setPreviewSize() argument 68 super.setPreviewSize(previewSize); in setPreviewSize() 70 final AspectRatio previewAspectRatio = AspectRatio.of(previewSize); in setPreviewSize()
|
D | ResourceSurfaceTextureImpl.java | 97 public void setPreviewSize(Size previewSize) { in setPreviewSize() argument 99 if (!mPreviewSize.equals(previewSize)) { in setPreviewSize() 100 mPreviewSize = previewSize; in setPreviewSize()
|
D | ResourceSurfaceTexture.java | 56 public void setPreviewSize(Size previewSize); in setPreviewSize() argument
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 67 public BitmapRegionTileSource(Context context, String path, int previewSize, int rotation) { in BitmapRegionTileSource() argument 81 if (previewSize != 0) { in BitmapRegionTileSource() 82 previewSize = Math.min(previewSize, MAX_PREVIEW_SIZE); in BitmapRegionTileSource() 86 Bitmap preview = decodePreview(path, previewSize); in BitmapRegionTileSource()
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
D | SimulatorPreviewCamera.java | 96 Size previewSize = map.getOutputSizes(SurfaceTexture.class)[0]; in getCameraCapabilities() local 97 LogUtil.i("SimulatorPreviewCamera.getCameraCapabilities", "preview size: " + previewSize); in getCameraCapabilities() 98 return new CameraCapabilities(previewSize.getWidth(), previewSize.getHeight()); in getCameraCapabilities()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewBackground.java | 89 int previewSize; field in PreviewBackground 179 previewSize = grid.folderIconSizePx; in setup() 181 basePreviewOffsetX = (availableSpaceX - previewSize) / 2; in setup() 203 int right = left + previewSize; in getBounds() 204 int bottom = top + previewSize; in getBounds() 209 return previewSize / 2; in getRadius()
|
D | FolderAnimationManager.java | 143 float previewSize = rule.getIconSize() * previewScale; in getAnimator() local 145 float initialScale = previewSize / baseIconSize * scaleRelativeToDragLayer; in getAnimator() 164 int previewItemOffsetX = (int) (previewSize / 2); in getAnimator() 391 float previewSize = rule.getIconSize() * previewScale; in addPreviewItemAnimators() local 393 float iconScale = previewSize / baseIconSize; in addPreviewItemAnimators()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/state/ |
D | StateStartingPreview.java | 156 final Size previewSize; in onEnter() local 169 previewSize = CaptureModuleUtil.getOptimalPreviewSize( in onEnter() 173 if (previewSize == null) { in onEnter() 186 mResourceSurfaceTexture.get().setPreviewSize(previewSize); in onEnter()
|
/packages/providers/MediaProvider/apex/framework/java/android/provider/ |
D | CloudMediaProvider.java | 478 Point previewSize = null; in openTypedAssetFile() local 491 previewSize = opts.getParcelable(ContentResolver.EXTRA_SIZE); in openTypedAssetFile() 494 if (previewSize == null) { in openTypedAssetFile() 495 previewSize = new Point(minPreviewLength, minPreviewLength); in openTypedAssetFile() 499 AssetFileDescriptor result = onOpenPreview(mediaId, previewSize, bundle, signal); in openTypedAssetFile() 501 CmpApiVerifier.CloudMediaProviderApis.OnOpenPreview, result, previewSize), in openTypedAssetFile()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | QrCodeScanModeFragment.java | 165 public Rect getFramePosition(Size previewSize, int cameraOrientation) { in getFramePosition() argument 166 return new Rect(0, 0, previewSize.getHeight(), previewSize.getHeight()); in getFramePosition()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamsQrCodeScanFragment.java | 195 public Rect getFramePosition(Size previewSize, int cameraOrientation) { in getFramePosition() argument 196 return new Rect(0, 0, previewSize.getHeight(), previewSize.getHeight()); in getFramePosition()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestVideoProvider.java | 342 Size previewSize = map.getOutputSizes(SurfaceTexture.class)[0]; in setCameraCapabilities() local 344 mCameraCapabilities = new CameraCapabilities(previewSize.getWidth(), in setCameraCapabilities() 345 previewSize.getHeight()); in setCameraCapabilities()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/ |
D | CameraManager.java | 623 final Camera.Size previewSize = chooseBestPreviewSize(pictureSize); in tryShowPreview() local 624 params.setPreviewSize(previewSize.width, previewSize.height); in tryShowPreview() 626 logCameraSize("Setting preview size: ", previewSize); in tryShowPreview() 628 cameraPreview.setSize(previewSize, cameraInfo.orientation); in tryShowPreview()
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | DevCameraActivity.java | 259 Size previewSize = mCamera.getPreviewSize(); in startCamera() local 262 int renderWidth = renderHeight * previewSize.getHeight() / previewSize.getWidth(); in startCamera() 268 mPreviewHolder.setFixedSize(previewSize.getHeight(), previewSize.getWidth()); in startCamera()
|
/packages/apps/Camera2/src/com/android/camera/one/v1/ |
D | OneCameraCharacteristicsImpl.java | 60 for (Camera.Size previewSize : supportedPreviewSizes) { in OneCameraCharacteristicsImpl() 61 mSupportedPreviewSizes.add(new Size(previewSize)); in OneCameraCharacteristicsImpl()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | AdbQrcodeScannerFragment.java | 262 public Rect getFramePosition(Size previewSize, int cameraOrientation) { in getFramePosition() argument 263 return new Rect(0, 0, previewSize.getHeight(), previewSize.getHeight()); in getFramePosition()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/cursor/ |
D | PayloadToggleCursorResolverTest.kt | 71 assertThat(row.previewSize).isNull() in <lambda>() 102 assertThat(row.previewSize).isEqualTo(Size(100, 50)) in <lambda>()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | DatabaseWidgetPreviewLoader.java | 79 @NonNull Size previewSize, in loadPreview() argument 83 () -> generatePreview(item, previewSize.getWidth(), previewSize.getHeight()), in loadPreview()
|
D | WidgetCell.java | 303 WidgetPreviewContainerSize previewSize = WidgetPreviewContainerSize.Companion.forItem(mItem, in initPreviewContainerSizeAndScale() local 306 previewSize.spanX, previewSize.spanY); in initPreviewContainerSizeAndScale()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/model/ |
D | CursorRow.kt | 23 data class CursorRow(val uri: Uri, val previewSize: Size?, val position: Int) constant in com.android.intentresolver.contentpreview.payloadtoggle.domain.model.CursorRow
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | FolderAdaptiveIcon.java | 144 final int previewSize = sTmpRect.width(); in initLayersOnUiThread() local 147 final int margin = (size - previewSize) / 2; in initLayersOnUiThread()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | CameraManager.java | 742 final Camera.Size previewSize = chooseBestPreviewSize(pictureSize); in tryShowPreview() local 743 params.setPreviewSize(previewSize.width, previewSize.height); in tryShowPreview() 745 logCameraSize("Setting preview size: ", previewSize); in tryShowPreview() 747 mCameraPreview.setSize(previewSize, mCameraInfo.orientation); in tryShowPreview()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppQrCodeScannerFragment.java | 512 public Rect getFramePosition(Size previewSize, int cameraOrientation) { in getFramePosition() argument 513 return new Rect(0, 0, previewSize.getHeight(), previewSize.getHeight()); in getFramePosition()
|
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/ |
D | DeviceAsWebcamFgService.java | 185 public void setPreviewSurfaceTexture(SurfaceTexture surfaceTexture, Size previewSize, in setPreviewSurfaceTexture() argument 192 mCameraController.startPreviewStreaming(surfaceTexture, previewSize, in setPreviewSurfaceTexture()
|