OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Playback
(Results
1 - 25
of
28
) sorted by null
1
2
/frameworks/base/drm/java/android/drm/
DrmStore.java
120
* Defines
playback
states for content.
122
public static class
Playback
{
124
*
Playback
started.
128
*
Playback
stopped.
132
*
Playback
paused.
136
*
Playback
resumed.
157
public
Playback
() {}
/frameworks/av/include/drm/
drm_framework_common.h
126
class
Playback
{
128
Playback
();
132
* Constant field signifies
playback
start
136
* Constant field signifies
playback
stop
140
* Constant field signifies
playback
paused
144
* Constant field signifies
playback
resumed
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/
Playback.java
39
* A class that implements local media
playback
using {@link android.media.MediaPlayer}
41
public class
Playback
implements AudioManager.OnAudioFocusChangeListener,
44
private static final String TAG =
Playback
.class.getSimpleName();
53
* on
Playback
status changed
55
*
playback
state on the media sessions.
67
// allowed to reduce the volume instead of stopping
playback
.
93
public
Playback
(MusicService service, MusicProvider musicProvider) {
305
// We have lost focus. If we can duck (low
playback
volume), we can keep playing.
306
// Otherwise, we need to pause the
playback
.
314
// we were playing, so that we can resume
playback
once we get the focus back
[
all
...]
MusicService.java
58
* (should) also use the same service from your app's UI, which gives a seamless
playback
135
private
Playback
mPlayback;
176
mPlayback = new
Playback
(this, mMusicProvider);
177
mPlayback.setCallback(new
Playback
.Callback() {
466
Log.d(TAG, "updatePlaybackState,
playback
state=" + mPlayback.getState());
483
// If there is an error message, send it to the
playback
state:
485
// Error states are really only supposed to be used for errors that cause
playback
to
491
// Because the
playback
state is pulled from the
Playback
class lint thinks it may not
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/
Playback.java
39
* A class that implements local media
playback
using {@link android.media.MediaPlayer}
41
public class
Playback
implements AudioManager.OnAudioFocusChangeListener,
44
private static final String TAG =
Playback
.class.getSimpleName();
53
* on
Playback
status changed
55
*
playback
state on the media sessions.
67
// allowed to reduce the volume instead of stopping
playback
.
93
public
Playback
(MusicService service, MusicProvider musicProvider) {
305
// We have lost focus. If we can duck (low
playback
volume), we can keep playing.
306
// Otherwise, we need to pause the
playback
.
314
// we were playing, so that we can resume
playback
once we get the focus back
[
all
...]
MusicService.java
58
* (should) also use the same service from your app's UI, which gives a seamless
playback
135
private
Playback
mPlayback;
176
mPlayback = new
Playback
(this, mMusicProvider);
177
mPlayback.setCallback(new
Playback
.Callback() {
466
Log.d(TAG, "updatePlaybackState,
playback
state=" + mPlayback.getState());
483
// If there is an error message, send it to the
playback
state:
485
// Error states are really only supposed to be used for errors that cause
playback
to
491
// Because the
playback
state is pulled from the
Playback
class lint thinks it may not
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
Playback.java
43
* A class that implements local media
playback
using {@link android.media.MediaPlayer}
45
public class
Playback
implements AudioManager.OnAudioFocusChangeListener,
48
private static final String TAG = LogHelper.makeLogTag(
Playback
.class);
51
// allowed to reduce the volume instead of stopping
playback
.
96
public
Playback
(MusicService service, MusicProvider musicProvider) {
324
// We have lost focus. If we can duck (low
playback
volume), we can keep playing.
325
// Otherwise, we need to pause the
playback
.
333
// we were playing, so that we can resume
playback
once we get the focus back.
416
// song is playing, causing
playback
to stop.
432
* Releases resources used by the service for
playback
. This includes th
[
all
...]
MusicService.java
57
* (should) also use the same service from your app's UI, which gives a seamless
playback
108
public class MusicService extends MediaBrowserService implements
Playback
.Callback {
117
// indicates that the music
playback
should be paused (see {@link #onStartCommand})
137
private
Playback
mPlayback;
160
mPlayback = new
Playback
(this, mMusicProvider);
446
//
playback
state needs to be updated because the "Favorite" icon on the
605
LogHelper.d(TAG, "updatePlaybackState,
playback
state=" + mPlayback.getState());
617
// If there is an error message, send it to the
playback
state:
619
// Error states are really only supposed to be used for errors that cause
playback
to
687
* Implementation of the
Playback
.Callback interfac
[
all
...]
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
Playback.java
44
* A class that implements local media
playback
using {@link android.media.MediaPlayer}
46
public class
Playback
implements AudioManager.OnAudioFocusChangeListener,
49
private static final String TAG = "
Playback
";
52
// allowed to reduce the volume instead of stopping
playback
.
97
public
Playback
(MediaBrowserServiceSupport service, MusicProvider musicProvider) {
325
// We have lost focus. If we can duck (low
playback
volume), we can keep playing.
326
// Otherwise, we need to pause the
playback
.
334
// we were playing, so that we can resume
playback
once we get the focus back.
417
// song is playing, causing
playback
to stop.
433
* Releases resources used by the service for
playback
. This includes th
[
all
...]
MediaBrowserServiceSupport.java
60
* (should) also use the same service from your app's UI, which gives a seamless
playback
111
implements
Playback
.Callback {
120
// indicates that the music
playback
should be paused (see {@link #onStartCommand})
140
private
Playback
mPlayback;
163
mPlayback = new
Playback
(this, mMusicProvider);
487
//
playback
state needs to be updated because the "Favorite" icon on the
642
Log.d(TAG, "updatePlaybackState,
playback
state=" + mPlayback.getState());
654
// If there is an error message, send it to the
playback
state:
656
// Error states are really only supposed to be used for errors that cause
playback
to
727
* Implementation of the
Playback
.Callback interfac
[
all
...]
/external/robolectric/v1/lib/main/
android.jar
/external/robolectric/v3/runtime/
android-all-4.1.2_r1-robolectric-0.jar
android-all-4.2.2_r1.2-robolectric-0.jar
android-all-4.3_r2-robolectric-0.jar
/prebuilts/misc/common/robolectric/lib/
android-all-4.1.2_r1-robolectric-0.jar
android-all-4.2.2_r1.2-robolectric-0.jar
android-all-4.3_r2-robolectric-0.jar
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/17/
android.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/21/
android.jar
/prebuilts/sdk/22/
android.jar
/prebuilts/sdk/24/
android.jar
/prebuilts/sdk/25/
android.jar
/prebuilts/sdk/current/
android.jar
Completed in 1586 milliseconds
1
2