HomeSort by relevance Sort by last modified time
    Searched refs:PREPARING (Results 1 - 2 of 2) sorted by null

  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowMediaPlayer.java 11 import static org.robolectric.shadows.ShadowMediaPlayer.State.PREPARING;
114 IDLE, INITIALIZED, PREPARING, PREPARED, STARTED, STOPPED, PAUSED, PLAYBACK_COMPLETED, END, ERROR
849 * Simulates {@link MediaPlayer#prepareAsync()}. Sets state to PREPARING and posts a callback to
860 state = PREPARING;
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowMediaPlayerTest.java 14 import static org.robolectric.shadows.ShadowMediaPlayer.State.PREPARING;
209 assertThat(shadowMediaPlayer.getState()).isEqualTo(PREPARING);
232 assertThat(shadowMediaPlayer.getState()).isSameAs(PREPARING);
505 PREPARING);
569 EnumSet.of(IDLE, INITIALIZED, PREPARING, STOPPED, ERROR),
666 // function while in the PREPARING state is undefined. I tried
668 // INITIALIZED are allowed (ie, the two states that PREPARING
670 // PREPARING allowed too, if either PREPARED or INITALIZED is
671 // disallowed then so is PREPARING.
673 invalid.add(PREPARING);
    [all...]

Completed in 57 milliseconds