Home
last modified time | relevance | path

Searched refs:FLAG_NOT_RECYCLABLE (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java9949 static final int FLAG_NOT_RECYCLABLE = 1 << 4; field in RecyclerView.ViewHolder
10370 mFlags |= FLAG_NOT_RECYCLABLE; in setIsRecyclable()
10372 mFlags &= ~FLAG_NOT_RECYCLABLE; in setIsRecyclable()
10385 return (mFlags & FLAG_NOT_RECYCLABLE) == 0 in isRecyclable()
10394 return (mFlags & FLAG_NOT_RECYCLABLE) != 0; in shouldBeKeptAsChild()
10402 return (mFlags & FLAG_NOT_RECYCLABLE) == 0 && itemView.hasTransientState(); in doesTransientStatePreventRecycling()
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DRecyclerView.java10686 static final int FLAG_NOT_RECYCLABLE = 1 << 4; field in RecyclerView.ViewHolder
11117 mFlags |= FLAG_NOT_RECYCLABLE; in setIsRecyclable()
11119 mFlags &= ~FLAG_NOT_RECYCLABLE; in setIsRecyclable()
11132 return (mFlags & FLAG_NOT_RECYCLABLE) == 0 in isRecyclable()
11141 return (mFlags & FLAG_NOT_RECYCLABLE) != 0; in shouldBeKeptAsChild()
11149 return (mFlags & FLAG_NOT_RECYCLABLE) == 0 && ViewCompat.hasTransientState(itemView); in doesTransientStatePreventRecycling()