Searched refs:mViewHolder (Results 1 – 4 of 4) sorted by relevance
45 private PreferenceViewHolder mViewHolder; field in TwoTargetPreferenceTest58 mViewHolder = PreferenceViewHolder.createInstanceForTests(mRootView); in setUp()60 mDivider = mViewHolder.findViewById(R.id.two_target_divider); in setUp()61 mWidgetFrame = mViewHolder.findViewById(android.R.id.widget_frame); in setUp()68 mPreference.onBindViewHolder(mViewHolder); in bind_noSecondTarget_shouldNotDrawDivider()78 mPreference.onBindViewHolder(mViewHolder); in bind_hasSecondTarget_shouldNotDrawDivider()88 mPreference.onBindViewHolder(mViewHolder); in bind_smallIcon_shouldUseSmallIconSize()92 final LinearLayout.LayoutParams layoutParams = (LinearLayout.LayoutParams) mViewHolder in bind_smallIcon_shouldUseSmallIconSize()104 mPreference.onBindViewHolder(mViewHolder); in bind_mediumIcon_shouldUseMediumIconSize()108 final LinearLayout.LayoutParams layoutParams = (LinearLayout.LayoutParams) mViewHolder in bind_mediumIcon_shouldUseMediumIconSize()[all …]
47 private PreferenceViewHolder mViewHolder; field in RestrictedPreferenceHelperTest53 mViewHolder = PreferenceViewHolder.createInstanceForTests(mock(View.class)); in setUp()60 when(mViewHolder.itemView.findViewById(android.R.id.summary)) in bindPreference_disabled_shouldDisplayDisabledSummary()67 mHelper.onBindViewHolder(mViewHolder); in bindPreference_disabled_shouldDisplayDisabledSummary()76 when(mViewHolder.itemView.findViewById(android.R.id.summary)) in bindPreference_notDisabled_shouldNotHideSummary()84 mHelper.onBindViewHolder(mViewHolder); in bindPreference_notDisabled_shouldNotHideSummary()
315 endRecoverAnimation(animation.mViewHolder, true);316 if (mPendingCleanup.remove(animation.mViewHolder.itemView)) {317 mCallback.clearView(mRecyclerView, animation.mViewHolder);319 select(animation.mViewHolder, animation.mActionState);484 mCallback.clearView(mRecyclerView, recoverAnimation.mViewHolder); in destroyCallbacks()673 && anim.mViewHolder.getAdapterPosition() != RecyclerView.NO_POSITION) { in postDispatchSwipe()680 mCallback.onSwiped(anim.mViewHolder, swipeDir); in postDispatchSwipe()881 if (anim.mViewHolder == viewHolder) { in endRecoverAnimation()1012 final View view = anim.mViewHolder.itemView; in findChildView()1123 if (anim.mViewHolder.itemView == target) { in findAnimation()[all …]
4219 return ((LayoutParams) child.getLayoutParams()).mViewHolder; in getChildViewHolderInt()5336 rvLayoutParams.mViewHolder = holder; in bindViewToPosition()5560 rvLayoutParams.mViewHolder = holder; in tryGetViewHolderForPositionByDeadline()7731 Log.d(TAG, "consuming pending invalidate on child " + lp.mViewHolder); in addViewInt()10460 ViewHolder mViewHolder; field in RecyclerView.LayoutParams10495 return mViewHolder.needsUpdate(); in viewNeedsUpdate()10505 return mViewHolder.isInvalid(); in isViewInvalid()10516 return mViewHolder.isRemoved(); in isItemRemoved()10527 return mViewHolder.isUpdated(); in isItemChanged()10535 return mViewHolder.getPosition(); in getViewPosition()[all …]