Searched refs:bar (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/compile/libbcc/tests/debuginfo/host-tests/
H A Dfunc_invoke_and_crash.cpp23 static int bar() { function
28 return bar();
H A Dtest_info_sources.cpp25 static int bar() { function
30 return bar();
H A Daggregate-indirect-arg.cpp19 void bar(SVal &v) {} function
22 void foo(SVal v) { bar(v); }
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
H A DActionBarDisplayOptions.java32 * This demo shows how various action bar display option flags can be combined and their effects.
52 // Configure several action bar elements that will be toggled by display options.
57 final ActionBar bar = getSupportActionBar();
58 bar.setCustomView(mCustomView, mCustomViewLayoutParams);
60 final ArrayAdapter<String> listAdapter = new ArrayAdapter<String>(bar.getThemedContext(),
64 bar.setLogo(R.drawable.ic_media_play);
81 final ActionBar bar = getSupportActionBar();
114 bar.setCustomView(mCustomView, lp);
118 if (bar.isShowing()) {
119 bar
[all...]
H A DToolbarDisplayOptions.java31 * This demo shows how various action bar display option flags can be combined and their effects
56 // Configure several action bar elements that will be toggled by display options.
76 final ActionBar bar = getSupportActionBar();
110 bar.setCustomView(mCustomView, lp);
114 if (bar.isShowing()) {
115 bar.hide();
117 bar.show();
122 int change = bar.getDisplayOptions() ^ flags;
123 bar.setDisplayOptions(change, flags);
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
H A DActionBarDisplayOptions.java32 * This demo shows how various action bar display option flags can be combined and their effects.
52 // Configure several action bar elements that will be toggled by display options.
57 final ActionBar bar = getSupportActionBar();
58 bar.setCustomView(mCustomView, mCustomViewLayoutParams);
60 final ArrayAdapter<String> listAdapter = new ArrayAdapter<String>(bar.getThemedContext(),
64 bar.setLogo(R.drawable.ic_media_play);
81 final ActionBar bar = getSupportActionBar();
114 bar.setCustomView(mCustomView, lp);
118 if (bar.isShowing()) {
119 bar
[all...]
H A DToolbarDisplayOptions.java31 * This demo shows how various action bar display option flags can be combined and their effects
56 // Configure several action bar elements that will be toggled by display options.
76 final ActionBar bar = getSupportActionBar();
110 bar.setCustomView(mCustomView, lp);
114 if (bar.isShowing()) {
115 bar.hide();
117 bar.show();
122 int change = bar.getDisplayOptions() ^ flags;
123 bar.setDisplayOptions(change, flags);
/frameworks/support/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/
H A DFragmentNestingPagerSupport.java45 final ActionBar bar = getActionBar();
46 bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
47 bar.setDisplayOptions(0, ActionBar.DISPLAY_SHOW_TITLE);
50 mTabsAdapter.addTab(bar.newTab().setText("Simple"),
52 mTabsAdapter.addTab(bar.newTab().setText("List"),
54 mTabsAdapter.addTab(bar.newTab().setText("Cursor"),
56 mTabsAdapter.addTab(bar.newTab().setText("Tabs"),
60 bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0));
H A DFragmentNestingStatePagerSupport.java45 final ActionBar bar = getActionBar();
46 bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
47 bar.setDisplayOptions(0, ActionBar.DISPLAY_SHOW_TITLE);
50 mTabsAdapter.addTab(bar.newTab().setText("Simple"),
52 mTabsAdapter.addTab(bar.newTab().setText("List"),
54 mTabsAdapter.addTab(bar.newTab().setText("Cursor"),
56 mTabsAdapter.addTab(bar.newTab().setText("Tabs"),
60 bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0));
H A DActionBarTabsPager.java33 * This demonstrates the use of action bar tabs and how they interact
34 * with other action bar features.
49 final ActionBar bar = getActionBar();
50 bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
51 bar.setDisplayOptions(0, ActionBar.DISPLAY_SHOW_TITLE);
54 mTabsAdapter.addTab(bar.newTab().setText("Simple"),
56 mTabsAdapter.addTab(bar.newTab().setText("List"),
58 mTabsAdapter.addTab(bar.newTab().setText("Cursor"),
62 bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0));
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/
H A DFragmentNestingPagerSupport.java45 final ActionBar bar = getActionBar();
46 bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
47 bar.setDisplayOptions(0, ActionBar.DISPLAY_SHOW_TITLE);
50 mTabsAdapter.addTab(bar.newTab().setText("Simple"),
52 mTabsAdapter.addTab(bar.newTab().setText("List"),
54 mTabsAdapter.addTab(bar.newTab().setText("Cursor"),
56 mTabsAdapter.addTab(bar.newTab().setText("Tabs"),
60 bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0));
H A DFragmentNestingStatePagerSupport.java45 final ActionBar bar = getActionBar();
46 bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
47 bar.setDisplayOptions(0, ActionBar.DISPLAY_SHOW_TITLE);
50 mTabsAdapter.addTab(bar.newTab().setText("Simple"),
52 mTabsAdapter.addTab(bar.newTab().setText("List"),
54 mTabsAdapter.addTab(bar.newTab().setText("Cursor"),
56 mTabsAdapter.addTab(bar.newTab().setText("Tabs"),
60 bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0));
H A DActionBarTabsPager.java33 * This demonstrates the use of action bar tabs and how they interact
34 * with other action bar features.
49 final ActionBar bar = getActionBar();
50 bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
51 bar.setDisplayOptions(0, ActionBar.DISPLAY_SHOW_TITLE);
54 mTabsAdapter.addTab(bar.newTab().setText("Simple"),
56 mTabsAdapter.addTab(bar.newTab().setText("List"),
58 mTabsAdapter.addTab(bar.newTab().setText("Cursor"),
62 bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0));
/frameworks/base/tools/aapt2/compile/
H A DXmlIdCollector_test.cpp32 text="@+id/bar">
34 class="@+id/bar"/>
44 SourcedResourceName{ test::parseNameOrDie(u"@id/bar"), 3u }));
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
H A DWeirdListeners.java37 public static void setRunnable(View view, Runnable runnable, int foo, int bar) { argument
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
H A DFindMethodBindingObject.java43 public static Bar<String> bar = new Bar<>(); field in class:FindMethodBindingObject
71 public final String bar = "hello world"; field in class:FindMethodBindingObject.Foo
/frameworks/base/core/tests/coretests/src/android/text/
H A DTextUtilsTest.java45 assertEquals("foobar", TextUtils.concat("foo", "bar"));
46 assertEquals("foobarbaz", TextUtils.concat("foo", "bar", "baz"));
51 SpannableString bar = new SpannableString("bar");
52 bar.setSpan("bar", 1, 2, Spannable.SPAN_EXCLUSIVE_INCLUSIVE);
58 assertEquals("foobar", TextUtils.concat(foo, bar).toString());
59 assertEquals("foobarbaz", TextUtils.concat(foo, bar, baz).toString());
63 assertEquals(1, ((Spanned) TextUtils.concat(foo, bar)).getSpanStart("foo"));
64 assertEquals(4, ((Spanned) TextUtils.concat(foo, bar))
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarView.java62 public void setBar(PhoneStatusBar bar) { argument
63 mBar = bar;
83 // The status bar is very small so augment the view that the user is touching
84 // with the content of the status bar a whole. This way an accessibility service
104 // Close the status bar in the next frame so we can show the end of the animation.
/frameworks/rs/tests/cppbasic/
H A Dmono.rs65 void bar(int i, int j, char k, int l, int m, int n) {
/frameworks/rs/tests/cppbasic-shared/
H A Dmono.rs65 void bar(int i, int j, char k, int l, int m, int n) {
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DGlifLayout.java251 * Gets the progress bar in the layout. If the progress bar has not been used before, it will be
254 * @return The progress bar of this layout. May be null only if the template used doesn't have a
255 * progress bar built-in.
271 * Gets the progress bar in the layout only if it has been installed.
272 * {@link #setProgressBarShown(boolean)} should be called before this to ensure the progress bar
275 * @return The progress bar of this layout, or null if the progress bar is not installed. The
277 * not called before this, or if the template does not contain a progress bar.
285 final ProgressBar bar
[all...]
/frameworks/support/core-utils/tests/java/android/support/v4/provider/
H A DDocumentFileTest.java58 private static final String BAR = "bar.png";
153 final DocumentFile bar = meow.findFile(BAR);
156 assertTrue("isDirectory", bar.isDirectory());
159 assertEquals("length", 0, bar.listFiles().length);
208 final DocumentFile bar = meow.findFile(BAR);
215 assertEquals(null, bar.getType());
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DMediaController.java281 public void onStartTrackingTouch(SeekBar bar) {
285 public void onProgressChanged(SeekBar bar, int progress, boolean fromuser) {
288 // the progress bar's position.
299 public void onStopTrackingTouch(SeekBar bar) {
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DMediaController.java281 public void onStartTrackingTouch(SeekBar bar) {
285 public void onProgressChanged(SeekBar bar, int progress, boolean fromuser) {
288 // the progress bar's position.
299 public void onStopTrackingTouch(SeekBar bar) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSystemUIFactory.java123 public AssistManager createAssistManager(BaseStatusBar bar, Context context) { argument
124 return new AssistManager(bar, context);

Completed in 908 milliseconds

12