/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
D | KeyEventsTestCaseWithToolbar.java | 46 Toolbar toolbar = mActivityTestRule.getActivity().getToolbar(); in testMenuKeyOpensToolbarMenu() local 47 assertFalse(toolbar.isOverflowMenuShowing()); in testMenuKeyOpensToolbarMenu() 51 assertTrue(toolbar.isOverflowMenuShowing()); in testMenuKeyOpensToolbarMenu() 55 assertFalse(toolbar.isOverflowMenuShowing()); in testMenuKeyOpensToolbarMenu() 64 Toolbar toolbar = mActivityTestRule.getActivity().getToolbar(); in testOpenMenuOpensToolbarMenu() local 65 assertFalse(toolbar.isOverflowMenuShowing()); in testOpenMenuOpensToolbarMenu() 74 assertTrue(toolbar.isOverflowMenuShowing()); in testOpenMenuOpensToolbarMenu() 83 assertFalse(toolbar.isOverflowMenuShowing()); in testOpenMenuOpensToolbarMenu()
|
D | KeyboardShortcutsTestCaseWithToolbar.java | 66 … final View toolbar = activity.findViewById(android.support.v7.appcompat.test.R.id.toolbar); in testAccessActionBar() 67 assertTrue(toolbar.hasFocus()); in testAccessActionBar() 90 final Toolbar toolbar = in testKeyShortcuts() local 91 (Toolbar) activity.findViewById(android.support.v7.appcompat.test.R.id.toolbar); in testKeyShortcuts() 96 toolbar.inflateMenu(android.support.v7.appcompat.test.R.menu.sample_actions); in testKeyShortcuts() 101 toolbar.getMenu().findItem(android.support.v7.appcompat.test.R.id.action_alpha_shortcut) in testKeyShortcuts()
|
/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/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
D | NavigationViewUsage.java | 49 Toolbar toolbar = findViewById(R.id.toolbar); in onCreate() local 50 setSupportActionBar(toolbar); in onCreate() 53 toolbar.setNavigationIcon(R.drawable.ic_action_navigation_menu); in onCreate() 54 toolbar.setNavigationOnClickListener(new View.OnClickListener() { in onCreate()
|
D | FloatingActionButtonUsage.java | 36 Toolbar toolbar = findViewById(R.id.toolbar); in onCreate() local 37 setSupportActionBar(toolbar); in onCreate()
|
D | TabLayoutLayoutItemsUsage.java | 36 Toolbar toolbar = findViewById(R.id.toolbar); in onCreate() local 37 setSupportActionBar(toolbar); in onCreate()
|
D | TabLayoutCustomItemsUsage.java | 36 Toolbar toolbar = findViewById(R.id.toolbar); in onCreate() local 37 setSupportActionBar(toolbar); in onCreate()
|
D | AppBarLayoutUsageBase.java | 48 Toolbar toolbar = findViewById(R.id.toolbar); in onCreate() local 49 setSupportActionBar(toolbar); in onCreate()
|
D | TabLayoutUsage.java | 56 Toolbar toolbar = findViewById(R.id.toolbar); in onCreate() local 57 setSupportActionBar(toolbar); in onCreate()
|
D | TabLayoutPreselectedUsage.java | 53 Toolbar toolbar = findViewById(R.id.toolbar); in onCreate() local 54 setSupportActionBar(toolbar); in onCreate()
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | AppBarLayoutCollapsePinTestActivity.java | 31 Toolbar toolbar = findViewById(R.id.toolbar); in onContentViewSet() local 32 setSupportActionBar(toolbar); in onContentViewSet()
|
D | TabLayoutWithViewPagerActivity.java | 29 Toolbar toolbar = findViewById(R.id.toolbar); in onContentViewSet() local 30 setSupportActionBar(toolbar); in onContentViewSet()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | NavigationDrawerActivity.java | 34 Toolbar toolbar = findViewById(R.id.toolbar); in onCreate() local 35 setSupportActionBar(toolbar); in onCreate() 38 this, drawer, toolbar, R.string.navigation_drawer_open, in onCreate()
|
D | ClippedListActivity.java | 38 Toolbar toolbar = findViewById(R.id.toolbar); in onCreate() local 39 setSupportActionBar(toolbar); in onCreate() 42 this, drawer, toolbar, R.string.navigation_drawer_open, in onCreate()
|
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/ |
D | TransitionUsageBase.java | 40 Toolbar toolbar = findViewById(R.id.toolbar); in onCreate() local 41 setSupportActionBar(toolbar); in onCreate()
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | ActionBarDrawerToggle.java | 182 Toolbar toolbar, @StringRes int openDrawerContentDescRes, in ActionBarDrawerToggle() argument 184 this(activity, toolbar, drawerLayout, null, openDrawerContentDescRes, in ActionBarDrawerToggle() 193 ActionBarDrawerToggle(Activity activity, Toolbar toolbar, DrawerLayout drawerLayout, in ActionBarDrawerToggle() argument 196 if (toolbar != null) { in ActionBarDrawerToggle() 197 mActivityImpl = new ToolbarCompatDelegate(toolbar); in ActionBarDrawerToggle() 198 toolbar.setNavigationOnClickListener(new View.OnClickListener() { in ActionBarDrawerToggle() 659 ToolbarCompatDelegate(Toolbar toolbar) { in ToolbarCompatDelegate() argument 660 mToolbar = toolbar; in ToolbarCompatDelegate() 661 mDefaultUpIndicator = toolbar.getNavigationIcon(); in ToolbarCompatDelegate() 662 mDefaultContentDescription = toolbar.getNavigationContentDescription(); in ToolbarCompatDelegate()
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/ |
D | MenuItemIconTinting.java | 39 Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); in onCreate() local 40 setSupportActionBar(toolbar); in onCreate()
|
D | ToolbarUsage.java | 41 Toolbar toolbar = findViewById(R.id.toolbar); in onCreate() local 42 setSupportActionBar(toolbar); in onCreate()
|
D | ToolbarActionMode.java | 40 Toolbar toolbar = findViewById(R.id.toolbar); in onCreate() local 41 setSupportActionBar(toolbar); in onCreate()
|
D | ToolbarDisplayOptions.java | 45 Toolbar toolbar = findViewById(R.id.toolbar); in onCreate() local 46 setSupportActionBar(toolbar); in onCreate()
|
D | ToolbarFragmentPagerMenu.java | 52 Toolbar toolbar = findViewById(R.id.toolbar); in onCreate() local 53 setSupportActionBar(toolbar); in onCreate()
|
D | AppCompatPreferenceActivity.java | 59 public void setSupportActionBar(@Nullable Toolbar toolbar) { in setSupportActionBar() argument 60 getDelegate().setSupportActionBar(toolbar); in setSupportActionBar()
|
/frameworks/base/tools/preload2/src/com/android/preload/ui/ |
D | SwingUI.java | 72 JToolBar toolbar = new JToolBar(JToolBar.HORIZONTAL); in prepare() local 75 toolbar.addSeparator(); in prepare() 77 toolbar.add(a); in prepare() 80 getContentPane().add(toolbar, BorderLayout.PAGE_START); in prepare()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ToolbarWidgetWrapper.java | 94 public ToolbarWidgetWrapper(Toolbar toolbar, boolean style) { in ToolbarWidgetWrapper() argument 95 this(toolbar, style, R.string.abc_action_bar_up_description, in ToolbarWidgetWrapper() 99 public ToolbarWidgetWrapper(Toolbar toolbar, boolean style, in ToolbarWidgetWrapper() argument 101 mToolbar = toolbar; in ToolbarWidgetWrapper() 102 mTitle = toolbar.getTitle(); in ToolbarWidgetWrapper() 103 mSubtitle = toolbar.getSubtitle(); in ToolbarWidgetWrapper() 105 mNavIcon = toolbar.getNavigationIcon(); in ToolbarWidgetWrapper() 106 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()
|