/frameworks/base/core/java/com/android/internal/widget/ |
D | ToolbarWidgetWrapper.java | 23 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 …]
|
D | ActionBarView.java | 22 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 …]
|
D | ScrollingTabContainerView.java | 23 import android.app.ActionBar; 280 private TabView createTabView(Context context, ActionBar.Tab tab, boolean forAdapter) { in createTabView() 297 public void addTab(ActionBar.Tab tab, boolean setSelected) { in addTab() 312 public void addTab(ActionBar.Tab tab, int position, boolean setSelected) { in addTab() 364 private ActionBar.Tab mTab; 369 public TabView(Context context, ActionBar.Tab tab, boolean forList) { in TabView() 380 public void bindTab(ActionBar.Tab tab) { in bindTab() 397 return ActionBar.Tab.class.getName(); in getAccessibilityClassName() 412 final ActionBar.Tab tab = mTab; in update() 504 public ActionBar.Tab getTab() { in getTab() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ToolbarWidgetWrapper.java | 20 import android.app.ActionBar; 60 ActionBar.DISPLAY_SHOW_HOME | ActionBar.DISPLAY_USE_LOGO; 84 private int mNavigationMode = ActionBar.NAVIGATION_MODE_STANDARD; 103 null, R.styleable.ActionBar, R.attr.actionBarStyle, 0); in ToolbarWidgetWrapper() 135 setDisplayOptions(mDisplayOpts | ActionBar.DISPLAY_SHOW_CUSTOM); in ToolbarWidgetWrapper() 203 int opts = ActionBar.DISPLAY_SHOW_TITLE | ActionBar.DISPLAY_SHOW_HOME | in detectDisplayOptions() 204 ActionBar.DISPLAY_USE_LOGO; in detectDisplayOptions() 206 opts |= ActionBar.DISPLAY_HOME_AS_UP; in detectDisplayOptions() 258 if ((mDisplayOpts & ActionBar.DISPLAY_SHOW_TITLE) != 0) { in setTitleInt() 271 if ((mDisplayOpts & ActionBar.DISPLAY_SHOW_TITLE) != 0) { in setSubtitle() [all …]
|
D | ScrollingTabContainerView.java | 26 import android.support.v7.app.ActionBar; 288 private TabView createTabView(ActionBar.Tab tab, boolean forAdapter) { in createTabView() 305 public void addTab(ActionBar.Tab tab, boolean setSelected) { in addTab() 320 public void addTab(ActionBar.Tab tab, int position, boolean setSelected) { in addTab() 381 private ActionBar.Tab mTab; 386 public TabView(Context context, ActionBar.Tab tab, boolean forList) { in TabView() 404 public void bindTab(ActionBar.Tab tab) { in bindTab() 422 event.setClassName(ActionBar.Tab.class.getName()); in onInitializeAccessibilityEvent() 431 info.setClassName(ActionBar.Tab.class.getName()); in onInitializeAccessibilityNodeInfo() 447 final ActionBar.Tab tab = mTab; in update() [all …]
|
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/ |
D | ActionBarWrapper.java | 3 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/opt/photoviewer/appcompat/src/com/android/ex/photo/ |
D | ActionBarWrapper.java | 5 import android.support.v7.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/support/v7/appcompat/api/ |
D | 22.0.0.txt | 3 public abstract class ActionBar { 4 ctor public ActionBar(); 5 …method public abstract void addOnMenuVisibilityListener(android.support.v7.app.ActionBar.OnMenuVis… 6 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab); 7 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, boolean); 8 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, int); 9 … method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, int, boolean); 18 method public abstract deprecated android.support.v7.app.ActionBar.Tab getSelectedTab(); 20 method public abstract deprecated android.support.v7.app.ActionBar.Tab getTabAt(int); 27 method public abstract deprecated android.support.v7.app.ActionBar.Tab newTab(); [all …]
|
D | 22.1.0.txt | 3 public abstract class ActionBar { 4 ctor public ActionBar(); 5 …method public abstract void addOnMenuVisibilityListener(android.support.v7.app.ActionBar.OnMenuVis… 6 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab); 7 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, boolean); 8 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, int); 9 … method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, int, boolean); 18 method public abstract deprecated android.support.v7.app.ActionBar.Tab getSelectedTab(); 20 method public abstract deprecated android.support.v7.app.ActionBar.Tab getTabAt(int); 27 method public abstract deprecated android.support.v7.app.ActionBar.Tab newTab(); [all …]
|
/frameworks/base/docs/html/training/backward-compatible-ui/ |
D | new-implementation.jd | 57 …ode> simply proxies all method calls to its contained {@link android.app.ActionBar.Tab} object.</p> 59 …<code>CompatTabHoneycomb</code> using the new {@link android.app.ActionBar.Tab ActionBar.Tab} APIs… 64 ActionBar.Tab mTab; 69 // Proxy to new ActionBar.newTab API 74 // Proxy to new ActionBar.Tab.setText API 86 …bstract class that proxies method calls to an actual {@link android.app.ActionBar}, obtained from … 88 …code>TabHelperHoneycomb</code>, proxying method calls to the {@link android.app.ActionBar} API:</p> 92 ActionBar mActionBar; 99 ActionBar.NAVIGATION_MODE_TABS); 106 // native tab object is an ActionBar.Tab. [all …]
|
D | abstracting.jd | 18 <li><a href="#abstract-actionbar-tab">Abstract ActionBar.Tab</a></li> 19 <li><a href="#abstract-actionbar-methods">Abstract ActionBar Tab Methods</a></li> 39 …l navigation in your application. Unfortunately, the {@link android.app.ActionBar} APIs are only a… 63 …The key APIs for tabs are in {@link android.app.ActionBar} and {@link android.app.ActionBar.Tab Ac… 70 <h2 id="abstract-actionbar-tab">Abstract ActionBar.Tab</h2> 72 …ct class representing a tab, that mirrors the {@link android.app.ActionBar.Tab ActionBar.Tab} inte… 93 <h2 id="abstract-actionbar-methods">Abstract ActionBar Tab Methods</h2> 95 …ctivity, like {@link android.app.ActionBar#newTab ActionBar.newTab()} and {@link android.app.Actio…
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | AppCompatDelegateImplBase.java | 47 ActionBar mActionBar; 97 public ActionBar getSupportActionBar() { in getSupportActionBar() 104 final ActionBar peekSupportActionBar() { in peekSupportActionBar() 142 ActionBar ab = getSupportActionBar(); in getActionBarThemedContext() 170 final ActionBar ab = getSupportActionBar(); in isNavigationVisible() 171 return ab != null && (ab.getDisplayOptions() & ActionBar.DISPLAY_HOME_AS_UP) != 0; in isNavigationVisible() 176 ActionBar ab = getSupportActionBar(); in setActionBarUpIndicator() 185 ActionBar ab = getSupportActionBar(); in setActionBarDescription()
|
D | ActionBarDrawerToggleHoneycomb.java | 21 import android.app.ActionBar; 56 final ActionBar actionBar = activity.getActionBar(); in setActionBarUpIndicator() 77 final ActionBar actionBar = activity.getActionBar(); in setActionBarDescription() 105 setHomeAsUpIndicator = ActionBar.class.getDeclaredMethod("setHomeAsUpIndicator", in SetIndicatorInfo() 107 setHomeActionContentDescription = ActionBar.class.getDeclaredMethod( in SetIndicatorInfo()
|
D | ActionBarDrawerToggle.java | 18 import android.app.ActionBar; 520 final ActionBar actionBar = mActivity.getActionBar(); in getActionBarThemedContext() 532 final ActionBar actionBar = mActivity.getActionBar(); in isNavigationVisible() 534 && (actionBar.getDisplayOptions() & ActionBar.DISPLAY_HOME_AS_UP) != 0; in isNavigationVisible() 574 final ActionBar actionBar = mActivity.getActionBar(); in getActionBarThemedContext() 586 final ActionBar actionBar = mActivity.getActionBar(); in isNavigationVisible() 588 (actionBar.getDisplayOptions() & ActionBar.DISPLAY_HOME_AS_UP) != 0; in isNavigationVisible() 593 final ActionBar actionBar = mActivity.getActionBar(); in setActionBarUpIndicator() 602 final ActionBar actionBar = mActivity.getActionBar(); in setActionBarDescription()
|
D | NavItemSelectedListener.java | 28 private final ActionBar.OnNavigationListener mListener; 30 public NavItemSelectedListener(ActionBar.OnNavigationListener listener) { in NavItemSelectedListener()
|
/frameworks/support/v4/jellybean-mr2/android/support/v4/app/ |
D | ActionBarDrawerToggleJellybeanMR2.java | 21 import android.app.ActionBar; 37 final ActionBar actionBar = activity.getActionBar(); in setActionBarUpIndicator() 47 final ActionBar actionBar = activity.getActionBar(); in setActionBarDescription() 55 final ActionBar actionBar = activity.getActionBar(); in getThemeUpIndicator()
|
/frameworks/support/v4/honeycomb/android/support/v4/app/ |
D | ActionBarDrawerToggleHoneycomb.java | 21 import android.app.ActionBar; 56 final ActionBar actionBar = activity.getActionBar(); in setActionBarUpIndicator() 78 final ActionBar actionBar = activity.getActionBar(); in setActionBarDescription() 106 setHomeAsUpIndicator = ActionBar.class.getDeclaredMethod("setHomeAsUpIndicator", in SetIndicatorInfo() 108 setHomeActionContentDescription = ActionBar.class.getDeclaredMethod( in SetIndicatorInfo()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | NavItemSelectedListener.java | 20 import android.app.ActionBar; 29 private final ActionBar.OnNavigationListener mListener; 31 public NavItemSelectedListener(ActionBar.OnNavigationListener listener) { in NavItemSelectedListener()
|
/frameworks/base/docs/html/training/implementing-navigation/ |
D | lateral.jd | 173 <p>To create tabs using {@link android.app.ActionBar}, you need to enable 174 {@link android.app.ActionBar#NAVIGATION_MODE_TABS}, then create several instances of 175 {@link android.app.ActionBar.Tab} and supply an implementation of 176 the {@link android.app.ActionBar.TabListener} interface for each one. 183 final ActionBar actionBar = getActionBar(); 187 actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); 190 ActionBar.TabListener tabListener = new ActionBar.TabListener() { 191 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction ft) { 195 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction ft) { 199 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction ft) { [all …]
|
/frameworks/base/docs/html/training/appbar/ |
D | setting-up.jd | 43 activities that use the default theme have an {@link android.app.ActionBar} 45 native {@link android.app.ActionBar} over various Android releases. As a 46 result, the native {@link android.app.ActionBar} behaves differently 96 {@link android.app.ActionBar} class to provide the app bar. For example: 117 android:theme="@style/ThemeOverlay.AppCompat.ActionBar" 167 android.support.v7.app.ActionBar} class. This approach lets you do a number of useful 172 To use the {@link android.support.v7.app.ActionBar} utility methods, call the 176 appcompat {@link android.support.v7.app.ActionBar} object. 178 android.support.v7.app.ActionBar} methods to adjust the app bar. For example, 179 to hide the app bar, call {@link android.support.v7.app.ActionBar#hide [all …]
|
/frameworks/support/v7/mediarouter/api/ |
D | 23.1.0.txt | 3 public abstract class ActionBar { 4 ctor public ActionBar(); 5 …method public abstract void addOnMenuVisibilityListener(android.support.v7.app.ActionBar.OnMenuVis… 6 method public abstract void addTab(android.support.v7.app.ActionBar.Tab); 7 method public abstract void addTab(android.support.v7.app.ActionBar.Tab, boolean); 8 method public abstract void addTab(android.support.v7.app.ActionBar.Tab, int); 9 method public abstract void addTab(android.support.v7.app.ActionBar.Tab, int, boolean); 20 method public abstract android.support.v7.app.ActionBar.Tab getSelectedTab(); 22 method public abstract android.support.v7.app.ActionBar.Tab getTabAt(int); 31 method public abstract android.support.v7.app.ActionBar.Tab newTab(); [all …]
|
D | 23.0.0.txt | 3 public abstract class ActionBar { 4 ctor public ActionBar(); 5 …method public abstract void addOnMenuVisibilityListener(android.support.v7.app.ActionBar.OnMenuVis… 6 method public abstract void addTab(android.support.v7.app.ActionBar.Tab); 7 method public abstract void addTab(android.support.v7.app.ActionBar.Tab, boolean); 8 method public abstract void addTab(android.support.v7.app.ActionBar.Tab, int); 9 method public abstract void addTab(android.support.v7.app.ActionBar.Tab, int, boolean); 20 method public abstract android.support.v7.app.ActionBar.Tab getSelectedTab(); 22 method public abstract android.support.v7.app.ActionBar.Tab getTabAt(int); 31 method public abstract android.support.v7.app.ActionBar.Tab newTab(); [all …]
|
D | 23.1.1.txt | 3 public abstract class ActionBar { 4 ctor public ActionBar(); 5 …method public abstract void addOnMenuVisibilityListener(android.support.v7.app.ActionBar.OnMenuVis… 6 method public abstract void addTab(android.support.v7.app.ActionBar.Tab); 7 method public abstract void addTab(android.support.v7.app.ActionBar.Tab, boolean); 8 method public abstract void addTab(android.support.v7.app.ActionBar.Tab, int); 9 method public abstract void addTab(android.support.v7.app.ActionBar.Tab, int, boolean); 20 method public abstract android.support.v7.app.ActionBar.Tab getSelectedTab(); 22 method public abstract android.support.v7.app.ActionBar.Tab getTabAt(int); 31 method public abstract android.support.v7.app.ActionBar.Tab newTab(); [all …]
|
D | current.txt | 3 public abstract class ActionBar { 4 ctor public ActionBar(); 5 …method public abstract void addOnMenuVisibilityListener(android.support.v7.app.ActionBar.OnMenuVis… 6 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab); 7 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, boolean); 8 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, int); 9 … method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, int, boolean); 18 method public abstract deprecated android.support.v7.app.ActionBar.Tab getSelectedTab(); 20 method public abstract deprecated android.support.v7.app.ActionBar.Tab getTabAt(int); 27 method public abstract deprecated android.support.v7.app.ActionBar.Tab newTab(); [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | FrameworkActionBarWrapper.java | 34 import android.app.ActionBar; 35 import android.app.ActionBar.Tab; 36 import android.app.ActionBar.TabListener; 58 @NonNull protected ActionBar mActionBar; 84 @NonNull ActionBar actionBar) { in FrameworkActionBarWrapper() 275 if (navMode == ActionBar.NAVIGATION_MODE_TABS) { in setupActionBar()
|