Home
last modified time | relevance | path

Searched refs:mGridAdapter (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
DQuickSettingFragment.java60 private QuickSettingGridAdapter mGridAdapter; field in QuickSettingFragment
88 mGridAdapter = new QuickSettingGridAdapter(activity); in onActivityCreated()
89 mListView.setLayoutManager(mGridAdapter.getGridLayoutManager()); in onActivityCreated()
93 mGridAdapter in onActivityCreated()
94 .addTile(new WifiTile(activity, mGridAdapter, getLifecycle())) in onActivityCreated()
95 .addTile(new BluetoothTile(activity, mGridAdapter, getFragmentHost())) in onActivityCreated()
96 .addTile(new DayNightTile(activity, mGridAdapter, getFragmentHost())) in onActivityCreated()
97 .addTile(new CelluarTile(activity, mGridAdapter, getFragmentHost())) in onActivityCreated()
99 mListView.setAdapter(mGridAdapter); in onActivityCreated()
152 mGridAdapter.start(); in onStart()
[all …]
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppGridActivity.java80 private AppGridAdapter mGridAdapter; field in AppGridActivity
129 mGridAdapter.setIsDistractionOptimizationRequired(
135 mGridAdapter.setIsDistractionOptimizationRequired(
187 mGridAdapter = new AppGridAdapter(this); in onCreate()
194 return mGridAdapter.getSpanSizeLookup(position); in onCreate()
198 gridView.setAdapter(mGridAdapter); in onCreate()
259 mGridAdapter.setAllApps(appsInfo.getLaunchableComponentsList()); in updateAppsLists()
260 mGridAdapter.setMostRecentApps(getMostRecentApps(appsInfo)); in updateAppsLists()