Home
last modified time | relevance | path

Searched refs:music (Results 1 – 25 of 87) sorted by relevance

1234

/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/
DMusicProvider.java96 JSONObject music = videos.getJSONObject(j); in retreiveMedia() local
97 String title = music.getString(TITLE); in retreiveMedia()
98 String album = music.getString(ALBUM); in retreiveMedia()
99 String artist = music.getString(ARTIST); in retreiveMedia()
100 String genre = music.getString(GENRE); in retreiveMedia()
101 String source = music.getString(SOURCE); in retreiveMedia()
106 String image = music.getString(IMAGE); in retreiveMedia()
110 int trackNumber = music.getInt(TRACK_NUMBER); in retreiveMedia()
111 int totalTrackCount = music.getInt(TOTAL_TRACK_COUNT); in retreiveMedia()
112 int duration = music.getInt(DURATION) * 1000; // ms in retreiveMedia()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/
Ddevice_for_strategy_sonification_respectful.pfw7 # - If not in call AND a music stream is active remotely: Strategy sonification (that
9 # - if not in call and no music stream active remotely and music stream active): strategy
77 # SonificationRespectful follows media if music stream is active
104 # SonificationRespectful follows media if music stream is active
131 # SonificationRespectful follows media if music stream is active
249 # SonificationRespectful follows media if music stream is active
288 # SonificationRespectful follows media if music stream is active
327 # SonificationRespectful follows media if music stream is active
364 # SonificationRespectful follows media if music stream is active
395 # SonificationRespectful follows media if music stream is active
[all …]
Dstrategy_for_stream.pfw6 # NOTE: SYSTEM stream uses MEDIA strategy because muting music and switching outputs
11 /Policy/policy/streams/music/applicable_strategy/strategy = media
Dvolumes.pfw7 /Policy/policy/streams/music/applicable_volume_profile/volume_profile = music
/frameworks/base/docs/html/guide/topics/media/jet/
Djetcreator_manual.jd15 auditioning JET files. JET is an interactive music player for small embedded
17 include interactive music soundtracks, in MIDI
80 music engine.</p>
119 <p>Interactive music can be defined as music
121 interaction or game play events. In this way, interactive music is much more
124 and games, interactive music is central to the game play. Guitar Hero is one
126 coming down the fret board, the music adapts itself and simultaneously keeps
127 score of successes and failures. JET allows for these types of music driven
133 controlling interactive music and JET is one such method. This section
140 <p>JET supports a flexible music format that
[all …]
/frameworks/base/docs/html/training/managing-audio/
Daudio-focus.jd35 interact. To avoid every music app playing at the same time, Android uses audio focus to moderate
53 plan to play audio for the foreseeable future (for example, when playing music).</p>
55 <p>The following snippet requests permanent audio focus on the music audio stream. You should
57 play or the background music for the next game level begins.</p>
65 // Use the music stream.
96 // Use the music stream.
Dvolume-playback.jd47 <p>Android maintains a separate audio stream for playing music, alarms, notifications, the incoming
61 <p>If you've got a game or music app, then chances are good that when the user hits the volume keys
62 they want to control the volume of the game or music, even if they’re currently between songs or
63 there’s no music in the current game location.</p>
84 specify (in this case “music”) whenever the target activity or fragment is visible.</p>
Daudio-output.jd60 automatically reroutes to the built in speaker. If you listen to your music at as high a volume as I
65 that listens for this intent whenever you’re playing audio. In the case of music players, users
Dindex.jd54 interact. To avoid every music app playing at the same time, Android uses audio focus to moderate
/frameworks/base/docs/html/wear/preview/
Dsupport.jd67 music does not work.
84 <li>Play music crashes when tapping on music complication in watch face.
/frameworks/base/docs/html/training/auto/audio/
Dindex.jd64 Drivers want to access their music and other audio content on the road. Audio books, podcasts,
73 implementing a service for accessing music tracks, you can enable Auto devices to discover your
90 displays a launcher icon for your app as a music provider and the user can choose to use your
249 media app must not start playing music through the car speakers.
286 app switches from playing music to running an advertisement, it is distracting
440 // Assume for example that the music catalog is already loaded/cached.
540 <strong>Note:</strong> Google Play requires your app not to play music immediately when it
602 <i>“Play a song”</i>, the system starts playing music without requiring the user to look at or touch
621 <p>When the user says <i>“Play music on [your app name]”</i> on an Auto screen, Auto
624 method. If the user has not specified criteria such as a track name or music genre, the
[all …]
/frameworks/base/docs/html/guide/topics/media/
Djetplayer.jd68 android.media.JetPlayer JetPlayer} to create an interactive music soundtrack in your game. It also
69 illustrates how to use JET events to synchronize music and game logic. The application is located at
Dexoplayer.jd5 <p>Playing videos and music is a popular activity on Android devices. The Android framework
Dmediaplayer.jd352 However, if your service is playing or streaming music, you want to prevent
406 <p>But consider the case of a service that is playing music. Clearly this is a service that the user
471 music and another application needs to notify the user of something very important,
472 the user might not hear the notification tone due to the loud music. Starting with
476 <p>When your application needs to output audio such as music or a notification,
487 music even after losing audio focus, nothing in the system will prevent that.
672 this might happen when a user is listening to music through headphones and accidentally
677 <p>You can ensure your app stops playing music in these situations by handling
712 retrieve music that the user has on the device. You can do that by querying the {@link
Dmediarouter.jd46 <p>As users connect their televisions, home theater systems and music players with wireless
61 and streams video or music directly to the receiving device. This approach is used to support
215 wireless-enabled music system.</li>
396 <strong>Note:</strong> If you are writing a music playback app and want to allow music to play
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dwidget_design.jd164 to provide a <code>minWidth</code> and <code>minHeight</code>, suppose you have a music player
170 alt="An example music player widget" id="music_example">
172 <p class="img-caption"><strong>Figure 3.</strong> An example music player widget.</p>
260 <p>Below is an example layout that a music widget showing text information and two buttons can use.
296 <p>If you now take a look at the example music widget from the previous section, you can begin to
301 alt="Excerpt flexible layouts and attributes for an example music widget"
/frameworks/base/docs/html/training/auto/start/
Dindex.jd41 <li><em>Audio apps</em> that allow users to browse and play music and spoken
106 <li>{@code media} - The app uses the Android framework APIs to play music in
140 - Create apps that let users browse and play music in the car.</li>
/frameworks/base/docs/html/design/patterns/
Dwidgets.jd45 …e of control widgets are music app widgets that allow the user to play, pause or skip music tracks…
55 A music player widget is primarily a control widget, but also keeps the user informed about what tr…
/frameworks/base/docs/html/distribute/engage/
Dintents.jd7 such as sharing a picture, sending a message, or playing music. You can do this though
/frameworks/base/docs/html/training/articles/
Dassistant.jd116 <em>additional</em> information with the assistant. For example, your music
173 through a JSON-LD object. In the example below, a music app provides
174 structured data to describe the music album the user is currently
185 .put(<strong>"@id"</strong>, <strong>"https://example.com/music/recording"</strong>)
/frameworks/base/docs/html/training/wearables/data-layer/
Dindex.jd66 class to transfer large data items, such as music and movie files, from a handheld to a wearable
81 <li>Transfer streamed data, such as music pulled from a network server or voice
/frameworks/base/docs/html/training/tv/tif/
Dindex.jd31 publishing video or music content so that your media appears alongside traditional TV channels in
/frameworks/base/docs/html/guide/components/
Dservices.jd57 handle network transactions, play music, perform file I/O, or interact with a content provider, all
111 example, if you want to play some music, but only while your activity is running, you might create
640 <p>For example, a music player that plays music from a service should be set to run in the
643 the user to launch an activity to interact with the music player.</p>
705 music service could be started by calling {@link android.content.Context#startService
706 startService()} with an {@link android.content.Intent} that identifies the music to play. Later,
774 music playback service could create the thread where the music will be played in {@link
/frameworks/native/opengl/tests/angeles/
DREADME.txt72 * Toni L�nnberg (!Cube) created the music for original version, which
/frameworks/base/docs/html/design/tv/
Dindex.jd39 connections between content. A favorite movie may lead to the discovery of a new music artist;

1234