Home
last modified time | relevance | path

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

/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
DNewsReaderActivity.java137 android.app.ActionBar actionBar = getActionBar(); in setUpActionBar() local
138 actionBar.setDisplayShowTitleEnabled(false); in setUpActionBar()
143 actionBar.setNavigationMode(android.app.ActionBar.NAVIGATION_MODE_TABS); in setUpActionBar()
146 actionBar.addTab(actionBar.newTab().setText(CATEGORIES[i]).setTabListener(handler)); in setUpActionBar()
148 actionBar.setSelectedNavigationItem(selTab); in setUpActionBar()
151 actionBar.setNavigationMode(android.app.ActionBar.NAVIGATION_MODE_LIST); in setUpActionBar()
154 actionBar.setListNavigationCallbacks(adap, handler); in setUpActionBar()
158 actionBar.setDisplayUseLogoEnabled(true); in setUpActionBar()
/development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/
DMainActivity.java58 final ActionBar actionBar = getActionBar(); in onCreate() local
62 actionBar.setHomeButtonEnabled(false); in onCreate()
65 actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); in onCreate()
77 actionBar.setSelectedNavigationItem(position); in onCreate()
86 actionBar.addTab( in onCreate()
87 actionBar.newTab() in onCreate()
DCollectionDemoActivity.java63 final ActionBar actionBar = getActionBar(); in onCreate() local
67 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/ui/
DImageDetailActivity.java96 final ActionBar actionBar = getActionBar(); in onCreate() local
99 actionBar.setDisplayShowTitleEnabled(false); in onCreate()
100 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
108 actionBar.hide(); in onCreate()
110 actionBar.show(); in onCreate()
117 actionBar.hide(); in onCreate()
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DWordActivity.java44 ActionBar actionBar = getActionBar(); in onCreate() local
45 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/
DActionBarHelperBase.java171 final ViewGroup actionBar = getActionBarCompat(); in addActionItemCompatFromMenuItem() local
172 if (actionBar == null) { in addActionItemCompatFromMenuItem()
199 actionBar.addView(actionButton); in addActionItemCompatFromMenuItem()
223 actionBar.addView(indicator); in addActionItemCompatFromMenuItem()
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DBluetoothChat.java234 final ActionBar actionBar = getActionBar(); in setStatus() local
235 actionBar.setSubtitle(resId); in setStatus()
239 final ActionBar actionBar = getActionBar(); in setStatus() local
240 actionBar.setSubtitle(subTitle); in setStatus()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DContentFragment.java207 ActionBar actionBar = getActivity().getActionBar(); in setSystemUiVisible() local
215 actionBar.show(); in setSystemUiVisible()
223 actionBar.hide(); in setSystemUiVisible()
DCameraFragment.java83 ActionBar actionBar = activity.getActionBar(); in onActivityCreated() local
84 actionBar.setDisplayHomeAsUpEnabled(true); in onActivityCreated()