Home
last modified time | relevance | path

Searched refs:speed (Results 151 - 175 of 479) sorted by relevance

12345678910>>...20

/foundation/multimedia/media_lite/services/player_lite/impl/
H A Dplayer_impl.h89 int32_t SetPlaybackSpeed(float speed) override;
90 int32_t GetPlaybackSpeed(float &speed) override;
/test/xts/hats/hdf/usb/usbdBenchmarkTest/common/
H A DHdfUsbdBenchmarkDeviceTest.cpp137 * @tc.desc : int32_t GetDeviceSpeed(const UsbDev &dev, uint8_t interfaceId, uint8_t speed)
152 uint8_t speed = 0; in BENCHMARK_F() local
154 ret = g_usbInterface->GetDeviceSpeed(dev, speed); in BENCHMARK_F()
/foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/src/
H A Dnapi_stream_player_listener.cpp136 void NapiStreamPlayerListener::OnPlaySpeedChanged(const PlaybackSpeed speed) in OnPlaySpeedChanged() argument
139 NapiArgsGetter napiArgsGetter = [speed](napi_env env, int &argc, napi_value *argv) { in OnPlaySpeedChanged()
141 auto status = napi_create_int32(env, static_cast<int>(speed), &argv[0]); in OnPlaySpeedChanged()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/
H A Dgesture.cpp191 void SwipeGesture::Create(int32_t fingers, const SwipeDirection& swipeDirection, double speed) in Create() argument
197 speedNum = LessNotEqual(speed, 0.0) ? DEFAULT_SLIDE_SPEED : speed; in Create()
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/example/
H A Daudio_renderer_test.cpp324 float speed = 1.0; in TestPlayback() local
326 speed = static_cast<float>(atof(argv[ARGS_COUNT_TWO])); in TestPlayback()
376 audioRenderer->SetSpeed(speed); in TestPlayback()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_render_animation.cpp87 float speed = 0.0; in ParseParam() local
96 parcel.ReadFloat(speed) && parcel.ReadInt32(repeatCount) && parcel.ReadBool(autoReverse) && in ParseParam()
108 SetSpeed(speed); in ParseParam()
/foundation/multimedia/av_session/services/session/ipc/stub/
H A Davsession_callback_stub.cpp134 double speed = 0.0; in HandleOnSetSpeed() local
135 CHECK_AND_RETURN_RET_LOG(data.ReadDouble(speed), ERR_NONE, "read speed failed"); in HandleOnSetSpeed()
136 OnSetSpeed(speed); in HandleOnSetSpeed()
/third_party/ffmpeg/libavfilter/
H A Daf_aphaser.c38 double speed; member
63 { "speed", "set modulation speed", OFFSET(speed), AV_OPT_TYPE_DOUBLE, {.dbl=.5}, .1, 2, FLAGS },
181 s->modulation_buffer_length = inlink->sample_rate / s->speed + 0.5; in config_output()
/third_party/libinput/tools/
H A Dptraccel-debug.c159 printf("# set xlabel \"speed (mm/s)\"\n"); in print_accel_func()
186 "--speed=<double> ... accel speed [-1, 1], default 0\n" in usage()
227 double speed = 0.0; in main() local
263 {"speed", 1, 0, OPT_SPEED }, in main()
317 speed = strtod(optarg, NULL); in main()
393 filter_set_speed(filter, speed); in main()
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
H A Dcipher_aes_siv.c205 unsigned int speed = 0; in aes_siv_set_ctx_params() local
222 if (!OSSL_PARAM_get_uint(p, &speed)) { in aes_siv_set_ctx_params()
226 ctx->hw->setspeed(ctx, (int)speed); in aes_siv_set_ctx_params()
/third_party/openssl/providers/implementations/ciphers/
H A Dcipher_aes_siv.c205 unsigned int speed = 0; in aes_siv_set_ctx_params() local
222 if (!OSSL_PARAM_get_uint(p, &speed)) { in aes_siv_set_ctx_params()
226 ctx->hw->setspeed(ctx, (int)speed); in aes_siv_set_ctx_params()
/foundation/arkui/ace_engine/adapter/ohos/entrance/timepicker/
H A Dtimepicker_haptic_impl.h27 void Play(size_t speed) override;
/foundation/arkui/ace_engine/frameworks/component_test/core/
H A Dcomponent_test_component_impl.cpp182 uint32_t speed, bool toTop, std::function<void(ErrInfo errInfo)>&& callback) const in ScrollToBorderAsync()
205 MoveAction moveAction(topPoint, bottomPoint, TouchType::DRAG, speed); in ScrollToBorderAsync()
212 MoveAction moveAction(bottomPoint, topPoint, TouchType::DRAG, speed); in ScrollToBorderAsync()
216 [this, speed, toTop, passedCallback = std::move(callback)](void* data) { in ScrollToBorderAsync()
217 ScrollToBorderAsync(speed, toTop, [passedCallback](ErrInfo errInfo) { passedCallback(errInfo); }); in ScrollToBorderAsync()
224 uint32_t speed, std::function<void(ErrInfo errInfo)>&& callback) const in ScrollToTopImplAsync()
226 ScrollToBorderAsync(speed, true, std::move(callback)); in ScrollToTopImplAsync()
230 uint32_t speed, std::function<void(ErrInfo errInfo)>&& callback) const in ScrollToBottomImplAsync()
232 ScrollToBorderAsync(speed, false, std::move(callback)); in ScrollToBottomImplAsync()
181 ScrollToBorderAsync( uint32_t speed, bool toTop, std::function<void(ErrInfo errInfo)>&& callback) const ScrollToBorderAsync() argument
223 ScrollToTopImplAsync( uint32_t speed, std::function<void(ErrInfo errInfo)>&& callback) const ScrollToTopImplAsync() argument
229 ScrollToBottomImplAsync( uint32_t speed, std::function<void(ErrInfo errInfo)>&& callback) const ScrollToBottomImplAsync() argument
/foundation/multimedia/av_session/frameworks/native/session/test/unittest/
H A Davsession_controller_test.cpp612 double speed = 0.0; in HWTEST_F() local
616 EXPECT_EQ(command.GetSpeed(speed), AVSESSION_ERROR); in HWTEST_F()
633 double speed = 0.0; in HWTEST_F() local
637 EXPECT_EQ(command.GetSpeed(speed), AVSESSION_ERROR); in HWTEST_F()
654 double speed = 0.0; in HWTEST_F() local
661 EXPECT_EQ(command.GetSpeed(speed), AVSESSION_SUCCESS); in HWTEST_F()
662 EXPECT_EQ(std::fabs(speed - 1.0) < 1e-6, true); in HWTEST_F()
675 double speed = 0.0;
681 EXPECT_EQ(command.GetSpeed(speed), AVSESSION_ERROR);
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dgesture_impl.cpp133 return event->eventData.speed; in OH_ArkUI_SwipeGesture_GetVelocity()
442 ArkUI_GestureRecognizer* CreateSwipeGesture(int32_t fingers, ArkUI_GestureDirectionMask directions, double speed) in CreateSwipeGesture() argument
444 if (LessOrEqual(speed, 0.0f)) { in CreateSwipeGesture()
445 speed = DEFAULT_SWIPE_SPEED; in CreateSwipeGesture()
448 speed, static_cast<int32_t>(ARKUI_LENGTH_METRIC_UNIT_PX), static_cast<int32_t>(ARKUI_LENGTH_METRIC_UNIT_VP)); in CreateSwipeGesture()
/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Dslide_recognizer.cpp455 void SlideRecognizer::ChangeSpeed(double speed) in ChangeSpeed() argument
457 if (speed_ != speed) { in ChangeSpeed()
459 speed_ = speed; in ChangeSpeed()
461 newSpeed_ = speed; in ChangeSpeed()
/foundation/multimedia/av_codec/services/media_engine/modules/sink/
H A Dsubtitle_sink.cpp365 Status SubtitleSink::SetSpeed(float speed) in SetSpeed() argument
367 FALSE_RETURN_V_MSG_W(speed > 0, Status::OK, "Invalid speed %{public}f", speed); in SetSpeed()
370 speed_ = speed; in SetSpeed()
/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/sdl/audio_sink/
H A Dsdl_audio_sink_plugin.cpp318 Status SdlAudioSinkPlugin::GetSpeed(float& speed) in GetSpeed() argument
320 UNUSED_VARIABLE(speed); in GetSpeed()
324 Status SdlAudioSinkPlugin::SetSpeed(float speed) in SetSpeed() argument
326 UNUSED_VARIABLE(speed); in SetSpeed()
/foundation/multimodalinput/input/service/connect_manager/include/
H A Di_multimodal_input_connect.h76 virtual int32_t SetPointerSpeed(int32_t speed) = 0;
77 virtual int32_t GetPointerSpeed(int32_t &speed) = 0;
127 virtual int32_t SetTouchpadPointerSpeed(int32_t speed) = 0;
128 virtual int32_t GetTouchpadPointerSpeed(int32_t &speed) = 0;
H A Dmultimodal_input_connect_proxy.h61 int32_t SetPointerSpeed(int32_t speed) override;
62 int32_t GetPointerSpeed(int32_t &speed) override;
112 int32_t SetTouchpadPointerSpeed(int32_t speed) override;
113 int32_t GetTouchpadPointerSpeed(int32_t &speed) override;
/foundation/multimodalinput/input/frameworks/proxy/event_handler/include/
H A Dinput_manager_impl.h162 int32_t SetPointerSpeed(int32_t speed);
163 int32_t GetPointerSpeed(int32_t &speed);
171 int32_t SetTouchpadPointerSpeed(int32_t speed);
172 int32_t GetTouchpadPointerSpeed(int32_t &speed);
/foundation/multimodalinput/input/interfaces/native/innerkits/proxy/include/
H A Dinput_manager.h515 * @brief Sets the mouse pointer speed, which ranges from 1 to 11.
516 * @param speed Indicates the mouse pointer speed to set.
520 int32_t SetPointerSpeed(int32_t speed);
523 * @brief Obtains the mouse pointer speed.
524 * @param speed Indicates the mouse pointer speed to get.
525 * @return Returns the mouse pointer speed if the operation is successful; returns <b>RET_ERR</b> otherwise.
528 int32_t GetPointerSpeed(int32_t &speed);
702 * @brief Set the touchpad poniter speed
[all...]
/third_party/ffmpeg/libavcodec/
H A Dlibrav1e.c52 int speed; member
305 if (ctx->speed >= 0) { in librav1e_encode_init()
306 rret = rav1e_config_parse_int(cfg, "speed", ctx->speed); in librav1e_encode_init()
308 av_log(avctx, AV_LOG_ERROR, "Could not set speed preset.\n"); in librav1e_encode_init()
577 { "speed", "what speed preset to use", OFFSET(speed), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 10, VE },
/third_party/rust/crates/rustix/examples/
H A Dstdio.rs61 if let Some(speed) = speed_value(cfgetispeed(&term)) { in show()
62 println!(" - ispeed: {}", speed); in show()
64 if let Some(speed) = speed_value(cfgetospeed(&term)) { in show()
65 println!(" - ospeed: {}", speed); in show()
/third_party/libinput/src/
H A Devdev-mt-touchpad.c124 double speed; in tp_calculate_motion_speed() local
138 * We do *not* reset the speed to 0 here though. The motion history in tp_calculate_motion_speed()
140 * speed and failing. in tp_calculate_motion_speed()
145 /* TODO: we probably need a speed history here so we can average in tp_calculate_motion_speed()
153 speed = distance/(time - last->time); /* mm/us */ in tp_calculate_motion_speed()
154 speed *= 1000000; /* mm/s */ in tp_calculate_motion_speed()
156 t->speed.last_speed = speed; in tp_calculate_motion_speed()
362 t->speed.last_speed = 0; in tp_new_touch()
363 t->speed in tp_new_touch()
3020 tp_accel_config_set_speed(struct libinput_device *device, double speed) tp_accel_config_set_speed() argument
3037 double speed; tp_accel_config_set_profile() local
[all...]

Completed in 22 milliseconds

12345678910>>...20