Searched refs:payloads (Results 1 - 20 of 20) sorted by relevance

/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DCardPresenter.java125 public void onBindViewHolder(ViewHolder viewHolder, Object item, List<Object> payloads) { argument
126 if (payloads.isEmpty()) {
127 super.onBindViewHolder(viewHolder, item, payloads);
130 Bundle o = (Bundle) payloads.get(0);
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DCardPresenter.java125 public void onBindViewHolder(ViewHolder viewHolder, Object item, List<Object> payloads) { argument
126 if (payloads.isEmpty()) {
127 super.onBindViewHolder(viewHolder, item, payloads);
130 Bundle o = (Bundle) payloads.get(0);
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DItemAnimatorV2ApiTest.java103 public boolean canReUse(RecyclerView.ViewHolder viewHolder, List<Object> payloads) {
269 public boolean canReUse(RecyclerView.ViewHolder viewHolder, List<Object> payloads) {
307 public boolean canReUse(RecyclerView.ViewHolder viewHolder, List<Object> payloads) {
410 public boolean canReUse(RecyclerView.ViewHolder viewHolder, List<Object> payloads) {
412 assertEquals(1, payloads.size());
413 assertSame(payload, payloads.get(0));
428 assertNotNull(log.preInfo.payloads);
429 assertTrue(log.preInfo.payloads.contains(payload));
566 public boolean canReUse(RecyclerView.ViewHolder viewHolder, List<Object> payloads) {
599 public boolean canReUse(RecyclerView.ViewHolder viewHolder, List<Object> payloads) {
612 canReuseUpdatedViewHolder(RecyclerView.ViewHolder viewHolder, List<Object> payloads) argument
619 recordPreLayoutInformation(@onNull RecyclerView.State state, @NonNull RecyclerView.ViewHolder viewHolder, @AdapterChanges int changeFlags, @NonNull List<Object> payloads) argument
711 canReUse(RecyclerView.ViewHolder viewHolder, List<Object> payloads) argument
[all...]
H A DBaseRecyclerViewAnimationsTest.java633 final List<Object> payloads; field in class:BaseRecyclerViewAnimationsTest.LoggingInfo
635 LoggingInfo(RecyclerView.ViewHolder viewHolder, int changeFlags, List<Object> payloads) { argument
638 if (payloads != null) {
639 this.payloads = new ArrayList<>();
640 this.payloads.addAll(payloads);
642 this.payloads = null;
651 ", payloads=" + payloads +
H A DLoggingItemAnimator.java64 @AdapterChanges int changeFlags, @NonNull List<Object> payloads) {
66 loggingInfo = new BaseRecyclerViewAnimationsTest.LoggingInfo(viewHolder, changeFlags, payloads);
62 recordPreLayoutInformation(@onNull RecyclerView.State state, @NonNull RecyclerView.ViewHolder viewHolder, @AdapterChanges int changeFlags, @NonNull List<Object> payloads) argument
H A DRecyclerViewAnimationsTest.java125 @NonNull List<Object> payloads) {
961 int position, List<Object> payloads) {
966 assertEquals(expectedPayloads, payloads);
974 @NonNull List<Object> payloads) {
975 return canReUse && super.canReuseUpdatedViewHolder(viewHolder, payloads);
1044 // for Change Animation disabled, payload should match the payloads unless
H A DLinearLayoutManagerTest.java847 int position, List<Object> payloads) {
H A DRecyclerViewLayoutTest.java3505 int position, List<Object> payloads) {
3507 holder.setData(payloads.isEmpty() ? null : payloads.get(0));
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DItemBridgeAdapter.java46 public void onBind(ViewHolder viewHolder, List payloads) { argument
395 List payloads) {
400 viewHolder.mPresenter.onBindViewHolder(viewHolder.mHolder, viewHolder.mItem, payloads);
404 mAdapterListener.onBind(viewHolder, payloads);
394 onBindViewHolder(RecyclerView.ViewHolder holder, int position, List payloads) argument
H A DPresenter.java132 * Binds a {@link View} to an item with a list of payloads.
136 * @param payloads A non-null list of merged payloads. Can be empty list if requires full
139 public void onBindViewHolder(ViewHolder viewHolder, Object item, List<Object> payloads) { argument
/frameworks/base/core/java/com/android/internal/widget/
H A DDefaultItemAnimator.java665 @NonNull List<Object> payloads) {
666 return !payloads.isEmpty() || super.canReuseUpdatedViewHolder(viewHolder, payloads);
664 canReuseUpdatedViewHolder(@onNull ViewHolder viewHolder, @NonNull List<Object> payloads) argument
H A DAdapterHelper.java765 void markViewHoldersUpdated(int positionStart, int itemCount, Object payloads); argument
H A DRecyclerView.java6288 * The payloads parameter is a merge list from {@link #notifyItemChanged(int, Object)} or
6289 * {@link #notifyItemRangeChanged(int, int, Object)}. If the payloads list is not empty,
6299 * @param payloads A non-null list of merged payloads. Can be empty list if requires full
6302 public void onBindViewHolder(VH holder, int position, List<Object> payloads) { argument
6612 * Client can optionally pass a payload for partial change. These payloads will be merged
6616 * payloads on that item and prevent future payload until
6659 * Client can optionally pass a payload for partial change. These payloads will be merged
6663 * payloads on that item and prevent future payload until
10280 // there are none-null payloads
11668 recordPreLayoutInformation(@onNull State state, @NonNull ViewHolder viewHolder, @AdapterChanges int changeFlags, @NonNull List<Object> payloads) argument
12088 canReuseUpdatedViewHolder(@onNull ViewHolder viewHolder, @NonNull List<Object> payloads) argument
[all...]
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DDefaultItemAnimator.java664 @NonNull List<Object> payloads) {
665 return !payloads.isEmpty() || super.canReuseUpdatedViewHolder(viewHolder, payloads);
663 canReuseUpdatedViewHolder(@onNull RecyclerView.ViewHolder viewHolder, @NonNull List<Object> payloads) argument
H A DAdapterHelper.java766 void markViewHoldersUpdated(int positionStart, int itemCount, Object payloads); argument
H A DRecyclerView.java6719 * The payloads parameter is a merge list from {@link #notifyItemChanged(int, Object)} or
6720 * {@link #notifyItemRangeChanged(int, int, Object)}. If the payloads list is not empty,
6730 * @param payloads A non-null list of merged payloads. Can be empty list if requires full
6734 @NonNull List<Object> payloads) {
7053 * Client can optionally pass a payload for partial change. These payloads will be merged
7057 * payloads on that item and prevent future payload until
7100 * Client can optionally pass a payload for partial change. These payloads will be merged
7104 * payloads on that item and prevent future payload until
11023 // there are none-null payloads
6733 onBindViewHolder(@onNull VH holder, int position, @NonNull List<Object> payloads) argument
12619 recordPreLayoutInformation(@onNull State state, @NonNull ViewHolder viewHolder, @AdapterChanges int changeFlags, @NonNull List<Object> payloads) argument
13039 canReuseUpdatedViewHolder(@onNull ViewHolder viewHolder, @NonNull List<Object> payloads) argument
[all...]
/frameworks/base/core/java/android/app/admin/
H A DSecurityLog.java672 * Write a log entry to the underlying storage, with several payloads.
676 public static native int writeEvent(int tag, Object... payloads); argument
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DAnimatedRecyclerView.java157 @AdapterChanges int changeFlags, List<Object> payloads) {
159 .recordPreLayoutInformation(state, viewHolder, changeFlags, payloads);
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DAnimatedRecyclerView.java157 @AdapterChanges int changeFlags, List<Object> payloads) {
159 .recordPreLayoutInformation(state, viewHolder, changeFlags, payloads);
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
H A DObjectAdapterTest.java241 List<Object> payloads) {
240 onBindViewHolder(ViewHolder viewHolder, Object item, List<Object> payloads) argument

Completed in 110 milliseconds