Home
last modified time | relevance | path

Searched defs:viewHolder (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/widget/
DViewInfoStore.java163 boolean isInPreLayout(ViewHolder viewHolder) { in isInPreLayout()
223 final ViewHolder viewHolder = mLayoutHolderMap.keyAt(index); in process() local
279 public void onViewDetached(ViewHolder viewHolder) { in onViewDetached()
284 void processDisappeared(ViewHolder viewHolder, @NonNull ItemHolderInfo preInfo, in processDisappeared()
286 void processAppeared(ViewHolder viewHolder, @Nullable ItemHolderInfo preInfo, in processAppeared()
288 void processPersistent(ViewHolder viewHolder, @NonNull ItemHolderInfo preInfo, in processPersistent()
DSimpleItemAnimator.java85 public boolean canReuseUpdatedViewHolder(@NonNull RecyclerView.ViewHolder viewHolder) { in canReuseUpdatedViewHolder()
90 public boolean animateDisappearance(@NonNull ViewHolder viewHolder, in animateDisappearance()
114 public boolean animateAppearance(@NonNull ViewHolder viewHolder, in animateAppearance()
133 public boolean animatePersistence(@NonNull ViewHolder viewHolder, in animatePersistence()
DRecyclerView.java1240 private void addAnimatingView(ViewHolder viewHolder) { in addAnimatingView()
1264 final ViewHolder viewHolder = getChildViewHolderInt(view); in removeAnimatingView() local
3607 final ViewHolder viewHolder = getChildViewHolderInt(child); in dispatchLayoutStep1() local
3802 void recordAnimationInfoIfBouncedHiddenView(ViewHolder viewHolder, in recordAnimationInfoIfBouncedHiddenView()
4181 boolean canReuseUpdatedViewHolder(ViewHolder viewHolder) { in canReuseUpdatedViewHolder()
5786 ViewHolder viewHolder = mCachedViews.get(cachedViewIndex); in recycleCachedViewAt() local
6888 final ViewHolder viewHolder = getChildViewHolderInt(child); in dispatchChildDetached() local
6902 final ViewHolder viewHolder = getChildViewHolderInt(child); in dispatchChildAttached() local
8421 final ViewHolder viewHolder = getChildViewHolderInt(view); in scrapOrRecycleView() local
10537 boolean setChildImportantForAccessibilityInternal(ViewHolder viewHolder, in setChildImportantForAccessibilityInternal()
[all …]
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java765 private List<ViewHolder> findSwapTargets(ViewHolder viewHolder) { in findSwapTargets()
817 void moveIfNecessary(ViewHolder viewHolder) { in moveIfNecessary()
877 int endRecoverAnimation(ViewHolder viewHolder, boolean override) { in endRecoverAnimation()
1054 public void startDrag(ViewHolder viewHolder) { in startDrag()
1101 public void startSwipe(ViewHolder viewHolder) { in startSwipe()
1151 private int swipeIfNecessary(ViewHolder viewHolder) { in swipeIfNecessary()
1197 private int checkHorizontalSwipe(ViewHolder viewHolder, int flags) { in checkHorizontalSwipe()
1224 private int checkVerticalSwipe(ViewHolder viewHolder, int flags) { in checkVerticalSwipe()
1516 ViewHolder viewHolder); in getMovementFlags()
1547 ViewHolder viewHolder) { in getAbsoluteMovementFlags()
[all …]
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/items/
DRecyclerItemAdapterTest.java128 final ItemViewHolder viewHolder = adapter.onCreateViewHolder(parent, R.layout.test_list_item); in testCreateViewHolder() local
138 final ItemViewHolder viewHolder = in testCreateViewHolderNoBackground() local
148 final ItemViewHolder viewHolder = in testCreateViewHolderWithExistingBackground() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/complication/
DDreamClockTimeComplicationTest.java116 final Complication.ViewHolder viewHolder = complication.createView(mComplicationViewModel); in testComplicationViewHolderProviderOnCreateView() local
127 final DreamClockTimeComplication.DreamClockTimeViewHolder viewHolder = in testComplicationViewHolderContentAccessors() local
DSmartSpaceComplicationTest.java202 final Complication.ViewHolder viewHolder = in testGetView_reusesSameView() local
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/
DCardPresenter.java49 public void onBindViewHolder(ViewHolder viewHolder, Object item) { in onBindViewHolder()
58 public void onUnbindViewHolder(ViewHolder viewHolder) { in onUnbindViewHolder()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/
DSettingsJankMonitor.kt49 val viewHolder = recyclerView.findViewHolderForAdapterPosition(adapterPosition) ?: return in detectSwitchPreferenceClickJank() constant
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/
DDividerItemDecoration.java165 protected boolean isDividerAllowedAbove(RecyclerView.ViewHolder viewHolder) { in isDividerAllowedAbove()
179 protected boolean isDividerAllowedBelow(RecyclerView.ViewHolder viewHolder) { in isDividerAllowedBelow()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
DRvArrayAdapter.java56 public void onBindViewHolder(ViewHolder viewHolder, final int position) { in onBindViewHolder()
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/test/
DHeaderRecyclerViewTest.java154 public void onBindViewHolder(RecyclerView.ViewHolder viewHolder, int i) {} in onBindViewHolder()
DSetupWizardRecyclerLayoutTest.java166 public void onBindViewHolder(ViewHolder viewHolder, int position) {} in createTestAdapter()
DGlifRecyclerLayoutTest.java163 public void onBindViewHolder(RecyclerView.ViewHolder viewHolder, int position) {} in createTestAdapter()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DSupportPreferencesUtil.java189 Object viewHolder = invoke(onCreateViewHolder, preferenceGroupAdapter, listView, type); in setUpPreferencesListView() local
194 viewHolder.getClass(), int.class), preferenceGroupAdapter, viewHolder, i); in setUpPreferencesListView() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/notifications/
DTvNotificationAdapter.java54 public void onBindViewHolder(@NonNull RecyclerView.ViewHolder viewHolder, int position) { in onBindViewHolder()
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryStatsViewerActivity.java278 public void onBindViewHolder(@NonNull ViewHolder viewHolder, int position) { in onBindViewHolder()
365 private void setTitleIconAndBackground(ViewHolder viewHolder, String title, int icon, in setTitleIconAndBackground()
DBatteryConsumerPickerActivity.java239 public void onBindViewHolder(@NonNull BatteryConsumerViewHolder viewHolder, int position) { in onBindViewHolder()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserListAdapterTest.kt82 val viewHolder = ResolverListAdapter.ViewHolder(view) in createChooserListAdapter() constant
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceListAdapter.java60 ViewHolder viewHolder = new ViewHolder(view); in onCreateViewHolder() local
DPermissionListAdapter.java82 ViewHolder viewHolder = new ViewHolder(view); in onCreateViewHolder() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
DWalletCardCarousel.java237 ViewHolder viewHolder = findViewHolderForAdapterPosition(mCenteredAdapterPosition); in updatePadding() local
249 WalletCardViewHolder viewHolder = (WalletCardViewHolder) view.getTag(); in updateCardView() local
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DMailAdapter.java126 public void onBindViewHolder(@NonNull ViewHolder viewHolder, int i) { in onBindViewHolder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetAdapter.java77 public void onBindViewHolder(@NonNull InternetViewHolder viewHolder, int position) { in onBindViewHolder()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/
DRecyclerItemAdapter.java96 final ItemViewHolder viewHolder = new ItemViewHolder(view); in onCreateViewHolder() local

12