Home
last modified time | relevance | path

Searched refs:CarUiRecyclerViewLayout (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DCarUiLinearLayoutStyle.java22 import com.android.car.ui.recyclerview.CarUiRecyclerView.CarUiRecyclerViewLayout;
29 @CarUiRecyclerViewLayout
30 private int mLayoutType = CarUiRecyclerViewLayout.LINEAR;
59 @CarUiRecyclerViewLayout
61 return CarUiRecyclerViewLayout.LINEAR; in getLayoutType()
DCarUiGridLayoutStyle.java25 import com.android.car.ui.recyclerview.CarUiRecyclerView.CarUiRecyclerViewLayout;
33 @CarUiRecyclerViewLayout
34 private int mLayoutType = CarUiRecyclerViewLayout.GRID;
74 @CarUiRecyclerViewLayout
76 return CarUiRecyclerViewLayout.GRID; in getLayoutType()
DCarUiRecyclerView.java74 CarUiRecyclerViewLayout.LINEAR,
75 CarUiRecyclerViewLayout.GRID,
78 public @interface CarUiRecyclerViewLayout { annotation in CarUiRecyclerView
DCarUiLayoutStyle.java22 import com.android.car.ui.recyclerview.CarUiRecyclerView.CarUiRecyclerViewLayout;
42 @CarUiRecyclerViewLayout
DCarUiRecyclerViewImpl.java156 @CarUiRecyclerViewLayout int carUiRecyclerViewLayout = in init()
157 a.getInt(R.styleable.CarUiRecyclerView_layoutStyle, CarUiRecyclerViewLayout.LINEAR); in init()
187 == CarUiRecyclerView.CarUiRecyclerViewLayout.LINEAR) { in init()
202 == CarUiRecyclerView.CarUiRecyclerViewLayout.GRID) { in init()
247 if (layoutStyle.getLayoutType() == CarUiRecyclerViewLayout.LINEAR) { in setLayoutStyle()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/sharedlibrarysupport/
DSharedLibraryFactoryAdapterV1.java45 import com.android.car.ui.recyclerview.CarUiRecyclerView.CarUiRecyclerViewLayout;
163 CarUiRecyclerViewLayout.LINEAR); in from()
187 case CarUiRecyclerViewLayout.GRID: in from()
189 case CarUiRecyclerViewLayout.LINEAR: in from()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/
DCarUiRecyclerViewTest.java207 .thenReturn(CarUiRecyclerView.CarUiRecyclerViewLayout.GRID); in testGridLayout()
212 assertEquals(CarUiRecyclerView.CarUiRecyclerViewLayout.GRID, 1); in testGridLayout()
256 .thenReturn(CarUiRecyclerView.CarUiRecyclerViewLayout.LINEAR); in testLinearLayout()
259 assertEquals(CarUiRecyclerView.CarUiRecyclerViewLayout.LINEAR, 0); in testLinearLayout()
319 .thenReturn(CarUiRecyclerView.CarUiRecyclerViewLayout.GRID); in testSetLayoutManager_shouldUpdateItemDecorations()