Home
last modified time | relevance | path

Searched refs:mViewHolder (Results 1 – 13 of 13) sorted by relevance

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DDetailsOverviewSharedElementHelper.java42 private ViewHolder mViewHolder; field in DetailsOverviewSharedElementHelper
59 ImageView imageView = mViewHolder.mImageView; in saveImageViewScale()
79 ImageView imageView = mViewHolder.mImageView; in changeImageViewScale()
95 ImageView imageView = mViewHolder.mImageView; in restoreImageViewScale()
116 if (mViewHolder == null || mViewHolder.mOverviewFrame != overviewView) { in onSharedElementStart()
124 View imageView = mViewHolder.mImageView; in onSharedElementStart()
130 final View rightPanel = mViewHolder.mRightPanel; in onSharedElementStart()
139 mViewHolder.mActionsRow.setVisibility(View.INVISIBLE); in onSharedElementStart()
140 mViewHolder.mDetailsDescriptionFrame.setVisibility(View.INVISIBLE); in onSharedElementStart()
153 if (mViewHolder == null || mViewHolder.mOverviewFrame != overviewView) { in onSharedElementEnd()
[all …]
DFullWidthDetailsOverviewSharedElementHelper.java54 private ViewHolder mViewHolder; field in FullWidthDetailsOverviewSharedElementHelper
120 mViewHolder = vh; in onBindLogo()
124 if (mViewHolder != null) { in onBindLogo()
127 + mViewHolder.getOverviewView()); in onBindLogo()
129 ViewCompat.setTransitionName(mViewHolder.getLogoViewHolder().view, null); in onBindLogo()
134 mViewHolder.getDetailsDescriptionFrame().postOnAnimation(new Runnable() { in onBindLogo()
138 Log.d(TAG, "setTransitionName "+mViewHolder.getOverviewView()); in onBindLogo()
140 ViewCompat.setTransitionName(mViewHolder.getLogoViewHolder().view, in onBindLogo()
153 if (mViewHolder.getActionsRow().isFocused()) { in onBindLogo()
154 mViewHolder.getActionsRow().requestFocus(); in onBindLogo()
[all …]
DDetailsOverviewRowPresenter.java75 DetailsOverviewRowPresenter.ViewHolder mViewHolder; field in DetailsOverviewRowPresenter.ActionsItemBridgeAdapter
78 mViewHolder = viewHolder; in ActionsItemBridgeAdapter()
83 if (mViewHolder.getOnItemViewClickedListener() != null || in onBind()
89 if (mViewHolder.getOnItemViewClickedListener() != null) { in onBind()
90 mViewHolder.getOnItemViewClickedListener().onItemClicked( in onBind()
92 mViewHolder, mViewHolder.getRow()); in onBind() local
103 if (mViewHolder.getOnItemViewClickedListener() != null || in onUnbind()
111 viewHolder.itemView.removeOnLayoutChangeListener(mViewHolder.mLayoutChangeListener); in onAttachedToWindow()
112 viewHolder.itemView.addOnLayoutChangeListener(mViewHolder.mLayoutChangeListener); in onAttachedToWindow()
116 viewHolder.itemView.removeOnLayoutChangeListener(mViewHolder.mLayoutChangeListener); in onDetachedFromWindow()
[all …]
DFullWidthDetailsOverviewRowPresenter.java121 FullWidthDetailsOverviewRowPresenter.ViewHolder mViewHolder; field in FullWidthDetailsOverviewRowPresenter.ActionsItemBridgeAdapter
124 mViewHolder = viewHolder; in ActionsItemBridgeAdapter()
129 if (mViewHolder.getOnItemViewClickedListener() != null || in onBind()
135 if (mViewHolder.getOnItemViewClickedListener() != null) { in onBind()
136 mViewHolder.getOnItemViewClickedListener().onItemClicked( in onBind()
138 mViewHolder, mViewHolder.getRow()); in onBind() local
149 if (mViewHolder.getOnItemViewClickedListener() != null || in onUnbind()
157 viewHolder.itemView.removeOnLayoutChangeListener(mViewHolder.mLayoutChangeListener); in onAttachedToWindow()
158 viewHolder.itemView.addOnLayoutChangeListener(mViewHolder.mLayoutChangeListener); in onAttachedToWindow()
162 viewHolder.itemView.removeOnLayoutChangeListener(mViewHolder.mLayoutChangeListener); in onDetachedFromWindow()
[all …]
DFocusHighlightHelper.java231 ItemBridgeAdapter.ViewHolder mViewHolder; field in FocusHighlightHelper.HeaderItemFocusHighlight.HeaderFocusAnimator
234 mViewHolder = (ItemBridgeAdapter.ViewHolder) mGridView.getChildViewHolder(view); in HeaderFocusAnimator()
239 Presenter presenter = mViewHolder.getPresenter(); in setFocusLevel()
242 ((RowHeaderPresenter.ViewHolder) mViewHolder.getViewHolder()), level); in setFocusLevel()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
DItemTouchHelper.java321 endRecoverAnimation(animation.mViewHolder, true);
322 if (mPendingCleanup.remove(animation.mViewHolder.itemView)) {
323 mCallback.clearView(mRecyclerView, animation.mViewHolder);
325 select(animation.mViewHolder, animation.mActionState);
491 mCallback.clearView(mRecyclerView, recoverAnimation.mViewHolder); in destroyCallbacks()
680 anim.mViewHolder.getAdapterPosition() != RecyclerView.NO_POSITION) { in postDispatchSwipe()
687 mCallback.onSwiped(anim.mViewHolder, swipeDir); in postDispatchSwipe()
888 if (anim.mViewHolder == viewHolder) { in endRecoverAnimation()
1019 final View view = anim.mViewHolder.itemView; in findChildView()
1130 if (anim.mViewHolder.itemView == target) { in findAnimation()
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DChildHelperTest.java53 lp.mViewHolder = mockViewHolder; in vh()
DBaseLinearLayoutManagerTest.java519 TestViewHolder vh = (TestViewHolder) lp.mViewHolder; in collectChildCoordinates()
DBaseRecyclerViewInstrumentationTest.java589 Item item = ((TestViewHolder) lp.mViewHolder).mBoundItem; in assertVisibleItemPositions()
DBaseStaggeredGridLayoutManagerTest.java669 TestViewHolder vh = (TestViewHolder) lp.mViewHolder; in collectChildCoordinates()
DStaggeredGridLayoutManagerBaseConfigSetTest.java571 TestViewHolder vh = (TestViewHolder) layoutParams.mViewHolder; in scrollToPositionTest()
DRecyclerViewLayoutTest.java2659 RecyclerView.ViewHolder vh = lp.mViewHolder; in invalidateDecorOffsets()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerView.java3929 return ((LayoutParams) child.getLayoutParams()).mViewHolder; in getChildViewHolderInt()
4865 rvLayoutParams.mViewHolder = holder; in bindViewToPosition()
5056 rvLayoutParams.mViewHolder = holder; in getViewForPosition()
7062 Log.d(TAG, "consuming pending invalidate on child " + lp.mViewHolder); in addViewInt()
9808 ViewHolder mViewHolder; field in RecyclerView.LayoutParams
9843 return mViewHolder.needsUpdate(); in viewNeedsUpdate()
9853 return mViewHolder.isInvalid(); in isViewInvalid()
9864 return mViewHolder.isRemoved(); in isItemRemoved()
9875 return mViewHolder.isUpdated(); in isItemChanged()
9883 return mViewHolder.getPosition(); in getViewPosition()
[all …]