HomeSort by relevance Sort by last modified time
    Searched refs:mControlBar (Results 1 - 3 of 3) sorted by null

  /frameworks/support/leanback/src/main/java/androidx/leanback/widget/
ControlBarPresenter.java 70 ControlBar mControlBar;
82 mControlBar = (ControlBar) rootView.findViewById(R.id.control_bar);
83 if (mControlBar == null) {
86 mControlBar.setDefaultFocusToMiddle(mDefaultFocusToMiddle);
87 mControlBar.setOnChildFocusedListener(new ControlBar.OnChildFocusedListener() {
130 View focusedView = mControlBar.getFocusedChild();
132 && mControlBar.indexOfChild(focusedView) >= adapterSize) {
133 mControlBar.getChildAt(adapter.size() - 1).requestFocus();
135 for (int i = mControlBar.getChildCount() - 1; i >= adapterSize; i--) {
136 mControlBar.removeViewAt(i)
    [all...]
PlaybackControlsPresenter.java 300 vh.mControlBar.requestFocus();
  /frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
PlaybackTransportRowPresenterTest.java 234 mViewHolder.mControlsVh.mControlBar.getChildAt(0).requestFocus();
238 assertTrue(isDescendant(mViewHolder.mControlsVh.mControlBar.getChildAt(0), view));
239 assertTrue(isDescendant(mViewHolder.mControlsVh.mControlBar.getChildAt(1),
248 mViewHolder.mSecondaryControlsVh.mControlBar.getChildAt(0).requestFocus();
252 assertTrue(isDescendant(mViewHolder.mSecondaryControlsVh.mControlBar.getChildAt(0), view));
253 assertTrue(isDescendant(mViewHolder.mSecondaryControlsVh.mControlBar.getChildAt(1),
262 mViewHolder.mControlsVh.mControlBar.getChildAt(0).requestFocus();
266 assertTrue(isDescendant(mViewHolder.mControlsVh.mControlBar.getChildAt(0), view));
285 assertTrue(isDescendant(mViewHolder.mControlsVh.mControlBar.getChildAt(0), view));
303 assertTrue(isDescendant(mViewHolder.mSecondaryControlsVh.mControlBar.getChildAt(0), view))
    [all...]

Completed in 89 milliseconds