Home
last modified time | relevance | path

Searched refs:recyclerView (Results 1 – 25 of 43) sorted by relevance

12

/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
DContactsFragment.java60 private RecyclerView recyclerView; field in ContactsFragment
81 recyclerView = view.findViewById(R.id.recycler_view); in onCreateView()
125 recyclerView.setVisibility(View.GONE); in onLoadFinished()
128 recyclerView.setVisibility(View.VISIBLE); in onLoadFinished()
138 recyclerView.setOnScrollChangeListener(ContactsFragment.this); in onLoadFinished()
145 recyclerView.setLayoutManager(manager); in onLoadFinished()
146 recyclerView.setAdapter(adapter); in onLoadFinished()
147 PerformanceReport.logOnScrollStateChange(recyclerView); in onLoadFinished()
154 recyclerView.setAdapter(null); in onLoaderReset()
155 recyclerView.setOnScrollChangeListener(null); in onLoaderReset()
[all …]
DFastScroller.java112 void updateContainerAndScrollBarPosition(RecyclerView recyclerView) { in updateContainerAndScrollBarPosition() argument
114 int verticalScrollOffset = recyclerView.computeVerticalScrollOffset(); in updateContainerAndScrollBarPosition()
115 int verticalScrollRange = recyclerView.computeVerticalScrollRange(); in updateContainerAndScrollBarPosition()
/packages/apps/Settings/src/com/android/settings/widget/
DActionBarShadowController.java48 Lifecycle lifecycle, RecyclerView recyclerView) { in attachToRecyclerView() argument
49 return new ActionBarShadowController(activity, lifecycle, recyclerView); in attachToRecyclerView()
53 Lifecycle lifecycle, RecyclerView recyclerView) { in attachToRecyclerView() argument
54 return new ActionBarShadowController(anchorView, lifecycle, recyclerView); in attachToRecyclerView()
58 RecyclerView recyclerView) { in ActionBarShadowController() argument
60 mRecyclerView = recyclerView; in ActionBarShadowController()
66 RecyclerView recyclerView) { in ActionBarShadowController() argument
68 mRecyclerView = recyclerView; in ActionBarShadowController()
/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/
DSuggestionDismissController.java48 public SuggestionDismissController(Context context, RecyclerView recyclerView, in SuggestionDismissController() argument
57 itemTouchHelper.attachToRecyclerView(recyclerView); in SuggestionDismissController()
61 public boolean onMove(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder, in onMove() argument
67 public int getSwipeDirs(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder) { in getSwipeDirs() argument
72 return super.getSwipeDirs(recyclerView, viewHolder); in getSwipeDirs()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DDragController.java98 public void animateViews(float yFraction, RecyclerView recyclerView) { in animateViews() argument
108 (HistoryAdapter.ViewHolder) recyclerView.findViewHolderForAdapterPosition(0); in animateViews()
110 recyclerView.setVisibility(View.VISIBLE); in animateViews()
120 mBottomPaddingHeight = recyclerView.getPaddingBottom(); in animateViews()
174 for (int i = recyclerView.getChildCount() - 1; in animateViews()
178 recyclerView.getChildViewHolder(recyclerView.getChildAt(i)); in animateViews()
DHistoryFragment.java69 public void onScrollStateChanged(RecyclerView recyclerView, int newState) { in onCreateView()
73 super.onScrollStateChanged(recyclerView, newState); in onCreateView()
/packages/apps/Dialer/java/com/android/dialer/performancereport/
DPerformanceReport.java41 public void onScrollStateChanged(RecyclerView recyclerView, int newState) {
45 super.onScrollStateChanged(recyclerView, newState);
113 public static void logOnScrollStateChange(RecyclerView recyclerView) { in logOnScrollStateChange() argument
115 recyclerView.removeOnScrollListener(recordOnScrollListener); in logOnScrollStateChange()
116 recyclerView.addOnScrollListener(recordOnScrollListener); in logOnScrollStateChange()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/
DNewSearchFragment.java45 private RecyclerView recyclerView; field in NewSearchFragment
59 recyclerView = view.findViewById(R.id.recycler_view); in onCreateView()
60 recyclerView.setLayoutManager(new LinearLayoutManager(getContext())); in onCreateView()
61 recyclerView.setAdapter(adapter); in onCreateView()
94 recyclerView.setAdapter(null); in onLoaderReset()
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/
DNewCallLogFragment.java51 private RecyclerView recyclerView; field in NewCallLogFragment
115 recyclerView = view.findViewById(R.id.new_call_log_recycler_view); in onCreateView()
146 recyclerView.setLayoutManager(new LinearLayoutManager(getContext())); in onLoadFinished()
147 recyclerView.setAdapter(new NewCallLogAdapter(newCursor)); in onLoadFinished()
153 recyclerView.setAdapter(null); in onLoaderReset()
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/
DConditionAdapter.java66 public boolean onMove(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder,
72 public int getSwipeDirs(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder) {
74 ? super.getSwipeDirs(recyclerView, viewHolder) : 0;
135 public void addDismissHandling(final RecyclerView recyclerView) { in addDismissHandling() argument
137 itemTouchHelper.attachToRecyclerView(recyclerView); in addDismissHandling()
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DCallDetailsActivity.java121 RecyclerView recyclerView = findViewById(R.id.recycler_view); in onHandleIntent() local
122 recyclerView.setLayoutManager(new LinearLayoutManager(this)); in onHandleIntent()
123 recyclerView.setAdapter(new CallDetailsAdapter(this, contact, entries, this)); in onHandleIntent()
124 PerformanceReport.logOnScrollStateChange(recyclerView); in onHandleIntent()
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/simulator/
DEnrichedCallSimulatorActivity.java66 RecyclerView recyclerView = findViewById(R.id.sessions_recycler_view); in onCreate() local
67 recyclerView.setLayoutManager(new LinearLayoutManager(this)); in onCreate()
71 recyclerView.setAdapter(sessionsAdapter); in onCreate()
/packages/apps/DeskClock/src/com/android/deskclock/
DDropShadowController.java88 public DropShadowController(View dropShadowView, RecyclerView recyclerView) { in DropShadowController() argument
90 mRecyclerView = recyclerView; in DropShadowController()
92 updateDropShadow(!Utils.isScrolledToTop(recyclerView)); in DropShadowController()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListSwipeHelper.java66 public ConversationListSwipeHelper(final RecyclerView recyclerView) { in ConversationListSwipeHelper() argument
67 mRecyclerView = recyclerView; in ConversationListSwipeHelper()
84 public boolean onInterceptTouchEvent(final RecyclerView recyclerView, final MotionEvent event) { in onInterceptTouchEvent() argument
172 public void onTouchEvent(final RecyclerView recyclerView, final MotionEvent event) { in onTouchEvent() argument
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
DPermissionsFrameFragment.java151 final RecyclerView recyclerView = getListView(); in onCreateAdapter() local
171 recyclerView.setVisibility(isEmpty && adapter.getItemCount() == 0 ? in onCreateAdapter()
181 recyclerView.setVisibility(isEmpty && adapter.getItemCount() == 0 ? in onCreateAdapter()
/packages/apps/PackageInstaller/src/android/support/wearable/view/
DWearableListView.java192 public void onScrollStateChanged(RecyclerView recyclerView, int newState) { in WearableListView()
202 public void onScrolled(RecyclerView recyclerView, int dx, int dy) { in WearableListView()
1132 public RecyclerView.SmoothScroller getDefaultSmoothScroller(RecyclerView recyclerView) { in getDefaultSmoothScroller() argument
1135 recyclerView.getContext(), this); in getDefaultSmoothScroller()
1140 public void smoothScrollToPosition(RecyclerView recyclerView, State state, in smoothScrollToPosition() argument
1144 scroller = getDefaultSmoothScroller(recyclerView); in smoothScrollToPosition()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DFocusManager.java359 final RecyclerView recyclerView = mScope.view; in focusItem() local
360 final RecyclerView.ViewHolder vh = recyclerView.findViewHolderForAdapterPosition(pos); in focusItem()
369 recyclerView.addOnScrollListener( in focusItem()
391 recyclerView.smoothScrollToPosition(pos); in focusItem()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DAccessibilityEventRouter.java49 RecyclerView recyclerView, Function<View, Boolean> clickCallback) { in AccessibilityEventRouter() argument
50 super(recyclerView); in AccessibilityEventRouter()
/packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
DNotificationListenerActivity.java89 public int getMovementFlags(RecyclerView recyclerView, ViewHolder viewHolder) { in onCreate()
96 return notification.isClearable() ? super.getMovementFlags(recyclerView, viewHolder) in onCreate()
101 public boolean onMove(RecyclerView recyclerView, ViewHolder viewHolder, in onCreate()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DHeaderElevationController.java61 public final void onScrolled(RecyclerView recyclerView, int dx, int dy) { in onScrolled() argument
62 mCurrentY = ((BaseRecyclerView) recyclerView).getCurrentScrollY(); in onScrolled()
DAppsSearchContainerLayout.java128 AlphabeticalAppsList appsList, AllAppsRecyclerView recyclerView) { in initialize() argument
130 mAppsRecyclerView = recyclerView; in initialize()
/packages/apps/Car/Dialer/src/com/android/car/dialer/
DContactResultsFragment.java86 RecyclerView recyclerView = mContactResultList.getRecyclerView(); in onViewCreated() local
88 recyclerView.addOnScrollListener(listener); in onViewCreated()
DContactSearchActivity.java256 public void onScrolled(RecyclerView recyclerView, int dx, int dy) { in onScrolled() argument
259 CarLayoutManager layoutManager = (CarLayoutManager) recyclerView.getLayoutManager(); in onScrolled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/conditional/
DConditionAdapterTest.java136 final RecyclerView recyclerView = new RecyclerView(mContext); in onSwiped_nullCondition_shouldNotCrash() local
143 mConditionAdapter.addDismissHandling(recyclerView); in onSwiped_nullCondition_shouldNotCrash()
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/view/
DCarLayoutManager.java388 RecyclerView recyclerView, RecyclerView.State state, int position) { in smoothScrollToPosition() argument
432 public void onItemsChanged(RecyclerView recyclerView) { in onItemsChanged() argument
433 super.onItemsChanged(recyclerView); in onItemsChanged()
450 RecyclerView recyclerView, ArrayList<View> views, int direction, int focusableMode) { in onAddFocusables() argument

12