/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | NavigationViewManager.java | 57 private final Toolbar mToolbar; field in NavigationViewManager 84 mToolbar = activity.findViewById(R.id.toolbar); in NavigationViewManager() 93 mToolbar.setNavigationOnClickListener( in NavigationViewManager() 102 mDefaultActionBarBackground = mToolbar.getBackground(); in NavigationViewManager() 103 mDefaultOutlineProvider = mToolbar.getOutlineProvider(); in NavigationViewManager() 115 final Resources resources = mToolbar.getResources(); in NavigationViewManager() 156 mToolbar.setBackground(new ColorDrawable(dynamicHeaderColor)); in onOffsetChanged() 208 mToolbar.setTitle(null); in update() 215 mToolbar.setNavigationIcon(getActionBarIcon()); in update() 216 mToolbar.setNavigationContentDescription(R.string.drawer_open); in update() [all …]
|
D | DrawerController.java | 105 private Toolbar mToolbar; field in DrawerController.RuntimeDrawerController 115 mToolbar = drawerToolbar; in RuntimeDrawerController() 205 mToolbar.setTitle(title); in setTitle()
|
/packages/apps/Car/SettingsIntelligence/src/com/android/settings/intelligence/search/car/ |
D | CarSearchFragment.java | 70 private ToolbarController mToolbar; field in CarSearchFragment 122 mToolbar = getToolbar(); in onCreate() 124 getContext(), loaderManager, mSearchAdapter, mToolbar, this); in onCreate() 131 if (mToolbar != null) { in onActivityCreated() 133 mToolbar.setTitle(getPreferenceScreen().getTitle()); in onActivityCreated() 134 mToolbar.setMenuItems(items); in onActivityCreated() 135 mToolbar.setNavButtonMode(Toolbar.NavButtonMode.BACK); in onActivityCreated() 136 mToolbar.setState(Toolbar.State.SUBPAGE); in onActivityCreated() 137 mToolbar.setState(Toolbar.State.SEARCH); in onActivityCreated() 138 mToolbar.setSearchHint(R.string.abc_search_hint); in onActivityCreated() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ActionBarAdapter.java | 96 private final Toolbar mToolbar; field in ActionBarAdapter 120 mToolbar = toolbar; in ActionBarAdapter() 121 mToolBarFrame = (FrameLayout) mToolbar.getParent(); in ActionBarAdapter() 122 mMaxToolbarContentInsetStart = mToolbar.getContentInsetStart(); in ActionBarAdapter() 143 final LayoutInflater inflater = (LayoutInflater) mToolbar.getContext().getSystemService( in setupSearchAndSelectionViews() 147 mSearchContainer = inflater.inflate(R.layout.search_bar_expanded, mToolbar, in setupSearchAndSelectionViews() 150 mToolbar.addView(mSearchContainer); in setupSearchAndSelectionViews() 179 mSelectionContainer = inflater.inflate(R.layout.selection_bar, mToolbar, in setupSearchAndSelectionViews() 332 mToolbar.setContentInsetsRelative(0, mToolbar.getContentInsetEnd()); in updateDisplayOptionsInner() 336 mToolbar.setContentInsetsRelative(mMaxToolbarContentInsetStart, in updateDisplayOptionsInner() [all …]
|
D | ContactEditorActivity.java | 258 private Toolbar mToolbar; field in ContactEditorActivity 347 mToolbar = (Toolbar) findViewById(R.id.toolbar); in onCreate() 348 setSupportActionBar(mToolbar); in onCreate() 354 mToolbar.setTitle(mActionBarTitleResId); in onCreate() 367 mToolbar.setTitle(mActionBarTitleResId); in onCreate() 461 return mToolbar; in getToolbar()
|
D | ContactSelectionActivity.java | 92 private Toolbar mToolbar; field in ContactSelectionActivity 148 mToolbar = getView(R.id.toolbar); in prepareSearchViewAndActionBar() 149 setSupportActionBar(mToolbar); in prepareSearchViewAndActionBar() 154 mActionBarAdapter = new ActionBarAdapter(this, this, getSupportActionBar(), mToolbar, in prepareSearchViewAndActionBar()
|
D | PeopleActivity.java | 187 private Toolbar mToolbar; field in PeopleActivity 369 mToolbar = getView(R.id.toolbar); in onCreate() 370 setSupportActionBar(mToolbar); in onCreate() 378 mToggle = new ContactsActionBarDrawerToggle(this, mDrawerLayout, mToolbar, in onCreate() 1095 return mToolbar; in getToolbar()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | AppbarFragment.java | 89 protected Toolbar mToolbar; field in AppbarFragment 110 mToolbar = rootView.findViewById(getToolbarId()); in setUpToolbar() 112 mTitleView = mToolbar.findViewById(R.id.custom_toolbar_title); in setUpToolbar() 134 mToolbar.inflateMenu(menuResId); in setUpToolbarMenu() 135 mToolbar.setOnMenuItemClickListener(this); in setUpToolbarMenu() 158 mToolbar.setNavigationIcon(backIcon); in setUpUpArrow() 159 mToolbar.setNavigationContentDescription(R.string.bottom_action_bar_back); in setUpUpArrow() 160 mToolbar.setNavigationOnClickListener(v -> mHost.onUpArrowPressed()); in setUpUpArrow() 188 if (mToolbar == null) { in setTitle() 192 mToolbar.setTitle(null); in setTitle() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/auto/ |
D | AutoSettingsFrameFragment.java | 39 private ToolbarController mToolbar; field in AutoSettingsFrameFragment 51 mToolbar = getToolbar(requireActivity()); in onCreateView() 76 if (mToolbar != null) { in updateHeaderLabel() 77 mToolbar.setTitle(mLabel); in updateHeaderLabel() 92 if (mToolbar != null) { in updateLoading() 93 mToolbar.getProgressBar().setVisible(mIsLoading); in updateLoading() 108 if (mToolbar == null) { in updateAction() 112 mToolbar.setMenuItems(Collections.singletonList(MenuItem.builder(getContext()) in updateAction() 117 mToolbar.setMenuItems(null); in updateAction()
|
/packages/apps/Car/Radio/src/com/android/car/radio/ |
D | RadioActivity.java | 67 private ToolbarController mToolbar; field in RadioActivity 104 mToolbar = requireToolbar(this); in onCreate() 105 mToolbar.setState(HOME); in onCreate() 106 mToolbar.setTitle(R.string.app_name); in onCreate() 108 mToolbar.setLogo(R.drawable.logo_fm_radio); in onCreate() 110 mToolbar.registerOnTabSelectedListener(t -> in onCreate() 111 viewPager.setCurrentItem(mToolbar.getTabPosition(t))); in onCreate() 190 mToolbar.selectTab(position); in setupTabsWithViewPager() 214 mToolbar.setMenuItems(Arrays.asList(bandSelectorMenuItem, appSelectorMenuItem)); in updateMenuItems() 218 mToolbar.clearAllTabs(); in updateTabs() [all …]
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/search/ |
D | ContactResultsFragment.java | 73 private ToolbarController mToolbar; field in ContactResultsFragment 132 mToolbar.unregisterOnSearchListener(this); in onDestroyView() 139 mToolbar = toolbar; in setupToolbar() 140 mToolbar.registerOnSearchListener(this); in setupToolbar() 141 mToolbar.setSearchIcon(R.drawable.ic_app_icon); in setupToolbar() 144 if (mToolbar.canShowSearchResultsView()) { in setupToolbar() 145 mToolbar.setSearchResultsView(getRecyclerView()); in setupToolbar() 154 if (mToolbar != null) { in setSearchQuery() 155 mToolbar.setSearchQuery(query); in setSearchQuery()
|
/packages/services/Car/packages/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | CarDevelopmentSettingsDashboardFragment.java | 44 private ToolbarController mToolbar; field in CarDevelopmentSettingsDashboardFragment 49 mToolbar = getToolbar(); in onActivityCreated() 50 if (mToolbar != null) { in onActivityCreated() 52 mToolbar.setTitle(getPreferenceScreen().getTitle()); in onActivityCreated() 53 mToolbar.setMenuItems(items); in onActivityCreated() 54 mToolbar.setNavButtonMode(Toolbar.NavButtonMode.BACK); in onActivityCreated() 55 mToolbar.setState(Toolbar.State.SUBPAGE); in onActivityCreated()
|
/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/ |
D | ECUListActivity.java | 40 private Toolbar mToolbar; field in ECUListActivity 66 mToolbar = findViewById(R.id.toolbar); in onCreate() 67 setActionBar(mToolbar); in onCreate() 68 mToolbar.setNavigationIcon(R.drawable.ic_show_chart_black_24dp); in onCreate() 69 mToolbar.setTitle("ECU Overview"); in onCreate() 71 mToolbar.setNavigationOnClickListener( in onCreate()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | MultiShrinkScroller.java | 108 private View mToolbar; field in MultiShrinkScroller 296 mToolbar = findViewById(R.id.toolbar_parent); in initialize() 774 = mToolbar.getLayoutParams(); in setToolbarHeight() 776 mToolbar.setLayoutParams(toolbarLayoutParams); in setToolbarHeight() 784 return mToolbar.getLayoutParams().height; in getToolbarHeight() 793 = mToolbar.getLayoutParams(); in setHeaderHeight() 795 mToolbar.setLayoutParams(toolbarLayoutParams); in setHeaderHeight() 802 return mToolbar.getLayoutParams().height; in getHeaderHeight() 989 = mToolbar.getLayoutParams(); in scrollUp() 995 mToolbar.setLayoutParams(toolbarLayoutParams); in scrollUp() [all …]
|
/packages/apps/HTMLViewer/src/com/android/htmlviewer/ |
D | CarHTMLViewerActivity.java | 29 private ToolbarController mToolbar; field in CarHTMLViewerActivity 36 mToolbar = CarUi.requireToolbar(this); in setContentView() 37 mToolbar.setState(Toolbar.State.SUBPAGE); in setContentView() 43 mToolbar.setTitle(title); in setTitle()
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
D | ContactPickerFragment.java | 116 private Toolbar mToolbar; field in ContactPickerFragment 183 mToolbar = (Toolbar) view.findViewById(R.id.toolbar); in onCreateView() 184 mToolbar.setNavigationIcon(R.drawable.ic_arrow_back_light); in onCreateView() 185 mToolbar.setNavigationContentDescription(R.string.back); in onCreateView() 186 mToolbar.setNavigationOnClickListener(new OnClickListener() { in onCreateView() 193 mToolbar.inflateMenu(R.menu.compose_menu); in onCreateView() 194 mToolbar.setOnMenuItemClickListener(this); in onCreateView() 344 final Menu menu = mToolbar.getMenu(); in updateVisualsForContactPickingMode() 364 mPendingExplodeView = mToolbar; in updateVisualsForContactPickingMode() 417 final Menu menu = mToolbar.getMenu(); in updateTextInputButtonsVisibility()
|
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/ |
D | UpdateLayoutFragment.java | 68 private ToolbarController mToolbar; field in UpdateLayoutFragment 130 mToolbar = CarUi.requireToolbar(getActivity()); in onActivityCreated() 131 mProgressBar = mToolbar.getProgressBar(); in onActivityCreated() 175 mToolbar.setMenuItems(Collections.singletonList(installButton)); in showInstallNow() 199 mToolbar.setMenuItems(null); // Remove install button in showInstallationInProgress() 268 mToolbar.setMenuItems(null); // Remove install now button in onPayloadApplicationComplete()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/ui/base/ |
D | MessageListBaseFragment.java | 51 @Nullable protected ToolbarController mToolbar; field in MessageListBaseFragment 88 mToolbar = CarUi.getToolbar(requireActivity()); in onViewCreated() 90 if (mToolbar != null) { in onViewCreated() 91 setupToolbar(mToolbar); in onViewCreated()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/ |
D | CustomThemeStepFragment.java | 70 mToolbar.getMenu().getItem(0).setIconTintList( in onCreateView() 75 mToolbar.setNavigationIcon(closeIcon); in onCreateView() 77 mToolbar.setNavigationContentDescription(R.string.cancel); in onCreateView() 78 mToolbar.setNavigationOnClickListener(v -> mHost.cancel()); in onCreateView()
|
/packages/apps/Car/SettingsIntelligence/src/com/android/settings/intelligence/search/savedqueries/car/ |
D | CarSavedQueryController.java | 59 private ToolbarController mToolbar; field in CarSavedQueryController 70 mToolbar = toolbar; in CarSavedQueryController() 99 if (mToolbar.canShowSearchResultItems()) { in onLoadFinished() 111 mToolbar.setSearchResultItems(searchItems); in onLoadFinished()
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/preferences/ |
D | SplitPreferenceDemoFragment.java | 32 private ToolbarController mToolbar; field in SplitPreferenceDemoFragment 45 return mToolbar; in getPreferenceToolbar() 49 mToolbar = toolbar; in setToolbar()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | InspectorActivity.java | 44 private Toolbar mToolbar; field in InspectorActivity 69 mToolbar = findViewById(R.id.toolbar); in onCreate() 70 setSupportActionBar(mToolbar); in onCreate()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | SimImportFragment.java | 85 private Toolbar mToolbar; field in SimImportFragment 160 mToolbar = (Toolbar) view.findViewById(R.id.toolbar); in onCreateView() 161 mToolbar.setNavigationOnClickListener(new View.OnClickListener() { in onCreateView() 215 mToolbar.setTitle(R.string.sim_import_title_none_selected); in updateToolbarWithCurrentSelections() 217 mToolbar.setTitle(String.valueOf(importableCount)); in updateToolbarWithCurrentSelections()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/ui/conversationlist/ |
D | ConversationListFragment.java | 117 if (activity == null || mUserAccount == null || mToolbar == null) { in setMenuItems() 136 mToolbar.setMenuItems(menuItems); in setMenuItems()
|
/packages/apps/Settings/src/com/android/settings/core/ |
D | SettingsBaseActivity.java | 66 private Toolbar mToolbar; field in SettingsBaseActivity 136 mToolbar = toolbar; in setActionBar()
|