Home
last modified time | relevance | path

Searched refs:getDuration (Results 1 – 25 of 27) sorted by relevance

12

/development/samples/ApiDemos/src/com/example/android/apis/animation/
DLayoutAnimationsHideShow.java128 setDuration(mTransitioner.getDuration(LayoutTransition.CHANGE_APPEARING)); in setupCustomAnimations()
146 setDuration(mTransitioner.getDuration(LayoutTransition.CHANGE_DISAPPEARING)); in setupCustomAnimations()
157 setDuration(mTransitioner.getDuration(LayoutTransition.APPEARING)); in setupCustomAnimations()
168 setDuration(mTransitioner.getDuration(LayoutTransition.DISAPPEARING)); in setupCustomAnimations()
DLayoutAnimations.java164 setDuration(transition.getDuration(LayoutTransition.CHANGE_APPEARING)); in createCustomAnimations()
181 setDuration(transition.getDuration(LayoutTransition.CHANGE_DISAPPEARING)); in createCustomAnimations()
191 setDuration(transition.getDuration(LayoutTransition.APPEARING)); in createCustomAnimations()
201 setDuration(transition.getDuration(LayoutTransition.DISAPPEARING)); in createCustomAnimations()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
DVoicemail.java49 public long getDuration(); in getDuration() method
DVoicemailFilterFactory.java113 Long.toString(fieldMatch.getDuration())));
DVoicemailImpl.java192 public long getDuration() { in getDuration() method in VoicemailImpl
DVoicemailProviderHelpers.java308 contentValues.put(Voicemails.DURATION, String.valueOf(voicemail.getDuration())); in getContentValues()
/development/samples/Support7Demos/src/com/example/android/supportv7/media/
DPlaylistItem.java98 public long getDuration() { in getDuration() method in PlaylistItem
DSampleMediaRouterActivity.java324 if (fromUser && item != null && item.getDuration() > 0) { in onCreate()
325 long pos = progress * item.getDuration() / 100; in onCreate()
525 long duration = item.getDuration(); in updateProgress()
573 mSeekBar.setEnabled(item != null && item.getDuration() > 0); in updateButtons()
DLocalPlayer.java154 item.setDuration(mMediaPlayer.getDuration()); in getStatus()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DPlaylistItem.java98 public long getDuration() { in getDuration() method in PlaylistItem
DMainActivity.java339 if (fromUser && item != null && item.getDuration() > 0) { in onCreate()
340 long pos = progress * item.getDuration() / 100; in onCreate()
533 long duration = item.getDuration(); in updateProgress()
583 mSeekBar.setEnabled(item != null && item.getDuration() > 0); in updateButtons()
DLocalPlayer.java157 item.setDuration(mMediaPlayer.getDuration()); in getStatus()
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
DToonGame.java205 set.setDuration(getDuration(SHORT_DURATION)); in squishyBounce()
214 public static long getDuration(long baseDuration) { in getDuration() method in ToonGame
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/models/
DSong.java56 public String getDuration() { in getDuration() method in Song
/development/samples/Support4Demos/src/com/example/android/supportv4/media/
DMediaController.java224 long duration = mController.getDuration(); in updateProgress()
292 long duration = mController.getDuration();
DTransportControllerActivity.java65 return mContent.getDuration();
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
DMusicRetriever.java143 public long getDuration() { in getDuration() method in MusicRetriever.Item
DMusicService.java474 playingItem.getDuration()) in playNextSong()
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
DMediaPlayerGlue.java240 return mInitialized ? mPlayer.getDuration() : 0; in getMediaDuration()
342 mControlsRow.setBufferedProgress((int) (mp.getDuration() * (percent / 100f))); in prepareMediaForPlaying()
DMusicConsumptionExampleFragment.java146 vh.getMediaItemDurationView().setText("" + song.getDuration()); in onBindMediaDetails()
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCardStreamLinearLayout.java251 layoutTransition.setDuration(animator.getDuration()); in onLayout()
/development/samples/training/NavigationDrawer/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/AnimationsDemo/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/InteractiveChart/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/ContactsList/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...

12