/frameworks/base/tools/layoutlib/bridge/src/android/widget/ |
D | Toolbar_Accessor.java | 25 public static ActionMenuPresenter getActionMenuPresenter(Toolbar toolbar) { in getActionMenuPresenter() argument 26 return toolbar.getOuterActionMenuPresenter(); in getActionMenuPresenter() 29 public static Context getPopupContext(Toolbar toolbar) { in getPopupContext() argument 30 return toolbar.getPopupContext(); in getPopupContext()
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | ActionBarDrawerToggle.java | 179 Toolbar toolbar, @StringRes int openDrawerContentDescRes, in ActionBarDrawerToggle() argument 181 this(activity, toolbar, drawerLayout, null, openDrawerContentDescRes, in ActionBarDrawerToggle() 190 <T extends Drawable & DrawerToggle> ActionBarDrawerToggle(Activity activity, Toolbar toolbar, in ActionBarDrawerToggle() argument 194 if (toolbar != null) { in ActionBarDrawerToggle() 195 mActivityImpl = new ToolbarCompatDelegate(toolbar); in ActionBarDrawerToggle() 196 toolbar.setNavigationOnClickListener(new View.OnClickListener() { in ActionBarDrawerToggle() 618 ToolbarCompatDelegate(Toolbar toolbar) { in ToolbarCompatDelegate() argument 619 mToolbar = toolbar; in ToolbarCompatDelegate() 620 mDefaultUpIndicator = toolbar.getNavigationIcon(); in ToolbarCompatDelegate() 621 mDefaultContentDescription = toolbar.getNavigationContentDescription(); in ToolbarCompatDelegate()
|
D | AppCompatActivity.java | 129 public void setSupportActionBar(@Nullable Toolbar toolbar) { in setSupportActionBar() argument 130 getDelegate().setSupportActionBar(toolbar); in setSupportActionBar()
|
D | ToolbarActionBar.java | 73 public ToolbarActionBar(Toolbar toolbar, CharSequence title, Window.Callback callback) { in ToolbarActionBar() argument 74 mDecorToolbar = new ToolbarWidgetWrapper(toolbar, false); in ToolbarActionBar() 77 toolbar.setOnMenuItemClickListener(mMenuClicker); in ToolbarActionBar()
|
D | AppCompatDelegate.java | 229 public abstract void setSupportActionBar(@Nullable Toolbar toolbar); in setSupportActionBar() argument
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | TabLayoutWithViewPagerActivity.java | 29 Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); in onContentViewSet() local 30 setSupportActionBar(toolbar); in onContentViewSet()
|
D | AppBarLayoutBaseTest.java | 101 mToolbar = (Toolbar) mAppBar.findViewById(R.id.toolbar); in configureContent()
|
/frameworks/base/core/java/android/app/ |
D | ActionBar.java | 1100 final ViewGroup toolbar = viewGroup.getTouchscreenBlocksFocus() ? viewGroup : null; in requestFocus() local 1114 if (toolbar != null) { in requestFocus() 1115 toolbar.setTouchscreenBlocksFocus(false); in requestFocus() 1121 container, toolbar)); in requestFocus() 1126 if (toolbar != null) { in requestFocus() 1127 toolbar.setTouchscreenBlocksFocus(true); in requestFocus() 1463 public FollowOutOfActionBar(ViewGroup focusRoot, ViewGroup container, ViewGroup toolbar) { in FollowOutOfActionBar() argument 1465 mToolbar = toolbar; in FollowOutOfActionBar()
|
/frameworks/base/tools/preload2/src/com/android/preload/ui/ |
D | UI.java | 65 JToolBar toolbar = new JToolBar(JToolBar.HORIZONTAL); in UI() local 68 toolbar.addSeparator(); in UI() 70 toolbar.add(a); in UI() 73 getContentPane().add(toolbar, BorderLayout.PAGE_START); in UI()
|
/frameworks/base/docs/html/training/appbar/ |
D | setting-up.jd | 2 page.tags="appbar","actionbar", "toolbar" 14 <li><a href="#add-toolbar">Add a Toolbar to an Activity</a></li> 56 bars. Using the support library's toolbar helps ensure that your app will 65 <h2 id="add-toolbar">Add a Toolbar to an Activity</h2> 128 Position the toolbar at the top of the activity's 137 setSupportActionBar()} method, and pass the activity's toolbar. This method 138 sets the toolbar as the app bar for the activity. For example: 163 Once you set the toolbar as an activity's app bar, you have access to the
|
D | action-views.jd | 69 element in the toolbar's menu resource, as <a href="actions.html">Add Action 116 user taps the icon or menu item, the widget expands to fill the toolbar, 126 view's UI fills the toolbar. 218 element in the toolbar's menu resource, as described in <a href=
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
D | BaseKeyboardShortcutsTestCase.java | 89 final View toolbar = activity.findViewById(R.id.toolbar); in testAccessActionBar() 90 assertTrue(toolbar.hasFocus()); in testAccessActionBar()
|
D | ToolbarActionBarActivity.java | 34 mToolbar = (Toolbar) findViewById(R.id.toolbar); in onContentViewSet()
|
D | DrawerLayoutDoubleActivity.java | 73 mToolbar = (Toolbar) findViewById(R.id.toolbar); in onContentViewSet()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ToolbarWidgetWrapper.java | 90 public ToolbarWidgetWrapper(Toolbar toolbar, boolean style) { in ToolbarWidgetWrapper() argument 91 this(toolbar, style, R.string.abc_action_bar_up_description, in ToolbarWidgetWrapper() 95 public ToolbarWidgetWrapper(Toolbar toolbar, boolean style, in ToolbarWidgetWrapper() argument 97 mToolbar = toolbar; in ToolbarWidgetWrapper() 98 mTitle = toolbar.getTitle(); in ToolbarWidgetWrapper() 99 mSubtitle = toolbar.getSubtitle(); in ToolbarWidgetWrapper() 101 mNavIcon = toolbar.getNavigationIcon(); in ToolbarWidgetWrapper() 102 final TintTypedArray a = TintTypedArray.obtainStyledAttributes(toolbar.getContext(), in ToolbarWidgetWrapper()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ToolbarWidgetWrapper.java | 90 public ToolbarWidgetWrapper(Toolbar toolbar, boolean style) { in ToolbarWidgetWrapper() argument 91 this(toolbar, style, R.string.action_bar_up_description); in ToolbarWidgetWrapper() 94 public ToolbarWidgetWrapper(Toolbar toolbar, boolean style, in ToolbarWidgetWrapper() argument 96 mToolbar = toolbar; in ToolbarWidgetWrapper() 98 mTitle = toolbar.getTitle(); in ToolbarWidgetWrapper() 99 mSubtitle = toolbar.getSubtitle(); in ToolbarWidgetWrapper() 102 final TypedArray a = toolbar.getContext().obtainStyledAttributes(null, in ToolbarWidgetWrapper()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | FrameworkActionBarWrapper.java | 192 @NonNull Toolbar toolbar) { in ToolbarWrapper() argument 193 super(context, callback, new ToolbarActionBar(toolbar, "", new WindowCallback())); in ToolbarWrapper() 194 mToolbar = toolbar; in ToolbarWrapper()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | DrawerController.java | 86 Toolbar toolbar = (Toolbar) activity.findViewById(R.id.roots_toolbar); in create() local 97 return new RuntimeDrawerController(layout, drawer, toggle, toolbar); in create()
|
D | NavigationView.java | 57 DocumentsToolbar toolbar, in NavigationView() argument 62 mToolbar = toolbar; in NavigationView()
|
D | BaseActivity.java | 133 DocumentsToolbar toolbar = (DocumentsToolbar) findViewById(R.id.toolbar); in onCreate() local 134 setActionBar(toolbar); in onCreate() 137 toolbar, in onCreate() 153 mSearchManager.install((DocumentsToolbar) findViewById(R.id.toolbar), fullBarSearch); in onCreateOptionsMenu()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
D | SettingsDrawerActivity.java | 91 Toolbar toolbar = (Toolbar) findViewById(R.id.action_bar); in onCreate() local 93 toolbar.setVisibility(View.GONE); in onCreate() 99 setActionBar(toolbar); in onCreate()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ToolbarActionBar.java | 72 public ToolbarActionBar(Toolbar toolbar, CharSequence title, Window.Callback windowCallback) { in ToolbarActionBar() argument 73 mDecorToolbar = new ToolbarWidgetWrapper(toolbar, false); in ToolbarActionBar() 76 toolbar.setOnMenuItemClickListener(mMenuClicker); in ToolbarActionBar()
|
/frameworks/base/docs/html/training/basics/firstapp/ |
D | running-app.jd | 71 from the toolbar.</li> 93 style="vertical-align:bottom;margin:0;height:19px"> in the toolbar. The 121 …ools/as-run.png" style="vertical-align:baseline;margin:0; max-height:1em" /> from the toolbar.</li>
|
/frameworks/base/core/java/com/android/internal/view/ |
D | FloatingActionMode.java | 316 public FloatingToolbarVisibilityHelper(FloatingToolbar toolbar) { in FloatingToolbarVisibilityHelper() argument 317 mToolbar = Preconditions.checkNotNull(toolbar); in FloatingToolbarVisibilityHelper()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | CollapsingToolbarLayout.java | 333 Toolbar toolbar = null; in ensureToolbar() local 337 toolbar = (Toolbar) child; in ensureToolbar() 341 mToolbar = toolbar; in ensureToolbar()
|