Home
last modified time | relevance | path

Searched refs:player (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Mms/src/com/android/mms/transaction/
DNotificationPlayer.java89 MediaPlayer player = new MediaPlayer(); in run() local
90 player.setAudioStreamType(mCmd.stream); in run()
91 player.setDataSource(mCmd.context, mCmd.uri); in run()
92 player.setLooping(mCmd.looping); in run()
93 player.setVolume(mCmd.volume, mCmd.volume); in run()
94 player.prepare(); in run()
105 player.setOnCompletionListener(NotificationPlayer.this); in run()
106 player.start(); in run()
110 mPlayer = player; in run()
DMessagingNotification.java313 final NotificationPlayer player = new NotificationPlayer(LogTag.APP); in playInConversationNotificationSound() local
314 player.play(context, ringtoneUri, false, AudioManager.STREAM_NOTIFICATION, in playInConversationNotificationSound()
321 player.stop(); in playInConversationNotificationSound()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmKlaxon.java129 private static void startAlarm(Context context, MediaPlayer player) throws IOException { in startAlarm() argument
133 player.setAudioStreamType(AudioManager.STREAM_ALARM); in startAlarm()
134 player.setLooping(true); in startAlarm()
135 player.prepare(); in startAlarm()
138 player.start(); in startAlarm()
142 private static void setDataSourceFromResource(Context context, MediaPlayer player, int res) in setDataSourceFromResource() argument
146 player.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in setDataSourceFromResource()
/packages/apps/DeskClock/src/com/android/deskclock/
DTimerRingService.java159 private void startAlarm(MediaPlayer player) in startAlarm() argument
166 player.setAudioStreamType(AudioManager.STREAM_ALARM); in startAlarm()
167 player.setLooping(true); in startAlarm()
168 player.prepare(); in startAlarm()
171 player.start(); in startAlarm()
176 MediaPlayer player, int res) throws java.io.IOException { in setDataSourceFromResource() argument
179 player.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), in setDataSourceFromResource()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java355 private static void startAlarm(MediaPlayer player) in startAlarm() argument
357 player.setAudioStreamType(AudioManager.STREAM_NOTIFICATION); in startAlarm()
358 player.setLooping(true); in startAlarm()
359 player.prepare(); in startAlarm()
360 player.start(); in startAlarm()
364 MediaPlayer player, int res) throws java.io.IOException { in setDataSourceFromResource() argument
367 player.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), in setDataSourceFromResource()
/packages/apps/Stk/src/com/android/stk/
DToneDialog.java40 TonePlayer player = null; field in ToneDialog
89 player = new TonePlayer(); in onCreate()
90 player.play(settings.tone); in onCreate()
107 player.stop(); in onDestroy()
108 player.release(); in onDestroy()
/packages/apps/Music/src/com/android/music/
DAudioPreview.java106 PreviewPlayer player = (PreviewPlayer) getLastNonConfigurationInstance(); in onCreate() local
107 if (player == null) { in onCreate()
123 mPlayer = player; in onCreate()
200 PreviewPlayer player = mPlayer; in onRetainNonConfigurationInstance() local
202 return player; in onRetainNonConfigurationInstance()
DMediaPlaybackService.java1882 private boolean setDataSourceImpl(MediaPlayer player, String path) { in setDataSourceImpl() argument
1884 player.reset(); in setDataSourceImpl()
1885 player.setOnPreparedListener(null); in setDataSourceImpl()
1887 player.setDataSource(MediaPlaybackService.this, Uri.parse(path)); in setDataSourceImpl()
1889 player.setDataSource(path); in setDataSourceImpl()
1891 player.setAudioStreamType(AudioManager.STREAM_MUSIC); in setDataSourceImpl()
1892 player.prepare(); in setDataSourceImpl()
1900 player.setOnCompletionListener(listener); in setDataSourceImpl()
1901 player.setOnErrorListener(errorListener); in setDataSourceImpl()
/packages/apps/Mms/src/com/android/mms/ui/
DSlideshowActivity.java350 public SmilPlayerController(SmilPlayer player) { in SmilPlayerController() argument
351 mPlayer = player; in SmilPlayerController()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DMoviePlayer.java156 public void onPrepared(MediaPlayer player) { in MoviePlayer()
351 public boolean onError(MediaPlayer player, int arg1, int arg2) { in onError() argument
/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVoicemailPlaybackPresenter.java173 public VoicemailPlaybackPresenter(PlaybackView view, MediaPlayerProxy player, in VoicemailPlaybackPresenter() argument
178 mPlayer = player; in VoicemailPlaybackPresenter()
/packages/apps/Gallery/src/com/android/camera/
DMovieViewControl.java230 public boolean onError(MediaPlayer player, int arg1, int arg2) { in onError() argument
/packages/inputmethods/LatinIME/dictionaries/
Dsl_wordlist.combined.gz
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz
Dit_wordlist.combined.gz
Dnl_wordlist.combined.gz
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1380519383, ...
Dpl_wordlist.combined.gz
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1380519383, ...
Dsv_wordlist.combined.gz1dictionary=main:sv,locale=sv,description=Svenska,date=1380519401, ...
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1381226409, ...

12