Home
last modified time | relevance | path

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

12

/packages/apps/Messaging/src/com/android/messaging/util/
DNotificationPlayer.java89 final MediaPlayer player = new MediaPlayer(); in run() local
90 player.setAudioStreamType(mCmd.stream); in run()
91 player.setDataSource(Factory.get().getApplicationContext(), 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()
101 player.setOnCompletionListener(NotificationPlayer.this); in run()
102 player.start(); in run()
106 mPlayer = player; in run()
/packages/apps/DeskClock/src/com/android/deskclock/
DTimerRingService.java154 private void startAlarm(MediaPlayer player) in startAlarm() argument
161 player.setAudioStreamType(AudioManager.STREAM_ALARM); in startAlarm()
162 player.setLooping(true); in startAlarm()
163 player.prepare(); in startAlarm()
166 player.start(); in startAlarm()
171 MediaPlayer player, int res) throws java.io.IOException { in setDataSourceFromResource() argument
174 player.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), in setDataSourceFromResource()
DAsyncRingtonePlayer.java253 private void startAlarm(MediaPlayer player) throws IOException {
257 player.setAudioAttributes(new AudioAttributes.Builder()
263 player.setAudioStreamType(AudioManager.STREAM_ALARM);
264 player.setLooping(true);
265 player.prepare();
268 player.start();
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java386 private static void startAlarm(MediaPlayer player) in startAlarm() argument
388 player.setAudioStreamType(AudioManager.STREAM_NOTIFICATION); in startAlarm()
389 player.setLooping(true); in startAlarm()
390 player.prepare(); in startAlarm()
391 player.start(); in startAlarm()
395 MediaPlayer player, int res) throws java.io.IOException { in setDataSourceFromResource() argument
398 player.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), in setDataSourceFromResource()
/packages/apps/Stk/src/com/android/stk/
DToneDialog.java41 TonePlayer player = null; field in ToneDialog
105 player = new TonePlayer(); in onCreate()
106 player.play(settings.tone); in onCreate()
127 if (null != player) { in onDestroy()
128 player.stop(); in onDestroy()
129 player.release(); in onDestroy()
/packages/apps/Music/src/com/android/music/
DAudioPreview.java107 PreviewPlayer player = (PreviewPlayer) getLastNonConfigurationInstance(); in onCreate() local
108 if (player == null) { in onCreate()
124 mPlayer = player; in onCreate()
217 PreviewPlayer player = mPlayer; in onRetainNonConfigurationInstance() local
219 return player; in onRetainNonConfigurationInstance()
DMediaPlaybackService.java1884 private boolean setDataSourceImpl(MediaPlayer player, String path) { in setDataSourceImpl() argument
1886 player.reset(); in setDataSourceImpl()
1887 player.setOnPreparedListener(null); in setDataSourceImpl()
1889 player.setDataSource(MediaPlaybackService.this, Uri.parse(path)); in setDataSourceImpl()
1891 player.setDataSource(path); in setDataSourceImpl()
1893 player.setAudioStreamType(AudioManager.STREAM_MUSIC); in setDataSourceImpl()
1894 player.prepare(); in setDataSourceImpl()
1902 player.setOnCompletionListener(listener); in setDataSourceImpl()
1903 player.setOnErrorListener(errorListener); in setDataSourceImpl()
/packages/apps/Camera2/src/com/android/camera/ui/focus/
DFocusSound.java31 public FocusSound(SoundPlayer player, int soundId) { in FocusSound() argument
32 mPlayer = player; in FocusSound()
/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/Messaging/src/com/android/messaging/datamodel/
DBugleNotifications.java1109 final NotificationPlayer player = new NotificationPlayer(LogUtil.BUGLE_TAG); in playObservableConversationNotificationSound() local
1110 player.play(ringtoneUri, false, in playObservableConversationNotificationSound()
1118 player.stop(); in playObservableConversationNotificationSound()
/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.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dit_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dda_wordlist.combined.gz
Dpl_wordlist.combined.gz
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...
Dhr_wordlist.combined.gz1dictionary=main:hr,locale=hr,description=Hrvatski,date=1393228135, ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...
Dfi_wordlist.combined.gz1dictionary=main:fi,locale=fi,description=Suomi,date=1393228135, ...

12