Searched refs:CarUiRecyclerViewLayout (Results 1 – 7 of 7) sorted by relevance
22 import com.android.car.ui.recyclerview.CarUiRecyclerView.CarUiRecyclerViewLayout;29 @CarUiRecyclerViewLayout30 private int mLayoutType = CarUiRecyclerViewLayout.LINEAR;59 @CarUiRecyclerViewLayout61 return CarUiRecyclerViewLayout.LINEAR; in getLayoutType()
25 import com.android.car.ui.recyclerview.CarUiRecyclerView.CarUiRecyclerViewLayout;33 @CarUiRecyclerViewLayout34 private int mLayoutType = CarUiRecyclerViewLayout.GRID;74 @CarUiRecyclerViewLayout76 return CarUiRecyclerViewLayout.GRID; in getLayoutType()
74 CarUiRecyclerViewLayout.LINEAR,75 CarUiRecyclerViewLayout.GRID,78 public @interface CarUiRecyclerViewLayout { annotation in CarUiRecyclerView
22 import com.android.car.ui.recyclerview.CarUiRecyclerView.CarUiRecyclerViewLayout;42 @CarUiRecyclerViewLayout
156 @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()
45 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()
207 .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()