Home | History | Annotate | Download | only in media

Lines Matching defs:host

88                 PlaybackGlueHostImpl host = new PlaybackGlueHostImpl();
89 mGlue.setHost(host);
117 PlaybackGlueHostImpl host = new PlaybackGlueHostImpl();
119 mGlue.setHost(host);
120 assertSame(mGlue, host.mGlue);
121 assertSame(host, mGlue.getHost());
122 assertTrue(host.mPlaybackRowPresenter instanceof PlaybackTransportRowPresenter);
123 assertTrue(host.mRow instanceof PlaybackControlsRow);
142 PlaybackGlueHostImpl host = new PlaybackGlueHostImpl();
144 mGlue.setHost(host);
145 assertSame(mGlue, host.mGlue);
146 assertSame(host, mGlue.getHost());
147 assertSame(host.mPlaybackRowPresenter, presenter);
148 assertTrue(host.mRow instanceof PlaybackControlsRow);
163 PlaybackGlueHostImpl host = new PlaybackGlueHostImpl();
165 mGlue.setHost(host);
166 assertSame(mGlue, host.mGlue);
167 assertSame(host, mGlue.getHost());
168 assertTrue(host.mPlaybackRowPresenter instanceof PlaybackTransportRowPresenter);
169 assertSame(host.mRow, row);
191 PlaybackGlueHostImpl host = new PlaybackGlueHostImpl();
193 mGlue.setHost(host);
194 assertSame(mGlue, host.mGlue);
195 assertSame(host, mGlue.getHost());
196 assertSame(host.mPlaybackRowPresenter, presenter);
197 assertSame(host.mRow, row);
248 // fire events before attach to host.
252 PlaybackGlueHostImpl host = new PlaybackGlueHostImpl();
253 host.setPlayerCallback(hostCallback);
254 mGlue.setHost(host);
258 // when attach to host, should pass the buffering state, video size and last error message
259 // to the host.
270 PlaybackGlueHostImpl host = new PlaybackGlueHostImpl();
271 host.setPlayerCallback(hostCallback2);
272 mGlue.setHost(host);
276 // when detach from host, should have host stop buffering.
281 // attach to a different host, buffering state and video size should be saved, one time