Home
last modified time | relevance | path

Searched defs:vh (Results 1 – 25 of 79) sorted by relevance

1234

/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/
DViewInfoStoreTest.java58 RecyclerView.ViewHolder vh = new MockViewHolder(); in addOverridePre() local
68 RecyclerView.ViewHolder vh = new MockViewHolder(); in addOverridePost() local
78 RecyclerView.ViewHolder vh = new MockViewHolder(); in addRemoveAndReAdd() local
89 RecyclerView.ViewHolder vh = new MockViewHolder(); in addToPreLayout() local
100 RecyclerView.ViewHolder vh = new MockViewHolder(); in addToPostLayout() local
111 RecyclerView.ViewHolder vh = new MockViewHolder(); in popFromPreLayout() local
120 RecyclerView.ViewHolder vh = new MockViewHolder(); in addToOldChangeHolders() local
129 RecyclerView.ViewHolder vh = new MockViewHolder(); in appearListTests() local
142 RecyclerView.ViewHolder vh = new MockViewHolder(); in disappearListTest() local
158 ViewHolder vh = new MockViewHolder(); in processAppear() local
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DPlaybackControlsPresenter.java237 public void setProgressColor(ViewHolder vh, @ColorInt int color) { in setProgressColor()
244 public void setTotalTime(ViewHolder vh, int ms) { in setTotalTime()
248 public void setTotalTimeLong(ViewHolder vh, long ms) { in setTotalTimeLong()
252 public int getTotalTime(ViewHolder vh) { in getTotalTime()
256 public long getTotalTimeLong(ViewHolder vh) { in getTotalTimeLong()
260 public void setCurrentTime(ViewHolder vh, int ms) { in setCurrentTime()
264 public void setCurrentTimeLong(ViewHolder vh, long ms) { in setCurrentTimeLong()
268 public int getCurrentTime(ViewHolder vh) { in getCurrentTime()
272 public long getCurrentTimeLong(ViewHolder vh) { in getCurrentTimeLong()
276 public void setSecondaryProgress(ViewHolder vh, int progressMs) { in setSecondaryProgress()
[all …]
DRowPresenter.java325 ViewHolder vh = createRowViewHolder(parent); in onCreateViewHolder() local
371 protected void initializeRowViewHolder(ViewHolder vh) { in initializeRowViewHolder()
443 protected void onRowViewExpanded(ViewHolder vh, boolean expanded) { in onRowViewExpanded()
452 private void updateActivateStatus(ViewHolder vh, View view) { in updateActivateStatus()
496 protected void dispatchItemSelectedListener(ViewHolder vh, boolean selected) { in dispatchItemSelectedListener()
509 protected void onRowViewSelected(ViewHolder vh, boolean selected) { in onRowViewSelected()
515 private void updateHeaderViewVisibility(ViewHolder vh) { in updateHeaderViewVisibility()
527 public final void setSelectLevel(Presenter.ViewHolder vh, float level) { in setSelectLevel()
537 public final float getSelectLevel(Presenter.ViewHolder vh) { in getSelectLevel()
549 protected void onSelectLevelChanged(ViewHolder vh) { in onSelectLevelChanged()
[all …]
DPlaybackControlsRowPresenter.java293 public void showBottomSpace(ViewHolder vh, boolean show) { in showBottomSpace()
301 public void showPrimaryActions(ViewHolder vh) { in showPrimaryActions()
334 ViewHolder vh = new ViewHolder(v, mDescriptionPresenter); in createRowViewHolder() local
339 private void initRow(final ViewHolder vh) { in initRow()
375 ViewHolder vh = (ViewHolder) holder; in onBindRowViewHolder() local
417 private void updateCardLayout(ViewHolder vh, int height) { in updateCardLayout()
449 ViewHolder vh = (ViewHolder) holder; in onUnbindRowViewHolder() local
463 protected void onRowViewSelected(RowPresenter.ViewHolder vh, boolean selected) { in onRowViewSelected()
471 protected void onRowViewAttachedToWindow(RowPresenter.ViewHolder vh) { in onRowViewAttachedToWindow()
480 protected void onRowViewDetachedFromWindow(RowPresenter.ViewHolder vh) { in onRowViewDetachedFromWindow()
DGuidedActionsStylist.java676 public void onBindViewHolder(ViewHolder vh, GuidedAction action) { in onBindViewHolder()
772 protected void setupImeOptions(ViewHolder vh, GuidedAction action) { in setupImeOptions()
788 public void setEditingMode(ViewHolder vh, GuidedAction action, boolean editing) { in setEditingMode()
794 void setEditingMode(ViewHolder vh, boolean editing) { in setEditingMode()
798 void setEditingMode(ViewHolder vh, boolean editing, boolean withTransition) { in setEditingMode()
808 protected void onEditingModeChange(ViewHolder vh, GuidedAction action, boolean editing) { in onEditingModeChange()
820 protected void onEditingModeChange(ViewHolder vh, boolean editing, boolean withTransition) { in onEditingModeChange()
882 public void onAnimateItemFocused(ViewHolder vh, boolean focused) { in onAnimateItemFocused()
893 public void onAnimateItemPressed(ViewHolder vh, boolean pressed) { in onAnimateItemPressed()
901 public void onAnimateItemPressedCancelled(ViewHolder vh) { in onAnimateItemPressedCancelled()
[all …]
DDetailsOverviewRowPresenter.java404 protected void onRowViewSelected(RowPresenter.ViewHolder vh, boolean selected) { in onRowViewSelected()
415 ViewHolder vh = new ViewHolder(v, mDetailsPresenter); in createRowViewHolder() local
428 private void initDetailsOverview(final ViewHolder vh) { in initDetailsOverview()
461 void bindImageDrawable(ViewHolder vh) { in bindImageDrawable()
548 ViewHolder vh = (ViewHolder) holder; in onBindRowViewHolder() local
558 ViewHolder vh = (ViewHolder) holder; in onUnbindRowViewHolder() local
576 ViewHolder vh = (ViewHolder) holder; in onSelectLevelChanged() local
583 protected void onRowViewAttachedToWindow(RowPresenter.ViewHolder vh) { in onRowViewAttachedToWindow()
592 protected void onRowViewDetachedFromWindow(RowPresenter.ViewHolder vh) { in onRowViewDetachedFromWindow()
DAbstractMediaItemPresenter.java432 final ViewHolder vh = new ViewHolder(view); in createRowViewHolder() local
451 protected void onBindRowViewHolder(RowPresenter.ViewHolder vh, Object item) { in onBindRowViewHolder()
469 protected void onBindRowActions(ViewHolder vh) { in onBindRowActions()
508 protected abstract void onBindMediaDetails(ViewHolder vh, Object item); in onBindMediaDetails()
516 protected void onUnbindMediaDetails(ViewHolder vh) { in onUnbindMediaDetails()
528 public void onBindMediaPlayState(ViewHolder vh) { in onBindMediaPlayState()
535 static int calculateMediaItemNumberFlipperIndex(ViewHolder vh) { in calculateMediaItemNumberFlipperIndex()
558 public void onUnbindMediaPlayState(ViewHolder vh) { in onUnbindMediaPlayState()
DAbstractMediaListHeaderPresenter.java98 ViewHolder vh = new ViewHolder(view); in createRowViewHolder() local
106 protected void onBindRowViewHolder(RowPresenter.ViewHolder vh, Object item) { in onBindRowViewHolder()
132 protected abstract void onBindMediaListHeaderViewHolder(ViewHolder vh, Object item); in onBindMediaListHeaderViewHolder()
DPlaybackTransportRowPresenter.java635 ViewHolder vh = (ViewHolder) rowViewHolder; in onReappear() local
654 ViewHolder vh = new ViewHolder(v, mDescriptionPresenter); in createRowViewHolder() local
659 private void initRow(final ViewHolder vh) { in initRow()
687 ViewHolder vh = (ViewHolder) holder; in onBindRowViewHolder() local
725 ViewHolder vh = (ViewHolder) holder; in onUnbindRowViewHolder() local
744 protected void onProgressBarClicked(ViewHolder vh) { in onProgressBarClicked()
776 protected void onRowViewSelected(RowPresenter.ViewHolder vh, boolean selected) { in onRowViewSelected()
784 protected void onRowViewAttachedToWindow(RowPresenter.ViewHolder vh) { in onRowViewAttachedToWindow()
793 protected void onRowViewDetachedFromWindow(RowPresenter.ViewHolder vh) { in onRowViewDetachedFromWindow()
DListRowPresenter.java533 private int getSpaceUnderBaseline(ListRowPresenter.ViewHolder vh) { in getSpaceUnderBaseline()
544 private void setVerticalPadding(ListRowPresenter.ViewHolder vh) { in setVerticalPadding()
582 ViewHolder vh = (ViewHolder)holder; in dispatchItemSelectedListener() local
593 itemViewHolder.getViewHolder(), itemViewHolder.mItem, vh, vh.getRow()); in dispatchItemSelectedListener() local
601 ViewHolder vh = (ViewHolder) holder; in onRowViewSelected() local
609 private void updateFooterViewSwitcher(ViewHolder vh) { in updateFooterViewSwitcher()
642 ViewHolder vh = (ViewHolder) holder; in onRowViewExpanded() local
654 ViewHolder vh = (ViewHolder) holder; in onBindRowViewHolder() local
663 ViewHolder vh = (ViewHolder) holder; in onUnbindRowViewHolder() local
798 ViewHolder vh = (ViewHolder) holder; in onSelectLevelChanged() local
[all …]
DAbstractDetailsDescriptionPresenter.java160 ViewHolder vh = (ViewHolder) viewHolder; in onBindViewHolder() local
215 protected abstract void onBindDescription(ViewHolder vh, Object item); in onBindDescription()
224 ViewHolder vh = (ViewHolder) holder; in onViewAttachedToWindow() local
231 ViewHolder vh = (ViewHolder) holder; in onViewDetachedFromWindow() local
DVerticalGridPresenter.java234 ViewHolder vh = createGridViewHolder(parent); in onCreateViewHolder() local
260 protected void initializeGridViewHolder(ViewHolder vh) { in initializeGridViewHolder()
335 ViewHolder vh = (ViewHolder) viewHolder; in onBindViewHolder() local
343 ViewHolder vh = (ViewHolder) viewHolder; in onUnbindViewHolder() local
380 void selectChildView(ViewHolder vh, View view) { in selectChildView()
DActionPresenterSelector.java69 ActionViewHolder vh = (ActionViewHolder) viewHolder; in onBindViewHolder() local
91 ActionViewHolder vh = (ActionViewHolder) viewHolder; in onBindViewHolder() local
125 ActionViewHolder vh = (ActionViewHolder) viewHolder; in onUnbindViewHolder() local
DControlBarPresenter.java151 Presenter.ViewHolder vh = mViewHolders.get(position); in bindControlToAction() local
235 public void setBackgroundColor(ViewHolder vh, int color) { in setBackgroundColor()
248 ViewHolder vh = (ViewHolder) holder; in onBindViewHolder() local
263 ViewHolder vh = (ViewHolder) holder; in onUnbindViewHolder() local
DFullWidthDetailsOverviewRowPresenter.java106 public void onBindLogo(ViewHolder vh) { in onBindLogo()
535 final ViewHolder vh = new ViewHolder(v, mDetailsPresenter, mDetailsOverviewLogoPresenter); in createRowViewHolder() local
583 ViewHolder vh = (ViewHolder) holder; in onBindRowViewHolder() local
592 ViewHolder vh = (ViewHolder) holder; in onUnbindRowViewHolder() local
608 ViewHolder vh = (ViewHolder) holder; in onSelectLevelChanged() local
615 protected void onRowViewAttachedToWindow(RowPresenter.ViewHolder vh) { in onRowViewAttachedToWindow()
623 protected void onRowViewDetachedFromWindow(RowPresenter.ViewHolder vh) { in onRowViewDetachedFromWindow()
DControlButtonPresenterSelector.java95 ActionViewHolder vh = (ActionViewHolder) viewHolder; in onBindViewHolder() local
115 ActionViewHolder vh = (ActionViewHolder) viewHolder; in onUnbindViewHolder() local
DDetailsOverviewLogoPresenter.java94 ViewHolder vh = new ViewHolder(view); in onCreateViewHolder() local
140 ViewHolder vh = (ViewHolder) viewHolder; in onBindViewHolder() local
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DDefaultItemAnimatorTest.java123 RecyclerView.ViewHolder vh = new ViewHolder(new TextView(getActivity())); in reUseWithPayload() local
165 ViewHolder vh = createViewHolder(1); in animateAdd() local
174 ViewHolder vh = createViewHolder(1); in animateRemove() local
183 ViewHolder vh = createViewHolder(1); in animateMove() local
192 ViewHolder vh = createViewHolder(1); in animateChange() local
226 final ViewHolder vh = createViewHolder(1); in cancelAddBefore() local
234 final ViewHolder vh = createViewHolder(1); in cancelAddAfter() local
242 ViewHolder vh = createViewHolder(1); in cancelMoveBefore() local
250 ViewHolder vh = createViewHolder(1); in cancelMoveAfter() local
258 ViewHolder vh = createViewHolder(1); in cancelRemove() local
[all …]
DChildHelperTest.java53 private RecyclerView.ViewHolder vh() { in vh() method in ChildHelperTest
65 RecyclerView.ViewHolder vh = vh(); in addChild() local
74 RecyclerView.ViewHolder vh = vh(); in addChildHidden() local
83 RecyclerView.ViewHolder vh = vh(); in addChildAndHide() local
93 RecyclerView.ViewHolder vh = vh(); in findHiddenNonRemoved() local
101 RecyclerView.ViewHolder vh = vh(); in findHiddenRemoved() local
DItemAnimatorV2ApiTest.java193 RecyclerView.ViewHolder vh = mRecyclerView.findViewHolderForAdapterPosition(2); in simpleAdd() local
214 RecyclerView.ViewHolder vh = mRecyclerView.findViewHolderForAdapterPosition(2); in simpleRemove() local
239 RecyclerView.ViewHolder vh = mRecyclerView.findViewHolderForAdapterPosition(2); in simpleUpdate() local
265 final RecyclerView.ViewHolder vh = mRecyclerView.findViewHolderForAdapterPosition(2); in updateWithDuplicateViewHolder() local
366 RecyclerView.ViewHolder vh = mRecyclerView.findViewHolderForAdapterPosition(9); in changeToDisappear() local
385 RecyclerView.ViewHolder vh = mRecyclerView.findViewHolderForAdapterPosition(0); in changeToDisappearFromHead() local
405 final RecyclerView.ViewHolder vh = mRecyclerView.findViewHolderForAdapterPosition(2); in updatePayload() local
561 final RecyclerView.ViewHolder vh = mRecyclerView.findViewHolderForAdapterPosition(2); in notifyUpdateWithChangedAdapterType() local
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DPresenterTest.java64 Presenter.ViewHolder vh = p.onCreateViewHolder(new FrameLayout(mContext)); in testHeaderPresenter() local
113 RowHeaderPresenter.ViewHolder vh = (RowHeaderPresenter.ViewHolder) in testRowHeaderPresenter() local
136 RowHeaderPresenter.ViewHolder vh = new RowHeaderPresenter.ViewHolder( in testSingleRowHeaderPresenter() local
155 PlaybackControlsRowPresenter.ViewHolder vh = (PlaybackControlsRowPresenter.ViewHolder) in testPlaybackControlsRowPresenter() local
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DHeadersFragmentTest.java66 ItemBridgeAdapter.ViewHolder vh = (ItemBridgeAdapter.ViewHolder) in defaultScale() local
94 ItemBridgeAdapter.ViewHolder vh = (ItemBridgeAdapter.ViewHolder) in disableScale() local
121 ItemBridgeAdapter.ViewHolder vh = (ItemBridgeAdapter.ViewHolder) in disableScaleInConstructor() local
DHeadersSupportFragmentTest.java69 ItemBridgeAdapter.ViewHolder vh = (ItemBridgeAdapter.ViewHolder) in defaultScale() local
97 ItemBridgeAdapter.ViewHolder vh = (ItemBridgeAdapter.ViewHolder) in disableScale() local
124 ItemBridgeAdapter.ViewHolder vh = (ItemBridgeAdapter.ViewHolder) in disableScaleInConstructor() local
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DDetailsDescriptionPresenter.java21 protected void onBindDescription(ViewHolder vh, Object item) { in onBindDescription()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/helper/
DItemTouchHelperTest.java200 public MoveRecord getMove(RecyclerView.ViewHolder vh) { in getMove()
215 public SwipeRecord getSwipe(RecyclerView.ViewHolder vh) { in getSwipe()
224 public boolean isCleared(RecyclerView.ViewHolder vh) { in isCleared()

1234