/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
D | PagedListView.java | 53 private final CarLayoutManager mLayoutManager; field in PagedListView 128 mLayoutManager = new CarLayoutManager(context); in PagedListView() 129 mLayoutManager.setOffsetRows(offsetRows); in PagedListView() 130 mLayoutManager.setItemsChangedListener(mItemsChangedListener); in PagedListView() 131 mRecyclerView.setLayoutManager(mLayoutManager); in PagedListView() 135 mRecyclerView.setItemAnimator(new CarItemAnimator(mLayoutManager)); in PagedListView() 166 mLayoutManager.setRowOffsetMode(CarLayoutManager.ROW_OFFSET_MODE_PAGE); in onInterceptTouchEvent() 176 mLayoutManager.setRowOffsetMode(CarLayoutManager.ROW_OFFSET_MODE_INDIVIDUAL); in requestChildFocus() 183 return mLayoutManager.getPosition(v); in positionOf() 192 mLayoutManager.scrollToPosition(position); in scrollToPosition() [all …]
|
D | CarItemAnimator.java | 27 private final CarLayoutManager mLayoutManager; field in CarItemAnimator 30 mLayoutManager = layoutManager; in CarItemAnimator() 65 mLayoutManager.offsetRows();
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | MenuView.java | 48 private final MenuLayoutManager mLayoutManager; field in MenuView 77 mLayoutManager = new MenuLayoutManager(context, this); in MenuView() 89 mLayoutManager.setMenuRowsAndViews(mMenuRows, mMenuRowViews); in setMenuRows() 101 mLayoutManager.layout(left, top, right, bottom); in onLayout() 145 mLayoutManager.onMenuShow(); in onShow() 153 mLayoutManager.onMenuHide(); in onHide() 168 mLayoutManager.onMenuRowUpdated(); in update() 180 mLayoutManager.onMenuRowUpdated(); in update() 189 int selectedPosition = mLayoutManager.getSelectedPosition(); in onRequestFocusInDescendants() 208 mLayoutManager.setSelectedPosition(position); in setSelectedPosition() [all …]
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | DashboardSummary.java | 70 private LinearLayoutManager mLayoutManager; field in DashboardSummary 173 if (mLayoutManager == null) return; in onSaveInstanceState() 174 outState.putInt(EXTRA_SCROLL_POSITION, mLayoutManager.findFirstVisibleItemPosition()); in onSaveInstanceState() 184 mLayoutManager = new LinearLayoutManager(getContext()); in onViewCreated() 185 mLayoutManager.setOrientation(LinearLayoutManager.VERTICAL); in onViewCreated() 188 mLayoutManager.scrollToPosition(scrollPosition); in onViewCreated() 190 mDashboard.setLayoutManager(mLayoutManager); in onViewCreated() 232 final boolean scrollToTop = mLayoutManager.findFirstCompletelyVisibleItemPosition() <= 1; in onConditionsChanged()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardSummaryTest.java | 57 private LinearLayoutManager mLayoutManager; field in DashboardSummaryTest 71 ReflectionHelpers.setField(mSummary, "mLayoutManager", mLayoutManager); in setUp() 84 when(mLayoutManager.findFirstCompletelyVisibleItemPosition()).thenReturn(1); in onConditionChanged_PositionAtTop_ScrollToTop() 91 when(mLayoutManager.findFirstCompletelyVisibleItemPosition()).thenReturn(2); in onConditionChanged_PositionNotTop_RemainPosition()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | HorizontalBreadcrumb.java | 48 private LinearLayoutManager mLayoutManager; field in HorizontalBreadcrumb 70 mLayoutManager = new LinearLayoutManager( in setup() 82 setLayoutManager(mLayoutManager); in setup() 107 mLayoutManager.scrollToPosition(mAdapter.getItemCount() - 1); in show()
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramGrid.java | 387 final LayoutManager mLayoutManager = getLayoutManager(); in getFirstVisibleChildIndex() local 388 int top = mLayoutManager.getPaddingTop(); in getFirstVisibleChildIndex() 392 int childTop = mLayoutManager.getDecoratedTop(childView); in getFirstVisibleChildIndex() 393 int childBottom = mLayoutManager.getDecoratedBottom(childView); in getFirstVisibleChildIndex()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AlarmClockFragment.java | 93 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/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogFragment.java | 94 private LinearLayoutManager mLayoutManager; field in CallLogFragment 250 if (mLayoutManager.findFirstVisibleItemPosition() > 5) { in onCallsFetched() 291 mLayoutManager = new LinearLayoutManager(getActivity()); in setupView() 292 mRecyclerView.setLayoutManager(mLayoutManager); in setupView()
|
/packages/apps/Settings/src/com/android/settings/ |
D | SettingsPreferenceFragment.java | 132 private LinearLayoutManager mLayoutManager; field in SettingsPreferenceFragment 368 mLayoutManager = new LinearLayoutManager(getContext()); in onCreateLayoutManager() 369 return mLayoutManager; in onCreateLayoutManager() 416 mLayoutManager.scrollToPosition(position); in highlightPreference()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsContainerView.java | 76 private final RecyclerView.LayoutManager mLayoutManager; field in AllAppsContainerView 106 mLayoutManager = mAdapter.getLayoutManager(); in AllAppsContainerView() 276 mAppsRecyclerView.setLayoutManager(mLayoutManager); in onFinishInflate()
|
/packages/apps/PackageInstaller/src/android/support/wearable/view/ |
D | WearableListView.java | 1305 private final LayoutManager mLayoutManager; field in WearableListView.SmoothScroller 1309 mLayoutManager = manager; in SmoothScroller() 1332 if (targetPosition < mLayoutManager.getFirstPosition()) { in computeScrollVectorForPosition()
|