Home
last modified time | relevance | path

Searched refs:mLayoutManager (Results 1 – 12 of 12) 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/Notification/src/com/android/car/notification/
DCarNotificationView.java32 private LinearLayoutManager mLayoutManager; field in CarNotificationView
50 mLayoutManager = new LinearLayoutManager(mContext); in onFinishInflate()
51 listView.setLayoutManager(mLayoutManager); in onFinishInflate()
177 int firstVisible = mLayoutManager.findFirstVisibleItemPosition(); in setVisibleNotificationsAsSeen()
178 int lastVisible = mLayoutManager.findLastVisibleItemPosition(); in setVisibleNotificationsAsSeen()
/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/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DContextualCardsFragment.java43 private GridLayoutManager mLayoutManager; field in ContextualCardsFragment
72 mLayoutManager = new GridLayoutManager(getActivity(), SPAN_COUNT, in onCreateView()
74 mCardsContainer.setLayoutManager(mLayoutManager); in onCreateView()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardsFragment.java42 private GridLayoutManager mLayoutManager; field in ContextualCardsFragment
72 mLayoutManager = new GridLayoutManager(getActivity(), SPAN_COUNT, in onCreateView()
74 mCardsContainer.setLayoutManager(mLayoutManager); in onCreateView()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DHorizontalBreadcrumb.java49 private LinearLayoutManager mLayoutManager; field in HorizontalBreadcrumb
71 mLayoutManager = new LinearLayoutManager( in setup()
83 setLayoutManager(mLayoutManager); in setup()
108 mLayoutManager.scrollToPosition(mAdapter.getItemCount() - 1); in show()
/packages/apps/TV/src/com/android/tv/guide/
DProgramGrid.java333 final LayoutManager mLayoutManager = getLayoutManager(); in getFirstVisibleChildIndex() local
334 int top = mLayoutManager.getPaddingTop(); in getFirstVisibleChildIndex()
338 int childTop = mLayoutManager.getDecoratedTop(childView); in getFirstVisibleChildIndex()
339 int childBottom = mLayoutManager.getDecoratedBottom(childView); in getFirstVisibleChildIndex()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.java93 private LinearLayoutManager mLayoutManager; field in AlarmClockFragment
118 mLayoutManager = new LinearLayoutManager(context) { in onCreateView()
128 mRecyclerView.setLayoutManager(mLayoutManager); in onCreateView()
248 mLayoutManager.scrollToPositionWithOffset(position, 0); in smoothScrollTo()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DBugReportInfoActivity.java54 private RecyclerView.LayoutManager mLayoutManager; field in BugReportInfoActivity
157 mLayoutManager = new LinearLayoutManager(this); in onCreate()
158 mRecyclerView.setLayoutManager(mLayoutManager); in onCreate()
/packages/apps/Settings/src/com/android/settings/
DSettingsPreferenceFragment.java122 private LinearLayoutManager mLayoutManager; field in SettingsPreferenceFragment
336 mLayoutManager = new LinearLayoutManager(getContext()); in onCreateLayoutManager()
337 return mLayoutManager; in onCreateLayoutManager()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSettingsPreferenceFragment.java122 private LinearLayoutManager mLayoutManager; field in SettingsPreferenceFragment
336 mLayoutManager = new LinearLayoutManager(getContext()); in onCreateLayoutManager()
337 return mLayoutManager; in onCreateLayoutManager()
/packages/apps/PermissionController/src/android/support/wearable/view/
DWearableListView.java1305 private final LayoutManager mLayoutManager; field in WearableListView.SmoothScroller
1309 mLayoutManager = manager; in SmoothScroller()
1332 if (targetPosition < mLayoutManager.getFirstPosition()) { in computeScrollVectorForPosition()