Home
last modified time | relevance | path

Searched refs:requireViewByRefId (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DToolbarControllerImpl.java23 import static com.android.car.ui.utils.CarUiUtils.requireViewByRefId;
144 mBackground = requireViewByRefId(view, R.id.car_ui_toolbar_background); in ToolbarControllerImpl()
145 mTabLayout = requireViewByRefId(view, R.id.car_ui_toolbar_tabs); in ToolbarControllerImpl()
146 mNavIcon = requireViewByRefId(view, R.id.car_ui_toolbar_nav_icon); in ToolbarControllerImpl()
147 mLogoInNavIconSpace = requireViewByRefId(view, R.id.car_ui_toolbar_logo); in ToolbarControllerImpl()
148 mNavIconContainer = requireViewByRefId(view, R.id.car_ui_toolbar_nav_icon_container); in ToolbarControllerImpl()
149 mMenuItemsContainer = requireViewByRefId(view, R.id.car_ui_toolbar_menu_items_container); in ToolbarControllerImpl()
150 mTitle = requireViewByRefId(view, R.id.car_ui_toolbar_title); in ToolbarControllerImpl()
151 mTitleLogoContainer = requireViewByRefId(view, R.id.car_ui_toolbar_title_logo_container); in ToolbarControllerImpl()
152 mTitleLogo = requireViewByRefId(view, R.id.car_ui_toolbar_title_logo); in ToolbarControllerImpl()
[all …]
DMenuItemRenderer.java18 import static com.android.car.ui.utils.CarUiUtils.requireViewByRefId;
102 requireViewByRefId(mView, R.id.car_ui_toolbar_menu_item_icon_container); in createView()
103 mIconView = requireViewByRefId(mView, R.id.car_ui_toolbar_menu_item_icon); in createView()
104 mSwitch = requireViewByRefId(mView, R.id.car_ui_toolbar_menu_item_switch); in createView()
105 mTextView = requireViewByRefId(mView, R.id.car_ui_toolbar_menu_item_text); in createView()
107 requireViewByRefId(mView, R.id.car_ui_toolbar_menu_item_text_with_icon); in createView()
DSearchView.java18 import static com.android.car.ui.utils.CarUiUtils.requireViewByRefId;
89 mSearchText = requireViewByRefId(this, R.id.car_ui_toolbar_search_bar); in SearchView()
90 mIcon = requireViewByRefId(this, R.id.car_ui_toolbar_search_icon); in SearchView()
91 mCloseIcon = requireViewByRefId(this, R.id.car_ui_toolbar_search_close); in SearchView()
DTabLayout.java18 import static com.android.car.ui.utils.CarUiUtils.requireViewByRefId;
278 ImageView iconView = requireViewByRefId(tabItemView, R.id.car_ui_toolbar_tab_item_icon); in presentTabItemView()
279 TextView textView = requireViewByRefId(tabItemView, R.id.car_ui_toolbar_tab_item_text); in presentTabItemView()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DDefaultScrollBar.java18 import static com.android.car.ui.utils.CarUiUtils.requireViewByRefId;
86 mUpButton = requireViewByRefId(mScrollView, R.id.page_up); in initialize()
91 mDownButton = requireViewByRefId(mScrollView, R.id.page_down); in initialize()
96 mScrollThumb = requireViewByRefId(mScrollView, R.id.scrollbar_thumb); in initialize()
DCarUiRecyclerViewAdapter.java18 import static com.android.car.ui.utils.CarUiUtils.requireViewByRefId;
60 frameLayout = requireViewByRefId(view, R.id.nested_recycler_view_layout); in NestedRowViewHolder()
DCarUiRecyclerView.java18 import static com.android.car.ui.utils.CarUiUtils.requireViewByRefId;
306 ((FrameLayout) requireViewByRefId(mContainer, R.id.car_ui_recycler_view)) in installExternalScrollBar()
315 createScrollBarFromConfig(requireViewByRefId(mContainer, R.id.car_ui_scroll_bar)); in installExternalScrollBar()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/core/
DBaseLayoutController.java18 import static com.android.car.ui.utils.CarUiUtils.requireViewByRefId;
128 FrameLayout contentView = requireViewByRefId(baseLayout, R.id.content); in installBaseLayout()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/utils/
DCarUiUtils.java114 public static <T extends View> T requireViewByRefId(@NonNull View root, @IdRes int id) { in requireViewByRefId() method in CarUiUtils