Searched defs:play (Results 1 - 17 of 17) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/ui/focus/
H A DFocusSound.java42 public void play() { method in class:FocusSound
44 mPlayer.play(mSoundId, DEFAULT_VOLUME);
/packages/apps/Stk/src/com/android/stk/
H A DTonePlayer.java53 public void play(Tone tone) { method in class:TonePlayer
/packages/apps/Camera2/src/com/android/camera/
H A DSoundPlayer.java58 public void play(int resourceId, float volume) { method in class:SoundPlayer
63 mSoundPool.play(soundId, volume, volume, 0 /* priority */, 0 /* loop */, 1 /* rate */);
/packages/apps/Dialer/java/com/android/incallui/ringtone/
H A DInCallTonePlayer.java48 * @param executor the {@link PausableExecutor} used to play tones in a background thread.
66 * @param tone the tone to play.
70 public void play(int tone) { method in class:InCallTonePlayer
89 * DialerCall waiting tones play until they're stopped either by the user accepting or
/packages/services/Telecomm/src/com/android/server/telecom/
H A DAsyncRingtonePlayer.java51 public void play(RingtoneFactory factory, Call incomingCall) { method in class:AsyncRingtonePlayer
52 Log.d(this, "Posting play.");
125 // If the Ringtone Uri is EMPTY, then the "None" Ringtone has been selected. Do not play
158 mRingtone.play();
189 Log.v(this, "Keeping alive ringtone thread for subsequent play request.");
/packages/apps/Launcher3/src/com/android/launcher3/folder/
H A DFolderAnimationManager.java192 play(a, anim);
195 play(a, getAnimator(mFolder, View.TRANSLATION_X, xDistance, 0f));
196 play(a, getAnimator(mFolder, View.TRANSLATION_Y, yDistance, 0f));
197 play(a, getAnimator(mFolder, SCALE_PROPERTY, initialScale, finalScale));
198 play(a, getAnimator(mFolderBackground, "color", initialColor, finalColor));
199 play(a, mFolderIcon.mFolderName.createTextAlphaAnimator(!mIsOpening));
207 play(a, outlineProvider.createRevealAnimator(mFolder, !mIsOpening));
212 play(a, z, mIsOpening ? midDuration : 0, midDuration);
292 play(animatorSet, translationX);
296 play(animatorSe
341 private void play(AnimatorSet as, Animator a) { method in class:FolderAnimationManager
345 private void play(AnimatorSet as, Animator a, long startDelay, int duration) { method in class:FolderAnimationManager
[all...]
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/audio/
H A DAudioTrackWrapper.java93 public void play() { method in class:AudioTrackWrapper
97 mAudioTrack.play();
/packages/apps/DeskClock/src/com/android/deskclock/
H A DAsyncRingtonePlayer.java34 * {@link MediaPlayer}. android.permission.READ_EXTERNAL_STORAGE is required to play custom
40 * to play custom ringtones located on the SD card using this mechanism. {@link Ringtone} allows
46 * <p>If either the {@link Ringtone} or {@link MediaPlayer} fails to play the requested audio, an
78 public void play(Uri ringtoneUri, long crescendoDuration) { method in class:AsyncRingtonePlayer
79 LOGGER.d("Posting play.");
143 if (getPlaybackDelegate().play(mContext, ringtoneUri, crescendoDuration)) {
170 * @return Uri of the ringtone to play when the user is in a telephone call
177 * @return Uri of the ringtone to play when the chosen ringtone fails to play
217 * @return the platform-specific playback delegate to use to play th
245 boolean play(Context context, Uri ringtoneUri, long crescendoDuration); method in interface:AsyncRingtonePlayer.PlaybackDelegate
279 public boolean play(final Context context, Uri ringtoneUri, long crescendoDuration) { method in class:AsyncRingtonePlayer.MediaPlayerPlaybackDelegate
476 public boolean play(Context context, Uri ringtoneUri, long crescendoDuration) { method in class:AsyncRingtonePlayer.RingtonePlaybackDelegate
[all...]
/packages/apps/Messaging/src/com/android/messaging/util/
H A DNotificationPlayer.java225 // if there are no more sounds to play, end the Looper to listen for media completion
269 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)})
274 * @param volume The volume at which to play this sound, as a fraction of the system volume for
275 * the relevant stream type. A value of 1 is the maximum and means play at the system
278 public void play(final Uri uri, final boolean looping, final int stream, final float volume) { method in class:NotificationPlayer
327 * We want to hold a wake lock while we do the prepare and play. The stop probably is
330 * sound to play, but if the CPU turns off before mThread gets to work, it won't. The
335 * This must be called before the first time play is called.
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/
H A DMediaController.java182 public void play() { method in class:MediaController.TransportControls
183 mTransportDelegate.play();
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
H A DPlayer.java120 // to pause & skip whereas when paused it needs to show controls to play & skip. Setup
127 LocalMediaBrowserService.ACTION_PLAY, R.drawable.ic_play, R.string.play);
139 // While paused, you need prev, play, next.
330 play(path, metadata);
466 play(path, metadata);
469 private void play(String path, MediaMetadata metadata) throws IOException { method in class:Player
471 Log.d(TAG, "play path=" + path + " metadata=" + metadata);
487 // other steps like, updating the notification and play state are needed, thus we
526 // the current play list. This means the QueueItems must be rebuilt to have their new
568 Log.e(TAG, "Failed to play
[all...]
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
H A DDvrPlaybackControlHelper.java269 public void play(int speedId) { method in class:DvrPlaybackControlHelper
274 mTransportControls.play();
H A DDvrPlayer.java149 public void play() throws IllegalStateException { method in class:DvrPlayer
150 if (DEBUG) Log.d(TAG, "play()");
205 if (DEBUG) Log.d(TAG, "Let's play with speed: " + speed);
227 if (DEBUG) Log.d(TAG, "Let's play with speed: " + speed);
480 play();
/packages/apps/TV/src/com/android/tv/
H A DTimeShiftManager.java57 * {@link PlayController} controls the playback such as play/pause, rewind and fast-forward using
117 * this threshold from the program start time, the play position moves to the start of the
119 * Otherwise, the play position moves to the start of the current program.
190 * Checks if the trick play is available for the current channel.
230 * @throws IllegalStateException if the trick play is not available.
232 public void play() { method in class:TimeShiftManager
238 mPlayController.play();
245 * @throws IllegalStateException if the trick play is not available.
260 * @throws IllegalStateException if the trick play is not available.
271 * @throws IllegalStateException if the trick play i
728 void play() { method in class:TimeShiftManager.PlayController
[all...]
/packages/apps/Music/src/com/android/music/
H A DMediaPlaybackService.java94 public static final String CMDPLAY = "play";
214 play();
251 play(); // also queues a fade-in
283 play();
289 play();
648 play();
655 play();
661 play();
714 // party-shuffle or because the play-position changed)
782 * or that the play
1145 public void play() { method in class:MediaPlaybackService
2099 public void play() { method in class:MediaPlaybackService.ServiceStub
[all...]
/packages/apps/TV/libs/
H A Dexoplayer.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ...
H A Dexoplayer_v2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer2/ ...

Completed in 584 milliseconds