Home
last modified time | relevance | path

Searched refs:toolbar (Results 1 – 11 of 11) sorted by relevance

/frameworks/layoutlib/bridge/src/android/widget/
DToolbar_Accessor.java25 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/base/tests/UiBench/src/com/android/test/uibench/
DNavigationDrawerActivity.java36 Toolbar toolbar = findViewById(R.id.toolbar); in onCreate() local
37 setSupportActionBar(toolbar); in onCreate()
40 this, drawer, toolbar, R.string.navigation_drawer_open, in onCreate()
DClippedListActivity.java40 Toolbar toolbar = findViewById(R.id.toolbar); in onCreate() local
41 setSupportActionBar(toolbar); in onCreate()
44 this, drawer, toolbar, R.string.navigation_drawer_open, in onCreate()
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DPaintActivity.java54 private CutoutAvoidingToolbar toolbar = null; field in PaintActivity
95 bar.setTranslationY(toolbar.getHeight()/2); in showToolbar()
97 .translationY(toolbar.getHeight()) in showToolbar()
106 .translationY(toolbar.getHeight()/2) in hideToolbar()
147 toolbar = findViewById(R.id.toolbar); in setupViews()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DHomeActivity.java55 Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); in onCreate() local
56 setSupportActionBar(toolbar); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerActivity.java49 Toolbar toolbar = findViewById(R.id.action_bar); in onCreate() local
50 if (toolbar != null) { in onCreate()
51 setActionBar(toolbar); in onCreate()
/frameworks/base/core/java/com/android/internal/widget/
DToolbarWidgetWrapper.java90 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/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DFrameworkActionBarWrapper.java182 @NonNull Toolbar toolbar) { in ToolbarWrapper() argument
183 super(context, callback, new ToolbarActionBar(toolbar, "", new WindowCallback())); in ToolbarWrapper()
184 mToolbar = toolbar; in ToolbarWrapper()
/frameworks/base/core/java/com/android/internal/app/
DToolbarActionBar.java69 public ToolbarActionBar(Toolbar toolbar, CharSequence title, Window.Callback windowCallback) { in ToolbarActionBar() argument
70 mDecorToolbar = new ToolbarWidgetWrapper(toolbar, false); in ToolbarActionBar()
73 toolbar.setOnMenuItemClickListener(mMenuClicker); in ToolbarActionBar()
/frameworks/base/core/java/com/android/internal/view/
DFloatingActionMode.java330 public FloatingToolbarVisibilityHelper(FloatingToolbar toolbar) { in FloatingToolbarVisibilityHelper() argument
331 mToolbar = Preconditions.checkNotNull(toolbar); in FloatingToolbarVisibilityHelper()
/frameworks/base/core/java/android/app/
DActivity.java3269 public void setActionBar(@Nullable Toolbar toolbar) { in setActionBar() argument
3286 if (toolbar != null) { in setActionBar()
3287 final ToolbarActionBar tbab = new ToolbarActionBar(toolbar, getTitle(), this); in setActionBar()