|
PuzzleSDK
|
#include <UIVideoPlayerTest.h>
类 VideoPlayerTest 继承关系图:
VideoPlayerTest 的协作图:Public 成员函数 | |
| CREATE_FUNC (VideoPlayerTest) | |
| virtual bool | init () override |
| void | menuCloseCallback (cocos2d::Ref *sender) |
| void | menuRatioCallback (cocos2d::Ref *sender) |
| void | menuResourceVideoCallback (cocos2d::Ref *sender) |
| void | menuOnlineVideoCallback (cocos2d::Ref *sender) |
| void | menuFullScreenCallback (cocos2d::Ref *sender) |
| void | menuPauseCallback (cocos2d::Ref *sender) |
| void | menuResumeCallback (cocos2d::Ref *sender) |
| void | menuStopCallback (cocos2d::Ref *sender) |
| void | menuHintCallback (cocos2d::Ref *sender) |
| void | menuLoopCallback (cocos2d::Ref *sender) |
| void | sliderCallback (cocos2d::Ref *sender, cocos2d::ui::Slider::EventType eventType) |
| void | videoEventCallback (cocos2d::Ref *sender, cocos2d::ui::VideoPlayer::EventType eventType) |
Public 成员函数 继承自 UIScene | |
| UIScene () | |
| ~UIScene () | |
| virtual void | onEnter () override |
Public 成员函数 继承自 TestCase | |
| TestCase () | |
| ~TestCase () | |
| virtual std::string | title () const |
| virtual std::string | subtitle () const |
| virtual Type | getTestType () const |
| virtual float | getDuration () const |
| virtual std::string | getExpectedOutput () const |
| virtual std::string | getActualOutput () const |
| virtual void | restartTestCallback (cocos2d::Ref *sender) |
| virtual void | nextTestCallback (cocos2d::Ref *sender) |
| virtual void | priorTestCallback (cocos2d::Ref *sender) |
| virtual void | onBackCallback (cocos2d::Ref *sender) |
| void | setTestSuite (TestSuite *testSuite) |
| TestSuite * | getTestSuite () const |
| float | getRunTime () const |
| void | setTestCaseName (const std::string &name) |
| std::string | getTestCaseName () const |
| const cocos2d::Label * | getSubtitleLable () const |
| const cocos2d::MenuItemImage * | getRestartTestItem () const |
Private 成员函数 | |
| void | createVideo () |
| void | createSlider () |
Private 属性 | |
| cocos2d::ui::VideoPlayer * | _videoPlayer |
| cocos2d::Label * | _videoStateLabel |
| cocos2d::Label * | _loopStatusLabel |
| cocos2d::Rect | _visibleRect |
额外继承的成员函数 | |
Public 类型 继承自 TestCase | |
| enum class | Type { ROBUSTNESS , UNIT , GRAPHICAL_STATIC , MANUAL } |
Public 属性 继承自 TestCase | |
| CC_CONSTRUCTOR_ACCESS | __pad0__: virtual bool init() override |
Protected 属性 继承自 UIScene | |
| cocos2d::Layer * | _uiLayer |
| cocos2d::ui::Layout * | _widget |
| cocos2d::ui::Text * | _sceneTitle |
Protected 属性 继承自 TestCase | |
| cocos2d::MenuItemImage * | _priorTestItem |
| cocos2d::MenuItemImage * | _restartTestItem |
| cocos2d::MenuItemImage * | _nextTestItem |
| cocos2d::Label * | _titleLabel |
| cocos2d::Label * | _subtitleLabel |
在文件 UIVideoPlayerTest.h 第 32 行定义.
| VideoPlayerTest::CREATE_FUNC | ( | VideoPlayerTest | ) |
|
private |
在文件 UIVideoPlayerTest.cpp 第 201 行定义.
引用了 UIScene::_uiLayer, _visibleRect , 以及 sliderCallback().
函数调用图:
|
private |
在文件 UIVideoPlayerTest.cpp 第 186 行定义.
引用了 UIScene::_uiLayer, _videoPlayer, _visibleRect, UIScene::_widget , 以及 videoEventCallback().
被这些函数引用 init().
函数调用图:
这是这个函数的调用关系图:
|
overridevirtual |
重载 UIScene .
在文件 UIVideoPlayerTest.cpp 第 36 行定义.
引用了 _loopStatusLabel, UIScene::_uiLayer, _videoStateLabel, _visibleRect, createVideo(), UIScene::init(), menuFullScreenCallback(), menuHintCallback(), menuLoopCallback(), menuOnlineVideoCallback(), menuPauseCallback(), menuRatioCallback(), menuResourceVideoCallback(), menuResumeCallback() , 以及 menuStopCallback().
函数调用图:| void VideoPlayerTest::menuCloseCallback | ( | cocos2d::Ref * | sender | ) |
在文件 UIVideoPlayerTest.cpp 第 105 行定义.
| void VideoPlayerTest::menuFullScreenCallback | ( | cocos2d::Ref * | sender | ) |
| void VideoPlayerTest::menuHintCallback | ( | cocos2d::Ref * | sender | ) |
| void VideoPlayerTest::menuLoopCallback | ( | cocos2d::Ref * | sender | ) |
在文件 UIVideoPlayerTest.cpp 第 126 行定义.
引用了 _loopStatusLabel , 以及 _videoPlayer.
被这些函数引用 init().
这是这个函数的调用关系图:| void VideoPlayerTest::menuOnlineVideoCallback | ( | cocos2d::Ref * | sender | ) |
| void VideoPlayerTest::menuPauseCallback | ( | cocos2d::Ref * | sender | ) |
| void VideoPlayerTest::menuRatioCallback | ( | cocos2d::Ref * | sender | ) |
| void VideoPlayerTest::menuResourceVideoCallback | ( | cocos2d::Ref * | sender | ) |
| void VideoPlayerTest::menuResumeCallback | ( | cocos2d::Ref * | sender | ) |
| void VideoPlayerTest::menuStopCallback | ( | cocos2d::Ref * | sender | ) |
| void VideoPlayerTest::sliderCallback | ( | cocos2d::Ref * | sender, |
| cocos2d::ui::Slider::EventType | eventType | ||
| ) |
在文件 UIVideoPlayerTest.cpp 第 227 行定义.
引用了 _videoPlayer , 以及 _visibleRect.
被这些函数引用 createSlider().
这是这个函数的调用关系图:| void VideoPlayerTest::videoEventCallback | ( | cocos2d::Ref * | sender, |
| cocos2d::ui::VideoPlayer::EventType | eventType | ||
| ) |
|
private |
在文件 UIVideoPlayerTest.h 第 62 行定义.
被这些函数引用 init() , 以及 menuLoopCallback().
|
private |
|
private |
在文件 UIVideoPlayerTest.h 第 61 行定义.
被这些函数引用 init() , 以及 videoEventCallback().
|
private |
在文件 UIVideoPlayerTest.h 第 63 行定义.
被这些函数引用 createSlider(), createVideo(), init() , 以及 sliderCallback().