Home
last modified time | relevance | path

Searched refs:actionBar (Results 1 – 15 of 15) 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/browseable/DoneBar/src/com.example.android.donebar/
DDoneBarActivity.java58 final ActionBar actionBar = getActionBar(); in onCreate() local
59 actionBar.setDisplayOptions( in onCreate()
63 actionBar.setCustomView(customActionBarView, in onCreate()
DDoneButtonActivity.java51 final ActionBar actionBar = getActionBar(); in onCreate() local
52 actionBar.setDisplayOptions( in onCreate()
56 actionBar.setCustomView(customActionBarView); in onCreate()
/development/samples/browseable/HorizontalPaging/src/com.example.android.horizontalpaging/
DMainActivity.java57 final ActionBar actionBar = getActionBar(); in onCreate() local
58 actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); in onCreate()
77 actionBar.setSelectedNavigationItem(position); in onCreate()
88 actionBar.addTab( in onCreate()
89 actionBar.newTab() in onCreate()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/
DImageDetailActivity.java97 final ActionBar actionBar = getActionBar(); in onCreate() local
100 actionBar.setDisplayShowTitleEnabled(false); in onCreate()
101 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
109 actionBar.hide(); in onCreate()
111 actionBar.show(); in onCreate()
118 actionBar.hide(); in onCreate()
/development/samples/MultiWindow/src/com/example/android/multiwindow/
DCaptionOverlayActivity.java55 ActionBar actionBar = getActionBar(); in onCreate() local
56 actionBar.hide(); in onCreate()
/development/samples/browseable/MidiSynth/src/com.example.android.midisynth/
DMainActivity.java50 ActionBar actionBar = getActionBar(); in onCreate() local
51 if (actionBar != null) { in onCreate()
52 actionBar.setDisplayShowTitleEnabled(false); in onCreate()
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DBluetoothChatFragment.java251 final ActionBar actionBar = activity.getActionBar(); in setStatus() local
252 if (null == actionBar) { in setStatus()
255 actionBar.setSubtitle(resId); in setStatus()
268 final ActionBar actionBar = activity.getActionBar(); in setStatus() local
269 if (null == actionBar) { in setStatus()
272 actionBar.setSubtitle(subTitle); in setStatus()
/development/samples/browseable/MidiScope/src/com.example.android.midiscope/
DMainActivity.java57 ActionBar actionBar = getActionBar(); in onCreate() local
58 if (actionBar != null) { in onCreate()
59 actionBar.setDisplayShowTitleEnabled(false); 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/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()