Home
last modified time | relevance | path

Searched refs:GridLayoutManager (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DStructureAdapter.kt22 import androidx.recyclerview.widget.GridLayoutManager
70 layoutManager = GridLayoutManager(recyclerView.context, spanCount).apply { in setUpRecyclerView()
71 spanSizeLookup = object : GridLayoutManager.SpanSizeLookup() { in setUpRecyclerView()
DControlsEditingActivity.kt34 import androidx.recyclerview.widget.GridLayoutManager
267 layoutManager = object : GridLayoutManager(recyclerView.context, spanCount) { in setUpList()
279 spanSizeLookup = object : GridLayoutManager.SpanSizeLookup() { in setUpList()
/frameworks/base/core/java/com/android/internal/app/
DChooserGridLayoutManager.java22 import com.android.internal.widget.GridLayoutManager;
29 public class ChooserGridLayoutManager extends GridLayoutManager {
DChooserMultiProfilePagerAdapter.java28 import com.android.internal.widget.GridLayoutManager;
130 GridLayoutManager glm = (GridLayoutManager) recyclerView.getLayoutManager(); in setupListAdapter()
133 new GridLayoutManager.SpanSizeLookup() { in setupListAdapter()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DSlowBindRecyclerViewActivity.java20 import androidx.recyclerview.widget.GridLayoutManager;
39 return new GridLayoutManager(context, 3); in createLayoutManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DQSCustomizerController.java33 import androidx.recyclerview.widget.GridLayoutManager;
99 if (lm instanceof GridLayoutManager) {
100 ((GridLayoutManager) lm).setSpanCount(mTileAdapter.getNumColumns());
143 GridLayoutManager layout = in onViewAttached()
144 new GridLayoutManager(getContext(), mTileAdapter.getNumColumns()) { in onViewAttached()
DTileAdapter.java37 import androidx.recyclerview.widget.GridLayoutManager;
38 import androidx.recyclerview.widget.GridLayoutManager.SpanSizeLookup;
760 GridLayoutManager lm = ((GridLayoutManager) parent.getLayoutManager()); in getItemOffsets()
761 int column = ((GridLayoutManager.LayoutParams) view.getLayoutParams()).getSpanIndex(); in getItemOffsets()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoDialog.java28 import androidx.recyclerview.widget.GridLayoutManager;
43 view.setLayoutManager(new GridLayoutManager(getContext(), 2)); in NekoDialog()
DNekoLand.java46 import androidx.recyclerview.widget.GridLayoutManager;
93 recyclerView.setLayoutManager(new GridLayoutManager(this, 3)); in onCreate()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintPreviewController.java27 import android.support.v7.widget.GridLayoutManager;
53 private final GridLayoutManager mLayoutManger;
75 mLayoutManger = new GridLayoutManager(mActivity, columnCount); in PrintPreviewController()
/frameworks/base/packages/SettingsLib/AvatarPicker/src/
DAvatarPickerActivity.java37 import androidx.recyclerview.widget.GridLayoutManager;
100 recyclerView.setLayoutManager(new GridLayoutManager(this, in onCreate()
/frameworks/base/core/java/com/android/internal/widget/
DGridLayoutManager.java41 public class GridLayoutManager extends LinearLayoutManager { class
72 public GridLayoutManager(Context context, AttributeSet attrs, int defStyleAttr, in GridLayoutManager() method in GridLayoutManager
85 public GridLayoutManager(Context context, int spanCount) { in GridLayoutManager() method in GridLayoutManager
97 public GridLayoutManager(Context context, int spanCount, int orientation, in GridLayoutManager() method in GridLayoutManager
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleOverflowContainerView.java42 import androidx.recyclerview.widget.GridLayoutManager;
81 private class OverflowGridLayoutManager extends GridLayoutManager {
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityTest.java100 import com.android.internal.widget.GridLayoutManager;
3254 int spanCount = ((GridLayoutManager) view.getLayoutManager()).getSpanCount();