Home
last modified time | relevance | path

Searched refs:speed (Results 1 – 25 of 64) sorted by relevance

123

/foundation/ace/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
Dmarquee_event_tdd_test.cpp67 double speed = JSNumber::Value(value); in MarqueeEvent001() local
68 EXPECT_TRUE((uint8_t)speed == 1); in MarqueeEvent001()
78 speed = JSNumber::Value(value); in MarqueeEvent001()
80 EXPECT_TRUE((uint8_t)speed == speedVal1); in MarqueeEvent001()
87 EXPECT_TRUE((uint8_t)speed == speedVal1); in MarqueeEvent001()
94 speed = JSNumber::Value(value); in MarqueeEvent001()
96 EXPECT_TRUE((uint8_t)speed == speedVal2); in MarqueeEvent001()
103 EXPECT_TRUE((uint8_t)speed == speedVal2); in MarqueeEvent001()
110 speed = JSNumber::Value(value); in MarqueeEvent001()
112 EXPECT_TRUE((uint8_t)speed == speedVal1); in MarqueeEvent001()
[all …]
/foundation/ace/ace_engine/frameworks/core/components/picker/
Dtoss_animation_controller.cpp61 double speed = (yEnd_ - yStart_) / timeDiff; in Play() local
62 if (NearZero(speed)) { in Play()
67 double zeroSpeed = (speed > 0 ? ZERO_SPEED : 0.0 - ZERO_SPEED); in Play()
68 double time = zeroSpeed / speed; in Play()
75 LOGD("toss play speed: %{public}lf, time: %{public}lf", speed, time); in Play()
76 speed_ = speed; in Play()
/foundation/ace/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/marquee/marquee1/
Dmarquee1.js19 speed: 1,
24 this.speed = 5;
27 this.speed = 50;
/foundation/ace/ace_engine/frameworks/core/gestures/
Dslide_gesture.h30 SwipeGesture(int32_t fingers, const SwipeDirection& direction, double speed) in SwipeGesture() argument
34 speed_ = speed; in SwipeGesture()
Dslide_recognizer.h34 const SwipeDirection& direction, double speed) in SlideRecognizer() argument
35 : direction_(direction), speed_(speed), context_(context) in SlideRecognizer()
65 void ChangeSpeed(double speed);
Dslide_gesture.cpp30 double speed = newContext->NormalizeToPx(Dimension(speed_, DimensionUnit::VP)); in CreateRecognizer() local
33 slideRecognizer = AceType::MakeRefPtr<SlideRecognizer>(context, fingers_, direction_, speed); in CreateRecognizer()
/foundation/multimedia/media_lite/services/player_lite/impl/
Dplayer_impl.cpp664 static int32_t PlayerControlCheckTPlayAttr(const float speed, TplayDirect direction) in PlayerControlCheckTPlayAttr() argument
670 if (speed != PLAY_SPEED_2X_FAST && in PlayerControlCheckTPlayAttr()
671 speed != PLAY_SPEED_4X_FAST && in PlayerControlCheckTPlayAttr()
672 speed != PLAY_SPEED_8X_FAST && in PlayerControlCheckTPlayAttr()
673 speed != PLAY_SPEED_16X_FAST && in PlayerControlCheckTPlayAttr()
674 speed != PLAY_SPEED_32X_FAST && in PlayerControlCheckTPlayAttr()
675 speed != PLAY_SPEED_64X_FAST && in PlayerControlCheckTPlayAttr()
676 speed != PLAY_SPEED_128X_FAST) { in PlayerControlCheckTPlayAttr()
683 int32_t PlayerImpl::SetPlaybackSpeed(float speed) in SetPlaybackSpeed() argument
687 if (speed <= 0.f) { in SetPlaybackSpeed()
[all …]
/foundation/multimedia/media_lite/services/player_lite/impl/player_control/sink/
Dplayer_sink_manager.h69 int32_t SetSpeed(float speed, TplayDirect tplayDirect);
70 int32_t GetSpeed(float &speed, TplayDirect &tplayDirect);
85 int32_t Tplay(float speed, TplayDirect tplayDirect);
Dplayer_sink_manager.cpp244 int32_t SinkManager::Tplay(float speed, TplayDirect tplayDirect) in Tplay() argument
253 ret = sync_->SetSpeed(speed, tplayDirect); in Tplay()
270 speed_ = speed; in Tplay()
275 int32_t SinkManager::SetSpeed(float speed, TplayDirect tplayDirect) in SetSpeed() argument
277 if (speed_ == speed && tplayDirect == direction_) { in SetSpeed()
280 if (speed == 1.0) { /* tplay ---> normal */ in SetSpeed()
283 Tplay(speed, tplayDirect); in SetSpeed()
288 int32_t SinkManager::GetSpeed(float &speed, TplayDirect &tplayDirect) in GetSpeed() argument
290 speed = speed_; in GetSpeed()
Dplayer_video_sink.h44 int32_t SetSpeed(float speed);
45 int32_t GetSpeed(float &speed);
/foundation/multimedia/media_lite/frameworks/player_lite/passthrough/
Dplayer.cpp185 int32_t Player::SetPlaybackSpeed(float speed) in SetPlaybackSpeed() argument
189 return g_player->SetPlaybackSpeed(speed); in SetPlaybackSpeed()
192 int32_t Player::GetPlaybackSpeed(float &speed) in GetPlaybackSpeed() argument
196 return g_player->GetPlaybackSpeed(speed); in GetPlaybackSpeed()
/foundation/multimedia/media_lite/frameworks/player_lite/binder/
Dplayer.cpp194 int32_t Player::SetPlaybackSpeed(float speed) in SetPlaybackSpeed() argument
198 return player_->SetPlaybackSpeed(speed); in SetPlaybackSpeed()
201 int32_t Player::GetPlaybackSpeed(float &speed) in GetPlaybackSpeed() argument
205 return player_->GetPlaybackSpeed(speed); in GetPlaybackSpeed()
Dplayer_client.h70 int32_t SetPlaybackSpeed(float speed);
71 int32_t GetPlaybackSpeed(float &speed);
/foundation/graphic/standard/rosen/modules/render_service_base/include/animation/
Drs_animation_timing_protocol.h46 void SetSpeed(float speed) in SetSpeed() argument
48 speed_ = speed; in SetSpeed()
/foundation/communication/ipc/services/dbinder/test/distributedtest/src/
Ddbinder_distributed_test.cpp228 float speed = GetSpeed(finishTime - startTime, LEGAL_SIZE_S, MULTIPLEX_TIMES); variable
229 printf("Transfer 3k data with speed of %.2fk/s.\n", speed);
238 speed = GetSpeed(finishTime - startTime, LEGAL_SIZE_M, MULTIPLEX_TIMES);
239 printf("Transfer 16k data with speed of %.2fk/s.\n", speed);
248 speed = GetSpeed(finishTime - startTime, LEGAL_SIZE_L, MULTIPLEX_TIMES);
249 printf("Transfer 63k data with speed of %.2fk/s.\n", speed);
886 float speed = GetSpeed(finishTime - startTime, rawData10K, MULTIPLEX_TIMES); variable
887 printf("Transfer 10K raw data with speed of %.2fk/s.\n", speed);
895 speed = GetSpeed(finishTime - startTime, rawData100K, MULTIPLEX_TIMES);
896 printf("Transfer 100K raw data with speed of %.2fk/s.\n", speed);
[all …]
/foundation/multimedia/histreamer/tests/ut/plugins/
DUtAudioSinkTest1.h40 Status GetSpeed(float &speed) override;
42 Status SetSpeed(float speed) override;
DUtAudioSinkTest2.h40 Status GetSpeed(float &speed) override;
42 Status SetSpeed(float speed) override;
DUtAudioSinkTest2.cpp57 Status UtAudioSinkTest2::GetSpeed(float &speed) in GetSpeed() argument
62 Status UtAudioSinkTest2::SetSpeed(float speed) in SetSpeed() argument
DUtAudioSinkTest1.cpp57 Status UtAudioSinkTest1::GetSpeed(float &speed) in GetSpeed() argument
62 Status UtAudioSinkTest1::SetSpeed(float speed) in SetSpeed() argument
/foundation/graphic/ui/frameworks/components/
Dui_label.cpp125 animator_.speed = DEFAULT_ANIMATOR_SPEED;
337 animator->SetAnimatorSpeed(animator_.speed); in RemeasureForMarquee()
364 void UILabel::SetRollSpeed(uint16_t speed) in SetRollSpeed() argument
367 static_cast<LabelAnimator*>(animator_.animator)->SetAnimatorSpeed(speed); in SetRollSpeed()
369 animator_.speed = speed; in SetRollSpeed()
/foundation/multimedia/histreamer/engine/plugin/interface/
Daudio_sink_plugin.h94 virtual Status GetSpeed(float& speed) = 0;
106 virtual Status SetSpeed(float speed) = 0;
/foundation/multimedia/media_lite/interfaces/innerkits/
Dplayer_interface.h48 virtual int32_t SetPlaybackSpeed(float speed) = 0;
49 virtual int32_t GetPlaybackSpeed(float &speed) = 0;
/foundation/multimedia/media_lite/interfaces/kits/player_lite/
Dplayer.h382 int32_t SetPlaybackSpeed(float speed);
390 int32_t GetPlaybackSpeed(float &speed);
/foundation/ace/ace_engine/frameworks/core/components/video/
Dvideo_component.h202 void SetSpeed(float speed) in SetSpeed() argument
204 if (GreatOrEqual(speed, 0.1) && LessOrEqual(speed, 20.0)) { in SetSpeed()
205 speed_ = speed; in SetSpeed()
/foundation/graphic/standard/rosen/modules/render_service_base/src/animation/
Drs_render_animation.cpp52 float speed = 0.0; in ParseParam() local
56 … parcel.ReadFloat(speed) && parcel.ReadInt32(repeatCount) && parcel.ReadBool(autoReverse) && in ParseParam()
65 SetSpeed(speed); in ParseParam()

123