Home
last modified time | relevance | path

Searched refs:mRecyclerView (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFragment.java143 private RecyclerView mRecyclerView; field in ConversationFragment
209 if (mRecyclerView.getChildCount() == 0) { in isScrolledToBottom()
212 final View lastView = mRecyclerView.getChildAt(mRecyclerView.getChildCount() - 1); in isScrolledToBottom()
213 int lastVisibleItem = ((LinearLayoutManager) mRecyclerView in isScrolledToBottom()
218 final long id = mRecyclerView.getChildItemId(lastView); in isScrolledToBottom()
219 final RecyclerView.ViewHolder holder = mRecyclerView.findViewHolderForItemId(id); in isScrolledToBottom()
224 final int totalItemCount = mRecyclerView.getAdapter().getItemCount(); in isScrolledToBottom()
226 return isAtBottom && lastView.getBottom() <= mRecyclerView.getHeight(); in isScrolledToBottom()
252 mRecyclerView.getItemAnimator().endAnimations();
448 mRecyclerView.setVisibility(View.INVISIBLE); in onActivityCreated()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListFragment.java92 private RecyclerView mRecyclerView; field in ConversationListFragment
152 int firstItemPosition = ((LinearLayoutManager) mRecyclerView.getLayoutManager()) in isScrolledToFirstConversation()
175 mRecyclerView = (RecyclerView) rootView.findViewById(android.R.id.list); in onCreateView()
190 mRecyclerView.setLayoutManager(manager); in onCreateView()
191 mRecyclerView.setHasFixedSize(true); in onCreateView()
192 mRecyclerView.setAdapter(mAdapter); in onCreateView()
193 mRecyclerView.setOnScrollListener(new RecyclerView.OnScrollListener() { in onCreateView()
200 ImeUtil.get().hideImeKeyboard(getActivity(), mRecyclerView); in onCreateView()
215 mRecyclerView.addOnItemTouchListener(new ConversationListSwipeHelper(mRecyclerView)); in onCreateView()
272 mListState = mRecyclerView.getLayoutManager().onSaveInstanceState(); in onPause()
[all …]
DConversationListSwipeHelper.java51 private final RecyclerView mRecyclerView; field in ConversationListSwipeHelper
67 mRecyclerView = recyclerView; in ConversationListSwipeHelper()
69 final Context context = mRecyclerView.getContext(); in ConversationListSwipeHelper()
102 final View viewAtPoint = mRecyclerView.findChildViewUnder(mInitialX, mInitialY); in onInterceptTouchEvent()
261 mRecyclerView.getParent().requestDisallowInterceptTouchEvent(true); in onSwipeGestureStart()
340 mRecyclerView.getWidth() : -mRecyclerView.getWidth(); in animateDismiss()
441 return hasGestureSwipeTarget() && mListItemView.getParent() == mRecyclerView; in hasValidGestureSwipeTarget()
DShareIntentFragment.java55 private RecyclerView mRecyclerView; field in ShareIntentFragment
84 mRecyclerView = (RecyclerView) view.findViewById(android.R.id.list); in onCreateDialog()
85 mRecyclerView.setLayoutManager(manager); in onCreateDialog()
86 mRecyclerView.setHasFixedSize(true); in onCreateDialog()
87 mRecyclerView.setAdapter(mAdapter); in onCreateDialog()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogFragment.java92 private RecyclerView mRecyclerView; field in CallLogFragment
230 mRecyclerView.setVisibility(showListView ? View.VISIBLE : View.GONE); in onCallsFetched()
242 mRecyclerView.smoothScrollToPosition(0); in onCallsFetched()
252 mRecyclerView.smoothScrollToPosition(0); in onCallsFetched()
288 mRecyclerView = (RecyclerView) view.findViewById(R.id.recycler_view); in onCreateView()
289 mRecyclerView.setHasFixedSize(true); in onCreateView()
291 mRecyclerView.setLayoutManager(mLayoutManager); in onCreateView()
304 mRecyclerView.setAdapter(mAdapter); in onCreateView()