Home
last modified time | relevance | path

Searched refs:mLayoutManager (Results 1 – 18 of 18) sorted by relevance

/packages/apps/TV/src/com/android/tv/menu/
DMenuView.java44 private final MenuLayoutManager mLayoutManager; field in MenuView
78 mLayoutManager = new MenuLayoutManager(context, this); in MenuView()
90 mLayoutManager.setMenuRowsAndViews(mMenuRows, mMenuRowViews); in setMenuRows()
102 mLayoutManager.layout(left, top, right, bottom); in onLayout()
149 mLayoutManager.onMenuShow(); in onShow()
157 mLayoutManager.onMenuHide(); in onHide()
172 mLayoutManager.onMenuRowUpdated(); in update()
184 mLayoutManager.onMenuRowUpdated(); in update()
193 int selectedPosition = mLayoutManager.getSelectedPosition(); in onRequestFocusInDescendants()
212 mLayoutManager.setSelectedPosition(position); in setSelectedPosition()
[all …]
/packages/apps/Car/Media/src/com/android/car/media/browse/
DLimitedBrowseAdapter.java35 private final GridLayoutManager mLayoutManager; field in LimitedBrowseAdapter
45 mLayoutManager = manager; in LimitedBrowseAdapter()
48 mLayoutManager.setSpanSizeLookup(mSpanSizeLookup); in LimitedBrowseAdapter()
122 int firstItem = mLayoutManager.findFirstCompletelyVisibleItemPosition(); in getFirstVisibleItemPosition()
124 firstItem = mLayoutManager.findFirstVisibleItemPosition(); in getFirstVisibleItemPosition()
130 int lastItem = mLayoutManager.findLastCompletelyVisibleItemPosition(); in getLastVisibleItemPosition()
132 lastItem = mLayoutManager.findLastVisibleItemPosition(); in getLastVisibleItemPosition()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/search/
DContactResultsAdapter.java49 private LinearLayoutManager mLayoutManager; field in ContactResultsAdapter
125 return DialerUtils.getFirstVisibleItemPosition(mLayoutManager); in computeAnchorIndexWhenRestricting()
131 mLayoutManager = (LinearLayoutManager) recyclerView.getLayoutManager(); in onAttachedToRecyclerView()
136 mLayoutManager = null; in onDetachedFromRecyclerView()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/calllog/
DCallLogAdapter.java65 private LinearLayoutManager mLayoutManager; field in CallLogAdapter
151 mLayoutManager = (LinearLayoutManager) recyclerView.getLayoutManager(); in onAttachedToRecyclerView()
156 mLayoutManager = null; in onDetachedFromRecyclerView()
162 mLimitingAnchorIndex = DialerUtils.getFirstVisibleItemPosition(mLayoutManager); in computeAnchorIndexWhenRestricting()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/
DFavoriteAdapter.java49 private LinearLayoutManager mLayoutManager; field in FavoriteAdapter
142 mLayoutManager = (LinearLayoutManager) recyclerView.getLayoutManager(); in onAttachedToRecyclerView()
147 mLayoutManager = null; in onDetachedFromRecyclerView()
159 mLimitingAnchorIndex = DialerUtils.getFirstVisibleItemPosition(mLayoutManager); in computeAnchorIndexWhenRestricting()
/packages/apps/Settings/src/com/android/settings/security/
DRequestManageCredentials.java83 private LinearLayoutManager mLayoutManager; field in RequestManageCredentials
201 mLayoutManager = new LinearLayoutManager(this); in loadRecyclerView()
203 mRecyclerView.setLayoutManager(mLayoutManager); in loadRecyclerView()
319 if (mLayoutManager == null || mRecyclerView.getAdapter() == null) { in isRecyclerScrollable()
322 return mLayoutManager.findLastCompletelyVisibleItemPosition() in isRecyclerScrollable()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestRecyclerView.java36 private RecyclerView.LayoutManager mLayoutManager; field in TestRecyclerView
71 mLayoutManager = manager; in setLayoutManager()
76 return mLayoutManager; in getLayoutManager()
/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/
DECUListActivity.java39 private RecyclerView.LayoutManager mLayoutManager; field in ECUListActivity
54 mLayoutManager = new LinearLayoutManager(this); in onCreate()
55 mRecyclerView.setLayoutManager(mLayoutManager); in onCreate()
DLiveDataActivity.java49 private LayoutManager mLayoutManager; field in LiveDataActivity
139 mLayoutManager = new LinearLayoutManager(this); in onCreate()
140 mRecyclerView.setLayoutManager(mLayoutManager); in onCreate()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DHorizontalBreadcrumb.java45 private LinearLayoutManager mLayoutManager; field in HorizontalBreadcrumb
67 mLayoutManager = new HorizontalBreadcrumbLinearLayoutManager( in setup()
79 setLayoutManager(mLayoutManager); in setup()
106 mLayoutManager.scrollToPosition(mAdapter.getItemCount() - 1); in show()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationView.java52 private LinearLayoutManager mLayoutManager; field in CarNotificationView
78 mLayoutManager = new LinearLayoutManager(mContext); in onFinishInflate()
79 mListView.setLayoutManager(mLayoutManager); in onFinishInflate()
396 int firstVisible = mLayoutManager.findFirstVisibleItemPosition(); in setVisibleNotificationsAsSeen()
397 int lastVisible = mLayoutManager.findLastVisibleItemPosition(); in setVisibleNotificationsAsSeen()
DCarNotificationViewAdapter.java63 private LinearLayoutManager mLayoutManager; field in CarNotificationViewAdapter
101 mLayoutManager = (LinearLayoutManager) recyclerView.getLayoutManager(); in onAttachedToRecyclerView()
107 mLayoutManager = null; in onDetachedFromRecyclerView()
285 if (mLayoutManager == null) { in getScrollToPositionWhenRestricted()
288 int firstItem = mLayoutManager.findFirstVisibleItemPosition(); in getScrollToPositionWhenRestricted()
/packages/apps/TV/src/com/android/tv/guide/
DProgramGrid.java344 final LayoutManager mLayoutManager = getLayoutManager(); in getFirstVisibleChildIndex() local
345 int top = mLayoutManager.getPaddingTop(); in getFirstVisibleChildIndex()
349 int childTop = mLayoutManager.getDecoratedTop(childView); in getFirstVisibleChildIndex()
350 int childBottom = mLayoutManager.getDecoratedBottom(childView); in getFirstVisibleChildIndex()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardsFragment.java59 private GridLayoutManager mLayoutManager; field in ContextualCardsFragment
105 mLayoutManager = new GridLayoutManager(getActivity(), SPAN_COUNT, in onCreateView()
107 mCardsContainer.setLayoutManager(mLayoutManager); in onCreateView()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.kt79 private lateinit var mLayoutManager: LinearLayoutManager variable in com.android.deskclock.AlarmClockFragment
99 mLayoutManager = object : LinearLayoutManager(context) { in onCreateView()
107 mRecyclerView.setLayoutManager(mLayoutManager) in onCreateView()
215 mLayoutManager.scrollToPositionWithOffset(position, 0) in smoothScrollTo()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DBugReportInfoActivity.java72 private RecyclerView.LayoutManager mLayoutManager; field in BugReportInfoActivity
92 mLayoutManager = new LinearLayoutManager(this); in onCreate()
93 mRecyclerView.setLayoutManager(mLayoutManager); in onCreate()
/packages/apps/Settings/src/com/android/settings/
DSettingsPreferenceFragment.java116 private LinearLayoutManager mLayoutManager; field in SettingsPreferenceFragment
341 mLayoutManager = new LinearLayoutManager(getContext()); in onCreateLayoutManager()
342 return mLayoutManager; in onCreateLayoutManager()
/packages/modules/Permission/PermissionController/src/android/support/wearable/view/
DWearableListView.java1306 private final LayoutManager mLayoutManager; field in WearableListView.SmoothScroller
1310 mLayoutManager = manager; in SmoothScroller()
1333 if (targetPosition < mLayoutManager.getFirstPosition()) { in computeScrollVectorForPosition()