Home
last modified time | relevance | path

Searched refs:ActionBar (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/widget/
DToolbarWidgetWrapper.java23 import android.app.ActionBar;
62 ActionBar.DISPLAY_SHOW_HOME | ActionBar.DISPLAY_USE_LOGO;
86 private int mNavigationMode = ActionBar.NAVIGATION_MODE_STANDARD;
103 R.styleable.ActionBar, R.attr.actionBarStyle, 0); in ToolbarWidgetWrapper()
135 setDisplayOptions(mDisplayOpts | ActionBar.DISPLAY_SHOW_CUSTOM); in ToolbarWidgetWrapper()
201 int opts = ActionBar.DISPLAY_SHOW_TITLE | ActionBar.DISPLAY_SHOW_HOME | in detectDisplayOptions()
202 ActionBar.DISPLAY_USE_LOGO; in detectDisplayOptions()
204 opts |= ActionBar.DISPLAY_HOME_AS_UP; in detectDisplayOptions()
261 if ((mDisplayOpts & ActionBar.DISPLAY_SHOW_TITLE) != 0) { in setTitleInt()
274 if ((mDisplayOpts & ActionBar.DISPLAY_SHOW_TITLE) != 0) { in setSubtitle()
[all …]
DActionBarView.java22 import android.app.ActionBar;
76 ActionBar.DISPLAY_SHOW_HOME |
77 ActionBar.DISPLAY_USE_LOGO |
78 ActionBar.DISPLAY_HOME_AS_UP |
79 ActionBar.DISPLAY_SHOW_CUSTOM |
80 ActionBar.DISPLAY_SHOW_TITLE |
81 ActionBar.DISPLAY_TITLE_MULTIPLE_LINES;
164 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.ActionBar, in ActionBarView()
168 ActionBar.NAVIGATION_MODE_STANDARD); in ActionBarView()
213 mNavigationMode = ActionBar.NAVIGATION_MODE_STANDARD; in ActionBarView()
[all …]
DScrollingTabContainerView.java21 import android.app.ActionBar;
286 private TabView createTabView(Context context, ActionBar.Tab tab, boolean forAdapter) { in createTabView()
304 public void addTab(ActionBar.Tab tab, boolean setSelected) { in addTab()
320 public void addTab(ActionBar.Tab tab, int position, boolean setSelected) { in addTab()
375 private ActionBar.Tab mTab;
380 public TabView(Context context, ActionBar.Tab tab, boolean forList) { in TabView()
391 public void bindTab(ActionBar.Tab tab) { in bindTab()
408 return ActionBar.Tab.class.getName(); in getAccessibilityClassName()
423 final ActionBar.Tab tab = mTab; in update()
490 public ActionBar.Tab getTab() { in getTab()
[all …]
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/
DActionBarWrapper.java5 import androidx.appcompat.app.ActionBar;
12 private final ActionBar mActionBar;
14 private class MenuVisiblityListenerWrapper implements ActionBar.OnMenuVisibilityListener {
28 public ActionBarWrapper(ActionBar actionBar) { in ActionBarWrapper()
44 mActionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_TITLE, ActionBar.DISPLAY_SHOW_TITLE); in setDisplayOptionsShowTitle()
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
DActionBarWrapper.java3 import android.app.ActionBar;
11 private final ActionBar mActionBar;
13 private class MenuVisiblityListenerWrapper implements ActionBar.OnMenuVisibilityListener {
27 public ActionBarWrapper(ActionBar actionBar) { in ActionBarWrapper()
43 mActionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_TITLE, ActionBar.DISPLAY_SHOW_TITLE); in setDisplayOptionsShowTitle()
/frameworks/base/core/java/com/android/internal/app/
DNavItemSelectedListener.java20 import android.app.ActionBar;
29 private final ActionBar.OnNavigationListener mListener;
31 public NavItemSelectedListener(ActionBar.OnNavigationListener listener) { in NavItemSelectedListener()
DWindowDecorActionBar.java25 import android.app.ActionBar;
72 public class WindowDecorActionBar extends ActionBar implements
228 com.android.internal.R.styleable.ActionBar, in init()
533 final ActionBar.TabListener callback = tabi.getCallback(); in configureTab()
1152 public class TabImpl extends ActionBar.Tab {
1154 private ActionBar.TabListener mCallback;
1173 public ActionBar.TabListener getCallback() { in getCallback()
1178 public Tab setTabListener(ActionBar.TabListener callback) { in setTabListener()
DToolbarActionBar.java26 import android.app.ActionBar;
44 public class ToolbarActionBar extends ActionBar {
310 if (mode == ActionBar.NAVIGATION_MODE_TABS) { in setNavigationMode()
DPlatLogoActivity.java24 import android.app.ActionBar;
204 final ActionBar ab = getActionBar(); in onCreate()
/frameworks/base/packages/SettingsLib/CollapsingToolbarBaseActivity/src/com/android/settingslib/collapsingtoolbar/
DCollapsingToolbarDelegate.java21 import android.app.ActionBar;
55 ActionBar setActionBar(Toolbar toolbar); in setActionBar()
59 default androidx.appcompat.app.ActionBar setActionBar( in setActionBar()
128 final ActionBar actionBar = mHostCallback.setActionBar(mToolbar); in onCreateView()
147 final androidx.appcompat.app.ActionBar actionBar = in initSupportActionBar()
161 final androidx.appcompat.app.ActionBar actionBar = in initRSupportActionBar()
DCollapsingToolbarAppCompatActivity.java19 import android.app.ActionBar;
44 public ActionBar setActionBar(Toolbar toolbar) { in setActionBar()
50 public androidx.appcompat.app.ActionBar setActionBar( in setActionBar()
DCollapsingToolbarBaseFragment.java19 import android.app.ActionBar;
44 public ActionBar setActionBar(Toolbar toolbar) { in setActionBar()
DCollapsingToolbarBaseActivity.java19 import android.app.ActionBar;
44 public ActionBar setActionBar(Toolbar toolbar) { in setActionBar()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DFrameworkActionBarWrapper.java35 import android.app.ActionBar;
36 import android.app.ActionBar.Tab;
37 import android.app.ActionBar.TabListener;
56 @NonNull protected ActionBar mActionBar;
82 @NonNull ActionBar actionBar) { in FrameworkActionBarWrapper()
265 if (navMode == ActionBar.NAVIGATION_MODE_TABS) { in setupActionBar()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DListActivityBase.java19 import android.app.ActionBar;
39 ActionBar actionBar = getActionBar(); in onCreate()
DListViewScrollActivity.java21 import androidx.appcompat.app.ActionBar;
48 ActionBar actionBar = getSupportActionBar(); in onCreate()
DEditTextInputActivity.java21 import androidx.appcompat.app.ActionBar;
46 ActionBar actionBar = getSupportActionBar(); in onCreate()
/frameworks/base/packages/SettingsLib/CollapsingToolbarBaseActivity/src/com/android/settingslib/collapsingtoolbar/widget/
DCollapsingCoordinatorLayout.java21 import android.app.ActionBar;
168 final ActionBar actionBar = actionBarHost.setupActionBar(toolbar); in initSettingsStyleToolBar()
197 final androidx.appcompat.app.ActionBar actionBar = in initSettingsStyleToolBar()
276 @Nullable ActionBar setupActionBar(Toolbar toolbar); in setupActionBar()
285 @Nullable androidx.appcompat.app.ActionBar setupSupportActionBar( in setupSupportActionBar()
/frameworks/base/packages/SettingsLib/ActionBarShadow/src/com/android/settingslib/widget/
DActionBarShadowController.java22 import android.app.ActionBar;
121 final ActionBar actionBar = mActivity.getActionBar(); in updateDropShadow()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/activity/
DA11yMenuSettingsActivity.java19 import android.app.ActionBar;
56 ActionBar actionBar = getActionBar(); in onCreate()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DActionBarShadowControllerTest.java30 import android.app.ActionBar;
57 private ActionBar mActionBar;
/frameworks/base/core/java/com/android/internal/view/
DActionBarPolicy.java98 TypedArray a = mContext.obtainStyledAttributes(null, R.styleable.ActionBar, in getTabContainerHeight()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoLand.java20 import android.app.ActionBar;
81 final ActionBar actionBar = getActionBar(); in onCreate()
/frameworks/base/core/java/android/widget/
DToolbar.java27 import android.app.ActionBar;
2199 } else if (p instanceof ActionBar.LayoutParams) { in generateLayoutParams()
2200 return new LayoutParams((ActionBar.LayoutParams) p); in generateLayoutParams()
2319 public static class LayoutParams extends ActionBar.LayoutParams {
2350 public LayoutParams(ActionBar.LayoutParams source) { in LayoutParams()
/frameworks/base/core/java/android/app/
DActionBar.java97 public abstract class ActionBar { class

12