Searched refs:adapterSize (Results 1 – 6 of 6) sorted by relevance
127 int adapterSize = adapter == null ? 0 : adapter.size(); in showControls() local130 if (focusedView != null && adapterSize > 0 && in showControls()131 mControlBar.indexOfChild(focusedView) >= adapterSize) { in showControls()134 for (int i = mControlBar.getChildCount() - 1; i >= adapterSize; i--) { in showControls()137 for (int position = 0; position < adapterSize && position < MAX_CONTROLS; in showControls()142 getChildMarginFromCenter(mControlBar.getContext(), adapterSize)); in showControls() local
121 public void removeAnchorItemTest(final Config config, int adapterSize, in removeAnchorItemTest() argument123 config.adapter(new TestAdapter(adapterSize) { in removeAnchorItemTest()
571 public void removeAnchorItemTest(final Config config, int adapterSize, in removeAnchorItemTest() argument573 GridTestAdapter adapter = new GridTestAdapter(adapterSize) { in removeAnchorItemTest()
687 final int adapterSize = getAdapter() == null ? 0 : getAdapter().size(); in updateControlsBottomSpace() local690 adapterSize > 1); in updateControlsBottomSpace() local
689 final int adapterSize = getAdapter() == null ? 0 : getAdapter().size(); in updateControlsBottomSpace() local692 adapterSize > 1); in updateControlsBottomSpace() local
4368 final int adapterSize = mState.getItemCount(); in run() local4369 if (adapterSize == 0) { in run()4371 } else if (smoothScroller.getTargetPosition() >= adapterSize) { in run()4372 smoothScroller.setTargetPosition(adapterSize - 1); in run()