Home
last modified time | relevance | path

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

1234

/frameworks/base/cmds/idmap2/tests/
DCommandLineOptionsTests.cpp42 bool bar = false; in TEST() local
44 CommandLineOptions("test").OptionalFlag("--foo", "", &foo).OptionalFlag("--bar", "", &bar); in TEST()
49 ASSERT_TRUE(bar); in TEST()
51 foo = bar = false; in TEST()
55 ASSERT_FALSE(bar); in TEST()
60 std::string bar; in TEST() local
63 .MandatoryOption("--bar", "", &bar); in TEST()
67 ASSERT_EQ(bar, "BAR"); in TEST()
93 std::string bar; in TEST() local
96 .OptionalOption("--bar", "", &bar); in TEST()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DSeekBarViewModel.kt257 fun attachTouchHandlers(bar: SeekBar) { in attachTouchHandlers()
258 bar.setOnSeekBarChangeListener(seekBarListener) in attachTouchHandlers()
259 bar.setOnTouchListener(SeekBarTouchListener(this, bar)) in attachTouchHandlers()
265 override fun onProgressChanged(bar: SeekBar, progress: Int, fromUser: Boolean) { in onProgressChanged()
271 override fun onStartTrackingTouch(bar: SeekBar) { in onStartTrackingTouch()
275 override fun onStopTrackingTouch(bar: SeekBar) { in onStopTrackingTouch()
276 viewModel.onSeek(bar.progress.toLong()) in onStopTrackingTouch()
288 private val bar: SeekBar constant in com.android.systemui.media.SeekBarViewModel.SeekBarTouchListener
292 private val detector = GestureDetectorCompat(bar.context, this)
294 private val flingVelocity: Int = ViewConfiguration.get(bar.context).run { in <lambda>()
[all …]
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DPaintActivity.java92 private void showToolbar(View bar) { in showToolbar() argument
93 if (bar.getVisibility() != View.GONE) return; in showToolbar()
94 bar.setVisibility(View.VISIBLE); in showToolbar()
95 bar.setTranslationY(toolbar.getHeight()/2); in showToolbar()
96 bar.animate() in showToolbar()
103 private void hideToolbar(View bar) { in hideToolbar() argument
104 if (bar.getVisibility() != View.VISIBLE) return; in hideToolbar()
105 bar.animate() in hideToolbar()
112 bar.setVisibility(View.GONE); in hideToolbar()
118 private void toggleToolbar(View bar) { in toggleToolbar() argument
[all …]
/frameworks/compile/libbcc/tests/debuginfo/target-tests/
Dbreakpoint_inlined_sourceline.rs30 static int bar() {
35 return bar();
39 bar();
Dbreakpoint_inlined_function.rs31 static int bar() {
36 return bar();
40 bar();
Dcrash.rs26 static int bar() {
31 return bar();
35 bar();
Dbreakpoint_function.rs27 static int bar() {
32 return bar();
36 bar();
Dbreakpoint_sourceline.rs26 static int bar() {
31 return bar();
35 bar();
Dglobal_int.rs32 static int bar() {
37 return bar();
41 bar();
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DProgressBarMixin.java103 final ProgressBar bar = peekProgressBar(); in setColor() local
104 if (bar != null) { in setColor()
105 bar.setIndeterminateTintList(color); in setColor()
113 bar.setProgressBackgroundTintList(color); in setColor()
/frameworks/base/tests/FlickerTests/
DREADME.md19 * status bar is always visible
20 * status bar rotates
21 * nav bar is always visible
22 * nav bar is rotates
32 * status bar is always visible
33 * nav bar is always visible
/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/base/packages/SystemUI/tests/src/com/android/systemui/media/
DSeekBarViewModelTest.kt329 val bar = SeekBar(context) in onProgressChangedFromUser() constant
331 onStartTrackingTouch(bar) in onProgressChangedFromUser()
332 onProgressChanged(bar, pos, true) in onProgressChangedFromUser()
343 val bar = SeekBar(context) in onProgressChangedFromUserWithoutStartTrackingTouch() constant
345 onProgressChanged(bar, pos, true) in onProgressChangedFromUserWithoutStartTrackingTouch()
370 val bar = SeekBar(context).apply { in onStartTrackingTouch() constant
373 viewModel.seekBarListener.onStartTrackingTouch(bar) in onStartTrackingTouch()
385 val bar = SeekBar(context).apply { in onStopTrackingTouch() constant
388 viewModel.seekBarListener.onStopTrackingTouch(bar) in onStopTrackingTouch()
401 val bar = SeekBar(context).apply { in onStopTrackingTouchAfterProgress() constant
[all …]
/frameworks/base/tools/aapt2/
DResourceParser_test.cpp102 ASSERT_TRUE(TestParse(R"(<string name="bar">Isn\'t it cool?</string>)")); in TEST_F()
122 str = test::GetValue<String>(&table_, "string/bar"); in TEST_F()
327 <attr name="bar"/>)"; in TEST_F()
436 EXPECT_THAT(test::GetValueForConfig<Styleable>(&table_, "styleable/bar", watch_config), IsNull()); in TEST_F()
440 EXPECT_THAT(test::GetValue<Styleable>(&table_, "styleable/bar"), NotNull()); in TEST_F()
501 EXPECT_THAT(enum_attr->symbols[0].symbol.name.value().entry, Eq("bar")); in TEST_F()
531 EXPECT_THAT(flag_attr->symbols[0].symbol.name.value().entry, Eq("bar")); in TEST_F()
573 EXPECT_THAT(style->entries[0].key.name, Eq(make_value(test::ParseNameOrDie("attr/bar")))); in TEST_F()
610 EXPECT_THAT(style->entries[0].key.name, Eq(make_value(test::ParseNameOrDie("android:attr/bar")))); in TEST_F()
634 Style* style = test::GetValue<Style>(&table_, "style/foo.bar"); in TEST_F()
[all …]
/frameworks/compile/slang/tests/F_vector_cast/
Dvector_cast.rscript24 static uchar4 bar(uchar4 u) {
31 u = bar((uchar4) c);
/frameworks/base/tools/aapt2/java/
DProguardRules_test.cpp246 bar_layout->file.name = test::ParseNameOrDie("com.foo:layout/bar");
279 EXPECT_THAT(actual, HasSubstr("int bar"));
286 EXPECT_THAT(actual, HasSubstr("int bar"));
298 set.AddReference({test::ParseNameOrDie("layout/bar"), {}}, layout->file.name);
306 EXPECT_THAT(actual, HasSubstr("int bar"));
313 EXPECT_THAT(actual, HasSubstr("int bar"));
/frameworks/compile/slang/lit-tests/P_ref_count/
Dref_count.rscript16 static rs_element bar() {
32 rs_element e = bar();
/frameworks/base/tests/Codegen/src/com/android/codegentest/
DSampleWithNestedDataClasses.java54 @NonNull String bar) { in NestedDataClass()
55 this.mBar = bar; in NestedDataClass()
114 String bar = in.readString(); in NestedDataClass() local
116 this.mBar = bar; in NestedDataClass()
/frameworks/base/core/tests/coretests/src/android/text/
DTextUtilsTest.java68 SpannableString bar = new SpannableString("bar"); in testBasic() local
69 bar.setSpan("bar", 1, 2, Spannable.SPAN_EXCLUSIVE_INCLUSIVE); in testBasic()
75 assertEquals("foobar", TextUtils.concat(foo, bar).toString()); in testBasic()
76 assertEquals("foobarbaz", TextUtils.concat(foo, bar, baz).toString()); in testBasic()
80 assertEquals(1, ((Spanned) TextUtils.concat(foo, bar)).getSpanStart("foo")); in testBasic()
81 assertEquals(4, ((Spanned) TextUtils.concat(foo, bar)).getSpanStart("bar")); in testBasic()
83 assertEquals(1, ((Spanned) TextUtils.concat(foo, bar, baz)).getSpanStart("foo")); in testBasic()
84 assertEquals(4, ((Spanned) TextUtils.concat(foo, bar, baz)).getSpanStart("bar")); in testBasic()
85 assertEquals(7, ((Spanned) TextUtils.concat(foo, bar, baz)).getSpanStart("baz")); in testBasic()
88 assertTrue(TextUtils.concat(foo, bar) instanceof SpannedString); in testBasic()
/frameworks/base/core/tests/overlaytests/device/test-apps/AppOverlayTwo/assets/
Dbar.txt1 bar
/frameworks/base/packages/SystemUI/docs/
Dplugin_hooks.md6 Use: Allows plugin access to the status bar and nav bar window for whatever nefarious purposes you …
23 Use: Allows a plugin to create a new nav bar button, or override an existing one with a view of its…
28 Use: Allows touch events from the nav bar to be intercepted and used for other gestures.
/frameworks/compile/slang/tests/F_unknown_function/
Dstderr.txt.expect1 unknown_function.rscript:6:5: error: implicit declaration of function 'bar' is invalid in C99
Dunknown_function.rscript6 bar(a);

1234