Home
last modified time | relevance | path

Searched refs:PlayerSeekMode (Results 1 – 4 of 4) sorted by relevance

/base/web/webview/ohos_adapter/media_adapter/src/
Dplayer_framework_adapter_impl.cpp93 Media::PlayerSeekMode ConvertSeekMode(NWeb::PlayerSeekMode mode) in ConvertSeekMode()
95 Media::PlayerSeekMode ret = Media::SEEK_CLOSEST; in ConvertSeekMode()
97 case NWeb::PlayerSeekMode::SEEK_NEXT_SYNC: in ConvertSeekMode()
100 case NWeb::PlayerSeekMode::SEEK_PREVIOUS_SYNC: in ConvertSeekMode()
103 case NWeb::PlayerSeekMode::SEEK_CLOSEST_SYNC: in ConvertSeekMode()
106 case NWeb::PlayerSeekMode::SEEK_CLOSEST: in ConvertSeekMode()
233 int32_t PlayerAdapterImpl::Seek(int32_t mSeconds, PlayerSeekMode mode) in Seek()
/base/web/webview/test/unittest/ohos_adapter/media_adapter_test/
Dplayer_framework_adapter_impl_test.cpp79 EXPECT_EQ(playerAdapter_->Seek(0, PlayerSeekMode::SEEK_CLOSEST_SYNC), -1);
105 EXPECT_NE(playerAdapter_->Seek(0, PlayerSeekMode::SEEK_CLOSEST_SYNC), -1);
121 …const std::array seekModeArray = { PlayerSeekMode::SEEK_NEXT_SYNC, PlayerSeekMode::SEEK_PREVIOUS_S…
122 PlayerSeekMode::SEEK_CLOSEST_SYNC, PlayerSeekMode::SEEK_CLOSEST };
127 for (PlayerSeekMode mode : seekModeArray) {
/base/web/webview/ohos_adapter/interfaces/
Dmedia_adapter.h40 enum class PlayerSeekMode : int32_t { enum
93 virtual int32_t Seek(int32_t mSeconds, PlayerSeekMode mode) = 0;
/base/web/webview/ohos_adapter/media_adapter/include/
Dplayer_framework_adapter_impl.h53 int32_t Seek(int32_t mSeconds, PlayerSeekMode mode) override;