Home
last modified time | relevance | path

Searched refs:mActionBar (Results 1 – 8 of 8) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBarImplICS.java33 final android.app.ActionBar mActionBar; field in ActionBarImplICS
47 mActionBar = activity.getActionBar(); in ActionBarImplICS()
74 mActionBar.setCustomView(view); in setCustomView()
83 mActionBar.setCustomView(view, lp); in setCustomView()
88 mActionBar.setCustomView(resId); in setCustomView()
93 mActionBar.setIcon(resId); in setIcon()
98 mActionBar.setIcon(icon); in setIcon()
103 mActionBar.setLogo(resId); in setLogo()
108 mActionBar.setLogo(logo); in setLogo()
113 mActionBar.setListNavigationCallbacks(adapter, in setListNavigationCallbacks()
[all …]
DActionBarActivityDelegate.java60 private ActionBar mActionBar; field in ActionBarActivityDelegate
80 if (mActionBar == null) { in getSupportActionBar()
81 mActionBar = createSupportActionBar(); in getSupportActionBar()
84 mActionBar.setDisplayHomeAsUpEnabled(true); in getSupportActionBar()
89 mActionBar = null; in getSupportActionBar()
91 return mActionBar; in getSupportActionBar()
120 if (mActionBar == null) { in onCreate()
123 mActionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarOverlayLayout.java40 private ActionBarImpl mActionBar; field in ActionBarOverlayLayout
91 mActionBar = impl;
95 mActionBar.setWindowVisibility(mWindowVisibility);
143 final boolean wasVisible = mActionBar != null ? mActionBar.isSystemShowing() : true;
145 if (mActionBar != null) {
149 mActionBar.enableContentAnimations(!stable);
150 if (barVisible || !stable) mActionBar.showForSystem();
151 else mActionBar.hideForSystem();
154 if (mActionBar != null) {
164 if (mActionBar != null) {
[all …]
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindow.java145 private ActionBarView mActionBar; field in PhoneWindow
362 } else if (mActionBar != null) { in setTitle()
363 mActionBar.setWindowTitle(title); in setTitle()
409 if (isActionBarMenu && mActionBar != null) { in preparePanel()
412 mActionBar.setMenuPrepared(); in preparePanel()
424 if (isActionBarMenu && mActionBar != null) { in preparePanel()
428 mActionBar.setMenu(st.menu, mActionMenuPresenterCallback); in preparePanel()
440 if (isActionBarMenu && mActionBar != null) { in preparePanel()
442 mActionBar.setMenu(null, mActionMenuPresenterCallback); in preparePanel()
465 if (isActionBarMenu && mActionBar != null) { in preparePanel()
[all …]
/frameworks/base/core/java/android/app/
DDialog.java91 private ActionBarImpl mActionBar; field in Dialog
208 return mActionBar; in getActionBar()
268 if (mActionBar == null && mWindow.hasFeature(Window.FEATURE_ACTION_BAR)) { in show()
272 mActionBar = new ActionBarImpl(this); in show()
381 if (mActionBar != null) mActionBar.setShowHideAnimationEnabled(true); in onStart()
388 if (mActionBar != null) mActionBar.setShowHideAnimationEnabled(false); in onStop()
832 mActionBar.dispatchMenuVisibilityChanged(true); in onMenuOpened()
849 mActionBar.dispatchMenuVisibilityChanged(false); in onPanelClosed()
970 if (mActionBar != null) { in onWindowStartingActionMode()
971 return mActionBar.startActionMode(callback); in onWindowStartingActionMode()
DActivity.java717 /*package*/ ActionBarImpl mActionBar = null; field in Activity
891 if (mActionBar == null) { in onCreate()
894 mActionBar.setDefaultDisplayHomeAsUpEnabled(true); in onCreate()
1116 if (mActionBar != null) mActionBar.setShowHideAnimationEnabled(true); in onPostResume()
1388 if (mActionBar != null) mActionBar.setShowHideAnimationEnabled(false); in onStop()
1508 if (mActionBar != null) { in onConfigurationChanged()
1511 mActionBar.onConfigurationChanged(newConfig); in onConfigurationChanged()
1894 return mActionBar; in getActionBar()
1908 if (isChild() || !window.hasFeature(Window.FEATURE_ACTION_BAR) || mActionBar != null) { in initActionBar()
1912 mActionBar = new ActionBarImpl(this); in initActionBar()
[all …]
/frameworks/base/docs/html/training/backward-compatible-ui/
Dnew-implementation.jd92 ActionBar mActionBar;
96 if (mActionBar == null) {
97 mActionBar = mActivity.getActionBar();
98 mActionBar.setNavigationMode(
107 mActionBar.addTab((ActionBar.Tab) tab.getTab());
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActionBarOverlayLayout.java37 private ActionBar mActionBar; field in ActionBarOverlayLayout
66 mActionBar = impl; in setActionBar()