/ohos5.0/docs/zh-cn/third-party-cases/ |
H A D | different-touch-target-event.md | 32 private isPlaying:boolean = true 48 if (this.isPlaying){ 51 this.isPlaying = !this.isPlaying 55 this.isPlaying =!this.isPlaying 70 if (this.isPlaying){ 73 this.isPlaying = !this.isPlaying 77 this.isPlaying =!this.isPlaying 137 private isPlaying:boolean = true 164 if (this.isPlaying){ 167 this.isPlaying = !this.isPlaying [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/video/ |
H A D | video_element_v2.cpp | 85 RefPtr<Component> VideoElementV2::FireFullscreen(bool isFullScreen, bool isPlaying, const WeakPtr<T… in FireFullscreen() argument 105 videoComponent_->SetPastPlayingStatus(isPlaying); in FireFullscreen() 106 if (isPlaying) { in FireFullscreen() 112 …[weak = AceType::WeakClaim(this), singleChild](bool fullscreen, bool isPlaying, int32_t currentPos… in FireFullscreen() argument 127 client->isPlaying_ = isPlaying; in FireFullscreen() 128 … client->SetCurrentTime(isPlaying ? currentPos + 1 : currentPos, SeekMode::SEEK_CLOSEST); in FireFullscreen() 131 if (isPlaying) { in FireFullscreen() 197 …[weak = AceType::WeakClaim(this)](bool fullscreen, bool isPlaying, const WeakPtr<Texture>& texture… in SetNewComponent() argument 201 result = client->FireFullscreen(fullscreen, isPlaying, texture); in SetNewComponent()
|
H A D | video_element.cpp | 1046 video->OnPrepared(width, height, isPlaying, duration, currentPos, needFireEvent); in InitListener() 1051 auto onPlayerStatus = [videoElement, uiTaskExecutor](bool isPlaying) { in InitListener() argument 1055 uiTaskExecutor.PostSyncTask([&videoElement, isPlaying] { in InitListener() 1058 video->OnPlayerStatus(isPlaying ? PlaybackStatus::STARTED : PlaybackStatus::NONE); in InitListener() 1211 …uint32_t width, uint32_t height, bool isPlaying, uint32_t duration, uint32_t currentPos, bool need… in OnPrepared() argument 1213 isPlaying_ = isPlaying; in OnPrepared() 1232 if (isPlaying || currentPos != 0) { in OnPrepared() 1278 bool isPlaying = (status == PlaybackStatus::STARTED); in OnPlayerStatus() local 1280 isInitialState_ = !isPlaying; in OnPlayerStatus() 1283 isPlaying_ = isPlaying; in OnPlayerStatus() [all …]
|
H A D | video_element_v2.h | 39 …RefPtr<Component> FireFullscreen(bool isFullScreen, bool isPlaying, const WeakPtr<Texture>& textur…
|
H A D | video_element.h | 96 …uint32_t width, uint32_t height, bool isPlaying, uint32_t duration, uint32_t currentPos, bool need…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | media_player_impl.cpp | 73 …repared = [uiTaskExecutor, weak = WeakClaim(this)](uint32_t width, uint32_t height, bool isPlaying, in InitListener() 75 …uiTaskExecutor.PostSyncTask([weak, width, height, isPlaying, duration, currentPos, needFireEvent] { in InitListener() 84 auto onPlayerStatus = [weak = WeakClaim(this), uiTaskExecutor](bool isPlaying) { in InitListener() argument 85 uiTaskExecutor.PostSyncTask([weak, isPlaying] { in InitListener() 89 … player->stateChangeCallback_(isPlaying ? PlaybackStatus::STARTED : PlaybackStatus::PAUSED); in InitListener() 92 if (player->startRenderFrameCallback_ && isPlaying) { in InitListener()
|
/ohos5.0/docs/zh-cn/application-dev/faqs/ |
H A D | faqs-arkui-arkts.md | 116 …作符引出,即$isPlaying是this.isPlaying内部状态的双向数据绑定。当单击子组件PlayButton中的按钮时,\@Link变量更改,PlayButton与父组件中的Text和B… 124 @State isPlaying: boolean = false 127 PlayButton({ buttonPlaying: $isPlaying }) 128 Text(`Player is ${this.isPlaying ? '' : 'not'} playing`).fontSize(18) 129 Button('Parent:' + this.isPlaying) 132 this.isPlaying = !this.isPlaying
|
/ohos5.0/foundation/multimedia/av_session/test/resource/ |
H A D | player_index_js.md | 143 this.playerModel.setOnStatusChangedListener((isPlaying) => { 145 ….info(' ttt AVSessionPlayer[IndexPage] on player status changed, isPlaying=' + isPlaying + ', refr… 146 if (isPlaying) { 259 ….info(' ttt AVSessionPlayer[IndexPage] on Play success, isPlaying=' + this.playerModel.isPlaying +… 280 ….info(' ttt AVSessionPlayer[IndexPage] onPause success, isPlaying ' + this.playerModel.isPlaying +… 541 …nsole.info(' ttt AVSessionPlayer[IndexPage] onPlayClick, isPlaying=' + this.playerModel.isPlaying); 542 if (this.playerModel.isPlaying) { 576 …sole.info(' ttt AVSessionPlayer[IndexPage] onPlayClick isPlaying :' + this_.playerModel.isPlaying); 740 if (this.playerModel.isPlaying) {
|
H A D | controller_index_js.md | 39 isPlaying: false, 255 this.isPlaying = false; 341 this.isPlaying = true; 346 this.isPlaying = false; 660 if (this.isPlaying) { 662 this.isPlaying = false; 671 this.isPlaying = true; 694 if (this.isPlaying == false) { 696 this.isPlaying = true; 719 if (this.isPlaying == false) { [all …]
|
/ohos5.0/docs/zh-cn/application-dev/performance/ |
H A D | performance-quick-switch-short-video.md | 212 this.isPlaying = false; 218 this.isPlaying = true; 303 this.isPlaying = false; 308 this.isPlaying = true; 321 this.isPlaying = true;
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-audio-kit/ |
H A D | js-apis-audioHaptic.md | 538 let isPlaying: boolean; // 标识符,表示是否正在渲染 552 isPlaying = false; // 简化处理,代表应用切换至暂停状态的若干操作 557 isPlaying = false; // 简化处理,代表应用切换至暂停状态的若干操作 612 let isPlaying: boolean; // 标识符,表示是否正在渲染 625 isPlaying = false; // 简化处理,代表应用切换至暂停状态的若干操作 630 isPlaying = false; // 简化处理,代表应用切换至暂停状态的若干操作
|
H A D | js-apis-inner-multimedia-ringtonePlayer-sys.md | 458 let isPlaying: boolean; // 标识符,表示是否正在渲染 468 isPlaying = false; // 简化处理,代表应用切换至暂停状态的若干操作 473 isPlaying = false; // 简化处理,代表应用切换至暂停状态的若干操作
|
/ohos5.0/docs/en/application-dev/faqs/ |
H A D | faqs-arkui-arkts.md | 112 …isPlaying** enables two-way binding of the internal state **this.isPlaying**. When the button in t… 120 @State isPlaying: boolean = false 123 PlayButton({ buttonPlaying: $isPlaying }) 124 Text(`Player is ${this.isPlaying ? '' : 'not'} playing`).fontSize(18) 125 Button('Parent:' + this.isPlaying) 128 this.isPlaying = !this.isPlaying
|
/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | arkts-reusable.md | 151 @State isPlaying: boolean = false; 175 if (this.isPlaying) { 178 PlayButton({ buttonPlaying: $isPlaying }) 183 Text(`Parent=child==is ${this.isPlaying ? '' : 'not'} playing`).fontSize(14) 184 Button('Parent=child===controll=' + this.isPlaying) 187 this.isPlaying = !this.isPlaying;
|
/ohos5.0/foundation/ai/intelligent_voice_framework/services/intell_voice_trigger/server/ |
H A D | trigger_helper.cpp | 644 bool isPlaying = false; in OnRendererStateChange() local 646 isPlaying = true; in OnRendererStateChange() 650 stateMap[info->rendererInfo.streamUsage] = isPlaying; in OnRendererStateChange()
|
H A D | trigger_helper.h | 112 void OnUpdateRendererState(int32_t streamUsage, bool isPlaying);
|
/ohos5.0/docs/en/application-dev/reference/apis-audio-kit/ |
H A D | js-apis-audioHaptic.md | 538 let isPlaying: boolean; // An identifier specifying whether rendering is in progress. 552 …isPlaying = false; // A simplified processing indicating several operations for switching the appl… 557 …isPlaying = false; // A simplified processing indicating several operations for switching the appl… 612 let isPlaying: boolean; // An identifier specifying whether rendering is in progress. 625 …isPlaying = false; // A simplified processing indicating several operations for switching the appl… 630 …isPlaying = false; // A simplified processing indicating several operations for switching the appl…
|
H A D | js-apis-inner-multimedia-ringtonePlayer-sys.md | 458 let isPlaying: boolean; // An identifier specifying whether rendering is in progress. 468 …isPlaying = false; // A simplified processing indicating several operations for switching the appl… 473 …isPlaying = false; // A simplified processing indicating several operations for switching the appl…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/ |
H A D | video_pattern.cpp | 528 void VideoPattern::ChangePlayerStatus(bool isPlaying, const PlaybackStatus& status) in ChangePlayerStatus() argument 530 if (isPlaying) { in ChangePlayerStatus() 581 bool isPlaying = (status == PlaybackStatus::STARTED); in OnPlayerStatus() local 582 if (isPlaying_ != isPlaying) { in OnPlayerStatus() 583 isPlaying_ = isPlaying; in OnPlayerStatus() 588 isInitialState_ = !isPlaying; in OnPlayerStatus() 591 ChangePlayerStatus(isPlaying, status); in OnPlayerStatus()
|
H A D | video_pattern.h | 343 void ChangePlayerStatus(bool isPlaying, const PlaybackStatus& status);
|
/ohos5.0/docs/en/application-dev/quick-start/ |
H A D | arkts-reusable.md | 149 @State isPlaying: boolean = false; 173 if (this.isPlaying) { 176 PlayButton({ buttonPlaying: $isPlaying }) 181 Text(`Parent=child==is ${this.isPlaying ? '' : 'not'} playing`).fontSize(14) 182 Button('Parent=child===controll=' + this.isPlaying) 185 this.isPlaying = !this.isPlaying;
|
/ohos5.0/foundation/multimedia/media_lite/services/player_lite/impl/ |
H A D | player_impl.cpp | 383 bool isPlaying = false; in IsPlaying() local 385 isPlaying = (currentState_ != PLAYER_STARTED) ? false : true; in IsPlaying() 387 return isPlaying; in IsPlaying()
|
/ohos5.0/foundation/multimedia/player_framework/services/services/player/player_mem_manage/ |
H A D | player_server_mem.h | 119 bool isPlaying = false; member
|
H A D | player_server_mem.cpp | 500 MEDIA_LOGI("User call IsPlaying:%{public}d", recoverConfig_.isPlaying); in IsPlaying() 501 return recoverConfig_.isPlaying; in IsPlaying() 739 recoverConfig_.isPlaying = PlayerServer::IsPlaying(); in GetInformationBeforeMemReset()
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/av_receiver/src/ |
H A D | av_receiver_engine.cpp | 654 bool isPlaying = (GetCurrentState() == StateId::PLAYING); in OnEvent() local 655 …receiverCallback_->OnReceiverEvent(AVTransEvent{CastEventType(plugEvt.type, isPlaying), "", peerDe… in OnEvent()
|