Home
last modified time | relevance | path

Searched refs:zoom (Results 1 – 25 of 56) sorted by relevance

123

/packages/services/DeviceAsWebcam/res/raw/
DREADME.md56 This file contains the mapping of physical cameras to their zoom ratio ranges.
57 When provided, DeviceAsWebcam will use this zoom ratio range instead of that
58 retrieved from camera characteristics. This is useful when the zoom ratio of the
67 "<physical-camera-id-1>" : ["<zoom-ratio-range-lower-1>", "<zoom-ratio-range-upper-1>"],
68 "<physical-camera-id-2>" : ["<zoom-ratio-range-lower-2>", "<zoom-ratio-range-upper-2>"],
72 "<physical-camera-id-3>" : ["<zoom-ratio-range-lower-3>", "<zoom-ratio-range-upper-3>"],
73 "<physical-camera-id-4>" : ["<zoom-ratio-range-lower-4>", "<zoom-ratio-range-upper-4>"],
81 supported zoom ratio ranges with camera ids 3 and 4 for the back logical
/packages/apps/Camera2/src/com/android/camera/one/v2/common/
DZoomedCropRegion.java31 public ZoomedCropRegion(Rect sensorArrayArea, Supplier<Float> zoom) { in ZoomedCropRegion() argument
33 mZoom = zoom; in ZoomedCropRegion()
38 float zoom = mZoom.get(); in get() local
42 int xDelta = (int) (0.5f * sensor.width() / zoom); in get()
43 int yDelta = (int) (0.5f * sensor.height() / zoom); in get()
DBasicCameraFactory.java86 Observable<Float> zoom, in BasicCameraFactory() argument
117 cameraCharacteristics.getSensorInfoActiveArraySize(), zoom); in BasicCameraFactory()
132 SafeCloseable zoomCallback = zoom.addCallback(mPreviewUpdater, MoreExecutors in BasicCameraFactory()
/packages/services/BuiltInPrintService/jni/plugins/
Dwprint_mupdf.c43 float zoom; in _mupdf_get_hdr() local
59 zoom = (image_info->pdf_render_resolution) / POINTS_PER_INCH; in _mupdf_get_hdr()
61 imageWidth = (unsigned int) (pageWidth * zoom); in _mupdf_get_hdr()
62 imageHeight = (unsigned int) (pageHeight * zoom); in _mupdf_get_hdr()
73 pageWidth, pageHeight, image_info->pdf_render_resolution, zoom, size); in _mupdf_get_hdr()
78 imageHeight, zoom, rawBuffer); in _mupdf_get_hdr()
Dpdf_render.c76 static int renderPageStripe(pdf_render_ifc_t *obj, int page, int width, int height, float zoom, in renderPageStripe() argument
87 0, width, height, (double) zoom, byteBuffer)) { in renderPageStripe()
Dwprint_mupdf.h44 int height, float zoom, char *buffer);
/packages/apps/Camera2/src/com/android/camera/one/
DOneCamera.java345 public final float zoom; field in OneCamera.PhotoCaptureParameters
351 int heading, float zoom, float timerSeconds) { in PhotoCaptureParameters() argument
356 this.zoom = zoom; in PhotoCaptureParameters()
432 public void setZoom(float zoom); in setZoom() argument
DAbstractOneCamera.java120 public void setZoom(float zoom) { in setZoom() argument
/packages/apps/Camera2/src_pd/com/android/camera/stats/
DUsageStatistics.java48 public void mediaView(String ref, long modifiedMillis, float zoom) { in mediaView() argument
69 float zoom, int width, int height, long size, in videoCaptureDoneEvent() argument
74 boolean front, boolean isHDR, float zoom, in photoCaptureDoneEvent() argument
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/
Dpage.h67 float zoom = 0; member
75 void set_zoom(float zoom) { this->zoom = zoom; } in set_zoom()
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/
DGenericOneCameraImpl.java73 Listenable<Boolean> readyStateListenable, float maxZoom, Updatable<Float> zoom, in GenericOneCameraImpl() argument
87 mZoom = zoom; in GenericOneCameraImpl()
182 public void setZoom(float zoom) { in setZoom() argument
183 mZoom.update(zoom); in setZoom()
/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/content/
DPdfPageGotoLinkContent.java154 public Destination(int pageNumber, float xCoordinate, float yCoordinate, float zoom) { in Destination() argument
161 Preconditions.checkArgument(zoom >= 0, "Zoom factor number must be " in Destination()
166 this.mZoom = zoom; in Destination()
/packages/apps/Gallery/src/com/android/camera/
DCropImage.java768 float zoom = Math.min(z1, z2); in centerBasedOnHighlightView() local
769 zoom = zoom * this.getScale(); in centerBasedOnHighlightView()
770 zoom = Math.max(1F, zoom); in centerBasedOnHighlightView()
772 if ((Math.abs(zoom - getScale()) / zoom) > .1) { in centerBasedOnHighlightView()
776 zoomTo(zoom, coordinates[0], coordinates[1], 300F); in centerBasedOnHighlightView()
/packages/apps/Camera2/src/com/android/camera/ui/
DPreviewOverlay.java123 public void setupZoom(float zoomMaxRatio, float zoom, in setupZoom() argument
126 mZoomProcessor.setupZoom(zoomMaxRatio, zoom); in setupZoom()
435 private void setupZoom(float zoomMax, float zoom) { in setupZoom() argument
437 setZoom(zoom); in setupZoom()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DAutoFocusHelper.java211 public static Rect cropRegionForZoom(CameraCharacteristics characteristics, float zoom) { in cropRegionForZoom() argument
215 int xDelta = (int) (0.5f * sensor.width() / zoom); in cropRegionForZoom()
216 int yDelta = (int) (0.5f * sensor.height() / zoom); in cropRegionForZoom()
DOneCameraImpl.java715 public void setZoom(float zoom) { in setZoom() argument
716 mZoomValue = zoom; in setZoom()
717 mCropRegion = cropRegionForZoom(zoom); in setZoom()
740 private Rect cropRegionForZoom(float zoom) { in cropRegionForZoom() argument
741 return AutoFocusHelper.cropRegionForZoom(mCharacteristics, zoom); in cropRegionForZoom()
DOneCameraZslImpl.java1110 public void setZoom(float zoom) { in setZoom() argument
1111 mZoomValue = zoom; in setZoom()
1112 mCropRegion = cropRegionForZoom(zoom); in setZoom()
1116 private Rect cropRegionForZoom(float zoom) { in cropRegionForZoom() argument
1117 return AutoFocusHelper.cropRegionForZoom(mCharacteristics, zoom); in cropRegionForZoom()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterTinyPlanetRepresentation.java73 public void setZoom(int zoom) { in setZoom() argument
74 setValue(zoom); in setZoom()
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
Ddbstabsmooth.h93 inline void setZoomFactor(float zoom) { f_zoom = zoom; } in setZoomFactor() argument
Dvp_motionmodel.c339 int n, int w, int h, double zoom) in vp_zoom_motion2d() argument
348 if (((VP_MOTION *) NULL == in)||(zoom <= 0.0)||(w <= 0)||(h <= 0)) { in vp_zoom_motion2d()
360 inv_zoom = (VP_PAR)(1.0/zoom); in vp_zoom_motion2d()
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/utils/
DUserPrefs.java52 public synchronized void storeZoomRatio(String cameraId, float zoom) { in storeZoomRatio() argument
53 mPrefsEditor.putFloat(mContext.getString(R.string.prefs_zoom_ratio_key, cameraId), zoom); in storeZoomRatio() local
/packages/apps/Camera2/src/com/android/camera/stats/
DCaptureSessionStatsCollector.java110 final float zoom, in decorateAtTimeCaptureRequest() argument
122 mZoom = zoom; in decorateAtTimeCaptureRequest()
/packages/services/BuiltInPrintService/src/com/android/bips/render/
DPdfRenderService.java182 RenderThread(PdfRenderer.Page page, int y, int width, int height, double zoom, in RenderThread() argument
188 mZoomFactor = zoom; in RenderThread()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/util/
DSubsamplingScaleImageViewUtil.kt27 onNewCrop: (crop: Rect, zoom: Float) -> Unit in setOnNewCropListener()
/packages/apps/Camera2/src/com/android/camera/filmstrip/
DFilmstripController.java266 public void onZoomAtIndexChanged(int adapterIndex, float zoom); in onZoomAtIndexChanged() argument

123