Home
last modified time | relevance | path

Searched refs:bar (Results 1 – 25 of 28) sorted by relevance

12

/development/samples/ApiDemos/src/com/example/android/apis/app/
DActionBarTabs.java45 final ActionBar bar = getActionBar(); in onAddTab() local
46 final int tabCount = bar.getTabCount(); in onAddTab()
48 bar.addTab(bar.newTab() in onAddTab()
54 final ActionBar bar = getActionBar(); in onRemoveTab() local
55 if (bar.getTabCount() > 0) { in onRemoveTab()
56 bar.removeTabAt(bar.getTabCount() - 1); in onRemoveTab()
61 final ActionBar bar = getActionBar(); in onToggleTabs() local
63 if (bar.getNavigationMode() == ActionBar.NAVIGATION_MODE_TABS) { in onToggleTabs()
64 bar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD); in onToggleTabs()
65 bar.setDisplayOptions(ActionBar.DISPLAY_SHOW_TITLE, ActionBar.DISPLAY_SHOW_TITLE); in onToggleTabs()
[all …]
DFragmentNestingTabs.java38 final ActionBar bar = getActionBar(); in onCreate() local
39 bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); in onCreate()
40 bar.setDisplayOptions(0, ActionBar.DISPLAY_SHOW_TITLE); in onCreate()
42 bar.addTab(bar.newTab() in onCreate()
46 bar.addTab(bar.newTab() in onCreate()
50 bar.addTab(bar.newTab() in onCreate()
54 bar.addTab(bar.newTab() in onCreate()
60 bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0)); in onCreate()
DActionBarDisplayOptions.java59 final ActionBar bar = getActionBar(); in onCreate() local
60 bar.setCustomView(mCustomView, in onCreate()
63 bar.addTab(bar.newTab().setText("Tab 1").setTabListener(this)); in onCreate()
64 bar.addTab(bar.newTab().setText("Tab 2").setTabListener(this)); in onCreate()
65 bar.addTab(bar.newTab().setText("Tab 3").setTabListener(this)); in onCreate()
72 bar.setListNavigationCallbacks(adapter, this); in onCreate()
83 final ActionBar bar = getActionBar(); in onClick() local
116 bar.setCustomView(mCustomView, lp); in onClick()
119 if (bar.isShowing()) { in onClick()
120 bar.hide(); in onClick()
[all …]
DFragmentTabs.java38 final ActionBar bar = getActionBar(); in onCreate() local
39 bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); in onCreate()
40 bar.setDisplayOptions(0, ActionBar.DISPLAY_SHOW_TITLE); in onCreate()
42 bar.addTab(bar.newTab() in onCreate()
46 bar.addTab(bar.newTab() in onCreate()
50 bar.addTab(bar.newTab() in onCreate()
54 bar.addTab(bar.newTab() in onCreate()
60 bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0)); in onCreate()
DActionBarNavigationTarget.java37 final ActionBar bar = getActionBar(); in onCreate() local
38 bar.setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_HOME_AS_UP); in onCreate()
DActionBarNavigation.java39 final ActionBar bar = getActionBar(); in onCreate() local
40 bar.setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_HOME_AS_UP); in onCreate()
/development/vndk/tools/sourcedr/ninja/tests/testdata/
Ddefault.ninja6 build bar.o: cc bar.c
8 default foo.o bar.o
/development/samples/browseable/DoneBar/
D_index.jd9 action bar that are well-suited for simple data entry scenarios.
11 In this presentation, a done bar replaces the action
12 bar entirely, providing two direct actions to persist or dismiss changes. This is
14 action bar.
/development/samples/browseable/ImmersiveMode/
D_index.jd9 user the ability to show/hide the status bar and navigation bar with a swipe. To try,
10 click the "Toggle immersive mode" button, then try swiping the bar in and out!
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DTitlesFragment.java86 ActionBar bar = getActivity().getActionBar(); in onActivityCreated() local
87 bar.setDisplayHomeAsUpEnabled(false); in onActivityCreated()
88 bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); in onActivityCreated()
95 bar.addTab(bar.newTab().setText(Directory.getCategory(i).getName()) in onActivityCreated()
103 bar.selectTab(bar.getTabAt(mCategory)); in onActivityCreated()
DContentFragment.java169 ActionBar bar = getActivity().getActionBar(); in onActivityCreated() local
170 bar.setTitle(title); in onActivityCreated()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DVideoPlayerActivity.java201 ActionBar bar = getActionBar(); in onCreate() local
202 bar.addTab(bar.newTab().setText("Tab 1").setTabListener(this)); in onCreate()
203 bar.addTab(bar.newTab().setText("Tab 2").setTabListener(this)); in onCreate()
204 bar.addTab(bar.newTab().setText("Tab 3").setTabListener(this)); in onCreate()
DContentBrowserActivity.java177 ActionBar bar = getActionBar(); in onCreate() local
178 bar.addTab(bar.newTab().setText("Tab 1").setTabListener(this)); in onCreate()
179 bar.addTab(bar.newTab().setText("Tab 2").setTabListener(this)); in onCreate()
180 bar.addTab(bar.newTab().setText("Tab 3").setTabListener(this)); in onCreate()
DContentBrowserNavActivity.java179 ActionBar bar = getActionBar(); in onCreate() local
180 bar.addTab(bar.newTab().setText("Tab 1").setTabListener(this)); in onCreate()
181 bar.addTab(bar.newTab().setText("Tab 2").setTabListener(this)); in onCreate()
182 bar.addTab(bar.newTab().setText("Tab 3").setTabListener(this)); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/media/
DAudioFxDemo.java140 SeekBar bar = new SeekBar(this); in setupEqualizerFxAndUI() local
141 bar.setLayoutParams(layoutParams); in setupEqualizerFxAndUI()
142 bar.setMax(maxEQLevel - minEQLevel); in setupEqualizerFxAndUI()
143 bar.setProgress(mEqualizer.getBandLevel(band)); in setupEqualizerFxAndUI()
145 bar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() { in setupEqualizerFxAndUI()
156 row.addView(bar); in setupEqualizerFxAndUI()
/development/samples/browseable/BasicNotifications/
D_index.jd8 This sample demonstrates how to display events in the system\'s notification bar. The
/development/samples/browseable/ActionBarCompat-Styled/
D_index.jd9 split action bar when running on a device with a narrow display, and show three tabs.
/development/vndk/tools/definition-tool/tests/testdata/test_dex_file/
DExample.smali11 const-string v0, "bar"
/development/samples/browseable/BasicImmersiveMode/
D_index.jd9 \"hide nav bar\" modes, by letting users swipe the bars in and out. This sample
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCard.java663 final ProgressBar bar = getProgressBar(); in setProgress() local
664 if (bar != null) { in setProgress()
665 bar.setProgress(currProgress); in setProgress()
666 bar.invalidate(); in setProgress()
678 final ProgressBar bar = getProgressBar(); in setMax() local
679 if (bar != null) { in setMax()
680 bar.setMax(maxValue); in setMax()
/development/tools/mkstubs/
DREADME.txt24 -bar => rejects all items which signature is exactly "bar"
25 -bar* => rejects all items which signature starts by "bar"
/development/samples/browseable/ActionBarCompat-Basic/
D_index.jd11 displayed in the action bar overflow.
/development/samples/browseable/AdvancedImmersiveMode/
D_index.jd9 \"hide nav bar\" modes, by letting users swipe the bars in and out. This sample
/development/samples/browseable/RecipeAssistant/
D_index.jd11 … steps; when ready, you can click on the START action in the action bar to send the steps to the
/development/vndk/tools/header-checker/tests/input/
Dexample1.h15 int bar; member

12