Home
last modified time | relevance | path

Searched refs:isPrepared (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DSampleVideoSupportFragment.java62 if (glue.isPrepared()) { in playWhenReady()
68 if (glue.isPrepared()) { in playWhenReady()
78 if (glue.isPrepared()) { in loadSeekData()
87 if (glue.isPrepared()) { in loadSeekData()
DSampleVideoFragment.java59 if (glue.isPrepared()) { in playWhenReady()
65 if (glue.isPrepared()) { in playWhenReady()
75 if (glue.isPrepared()) { in loadSeekData()
84 if (glue.isPrepared()) { in loadSeekData()
DVideoConsumptionWithDetailCardFragment.java49 if (glue.isPrepared()) { in playWhenReady()
55 if (glue.isPrepared()) { in playWhenReady()
DPlaybackTransportControlGlueSample.java372 if (!getPlayerAdapter().isPrepared()) { in createPlaybackStateBasedOnAdapterState()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/media/
DPlaybackGlue.java94 public boolean isPrepared() { in isPrepared() method in PlaybackGlue
147 if (isPrepared()) { in playWhenPrepared()
153 if (glue.isPrepared()) { in playWhenPrepared()
DPlaybackBaseControlGlue.java433 mControlsRow.setCurrentPosition(mPlayerAdapter.isPrepared() in onUpdateProgress()
449 mPlayerAdapter.isPrepared() ? mPlayerAdapter.getDuration() : -1); in onUpdateDuration()
475 public final boolean isPrepared() { in isPrepared() method in PlaybackBaseControlGlue
476 return mPlayerAdapter.isPrepared(); in isPrepared()
DPlayerAdapter.java135 public boolean isPrepared() { in isPrepared() method in PlayerAdapter
DPlaybackBannerControlGlue.java468 if (mPlayerAdapter.isPrepared() && mPlaybackSpeed < getMaxForwardSpeedId()) { in dispatchAction()
492 if (mPlayerAdapter.isPrepared() && mPlaybackSpeed > -getMaxRewindSpeedId()) { in dispatchAction()
658 if (!mPlayerAdapter.isPrepared()) { in play()
DMediaPlayerAdapter.java372 public boolean isPrepared() { in isPrepared() method in MediaPlayerAdapter
DMediaPlayerGlue.java493 public boolean isPrepared() { in isPrepared() method in MediaPlayerGlue
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/media/
DPlaybackGlueTest.java127 when(glue.isPrepared()).thenReturn(false); in playWhenPrepared()
130 assertFalse(glue.isPrepared()); in playWhenPrepared()
133 when(glue.isPrepared()).thenReturn(true); in playWhenPrepared()
137 assertTrue(glue.isPrepared()); in playWhenPrepared()
DPlaybackBannerControlGlueTest.java171 when(impl.isPrepared()).thenReturn(true); in playerAdapterTest()
226 when(impl.isPrepared()).thenReturn(true); in savePlayerAdapterEventBeforeAttachToHost()
DMediaPlayerGlueTest.java68 if (glue.isPrepared()) { in mediaPlayer()
DPlaybackTransportControlGlueTest.java80 when(mAdapter.isPrepared()).thenReturn(true); in setupWithMockAdapterAndViewHolder()
238 when(impl.isPrepared()).thenReturn(true); in savePlayerAdapterEventBeforeAttachToHost()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DPlaybackTransportRowPresenterTest.java166 when(mImpl.isPrepared()).thenReturn(true); in progressUpdating()
320 when(mImpl.isPrepared()).thenReturn(true); in seekAndConfirm()
349 when(mImpl.isPrepared()).thenReturn(true); in seekHoldKeyDown()
375 when(mImpl.isPrepared()).thenReturn(true); in seekAndCancel()
408 when(mImpl.isPrepared()).thenReturn(true); in seekUpBetweenTwoKeyPosition()
433 when(mImpl.isPrepared()).thenReturn(true); in seekDownBetweenTwoKeyPosition()
458 when(mImpl.isPrepared()).thenReturn(true); in seekDownOutOfKeyPositions()
487 when(mImpl.isPrepared()).thenReturn(true); in seekDownAheadOfKeyPositions()
514 when(mImpl.isPrepared()).thenReturn(true); in seekUpAheadOfKeyPositions()
540 when(mImpl.isPrepared()).thenReturn(true); in seekUpOutOfKeyPositions()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DDetailsBackgroundVideoHelper.java128 if (mPlaybackGlue.isPrepared()) { in applyState()
238 if (glue.isPrepared()) { in onPreparedStateChanged()
DDetailsSupportFragmentBackgroundController.java320 if (mPlaybackGlue != null && mPlaybackGlue.isPrepared()) { in onStart()
DDetailsFragmentBackgroundController.java323 if (mPlaybackGlue != null && mPlaybackGlue.isPrepared()) { in onStart()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatDelegateImplV9.java932 st.isPrepared = false;
1313 if (st.isPrepared) {
1404 st.isPrepared = true;
1445 st.isPrepared = false;
1496 } else if (st.isPrepared) {
1501 st.isPrepared = false;
1592 if ((st.isPrepared || preparePanel(st, event)) && st.menu != null) {
1637 st.isPrepared = false;
1913 boolean isPrepared;
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DVideoFragmentTest.java169 if (glue.isPrepared()) { in onCreate()
DVideoSupportFragmentTest.java172 if (glue.isPrepared()) { in onCreate()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java586 if (st.isPrepared) { in preparePanel()
678 st.isPrepared = true; in preparePanel()
938 st.isPrepared = false; in closePanel()
1023 st.isPrepared = false; in doInvalidatePanelMenu()
1089 } else if (st.isPrepared) { in onKeyUpPanel()
1094 st.isPrepared = false; in onKeyUpPanel()
1180 if ((st.isPrepared || preparePanel(st, event)) && st.menu != null) { in performPanelShortcut()
3383 boolean isPrepared;
DDecorView.java398 st.isPrepared = false;
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java457 public boolean isPrepared() { in isPrepared() method in PackageInstallerSession
1635 writeBooleanAttribute(out, ATTR_PREPARED, isPrepared()); in write()
/frameworks/support/v17/leanback/api/
Dcurrent.txt1103 method public final boolean isPrepared();
1193 method public boolean isPrepared();
1270 method public boolean isPrepared();

12