/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/ |
D | MusicProvider.java | 96 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/example/Settings/ |
D | device_for_strategy_sonification_respectful.pfw | 7 # - 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 74 # SonificationRespectful follows media if music stream is active 101 # SonificationRespectful follows media if music stream is active 128 # SonificationRespectful follows media if music stream is active 246 # SonificationRespectful follows media if music stream is active 273 # SonificationRespectful follows media if music stream is active 310 # SonificationRespectful follows media if music stream is active 347 # SonificationRespectful follows media if music stream is active 378 # SonificationRespectful follows media if music stream is active [all …]
|
D | strategy_for_stream.pfw | 6 # NOTE: SYSTEM stream uses MEDIA strategy because muting music and switching outputs 11 /Policy/policy/streams/music/applicable_strategy/strategy = media
|
D | volumes.pfw | 119 component: music/volume_profiles
|
/frameworks/base/docs/html/guide/topics/media/jet/ |
D | jetcreator_manual.jd | 15 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/ |
D | audio-focus.jd | 35 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.
|
D | volume-playback.jd | 47 <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>
|
D | audio-output.jd | 60 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
|
D | index.jd | 54 interact. To avoid every music app playing at the same time, Android uses audio focus to moderate
|
/frameworks/base/docs/html/training/auto/audio/ |
D | index.jd | 61 Drivers want to access their music and other audio content on the road. Audio books, podcasts, 70 implementing a service for accessing music tracks, you can enable Auto devices to discover your 87 displays a launcher icon for your app as a music provider and the user can choose to use your 320 // Optional: if your app needs to adapt ads, music library or anything 342 // Assume for example that the music catalog is already loaded/cached. 433 <strong>Note:</strong> Google Play requires your app not to play music immediately when it 489 <i>“Play a song”</i>, the system starts playing music without requiring the user to look at or touch 508 <p>When the user says <i>“Play music on [your app name]”</i> on an Auto screen, Auto 511 method. If the user has not specified criteria such as a track name or music genre, the 524 <a href="https://developer.android.com/guide/components/intents-common.html#PlaySearch">Play music [all …]
|
/frameworks/base/docs/html/guide/topics/media/ |
D | jetplayer.jd | 68 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
|
D | exoplayer.jd | 5 <p>Playing videos and music is a popular activity on Android devices. The Android framework
|
D | mediaplayer.jd | 352 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
|
D | mediarouter.jd | 46 <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/ |
D | widget_design.jd | 164 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/design/patterns/ |
D | widgets.jd | 45 …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/ |
D | intents.jd | 7 such as sharing a picture, sending a message, or playing music. You can do this though
|
/frameworks/base/docs/html/training/tv/playback/ |
D | now-playing.jd | 22 <p>TV apps may allow users to play music or other media in the background while using other 24 provide a means for the user to return to the app to pause the music or switch to a new song. The
|
/frameworks/base/docs/html/training/wearables/data-layer/ |
D | index.jd | 66 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/ |
D | index.jd | 31 publishing video or music content so that your media appears alongside traditional TV channels in
|
/frameworks/base/docs/html/training/auto/start/ |
D | index.jd | 41 <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/native/opengl/tests/angeles/ |
D | README.txt | 72 * Toni L�nnberg (!Cube) created the music for original version, which
|
/frameworks/base/docs/html/guide/components/ |
D | services.jd | 57 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 646 <p>For example, a music player that plays music from a service should be set to run in the 649 the user to launch an activity to interact with the music player.</p> 711 music service could be started by calling {@link android.content.Context#startService 712 startService()} with an {@link android.content.Intent} that identifies the music to play. Later, 780 music playback service could create the thread where the music will be played in {@link
|
/frameworks/base/docs/html/design/tv/ |
D | index.jd | 39 connections between content. A favorite movie may lead to the discovery of a new music artist;
|
/frameworks/base/media/java/android/media/ |
D | MediaScanner.java | 548 boolean music = (lowpath.indexOf(MUSIC_DIR) > 0) || 569 result = endFile(entry, ringtones, notifications, alarms, music, podcasts); 806 boolean alarms, boolean music, boolean podcasts) 850 values.put(Audio.Media.IS_MUSIC, music);
|