/third_party/weston/libweston/ |
D | zoom.c | 45 output->zoom.spring_z.timestamp = *time; in weston_zoom_frame_z() 47 weston_spring_update(&output->zoom.spring_z, time); in weston_zoom_frame_z() 49 if (output->zoom.spring_z.current > output->zoom.max_level) in weston_zoom_frame_z() 50 output->zoom.spring_z.current = output->zoom.max_level; in weston_zoom_frame_z() 51 else if (output->zoom.spring_z.current < 0.0) in weston_zoom_frame_z() 52 output->zoom.spring_z.current = 0.0; in weston_zoom_frame_z() 54 if (weston_spring_done(&output->zoom.spring_z)) { in weston_zoom_frame_z() 55 if (output->zoom.active && output->zoom.level <= 0.0) { in weston_zoom_frame_z() 56 output->zoom.active = false; in weston_zoom_frame_z() 57 output->zoom.seat = NULL; in weston_zoom_frame_z() [all …]
|
D | animation.c | 304 struct weston_view_animation *zoom; in weston_zoom_run() local 306 zoom = weston_view_animation_create(view, start, stop, in weston_zoom_run() 310 if (zoom == NULL) in weston_zoom_run() 313 weston_spring_init(&zoom->spring, 300.0, start, stop); in weston_zoom_run() 314 zoom->spring.friction = 1400; in weston_zoom_run() 315 zoom->spring.previous = start - (stop - start) * 0.03; in weston_zoom_run() 317 weston_view_animation_run(zoom); in weston_zoom_run() 319 return zoom; in weston_zoom_run()
|
/third_party/gstreamer/gstplugins_bad/gst/geometrictransform/ |
D | gstsquare.c | 119 if (v != square->zoom) { in gst_square_set_property() 120 square->zoom = v; in gst_square_set_property() 149 g_value_set_double (value, square->zoom); in gst_square_get_property() 176 (1.0 / square->zoom) * (1.0 + (square->zoom - in square_map() 180 (1.0 / square->zoom) * (1.0 + (square->zoom - in square_map() 240 filter->zoom = DEFAULT_ZOOM; in gst_square_init()
|
D | gstbulge.c | 101 if (v != bulge->zoom) { in gst_bulge_set_property() 102 bulge->zoom = v; in gst_bulge_set_property() 123 g_value_set_double (value, bulge->zoom); in gst_bulge_get_property() 161 1.0 / (bulge->zoom + ((1.0 - bulge->zoom) * gst_gm_smoothstep (0, in bulge_map() 211 filter->zoom = DEFAULT_ZOOM; in gst_bulge_init()
|
/third_party/gstreamer/gstplugins_bad/gst/camerabin2/ |
D | gstdigitalzoom.c | 77 gfloat zoom; in gst_digital_zoom_update_crop() local 89 zoom = self->zoom; in gst_digital_zoom_update_crop() 93 GST_INFO_OBJECT (self, "zoom: %f, orig size: %dx%d", zoom, width, height); in gst_digital_zoom_update_crop() 95 if (zoom != 1.0) { in gst_digital_zoom_update_crop() 96 w2_crop = (width - (gint) (width * 1.0 / zoom)) / 2; in gst_digital_zoom_update_crop() 97 h2_crop = (height - (gint) (height * 1.0 / zoom)) / 2; in gst_digital_zoom_update_crop() 141 self->zoom = g_value_get_float (value); in gst_digital_zoom_set_property() 142 GST_DEBUG_OBJECT (self, "Setting zoom: %f", self->zoom); in gst_digital_zoom_set_property() 159 g_value_set_float (value, self->zoom); in gst_digital_zoom_get_property() 272 self->zoom = 1; in gst_digital_zoom_init()
|
/third_party/python/Lib/idlelib/idle_test/ |
D | test_zoomheight.py | 30 zoom = zoomheight.ZoomHeight(self.editwin) 31 self.assertIs(zoom.editwin, self.editwin) 34 zoom = zoomheight.ZoomHeight(self.editwin) 35 zoom.zoom_height_event()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_zoompan.c | 156 double *zoom, double *dx, double *dy) in output_single_frame() argument 178 *zoom = av_expr_eval(s->zoom_expr, var_values, NULL); in output_single_frame() 180 *zoom = av_clipd(*zoom, 1, 10); in output_single_frame() 181 var_values[VAR_ZOOM] = *zoom; in output_single_frame() 182 w = in->width * (1.0 / *zoom); in output_single_frame() 183 h = in->height * (1.0 / *zoom); in output_single_frame() 244 if (*zoom != -1) in output_single_frame() 245 s->prev_zoom = *zoom; in output_single_frame() 271 double zoom = -1, dx = -1, dy = -1; in activate() local 274 &zoom, &dx, &dy); in activate() [all …]
|
D | avf_avectorscope.c | 68 double zoom; member 97 { "zoom", "set zoom factor", OFFSET(zoom), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0, 10, FLAGS }, 122 if (s->zoom > 1) { in draw_dot() 244 double zoom = s->zoom; in filter_frame() local 264 if (zoom < 1) { in filter_frame() 290 zoom = 1. / max; in filter_frame() 336 x = ((src[1] - src[0]) * zoom / 2 + 1) * hw; in filter_frame() 337 y = (1.0 - (src[0] + src[1]) * zoom / 2) * hh; in filter_frame() 339 x = (src[1] * zoom + 1) * hw; in filter_frame() 340 y = (src[0] * zoom + 1) * hh; in filter_frame() [all …]
|
D | vf_deshake.c | 395 deshake->last.zoom = 0; in config_props() 465 orig.zoom = t.zoom; in filter_frame() 471 deshake->avg.zoom = alpha * t.zoom + (1.0 - alpha) * deshake->avg.zoom; in filter_frame() 478 t.zoom -= deshake->avg.zoom; in filter_frame() 487 …avg.vec.y, t.vec.y, orig.angle, deshake->avg.angle, t.angle, orig.zoom, deshake->avg.zoom, t.zoom); in filter_frame() 496 t.zoom += deshake->last.zoom; in filter_frame() 507 deshake->last.zoom = t.zoom; in filter_frame() 509 transform_zoom = 1.0 + t.zoom / 100.0; in filter_frame()
|
/third_party/skia/resources/sksl/errors/ |
D | VertexEarlyReturn.vert | 1 layout(set=0) uniform half zoom; 5 if (zoom == 1) return; 6 sk_Position *= zoom;
|
/third_party/flutter/glfw/examples/ |
D | wave.c | 32 GLfloat zoom = 2.f; variable 158 glTranslatef(0.0, 0.0, -zoom); in draw_scene() 300 zoom -= 0.25f; in key_callback() 301 if (zoom < 0.f) in key_callback() 302 zoom = 0.f; in key_callback() 305 zoom += 0.25f; in key_callback() 355 zoom += (float) y / 4.f; in scroll_callback() 356 if (zoom < 0) in scroll_callback() 357 zoom = 0; in scroll_callback()
|
/third_party/flutter/flutter/examples/layers/widgets/ |
D | gestures.dart | 9 this.zoom, 19 final double zoom; 30 final Offset center = size.center(Offset.zero) * zoom + offset; 31 final double radius = size.width / 2.0 * zoom; 46 return oldPainter.zoom != zoom 155 zoom: _zoom,
|
/third_party/flutter/skia/samplecode/ |
D | SampleFatBits.cpp | 101 void setWHZ(int width, int height, int zoom) { in setWHZ() argument 104 fZoom = zoom; in setWHZ() 105 fBounds.set(0, 0, SkIntToScalar(width * zoom), SkIntToScalar(height * zoom)); in setWHZ() 106 fMatrix.setScale(SkIntToScalar(zoom), SkIntToScalar(zoom)); in setWHZ() 107 fInverse.setScale(SK_Scalar1 / zoom, SK_Scalar1 / zoom); in setWHZ() 108 fShader0 = ToolUtils::create_checkerboard_shader(0xFFDDDDDD, 0xFFFFFFFF, zoom); in setWHZ() 114 info = info.makeWH(width * zoom, height * zoom); in setWHZ()
|
D | SampleQuadStroker.cpp | 277 void setWHZ(int width, int height, int zoom) { in setWHZ() argument 278 fZoom = zoom; in setWHZ() 279 fBounds.set(0, 0, SkIntToScalar(width * zoom), SkIntToScalar(height * zoom)); in setWHZ() 280 fMatrix.setScale(SkIntToScalar(zoom), SkIntToScalar(zoom)); in setWHZ() 281 fInverse.setScale(SK_Scalar1 / zoom, SK_Scalar1 / zoom); in setWHZ() 282 fShader = ToolUtils::create_checkerboard_shader(0xFFCCCCCC, 0xFFFFFFFF, zoom); in setWHZ() 286 info = info.makeWH(width * zoom, height * zoom); in setWHZ()
|
/third_party/skia/samplecode/ |
D | SampleFatBits.cpp | 100 void setWHZ(int width, int height, int zoom) { in setWHZ() argument 103 fZoom = zoom; in setWHZ() 104 fBounds.setIWH(width * zoom, height * zoom); in setWHZ() 105 fMatrix.setScale(SkIntToScalar(zoom), SkIntToScalar(zoom)); in setWHZ() 106 fInverse.setScale(SK_Scalar1 / zoom, SK_Scalar1 / zoom); in setWHZ() 107 fShader0 = ToolUtils::create_checkerboard_shader(0xFFDDDDDD, 0xFFFFFFFF, zoom); in setWHZ() 113 info = info.makeWH(width * zoom, height * zoom); in setWHZ()
|
D | SampleQuadStroker.cpp | 270 void setWHZ(int width, int height, int zoom) { in setWHZ() argument 271 fZoom = zoom; in setWHZ() 272 fBounds.setIWH(width * zoom, height * zoom); in setWHZ() 273 fMatrix.setScale(SkIntToScalar(zoom), SkIntToScalar(zoom)); in setWHZ() 274 fInverse.setScale(SK_Scalar1 / zoom, SK_Scalar1 / zoom); in setWHZ() 275 fShader = ToolUtils::create_checkerboard_shader(0xFFCCCCCC, 0xFFFFFFFF, zoom); in setWHZ() 279 info = info.makeWH(width * zoom, height * zoom); in setWHZ()
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/basecamerabinsrc/ |
D | gstbasecamerasrc.c | 156 g_return_if_fail (self->zoom); in gst_base_camera_src_setup_zoom() 159 bclass->set_zoom (self, self->zoom); in gst_base_camera_src_setup_zoom() 283 self->zoom = g_value_get_float (value); in gst_base_camera_src_set_property() 285 if (self->zoom > self->max_zoom) { in gst_base_camera_src_set_property() 286 GST_DEBUG_OBJECT (self, "Clipping zoom %f to max-zoom %f", self->zoom, in gst_base_camera_src_set_property() 288 self->zoom = self->max_zoom; in gst_base_camera_src_set_property() 350 g_value_set_float (value, self->zoom); in gst_base_camera_src_get_property() 564 self->zoom = DEFAULT_ZOOM; in gst_base_camera_src_init()
|
D | gstbasecamerasrc.h | 88 gfloat zoom; member 113 void (*set_zoom) (GstBaseCameraSrc *self, gfloat zoom);
|
/third_party/mesa3d/src/mesa/swrast/ |
D | s_drawpix.c | 275 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F; in draw_stencil_pixels() local 294 if (zoom) { in draw_stencil_pixels() 321 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0f || ctx->Pixel.ZoomY != 1.0f; in draw_depth_pixels() local 331 && !zoom in draw_depth_pixels() 351 && !zoom in draw_depth_pixels() 401 if (zoom) { in draw_depth_pixels() 426 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F; in draw_rgba_pixels() local 537 if (zoom) { in draw_rgba_pixels() 640 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F; in draw_depth_stencil_pixels() local 644 if (!zoom) { in draw_depth_stencil_pixels() [all …]
|
/third_party/flutter/skia/bench/ |
D | SKPAnimationBench.cpp | 56 SkScalar zoom = static_cast<SkScalar>(pow(fZoomMax, t)); in preConcatFrameMatrix() local 61 drawMatrix->preScale(zoom, zoom); in preConcatFrameMatrix()
|
/third_party/skia/bench/ |
D | SKPAnimationBench.cpp | 55 SkScalar zoom = static_cast<SkScalar>(pow(fZoomMax, t)); in preConcatFrameMatrix() local 60 drawMatrix->preScale(zoom, zoom); in preConcatFrameMatrix()
|
/third_party/node/deps/npm/node_modules/minimist/test/ |
D | parse.js | 163 t.equal(argv.zoom, 55); 164 t.equal(argv.z, argv.zoom); 173 t.equal(argv.zoom, 55); 174 t.equal(argv.z, argv.zoom);
|
/third_party/node/deps/npm/node_modules/mkdirp/node_modules/minimist/test/ |
D | parse.js | 163 t.equal(argv.zoom, 55); 164 t.equal(argv.z, argv.zoom); 173 t.equal(argv.zoom, 55); 174 t.equal(argv.z, argv.zoom);
|
/third_party/cef/libcef/browser/extensions/api/tabs/ |
D | tabs_api.cc | 26 using zoom::ZoomController; 40 void ZoomModeToZoomSettings(zoom::ZoomController::ZoomMode zoom_mode, in ZoomModeToZoomSettings() 44 case zoom::ZoomController::ZOOM_MODE_DEFAULT: in ZoomModeToZoomSettings() 48 case zoom::ZoomController::ZOOM_MODE_ISOLATED: in ZoomModeToZoomSettings() 52 case zoom::ZoomController::ZOOM_MODE_MANUAL: in ZoomModeToZoomSettings() 56 case zoom::ZoomController::ZOOM_MODE_DISABLED: in ZoomModeToZoomSettings() 455 zoom::ZoomController::FromWebContents(web_contents)->GetZoomLevel(); in Run()
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/interfaces/ |
D | photography.h | 436 gfloat zoom; member 520 gboolean (*get_zoom) (GstPhotography * photo, gfloat * zoom); 532 gboolean (*set_zoom) (GstPhotography * photo, gfloat zoom); 608 gboolean gst_photography_get_zoom (GstPhotography * photo, gfloat * zoom); 653 gboolean gst_photography_set_zoom (GstPhotography * photo, gfloat zoom);
|