/frameworks/base/core/java/com/android/internal/widget/ |
D | ToolbarWidgetWrapper.java | 66 private Toolbar mToolbar; field in ToolbarWidgetWrapper 96 mToolbar = toolbar; in ToolbarWidgetWrapper() 101 mNavIcon = mToolbar.getNavigationIcon(); in ToolbarWidgetWrapper() 133 setCustomView(LayoutInflater.from(mToolbar.getContext()).inflate(customNavId, in ToolbarWidgetWrapper() 134 mToolbar, false)); in ToolbarWidgetWrapper() 140 final ViewGroup.LayoutParams lp = mToolbar.getLayoutParams(); in ToolbarWidgetWrapper() 142 mToolbar.setLayoutParams(lp); in ToolbarWidgetWrapper() 150 mToolbar.setContentInsetsRelative(Math.max(contentInsetStart, 0), in ToolbarWidgetWrapper() 156 mToolbar.setTitleTextAppearance(mToolbar.getContext(), titleTextStyle); in ToolbarWidgetWrapper() 162 mToolbar.setSubtitleTextAppearance(mToolbar.getContext(), subtitleTextStyle); in ToolbarWidgetWrapper() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | QSCustomizer.java | 61 private final Toolbar mToolbar; field in QSCustomizer 75 mToolbar = findViewById(com.android.internal.R.id.action_bar); in QSCustomizer() 78 mToolbar.setNavigationIcon( in QSCustomizer() 81 mToolbar.getMenu().add(Menu.NONE, MENU_RESET, 0, com.android.internal.R.string.reset) in QSCustomizer() 83 mToolbar.setTitle(R.string.qs_edit); in QSCustomizer() 216 mToolbar.setTitleTextAppearance(mContext, in onConfigurationChanged() 309 mToolbar.getMenu().clear(); in updateToolbarMenuFontSize() 310 mToolbar.getMenu().add(Menu.NONE, MENU_RESET, 0, com.android.internal.R.string.reset) in updateToolbarMenuFontSize()
|
D | QSCustomizerController.java | 68 private final Toolbar mToolbar; field in QSCustomizerController 122 mToolbar = mView.findViewById(com.android.internal.R.id.action_bar); in QSCustomizerController() 170 mToolbar.setOnMenuItemClickListener(mOnMenuItemClickListener); in onViewAttached() 171 mToolbar.setNavigationOnClickListener(v -> hide()); in onViewAttached() 177 mToolbar.setOnMenuItemClickListener(null); in onViewDetached() 260 mToolbar.dismissPopupMenus(); in hide()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewActivityTest.java | 124 private FloatingToolbarUtils mToolbar; field in TextViewActivityTest 132 mToolbar = new FloatingToolbarUtils(); in setUp() 310 mToolbar.assertFloatingToolbarIsDisplayed(); in testToolbarAppearsAfterSelection() 330 mToolbar.clickFloatingToolbarItem(mActivity.getString(com.android.internal.R.string.cut)); in testToolbarAppearsAfterSelection_withFirstStringLtrAlgorithmAndRtlHint() 333 mToolbar.assertFloatingToolbarIsDisplayed(); in testToolbarAppearsAfterSelection_withFirstStringLtrAlgorithmAndRtlHint() 341 mToolbar.assertFloatingToolbarIsDisplayed(); in testToolbarAppearsAfterLinkClicked() 351 mToolbar.assertFloatingToolbarIsDisplayed(); in testToolbarAppearsAfterLinkClickedNonselectable() 356 mToolbar.waitForFloatingToolbarPopup(); in testToolbarAppearsAfterLinkClickedNonselectable() 360 mToolbar.assertFloatingToolbarIsDisplayed(); in testToolbarAppearsAfterLinkClickedNonselectable() 378 mToolbar.assertFloatingToolbarIsDisplayed(); in testToolbarAppearsAccessibilityLongClick() [all …]
|
D | SuggestionsPopupWindowTest.java | 72 private final FloatingToolbarUtils mToolbar = new FloatingToolbarUtils(); field in SuggestionsPopupWindowTest 119 mToolbar.clickFloatingToolbarOverflowItem( in testSelectionActionMode() 139 mToolbar.clickFloatingToolbarItem( in testInsertionActionMode()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | FrameworkActionBarWrapper.java | 179 private final Toolbar mToolbar; // This is the view. field in FrameworkActionBarWrapper.ToolbarWrapper 184 mToolbar = toolbar; in ToolbarWrapper() 206 return Toolbar_Accessor.getPopupContext(mToolbar); in getPopupContext() 212 return (MenuBuilder) mToolbar.getMenu(); in getMenuBuilder() 218 return Toolbar_Accessor.getActionMenuPresenter(mToolbar); in getActionMenuPresenter() 224 return mToolbar.getWrapper(); in getDecorToolbar()
|
/frameworks/base/packages/SettingsLib/CollapsingToolbarBaseActivity/src/com/android/settingslib/collapsingtoolbar/ |
D | CollapsingToolbarDelegate.java | 77 private Toolbar mToolbar; field in CollapsingToolbarDelegate 127 mToolbar = view.findViewById(R.id.action_bar); in onCreateView() 128 final ActionBar actionBar = mHostCallback.setActionBar(mToolbar); in onCreateView() 197 return mToolbar; in getToolbar()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | FloatingActionMode.java | 328 private final FloatingToolbar mToolbar; field in FloatingActionMode.FloatingToolbarVisibilityHelper 340 mToolbar = Objects.requireNonNull(toolbar); in FloatingToolbarVisibilityHelper() 354 mToolbar.dismiss(); in deactivate() 385 mToolbar.hide(); in updateToolbarVisibility() 387 mToolbar.show(); in updateToolbarVisibility()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | ActionBarOverlayLayoutTest.java | 74 private Toolbar mToolbar; field in ActionBarOverlayLayoutTest 97 mToolbar = new Toolbar(mContext); in setUp() 98 mToolbar.setId(com.android.internal.R.id.action_bar); in setUp() 99 mActionBarView.addView(mToolbar); in setUp()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 86088 Lcom/android/internal/widget/ToolbarWidgetWrapper;->mToolbar:Landroid/widget/Toolbar;
|