Home
last modified time | relevance | path

Searched refs:mMenuView (Results 1 – 4 of 4) sorted by relevance

/packages/apps/TV/src/com/android/tv/menu/
DMenuLayoutManager.java58 private final MenuView mMenuView; field in MenuLayoutManager
87 mMenuView = menuView; in MenuLayoutManager()
386 if (mMenuView.getVisibility() == View.VISIBLE) { in setSelectedPosition()
388 mMenuView.requestFocus(); in setSelectedPosition()
390 mMenuView.requestLayout(); in setSelectedPosition()
408 if (mMenuView.getVisibility() != View.VISIBLE) { in setSelectedPositionSmooth()
465 mMenuView.requestFocus(); in setSelectedPositionSmooth()
468 mTempTitleViewForOld = (TextView) mMenuView.findViewById(R.id.temp_title_for_old); in setSelectedPositionSmooth()
470 (TextView) mMenuView.findViewById(R.id.temp_title_for_current); in setSelectedPositionSmooth()
479 mMenuView.getLeft(), in setSelectedPositionSmooth()
[all …]
DMenu.java105 private final IMenuView mMenuView; field in Menu
137 mMenuView = menuView; in Menu()
144 mShowAnimator.setTarget(mMenuView); in Menu()
153 mHideAnimator.setTarget(mMenuView); in Menu()
159 mMenuView.setMenuRows(mMenuRows); in Menu()
211 mMenuView.onShow( in show()
249 mMenuView.onHide(); in hideInternal()
283 return mMenuView.isVisible() && !mHideAnimator.isStarted(); in isActive()
293 return mMenuView.update(isActive()); in update()
303 return mMenuView.update(rowId, isActive()); in update()
/packages/apps/TV/tests/unit/src/com/android/tv/menu/
DMenuTest.java39 private IMenuView mMenuView; field in MenuTest
44 mMenuView = Mockito.mock(IMenuView.class); in setUp()
51 mMenu = new Menu(getTargetContext(), mMenuView, factory, mVisibilityChangeListener); in setUp()
89 Mockito.verify(mMenuView) in testShowHide_ReasonNone()
99 Mockito.verify(mMenuView).onHide(); in testShowHide_ReasonNone()
113 Mockito.verify(mMenuView) in testShowHide_ReasonGuide()
123 Mockito.verify(mMenuView).onHide(); in testShowHide_ReasonGuide()
137 Mockito.verify(mMenuView) in testShowHide_ReasonPlayControlsFastForward()
147 Mockito.verify(mMenuView).onHide(); in testShowHide_ReasonPlayControlsFastForward()
151 Mockito.when(mMenuView.isVisible()) in setMenuVisible()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DTaskView.java142 if (mMenuView != null) {
143 mMenuView.removeOnAttachStateChangeListener(this);
144 mMenuView = null;
153 private TaskMenuView mMenuView; field in TaskView
230 return mMenuView; in getMenuView()
380 mMenuView = TaskMenuView.showForTask(this); in showTaskMenu()
383 if (mMenuView != null) { in showTaskMenu()
384 mMenuView.addOnAttachStateChangeListener(mTaskMenuStateListener); in showTaskMenu()
386 return mMenuView != null; in showTaskMenu()
501 if (mMenuView != null) { in onPageScroll()
[all …]