Home
last modified time | relevance | path

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

123

/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DControlBarTest.java45 final ControlBar bar = new ControlBar(context, null); in defaultFocus() local
47 bar.addView(v1, 100, 100); in defaultFocus()
49 bar.addView(v2, 100, 100); in defaultFocus()
51 bar.addView(v3, 100, 100); in defaultFocus()
56 bar.requestFocus(View.FOCUS_DOWN); in defaultFocus()
67 final ControlBar bar = new ControlBar(context, null); in persistFocus() local
68 rootView.addView(bar, 800, 100); in persistFocus()
72 bar.addView(v1, 100, 100); in persistFocus()
74 bar.addView(v2, 100, 100); in persistFocus()
76 bar.addView(v3, 100, 100); in persistFocus()
[all …]
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
DActionBarDisplayOptions.java57 final ActionBar bar = getSupportActionBar(); in onCreate() local
58 bar.setCustomView(mCustomView, mCustomViewLayoutParams); in onCreate()
60 final ArrayAdapter<String> listAdapter = new ArrayAdapter<String>(bar.getThemedContext(), in onCreate()
64 bar.setLogo(R.drawable.ic_media_play); in onCreate()
81 final ActionBar bar = getSupportActionBar(); in onClick() local
114 bar.setCustomView(mCustomView, lp); in onClick()
118 if (bar.isShowing()) { in onClick()
119 bar.hide(); in onClick()
121 bar.show(); in onClick()
126 int change = bar.getDisplayOptions() ^ flags; in onClick()
[all …]
DToolbarDisplayOptions.java76 final ActionBar bar = getSupportActionBar(); in onClick() local
110 bar.setCustomView(mCustomView, lp); in onClick()
114 if (bar.isShowing()) { in onClick()
115 bar.hide(); in onClick()
117 bar.show(); in onClick()
122 int change = bar.getDisplayOptions() ^ flags; in onClick()
123 bar.setDisplayOptions(change, flags); in onClick()
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/
DFragmentNestingStatePagerSupport.java45 final ActionBar bar = getActionBar(); in onCreate() local
46 bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); in onCreate()
47 bar.setDisplayOptions(0, ActionBar.DISPLAY_SHOW_TITLE); in onCreate()
50 mTabsAdapter.addTab(bar.newTab().setText("Simple"), in onCreate()
52 mTabsAdapter.addTab(bar.newTab().setText("List"), in onCreate()
54 mTabsAdapter.addTab(bar.newTab().setText("Cursor"), in onCreate()
56 mTabsAdapter.addTab(bar.newTab().setText("Tabs"), in onCreate()
60 bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0)); in onCreate()
DFragmentNestingPagerSupport.java45 final ActionBar bar = getActionBar(); in onCreate() local
46 bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); in onCreate()
47 bar.setDisplayOptions(0, ActionBar.DISPLAY_SHOW_TITLE); in onCreate()
50 mTabsAdapter.addTab(bar.newTab().setText("Simple"), in onCreate()
52 mTabsAdapter.addTab(bar.newTab().setText("List"), in onCreate()
54 mTabsAdapter.addTab(bar.newTab().setText("Cursor"), in onCreate()
56 mTabsAdapter.addTab(bar.newTab().setText("Tabs"), in onCreate()
60 bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0)); in onCreate()
/frameworks/compile/libbcc/tests/debuginfo/target-tests/
Dbreakpoint_inlined_function.rs31 static int bar() {
36 return bar();
40 bar();
Dbreakpoint_inlined_sourceline.rs30 static int bar() {
35 return bar();
39 bar();
Dcrash.rs26 static int bar() {
31 return bar();
35 bar();
Dbreakpoint_sourceline.rs26 static int bar() {
31 return bar();
35 bar();
Dbreakpoint_function.rs27 static int bar() {
32 return bar();
36 bar();
Dglobal_int.rs32 static int bar() {
37 return bar();
41 bar();
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DProgressBarMixin.java114 final ProgressBar bar = peekProgressBar(); in setColor() local
115 if (bar != null) { in setColor()
116 bar.setIndeterminateTintList(color); in setColor()
124 bar.setProgressBackgroundTintList(color); in setColor()
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
Dtest_info_sources.cpp25 static int bar() { in bar() function
30 return bar(); in main()
Dfunc_invoke_and_crash.cpp23 static int bar() { in bar() function
28 return bar(); in main()
Daggregate-indirect-arg.cpp19 void bar(SVal &v) {} in bar() function
22 void foo(SVal v) { bar(v); } in foo()
/frameworks/compile/slang/lit-tests/P_ref_count/
Dref_count.rs16 static rs_element bar() {
32 rs_element e = bar();
Dfunc_params.rs47 static void bar(int a0, rs_element a1, float a2, struct Wrapper a3) {
59 bar(3, e, 2.718f, w);
/frameworks/compile/slang/tests/F_vector_cast/
Dvector_cast.rs24 static uchar4 bar(uchar4 u) {
31 u = bar((uchar4) c);
/frameworks/base/core/tests/coretests/src/android/text/
DTextUtilsTest.java61 SpannableString bar = new SpannableString("bar"); in testBasic() local
62 bar.setSpan("bar", 1, 2, Spannable.SPAN_EXCLUSIVE_INCLUSIVE); in testBasic()
68 assertEquals("foobar", TextUtils.concat(foo, bar).toString()); in testBasic()
69 assertEquals("foobarbaz", TextUtils.concat(foo, bar, baz).toString()); in testBasic()
73 assertEquals(1, ((Spanned) TextUtils.concat(foo, bar)).getSpanStart("foo")); in testBasic()
74 assertEquals(4, ((Spanned) TextUtils.concat(foo, bar)).getSpanStart("bar")); in testBasic()
76 assertEquals(1, ((Spanned) TextUtils.concat(foo, bar, baz)).getSpanStart("foo")); in testBasic()
77 assertEquals(4, ((Spanned) TextUtils.concat(foo, bar, baz)).getSpanStart("bar")); in testBasic()
78 assertEquals(7, ((Spanned) TextUtils.concat(foo, bar, baz)).getSpanStart("baz")); in testBasic()
81 assertTrue(TextUtils.concat(foo, bar) instanceof SpannedString); in testBasic()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
DFindMethodBindingObject.java42 public static Bar<String> bar = new Bar<>(); field in FindMethodBindingObject
82 public final String bar = "hello world"; field in FindMethodBindingObject.Foo
/frameworks/support/core-utils/tests/java/android/support/v4/provider/
DDocumentFileTest.java154 final DocumentFile bar = meow.findFile(BAR); in testTraverse()
157 assertTrue("isDirectory", bar.isDirectory()); in testTraverse()
160 assertEquals("length", 0, bar.listFiles().length); in testTraverse()
209 final DocumentFile bar = meow.findFile(BAR); in testMimes()
216 assertEquals(null, bar.getType()); in testMimes()
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/
Dsingle_source_script.rs24 void __attribute__((kernel)) bar(int x, int y) {
94 rsForEachWithOptions(bar, &opts2);
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
Dsingle_source_script.rs24 void __attribute__((kernel)) bar(int x, int y) {
94 rsForEachWithOptions(bar, &opts2);
/frameworks/compile/slang/tests/F_unknown_function/
Dstderr.txt.expect1 unknown_function.rs:6:5: error: implicit declaration of function 'bar' is invalid in C99
Dunknown_function.rs6 bar(a);

123