/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/ |
D | ControlBarTest.java | 45 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/ |
D | ActionBarDisplayOptions.java | 57 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 …]
|
D | ToolbarDisplayOptions.java | 76 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/ |
D | FragmentNestingStatePagerSupport.java | 45 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()
|
D | FragmentNestingPagerSupport.java | 45 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/ |
D | breakpoint_inlined_function.rs | 31 static int bar() { 36 return bar(); 40 bar();
|
D | breakpoint_inlined_sourceline.rs | 30 static int bar() { 35 return bar(); 39 bar();
|
D | crash.rs | 26 static int bar() { 31 return bar(); 35 bar();
|
D | breakpoint_sourceline.rs | 26 static int bar() { 31 return bar(); 35 bar();
|
D | breakpoint_function.rs | 27 static int bar() { 32 return bar(); 36 bar();
|
D | global_int.rs | 32 static int bar() { 37 return bar(); 41 bar();
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
D | ProgressBarMixin.java | 114 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/ |
D | test_info_sources.cpp | 25 static int bar() { in bar() function 30 return bar(); in main()
|
D | func_invoke_and_crash.cpp | 23 static int bar() { in bar() function 28 return bar(); in main()
|
D | aggregate-indirect-arg.cpp | 19 void bar(SVal &v) {} in bar() function 22 void foo(SVal v) { bar(v); } in foo()
|
/frameworks/compile/slang/lit-tests/P_ref_count/ |
D | ref_count.rs | 16 static rs_element bar() { 32 rs_element e = bar();
|
D | func_params.rs | 47 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/ |
D | vector_cast.rs | 24 static uchar4 bar(uchar4 u) { 31 u = bar((uchar4) c);
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextUtilsTest.java | 61 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/ |
D | FindMethodBindingObject.java | 42 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/ |
D | DocumentFileTest.java | 154 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/ |
D | single_source_script.rs | 24 void __attribute__((kernel)) bar(int x, int y) { 94 rsForEachWithOptions(bar, &opts2);
|
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/ |
D | single_source_script.rs | 24 void __attribute__((kernel)) bar(int x, int y) { 94 rsForEachWithOptions(bar, &opts2);
|
/frameworks/compile/slang/tests/F_unknown_function/ |
D | stderr.txt.expect | 1 unknown_function.rs:6:5: error: implicit declaration of function 'bar' is invalid in C99
|
D | unknown_function.rs | 6 bar(a);
|