/packages/apps/Camera2/src/com/android/camera/ui/focus/ |
H A D | FocusSound.java | 42 public void play() { method in class:FocusSound 44 mPlayer.play(mSoundId, DEFAULT_VOLUME);
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | SoundClips.java | 39 public void play(int action); method in interface:SoundClips.Player 75 public synchronized void play(int action) { method in class:SoundClips.MediaActionSoundPlayer 78 mSound.play(MediaActionSound.FOCUS_COMPLETE); 81 mSound.play(MediaActionSound.START_VIDEO_RECORDING); 84 mSound.play(MediaActionSound.STOP_VIDEO_RECORDING); 148 public synchronized void play(int action) { method in class:SoundClips.SoundPoolPlayer 150 Log.e(TAG, "Resource ID not found for action:" + action + " in play()."); 156 // Not loaded yet, load first and then play when the loading is complete. 163 mSoundPool.play(mSoundIDs[index], 1f, 1f, 0, 0, 1f); 189 mSoundPool.play(soundI [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
H A D | SoundPlayer.java | 58 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/Music/src/com/android/music/ |
H A D | IMediaPlaybackService.aidl | 30 void play();
|
H A D | MediaPlaybackService.java | 94 public static final String CMDPLAY = "play"; 216 play(); 253 play(); // also queues a fade-in 285 play(); 291 play(); 657 play(); 664 play(); 670 play(); 723 // party-shuffle or because the play-position changed) 791 * or that the play 1156 public void play() { method in class:MediaPlaybackService 2111 public void play() { method in class:MediaPlaybackService.ServiceStub [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherStateTransitionAnimation.java | 277 mStateAnimation.play(panelAlphaAndDrift); 285 mStateAnimation.play(searchBarAlpha); 300 mStateAnimation.play(pageDrift); 306 mStateAnimation.play(itemsAlpha); 319 mStateAnimation.play(reveal); 351 mStateAnimation.play(workspaceAnim); 522 mStateAnimation.play(workspaceAnim); 561 mStateAnimation.play(panelDriftY); 568 mStateAnimation.play(panelDriftX); 579 mStateAnimation.play(panelAlph [all...] |
H A D | WorkspaceStateTransitionAnimation.java | 360 mStateAnimator.play(scale); 378 mStateAnimator.play(alphaAnim); 387 mStateAnimator.play(bgAnim); 440 mStateAnimator.play(overviewPanelAlpha); 441 mStateAnimator.play(hotseatAlpha); 442 mStateAnimator.play(pageIndicatorAlpha); 531 mStateAnimator.play(searchBarAlpha); 570 mStateAnimator.play(bgFadeOutAnimation);
|
H A D | ButtonDropTarget.java | 172 mCurrentColorAnim.play(anim1); 173 mCurrentColorAnim.play(ObjectAnimator.ofArgb(this, "textColor", targetColor));
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | AsyncRingtonePlayer.java | 30 * {@link MediaPlayer}. android.permission.READ_EXTERNAL_STORAGE is required to play custom 36 * to play custom ringtones located on the SD card using this mechanism. {@link Ringtone} allows 68 public void play(Uri ringtoneUri) { method in class:AsyncRingtonePlayer 69 LogUtils.d(TAG, "Posting play."); 113 getPlaybackDelegate().play(mContext, ringtoneUri); 133 * @return Uri of the ringtone to play when the user is in a telephone call 141 * @return Uri of the ringtone to play when the chosen ringtone fails to play 149 * @return the platform-specific playback delegate to use to play the ringtone 172 void play(Contex method in interface:AsyncRingtonePlayer.PlaybackDelegate 191 public void play(final Context context, Uri ringtoneUri) { method in class:AsyncRingtonePlayer.MediaPlayerPlaybackDelegate 328 public void play(Context context, Uri ringtoneUri) { method in class:AsyncRingtonePlayer.RingtonePlaybackDelegate [all...] |
H A D | TimerRingService.java | 87 play(); 97 private void play() { method in class:TimerRingService 103 LogUtils.v("TimerRingService.play()"); 145 // At this point we just don't play anything. 146 LogUtils.e("Failed to play fallback ringtone", ex2); 158 // do not play alarms if stream volume is 0
|
H A D | Utils.java | 372 AnimatorSet shrink = new AnimatorSet(); shrink.play(xShrink).with(yShrink); 373 AnimatorSet grow = new AnimatorSet(); grow.play(xGrow).with(yGrow); 380 s.play(xMove).with(yMove); 383 s.play(shrink.setDuration(SLIDE_TIME/2)); 384 s.play(grow.setDuration(SLIDE_TIME/2)).after(shrink); 394 s.play(shrink); 395 s.play(fadeout); 396 s.play(xMove.setDuration(0)).after(FADE_TIME); 397 s.play(yMove.setDuration(0)).after(FADE_TIME); 398 s.play(fadei [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | CountDownView.java | 85 mSoundPool.play(mBeepTwice, 1.0f, 1.0f, 0, 0, 1.0f); 87 mSoundPool.play(mBeepOnce, 1.0f, 1.0f, 0, 0, 1.0f);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | AsyncRingtonePlayer.java | 60 void play(Uri ringtone) { method in class:AsyncRingtonePlayer 61 Log.d(this, "Posting play."); 152 mRingtone.play(); 183 Log.v(this, "Keeping alive ringtone thread for subsequent play request.");
|
H A D | Ringer.java | 185 // The foreground call is one of incoming calls so play the ringer out loud. 205 mRingtonePlayer.play(foregroundCall.getRingtone()); 217 // in time. If the current foreground call is null at point, don't play call-waiting 218 // as the call will eventually be promoted to the foreground call and play the 222 // All incoming calls are in background so play call waiting.
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
H A D | AlarmKlaxon.java | 55 getAsyncRingtonePlayer(context).play(instance.mRingtone);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | KeyPreviewDrawParams.java | 157 showUpAnimator.play(scaleXAnimator).with(scaleYAnimator); 176 dismissAnimator.play(scaleXAnimator).with(scaleYAnimator);
|
/packages/apps/Stk/src/com/android/stk/ |
H A D | TonePlayer.java | 53 public void play(Tone tone) { method in class:TonePlayer
|
H A D | ToneDialog.java | 106 player.play(settings.tone);
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | CaptureAnimationOverlay.java | 128 mFlashAnimation.play(flashAnim1).before(flashAnim2);
|
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
H A D | ResourceCaptureToolsImpl.java | 209 mSoundPlayer.play(R.raw.timer_final_second, 0.6f); 211 mSoundPlayer.play(R.raw.timer_increment, 0.6f);
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastAlertAudio.java | 47 * it can continue to play if another activity overrides the CellBroadcastListActivity. 297 play(duration); // in milliseconds 317 private void play(int duration) { method in class:CellBroadcastAlertAudio 321 if (DBG) log("play()"); 342 // Check if we are in a call. If we are, play the alert 357 loge("Failed to play alert sound: " + ex); 395 r.play();
|
H A D | CellBroadcastAlertReminder.java | 44 /** Action to wake up and play alert reminder sound. */ 87 * Use the RingtoneManager to play the alert reminder sound. 101 r.play(); 152 if (DBG) log("stopping play reminder ringtone"); 157 if (DBG) log("canceling pending play reminder intent");
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | ViewImage.java | 623 int[] normalIds = {R.id.setas, R.id.play, R.id.share, R.id.discard}; 660 panel.findViewById(R.id.play).setVisibility(View.VISIBLE); 663 panel.findViewById(R.id.play).setVisibility(View.GONE); 1016 case R.id.play:
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | NotificationPlayer.java | 225 // 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/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
H A D | AbstractDownloadProviderFunctionalTest.java | 176 mServer.play();
|