OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:playbackState
(Results
1 - 14
of
14
) sorted by null
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/ui/
MainActivity.java
153
public void onPlaybackStateChanged(PlaybackStateCompat
playbackState
) {
154
mIsPlaying =
playbackState
!= null &&
155
playbackState
.getState() == PlaybackStateCompat.STATE_PLAYING;
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/ui/
MainActivity.java
153
public void onPlaybackStateChanged(PlaybackStateCompat
playbackState
) {
154
mIsPlaying =
playbackState
!= null &&
155
playbackState
.getState() == PlaybackStateCompat.STATE_PLAYING;
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/client/
MediaBrowserHelper.java
164
final PlaybackStateCompat
playbackState
= mMediaController.getPlaybackState();
165
if (
playbackState
!= null) {
166
callback.onPlaybackStateChanged(
playbackState
);
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/client/
MediaBrowserHelper.java
164
final PlaybackStateCompat
playbackState
= mMediaController.getPlaybackState();
165
if (
playbackState
!= null) {
166
callback.onPlaybackStateChanged(
playbackState
);
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
BluetoothMediaFacade.java
27
import android.media.session.
PlaybackState
;
184
public void onPlaybackStateChanged(
PlaybackState
state) {
257
* @param
playbackState
PlaybackState
change that is posted as an Event to the client.
259
public static void dispatchPlaybackStateChanged(int
playbackState
) {
261
switch (
playbackState
) {
262
case
PlaybackState
.STATE_PLAYING:
265
case
PlaybackState
.STATE_PAUSED:
268
case
PlaybackState
.STATE_SKIPPING_TO_NEXT:
271
case
PlaybackState
.STATE_SKIPPING_TO_PREVIOUS
[
all
...]
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/
RichTvInputService.java
154
public void onPlayerStateChanged(boolean playWhenReady, int
playbackState
) {
155
if (playWhenReady == true &&
playbackState
== ExoPlayer.STATE_BUFFERING) {
159
} else if (playWhenReady == true &&
playbackState
== ExoPlayer.STATE_READY) {
/developers/build/prebuilts/gradle/PictureInPicture/kotlinApp/app/src/androidTest/java/com/example/android/pictureinpicture/
MediaSessionPlaybackActivityTest.kt
121
val state = rule.activity.mediaController.
playbackState
/developers/samples/android/media/PictureInPicture/kotlinApp/app/src/androidTest/java/com/example/android/pictureinpicture/
MediaSessionPlaybackActivityTest.kt
121
val state = rule.activity.mediaController.
playbackState
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/player/
TvInputPlayer.java
156
public void onPlayerStateChanged(boolean playWhenReady, int
playbackState
) {
158
callback.onPlayerStateChanged(playWhenReady,
playbackState
);
/developers/build/prebuilts/gradle/PictureInPicture/kotlinApp/app/src/main/java/com/example/android/pictureinpicture/
MediaSessionPlaybackActivity.kt
237
val actions = mSession.controller.
playbackState
.actions
/developers/samples/android/media/PictureInPicture/kotlinApp/app/src/main/java/com/example/android/pictureinpicture/
MediaSessionPlaybackActivity.kt
237
val actions = mSession.controller.
playbackState
.actions
/cts/tests/tests/media/src/android/media/cts/
MediaSessionTest.java
39
import android.media.session.
PlaybackState
;
177
PlaybackState
state = new
PlaybackState
.Builder().setActions(TEST_ACTION).build();
184
PlaybackState
stateOut = mCallback.mPlaybackState;
341
setPlaybackState(
PlaybackState
.STATE_PLAYING);
391
setPlaybackState(
PlaybackState
.STATE_PAUSED);
399
setPlaybackState(
PlaybackState
.STATE_PLAYING);
407
setPlaybackState(
PlaybackState
.STATE_PLAYING);
419
setPlaybackState(
PlaybackState
.STATE_PAUSED);
430
setPlaybackState(
PlaybackState
.STATE_PAUSED)
[
all
...]
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
JsonBuilder.java
33
import android.media.session.
PlaybackState
;
221
if (data instanceof
PlaybackState
) {
222
return buildJsonPlaybackState((
PlaybackState
) data);
628
private static JSONObject buildJsonPlaybackState(
PlaybackState
playbackState
)
631
result.put("state",
playbackState
.getState());
632
result.put("position",
playbackState
.getPosition());
633
result.put("speed",
playbackState
.getPlaybackSpeed());
634
result.put("actions",
playbackState
.getActions());
[
all
...]
/developers/build/prebuilts/androidtv/sample-inputs/app/libs/
exoplayer_dev-hls_20150123.jar
Completed in 1558 milliseconds