Home
last modified time | relevance | path

Searched refs:actionBar (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/support/core-ui/jellybean-mr2/android/support/v4/app/
DActionBarDrawerToggleJellybeanMR2.java37 final ActionBar actionBar = activity.getActionBar(); in setActionBarUpIndicator() local
38 if (actionBar != null) { in setActionBarUpIndicator()
39 actionBar.setHomeAsUpIndicator(drawable); in setActionBarUpIndicator()
40 actionBar.setHomeActionContentDescription(contentDescRes); in setActionBarUpIndicator()
47 final ActionBar actionBar = activity.getActionBar(); in setActionBarDescription() local
48 if (actionBar != null) { in setActionBarDescription()
49 actionBar.setHomeActionContentDescription(contentDescRes); in setActionBarDescription()
55 final ActionBar actionBar = activity.getActionBar(); in getThemeUpIndicator() local
57 if (actionBar != null) { in getThemeUpIndicator()
58 context = actionBar.getThemedContext(); in getThemeUpIndicator()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBarDrawerToggle.java513 final ActionBar actionBar = mActivity.getActionBar(); in getActionBarThemedContext() local
515 if (actionBar != null) { in getActionBarThemedContext()
516 context = actionBar.getThemedContext(); in getActionBarThemedContext()
525 final ActionBar actionBar = mActivity.getActionBar(); in isNavigationVisible() local
526 return actionBar != null in isNavigationVisible()
527 && (actionBar.getDisplayOptions() & ActionBar.DISPLAY_HOME_AS_UP) != 0; in isNavigationVisible()
532 final ActionBar actionBar = mActivity.getActionBar(); in setActionBarUpIndicator() local
533 if (actionBar != null) { in setActionBarUpIndicator()
534 actionBar.setDisplayShowHomeEnabled(true); in setActionBarUpIndicator()
537 actionBar.setDisplayShowHomeEnabled(false); in setActionBarUpIndicator()
[all …]
DActionBarDrawerToggleHoneycomb.java56 final ActionBar actionBar = activity.getActionBar(); in setActionBarUpIndicator() local
57 info.setHomeAsUpIndicator.invoke(actionBar, drawable); in setActionBarUpIndicator()
58 info.setHomeActionContentDescription.invoke(actionBar, contentDescRes); in setActionBarUpIndicator()
77 final ActionBar actionBar = activity.getActionBar(); in setActionBarDescription() local
78 info.setHomeActionContentDescription.invoke(actionBar, contentDescRes); in setActionBarDescription()
82 actionBar.setSubtitle(actionBar.getSubtitle()); in setActionBarDescription()
DAppCompatActivity.java533 final ActionBar actionBar = getSupportActionBar(); in dispatchKeyEvent() local
534 if (actionBar != null && actionBar.isShowing() && actionBar.requestFocus()) { in dispatchKeyEvent()
/frameworks/support/core-ui/honeycomb/android/support/v4/app/
DActionBarDrawerToggleHoneycomb.java56 final ActionBar actionBar = activity.getActionBar(); in setActionBarUpIndicator() local
57 sii.setHomeAsUpIndicator.invoke(actionBar, drawable); in setActionBarUpIndicator()
58 sii.setHomeActionContentDescription.invoke(actionBar, contentDescRes); in setActionBarUpIndicator()
78 final ActionBar actionBar = activity.getActionBar(); in setActionBarDescription() local
79 sii.setHomeActionContentDescription.invoke(actionBar, contentDescRes); in setActionBarDescription()
83 actionBar.setSubtitle(actionBar.getSubtitle()); in setActionBarDescription()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java149 View actionBar = null; in Layout() local
154 actionBar = bar.getRootView(); in Layout()
160 addViews(titleBar, mContentRoot == null ? (mContentRoot = createContentFrame()) : actionBar, in Layout()
238 BridgeActionBar actionBar; in createActionBar() local
240 actionBar = new AppCompatActionBar(context, params); in createActionBar()
242 actionBar = new FrameworkActionBar(context, params); in createActionBar()
252 actionBar.getRootView().setLayoutParams(layoutParams); in createActionBar()
253 actionBar.createMenuPopup(); in createActionBar()
254 return actionBar; in createActionBar()
/frameworks/base/docs/html-intl/intl/zh-cn/training/multiscreen/
Dadaptui.jd108 actionBar.setNavigationMode(android.app.ActionBar.NAVIGATION_MODE_TABS);
111 actionBar.addTab(actionBar.newTab().setText(
114 actionBar.setSelectedNavigationItem(selTab);
118 actionBar.setNavigationMode(android.app.ActionBar.NAVIGATION_MODE_LIST);
121 actionBar.setListNavigationCallbacks(adap, handler);
/frameworks/base/docs/html-intl/intl/ja/training/multiscreen/
Dadaptui.jd108 actionBar.setNavigationMode(android.app.ActionBar.NAVIGATION_MODE_TABS);
111 actionBar.addTab(actionBar.newTab().setText(
114 actionBar.setSelectedNavigationItem(selTab);
118 actionBar.setNavigationMode(android.app.ActionBar.NAVIGATION_MODE_LIST);
121 actionBar.setListNavigationCallbacks(adap, handler);
/frameworks/base/docs/html-intl/intl/ko/training/multiscreen/
Dadaptui.jd108 actionBar.setNavigationMode(android.app.ActionBar.NAVIGATION_MODE_TABS);
111 actionBar.addTab(actionBar.newTab().setText(
114 actionBar.setSelectedNavigationItem(selTab);
118 actionBar.setNavigationMode(android.app.ActionBar.NAVIGATION_MODE_LIST);
121 actionBar.setListNavigationCallbacks(adap, handler);
/frameworks/base/docs/html-intl/intl/ru/training/multiscreen/
Dadaptui.jd108 actionBar.setNavigationMode(android.app.ActionBar.NAVIGATION_MODE_TABS);
111 actionBar.addTab(actionBar.newTab().setText(
114 actionBar.setSelectedNavigationItem(selTab);
118 actionBar.setNavigationMode(android.app.ActionBar.NAVIGATION_MODE_LIST);
121 actionBar.setListNavigationCallbacks(adap, handler);
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
DActionBarWrapper.java27 public ActionBarWrapper(ActionBar actionBar) { in ActionBarWrapper() argument
28 mActionBar = actionBar; in ActionBarWrapper()
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/
DActionBarWrapper.java28 public ActionBarWrapper(ActionBar actionBar) { in ActionBarWrapper() argument
29 mActionBar = actionBar; in ActionBarWrapper()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java350 final ActionBarInterface actionBar = mActivity.getActionBarInterface(); in onCreate() local
351 if (actionBar != null) { in onCreate()
352 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
353 actionBar.addOnMenuVisibilityListener(this); in onCreate()
354 actionBar.setDisplayOptionsShowTitle(); in onCreate()
357 setActionBarTitles(actionBar); in onCreate()
871 protected final void setActionBarTitles(ActionBarInterface actionBar) { in setActionBarTitles() argument
872 if (actionBar == null) { in setActionBarTitles()
875 actionBar.setTitle(getInputOrEmpty(mActionBarTitle)); in setActionBarTitles()
876 actionBar.setSubtitle(getInputOrEmpty(mActionBarSubtitle)); in setActionBarTitles()
[all …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DSearchViewManager.java70 public void install(DocumentsToolbar actionBar, boolean isFullBarSearch) { in install() argument
71 mActionBar = actionBar; in install()
72 mMenuItem = actionBar.getSearchMenu(); in install()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoLand.java76 final ActionBar actionBar = getActionBar(); in onCreate() local
77 if (actionBar != null) { in onCreate()
78 actionBar.setLogo(Cat.create(this)); in onCreate()
79 actionBar.setDisplayUseLogoEnabled(false); in onCreate()
80 actionBar.setDisplayShowHomeEnabled(true); in onCreate()
/frameworks/base/docs/html/training/multiscreen/
Dadaptui.jd131 actionBar.setNavigationMode(android.app.ActionBar.NAVIGATION_MODE_TABS);
134 actionBar.addTab(actionBar.newTab().setText(
137 actionBar.setSelectedNavigationItem(selTab);
141 actionBar.setNavigationMode(android.app.ActionBar.NAVIGATION_MODE_LIST);
144 actionBar.setListNavigationCallbacks(adap, handler);
/frameworks/base/docs/html-intl/intl/es/training/multiscreen/
Dadaptui.jd108 actionBar.setNavigationMode(android.app.ActionBar.NAVIGATION_MODE_TABS);
111 actionBar.addTab(actionBar.newTab().setText(
114 actionBar.setSelectedNavigationItem(selTab);
118 actionBar.setNavigationMode(android.app.ActionBar.NAVIGATION_MODE_LIST);
121 actionBar.setListNavigationCallbacks(adap, handler);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DFrameworkActionBarWrapper.java84 @NonNull ActionBar actionBar) { in FrameworkActionBarWrapper() argument
85 mActionBar = actionBar; in FrameworkActionBarWrapper()
/frameworks/base/docs/html/training/implementing-navigation/
Dlateral.jd183 final ActionBar actionBar = getActionBar();
187 actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
206 actionBar.addTab(
207 actionBar.newTab()
/frameworks/base/docs/html-intl/intl/ko/training/basics/activity-lifecycle/
Dstarting.jd211 ActionBar actionBar = getActionBar();
212 actionBar.setHomeButtonEnabled(false);
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/activity-lifecycle/
Dstarting.jd211 ActionBar actionBar = getActionBar();
212 actionBar.setHomeButtonEnabled(false);
/frameworks/base/docs/html-intl/intl/ru/training/basics/activity-lifecycle/
Dstarting.jd211 ActionBar actionBar = getActionBar();
212 actionBar.setHomeButtonEnabled(false);
/frameworks/base/docs/html-intl/intl/ja/training/basics/activity-lifecycle/
Dstarting.jd211 ActionBar actionBar = getActionBar();
212 actionBar.setHomeButtonEnabled(false);
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/activity-lifecycle/
Dstarting.jd211 ActionBar actionBar = getActionBar();
212 actionBar.setHomeButtonEnabled(false);
/frameworks/base/docs/html/training/basics/supporting-devices/
Dplatforms.jd88 ActionBar actionBar = getActionBar();
89 actionBar.setDisplayHomeAsUpEnabled(true);

12