Home
last modified time | relevance | path

Searched refs:mAutoHideScheduler (Results 1 – 5 of 5) sorted by relevance

/packages/apps/TV/tests/robotests/src/com/android/tv/ui/hideable/
DAutoHideSchedulerTest.java38 private AutoHideScheduler mAutoHideScheduler; field in AutoHideSchedulerTest
44 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 …]
/packages/apps/TV/src/com/android/tv/menu/
DMenu.java110 private final AutoHideScheduler mAutoHideScheduler; field in Menu
160 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()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DSideFragmentManager.java49 private final AutoHideScheduler mAutoHideScheduler; field in SideFragmentManager
75 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()
/packages/apps/TV/src/com/android/tv/ui/
DChannelBannerView.java149 private final AutoHideScheduler mAutoHideScheduler; field in ChannelBannerView
285 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);
/packages/apps/TV/src/com/android/tv/guide/
DProgramGuide.java157 private final AutoHideScheduler mAutoHideScheduler; field in ProgramGuide
495 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()