Searched refs:mAutoHideScheduler (Results 1 – 5 of 5) sorted by relevance
38 private AutoHideScheduler mAutoHideScheduler; field in AutoHideSchedulerTest44 mAutoHideScheduler = new AutoHideScheduler(RuntimeEnvironment.application, mTestRunnable); in setUp()49 assertThat(mAutoHideScheduler.isScheduled()).isFalse(); in initialState()54 mAutoHideScheduler.cancel(); in cancel()55 assertThat(mAutoHideScheduler.isScheduled()).isFalse(); in cancel()60 mAutoHideScheduler.schedule(10); in schedule()61 assertThat(mAutoHideScheduler.isScheduled()).isTrue(); in schedule()67 mAutoHideScheduler.onAccessibilityStateChanged(true); in setA11yEnabledThenSchedule()68 mAutoHideScheduler.schedule(10); in setA11yEnabledThenSchedule()69 assertThat(mAutoHideScheduler.isScheduled()).isFalse(); in setA11yEnabledThenSchedule()[all …]
110 private final AutoHideScheduler mAutoHideScheduler; field in Menu160 mAutoHideScheduler = new AutoHideScheduler(context, () -> hide(true)); in Menu()183 mAutoHideScheduler.cancel(); in release()235 mAutoHideScheduler.cancel(); in hide()258 mAutoHideScheduler.schedule(mShowDurationMillis); in scheduleHide()270 mAutoHideScheduler.cancel(); in setKeepVisible()278 return mAutoHideScheduler.isScheduled(); in isHideScheduled()322 mAutoHideScheduler.onAccessibilityStateChanged(enabled); in onAccessibilityStateChanged()
49 private final AutoHideScheduler mAutoHideScheduler; field in SideFragmentManager75 mAutoHideScheduler = new AutoHideScheduler(activity, () -> hideAll(true)); in SideFragmentManager()175 mAutoHideScheduler.cancel(); in hideAllInternal()213 mAutoHideScheduler.cancel(); in hideSidePanel()237 mAutoHideScheduler.schedule(mShowDurationMillis); in scheduleHideAll()252 mAutoHideScheduler.onAccessibilityStateChanged(enabled); in onAccessibilityStateChanged()
149 private final AutoHideScheduler mAutoHideScheduler; field in ChannelBannerView285 mAutoHideScheduler = new AutoHideScheduler(context, this::hide); in ChannelBannerView()328 mAccessibilityManager.addAccessibilityStateChangeListener(mAutoHideScheduler); in onAttachedToWindow()333 mAccessibilityManager.removeAccessibilityStateChangeListener(mAutoHideScheduler); in onDetachedFromWindow()343 mAutoHideScheduler.schedule(mShowDurationMillis); in onEnterAction()349 mAutoHideScheduler.cancel(); in onExitAction()399 mAutoHideScheduler.schedule(mShowDurationMillis); in updateViews()936 mAutoHideScheduler.onAccessibilityStateChanged(enabled);
157 private final AutoHideScheduler mAutoHideScheduler; field in ProgramGuide495 mAutoHideScheduler = new AutoHideScheduler(activity, this::hide); in ProgramGuide()652 mAutoHideScheduler.schedule(mShowDurationMillis); in scheduleHide()657 mAutoHideScheduler.cancel(); in cancelHide()1009 mAutoHideScheduler.onAccessibilityStateChanged(enabled); in onAccessibilityStateChanged()