Searched refs:mMenuView (Results 1 – 3 of 3) sorted by relevance
/packages/apps/TV/src/com/android/tv/menu/ |
D | MenuLayoutManager.java | 62 private final MenuView mMenuView; field in MenuLayoutManager 91 mMenuView = menuView; in MenuLayoutManager() 341 if (mMenuView.getVisibility() == View.VISIBLE) { in setSelectedPosition() 343 mMenuView.requestFocus(); in setSelectedPosition() 345 mMenuView.requestLayout(); in setSelectedPosition() 358 if (mMenuView.getVisibility() != View.VISIBLE) { in setSelectedPositionSmooth() 415 mMenuView.requestFocus(); in setSelectedPositionSmooth() 419 (TextView) mMenuView.findViewById(R.id.temp_title_for_old); in setSelectedPositionSmooth() 421 (TextView) mMenuView.findViewById(R.id.temp_title_for_current); in setSelectedPositionSmooth() 428 List<Rect> layouts = getViewLayouts(mMenuView.getLeft(), mMenuView.getTop(), in setSelectedPositionSmooth() [all …]
|
D | Menu.java | 103 private final IMenuView mMenuView; field in Menu 128 mMenuView = menuView; in Menu() 135 mShowAnimator.setTarget(mMenuView); in Menu() 143 mHideAnimator.setTarget(mMenuView); in Menu() 149 mMenuView.setMenuRows(mMenuRows); in Menu() 204 mMenuView.onShow(reason, rowIdToSelect, mAnimationDisabledForTest ? null : new Runnable() { in show() 242 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/ |
D | MenuTest.java | 39 private IMenuView mMenuView; field in MenuTest 44 mMenuView = Mockito.mock(IMenuView.class); in setUp() 49 mMenu = new Menu(getTargetContext(), mMenuView, factory, mVisibilityChangeListener); in setUp() 86 Mockito.verify(mMenuView).onShow(Matchers.eq(Menu.REASON_NONE), in testShowHide_ReasonNone() 93 Mockito.verify(mMenuView).onHide(); in testShowHide_ReasonNone() 107 Mockito.verify(mMenuView).onShow(Matchers.eq(Menu.REASON_GUIDE), in testShowHide_ReasonGuide() 114 Mockito.verify(mMenuView).onHide(); in testShowHide_ReasonGuide() 128 Mockito.verify(mMenuView).onShow(Matchers.eq(Menu.REASON_PLAY_CONTROLS_FAST_FORWARD), in testShowHide_ReasonPlayControlsFastForward() 135 Mockito.verify(mMenuView).onHide(); in testShowHide_ReasonPlayControlsFastForward() 139 Mockito.when(mMenuView.isVisible()).thenAnswer(new Answer<Boolean>() { in setMenuVisible()
|