Home
last modified time | relevance | path

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

12

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DDefaultItemAnimatorTest.java167 ViewHolder vh = createViewHolder(1); in testAnimateAdd() local
175 ViewHolder vh = createViewHolder(1); in testAnimateRemove() local
183 ViewHolder vh = createViewHolder(1); in testAnimateMove() local
191 ViewHolder vh = createViewHolder(1); in testAnimateChange() local
224 final ViewHolder vh = createViewHolder(1); in testCancelAddBefore() local
231 final ViewHolder vh = createViewHolder(1); in testCancelAddAfter() local
238 ViewHolder vh = createViewHolder(1); in testCancelMoveBefore() local
245 ViewHolder vh = createViewHolder(1); in testCancelMoveAfter() local
252 ViewHolder vh = createViewHolder(1); in testCancelRemove() local
267 ViewHolder vh = createViewHolder(1); in cancelChangeOldTest() local
[all …]
DRecyclerViewAnimationsTest.java1070 RecyclerView.ViewHolder vh = recyclerView.getChildViewHolder(view); in findByPos() local
1449 final RecyclerView.ViewHolder vh = mRecyclerView in assertNoPreLayoutPosition() local
1455 private void assertPreLayoutPosition(RecyclerView.ViewHolder vh) { in assertPreLayoutPosition()
1571 ViewHolder vh = getChildViewHolderInt(getChildAt(i)); in validateViewHolderPositions() local
1579 ViewHolder vh = getChildViewHolderInt(getChildAt(i)); in validateViewHolderPositions() local
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DPlaybackControlsPresenter.java231 public void setProgressColor(ViewHolder vh, @ColorInt int color) { in setProgressColor()
238 public void setTotalTime(ViewHolder vh, int ms) { in setTotalTime()
242 public int getTotalTime(ViewHolder vh) { in getTotalTime()
246 public void setCurrentTime(ViewHolder vh, int ms) { in setCurrentTime()
250 public int getCurrentTime(ViewHolder vh) { in getCurrentTime()
254 public void setSecondaryProgress(ViewHolder vh, int progressMs) { in setSecondaryProgress()
258 public int getSecondaryProgress(ViewHolder vh) { in getSecondaryProgress()
262 public void showPrimaryActions(ViewHolder vh) { in showPrimaryActions()
268 public void resetFocus(ViewHolder vh) { in resetFocus()
273 public void enableTimeMargins(ViewHolder vh, boolean enable) { in enableTimeMargins()
[all …]
DRowPresenter.java296 ViewHolder vh = createRowViewHolder(parent); in onCreateViewHolder() local
342 protected void initializeRowViewHolder(ViewHolder vh) { in initializeRowViewHolder()
414 protected void onRowViewExpanded(ViewHolder vh, boolean expanded) { in onRowViewExpanded()
423 private void updateActivateStatus(ViewHolder vh, View view) { in updateActivateStatus()
467 protected void dispatchItemSelectedListener(ViewHolder vh, boolean selected) { in dispatchItemSelectedListener()
480 protected void onRowViewSelected(ViewHolder vh, boolean selected) { in onRowViewSelected()
486 private void updateHeaderViewVisibility(ViewHolder vh) { in updateHeaderViewVisibility()
498 public final void setSelectLevel(Presenter.ViewHolder vh, float level) { in setSelectLevel()
508 public final float getSelectLevel(Presenter.ViewHolder vh) { in getSelectLevel()
520 protected void onSelectLevelChanged(ViewHolder vh) { in onSelectLevelChanged()
[all …]
DPlaybackControlsRowPresenter.java288 public void showBottomSpace(ViewHolder vh, boolean show) { in showBottomSpace()
296 public void showPrimaryActions(ViewHolder vh) { in showPrimaryActions()
322 ViewHolder vh = new ViewHolder(v, mDescriptionPresenter); in createRowViewHolder() local
327 private void initRow(final ViewHolder vh) { in initRow()
363 ViewHolder vh = (ViewHolder) holder; in onBindRowViewHolder() local
405 private void updateCardLayout(ViewHolder vh, int height) { in updateCardLayout()
437 ViewHolder vh = (ViewHolder) holder; in onUnbindRowViewHolder() local
451 protected void onRowViewSelected(RowPresenter.ViewHolder vh, boolean selected) { in onRowViewSelected()
459 protected void onRowViewAttachedToWindow(RowPresenter.ViewHolder vh) { in onRowViewAttachedToWindow()
468 protected void onRowViewDetachedFromWindow(RowPresenter.ViewHolder vh) { in onRowViewDetachedFromWindow()
DListRowPresenter.java388 private int getSpaceUnderBaseline(ListRowPresenter.ViewHolder vh) { in getSpaceUnderBaseline()
399 private void setVerticalPadding(ListRowPresenter.ViewHolder vh) { in setVerticalPadding()
437 ViewHolder vh = (ViewHolder)holder; in dispatchItemSelectedListener() local
448 itemViewHolder.getViewHolder(), itemViewHolder.mItem, vh, vh.getRow()); in dispatchItemSelectedListener() local
456 ViewHolder vh = (ViewHolder) holder; in onRowViewSelected() local
464 private void updateFooterViewSwitcher(ViewHolder vh) { in updateFooterViewSwitcher()
497 ViewHolder vh = (ViewHolder) holder; in onRowViewExpanded() local
509 ViewHolder vh = (ViewHolder) holder; in onBindRowViewHolder() local
517 ViewHolder vh = (ViewHolder) holder; in onUnbindRowViewHolder() local
619 ViewHolder vh = (ViewHolder) holder; in onSelectLevelChanged() local
[all …]
DDetailsOverviewRowPresenter.java406 protected void onRowViewSelected(RowPresenter.ViewHolder vh, boolean selected) { in onRowViewSelected()
417 ViewHolder vh = new ViewHolder(v, mDetailsPresenter); in createRowViewHolder() local
430 private void initDetailsOverview(final ViewHolder vh) { in initDetailsOverview()
463 private void bindImageDrawable(ViewHolder vh) { in bindImageDrawable()
550 ViewHolder vh = (ViewHolder) holder; in onBindRowViewHolder() local
560 ViewHolder vh = (ViewHolder) holder; in onUnbindRowViewHolder() local
578 ViewHolder vh = (ViewHolder) holder; in onSelectLevelChanged() local
585 protected void onRowViewAttachedToWindow(RowPresenter.ViewHolder vh) { in onRowViewAttachedToWindow()
594 protected void onRowViewDetachedFromWindow(RowPresenter.ViewHolder vh) { in onRowViewDetachedFromWindow()
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.java222 ViewHolder vh = createGridViewHolder(parent); in onCreateViewHolder() local
263 protected void initializeGridViewHolder(ViewHolder vh) { in initializeGridViewHolder()
292 ViewHolder vh = (ViewHolder) viewHolder; in onBindViewHolder() local
300 ViewHolder vh = (ViewHolder) viewHolder; in onUnbindViewHolder() local
337 private 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
234 public void setBackgroundColor(ViewHolder vh, int color) { in setBackgroundColor()
247 ViewHolder vh = (ViewHolder) holder; in onBindViewHolder() local
262 ViewHolder vh = (ViewHolder) holder; in onUnbindViewHolder() local
DFullWidthDetailsOverviewRowPresenter.java115 public void onBindLogo(ViewHolder vh) { in onBindLogo()
555 final ViewHolder vh = new ViewHolder(v, mDetailsPresenter, mDetailsOverviewLogoPresenter); in createRowViewHolder() local
603 ViewHolder vh = (ViewHolder) holder; in onBindRowViewHolder() local
612 ViewHolder vh = (ViewHolder) holder; in onUnbindRowViewHolder() local
628 ViewHolder vh = (ViewHolder) holder; in onSelectLevelChanged() local
635 protected void onRowViewAttachedToWindow(RowPresenter.ViewHolder vh) { in onRowViewAttachedToWindow()
643 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
DGuidedActionsStylist.java332 public void onBindViewHolder(ViewHolder vh, GuidedAction action) { in onBindViewHolder()
387 public void onAnimateItemFocused(ViewHolder vh, boolean focused) { in onAnimateItemFocused()
398 public void onAnimateItemPressed(ViewHolder vh, boolean pressed) { in onAnimateItemPressed()
410 public void onAnimateItemChecked(ViewHolder vh, boolean checked) { in onAnimateItemChecked()
DDetailsOverviewLogoPresenter.java78 ViewHolder vh = (ViewHolder) viewHolder; in onBindViewHolder() local
DFullWidthDetailsOverviewSharedElementHelper.java117 public void onBindLogo(ViewHolder vh) { in onBindLogo()
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
DPresenterTest.java42 Presenter.ViewHolder vh = p.onCreateViewHolder(new FrameLayout(getContext())); in testHeaderPresenter() local
84 PlaybackControlsRowPresenter.ViewHolder vh = (PlaybackControlsRowPresenter.ViewHolder) in testPlaybackControlsRowPresenter() local
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DRowsSupportFragment.java178 …ItemBridgeAdapter.ViewHolder vh = (ItemBridgeAdapter.ViewHolder) listView.getChildViewHolder(view); in setExpand() local
197 RowPresenter.ViewHolder vh = rowPresenter.getRowViewHolder(ibvh.getViewHolder()); in setOnItemViewSelectedListener() local
306 private static void setRowViewExpanded(ItemBridgeAdapter.ViewHolder vh, boolean expanded) { in setRowViewExpanded()
310 private static void setRowViewSelected(ItemBridgeAdapter.ViewHolder vh, boolean selected, in setRowViewSelected()
524 RowPresenter.ViewHolder vh = rowPresenter.getRowViewHolder(ibvh.getViewHolder()); in freezeRows() local
543 RowPresenter.ViewHolder vh = rowPresenter.getRowViewHolder(ibvh.getViewHolder()); in setEntranceTransitionState() local
DRowsFragment.java176 …ItemBridgeAdapter.ViewHolder vh = (ItemBridgeAdapter.ViewHolder) listView.getChildViewHolder(view); in setExpand() local
195 RowPresenter.ViewHolder vh = rowPresenter.getRowViewHolder(ibvh.getViewHolder()); in setOnItemViewSelectedListener() local
304 private static void setRowViewExpanded(ItemBridgeAdapter.ViewHolder vh, boolean expanded) { in setRowViewExpanded()
308 private static void setRowViewSelected(ItemBridgeAdapter.ViewHolder vh, boolean selected, in setRowViewSelected()
522 RowPresenter.ViewHolder vh = rowPresenter.getRowViewHolder(ibvh.getViewHolder()); in freezeRows() local
541 RowPresenter.ViewHolder vh = rowPresenter.getRowViewHolder(ibvh.getViewHolder()); in setEntranceTransitionState() local
DGuidedActionAdapter.java212 GuidedActionsStylist.ViewHolder vh = mStylist.onCreateViewHolder(parent); in onCreateViewHolder() local
258 ViewHolder vh = mRecyclerView.getChildViewHolder(mSelectedView); in unFocus() local
389 ViewHolder vh = mRecyclerView.findViewHolderForPosition(i); in handleCheckedActions() local
DPlaybackOverlaySupportFragment.java210 private void resetControlsToPrimaryActions(ItemBridgeAdapter.ViewHolder vh) { in resetControlsToPrimaryActions()
398 RecyclerView.ViewHolder vh = getVerticalGridView().findViewHolderForPosition(0); in getControlRowView() local
673 private void updateControlsBottomSpace(ItemBridgeAdapter.ViewHolder vh) { in updateControlsBottomSpace()
DPlaybackOverlayFragment.java208 private void resetControlsToPrimaryActions(ItemBridgeAdapter.ViewHolder vh) { in resetControlsToPrimaryActions()
396 RecyclerView.ViewHolder vh = getVerticalGridView().findViewHolderForPosition(0); in getControlRowView() local
671 private void updateControlsBottomSpace(ItemBridgeAdapter.ViewHolder vh) { in updateControlsBottomSpace()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneFilterTypeAdapter.java56 ViewHolder vh = new ViewHolder(); in setupViewHolder() local
121 ViewHolder vh = (ViewHolder) v.getTag(); in getView() local
151 ViewHolder vh = (ViewHolder) v.getTag(); in onClick() local
DTimeZoneResultAdapter.java70 ViewHolder vh = new ViewHolder(); in setupViewHolder() local
281 ViewHolder vh = (ViewHolder) v.getTag(); in getView() local
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/
DMainActivity.java158 DataBoundViewHolder<ListItemBinding> vh = super.onCreateViewHolder(viewGroup, type); in onCreateViewHolder() local
164 public void onBindViewHolder(DataBoundViewHolder<ListItemBinding> vh, int index) { in onBindViewHolder()

12