Searched refs:mFadeOutManager (Results 1 – 2 of 2) sorted by relevance
63 private FadeOutManager mFadeOutManager; field in FadeOutManagerTest76 mFadeOutManager = new FadeOutManager(); in setUp()88 expect.withMessage("Can cause fade out").that(mFadeOutManager.canCauseFadeOut( in testCanCauseFadeOut_forFaders_returnsTrue()100 .that(mFadeOutManager.canCauseFadeOut(winner, loser)).isFalse(); in testCanCauseFadeOut_forUnfaderSpeechAttribute_returnsFalse()112 .that(mFadeOutManager.canCauseFadeOut(winner, loser)).isFalse(); in testCanCauseFadeOut_forUnfaderFlag_returnsFalse()125 .that(mFadeOutManager.canBeFadedOut(apcMedia)).isTrue(); in testCanBeFadedOut_forFadableConfig_returnsTrue()127 .that(mFadeOutManager.canBeFadedOut(apcGame)).isTrue(); in testCanBeFadedOut_forFadableConfig_returnsTrue()140 .that(mFadeOutManager.canBeFadedOut(apcSpeech)).isFalse(); in testCanBeFadedOut_forUnFadableConfig_returnsFalse()142 .that(mFadeOutManager.canBeFadedOut(apcAAudio)).isFalse(); in testCanBeFadedOut_forUnFadableConfig_returnsFalse()153 mFadeOutManager.fadeOutUid(TEST_UID_USER, apcsToFadeOut); in testFadeOutUid_getsFadedOut_isFadedReturnsTrue()[all …]
166 private final FadeOutManager mFadeOutManager = new FadeOutManager(); field in PlaybackActivityMonitor408 mFadeOutManager.checkFade(apc); in playerEvent()504 mFadeOutManager.removeReleased(apc); in releasePlayer()687 mFadeOutManager.dump(pw); in dump()876 mFadeOutManager.unfadeOutUid(winner.getClientUid(), mPlayers); in restoreVShapedPlayers()965 if (!mFadeOutManager.canCauseFadeOut(winner, loser)) { in fadeOutPlayers()979 if (!mFadeOutManager.canBeFadedOut(apc)) { in fadeOutPlayers()994 mFadeOutManager.fadeOutUid(loser.getClientUid(), apcsToFadeOut); in fadeOutPlayers()1007 mFadeOutManager.unfadeOutUid(uid, players); in forgetUid()1013 return mFadeOutManager.getFadeOutDurationOnFocusLossMillis(aa); in getFadeOutDurationMillis()[all …]