Home
last modified time | relevance | path

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

12345

/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/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java351 IStatusBar bar = mBar;
352 if (bar != null) {
354 bar.showScreenPinningRequest(taskId);
362 IStatusBar bar = mBar;
363 if (bar != null) {
365 bar.showAssistDisclosure();
373 IStatusBar bar = mBar;
374 if (bar != null) {
376 bar.startAssist(args);
384 IStatusBar bar = mBar;
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/
DSeekBarViewModel.kt346 fun attachTouchHandlers(bar: SeekBar) { in attachTouchHandlers()
347 bar.setOnSeekBarChangeListener(seekBarListener) in attachTouchHandlers()
348 bar.setOnTouchListener(SeekBarTouchListener(this, bar)) in attachTouchHandlers()
402 override fun onProgressChanged(bar: SeekBar, progress: Int, fromUser: Boolean) { in onProgressChanged()
408 override fun onStartTrackingTouch(bar: SeekBar) { in onStartTrackingTouch()
412 override fun onStopTrackingTouch(bar: SeekBar) { in onStopTrackingTouch()
416 viewModel.onSeek(bar.progress.toLong()) in onStopTrackingTouch()
428 private val bar: SeekBar, constant in com.android.systemui.media.controls.ui.viewmodel.SeekBarViewModel.SeekBarTouchListener
432 private val detector = GestureDetectorCompat(bar.context, this)
435 ViewConfiguration.get(bar.context).run { in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotifInflationErrorManagerTest.kt45 private val bar: NotificationEntry = NotificationEntryBuilder().setPkg("bar").build() constant in com.android.systemui.statusbar.notification.row.NotifInflationErrorManagerTest
60 manager.setInflationError(bar, barException) in testTracksInflationErrors()
63 assertThat(manager.hasInflationError(bar)).isTrue() in testTracksInflationErrors()
66 manager.clearInflationError(bar) in testTracksInflationErrors()
68 assertThat(manager.hasInflationError(bar)).isFalse() in testTracksInflationErrors()
79 manager.setInflationError(bar, barException) in testNotifiesListeners()
81 verify(listener1).onNotifInflationError(bar, barException) in testNotifiesListeners()
82 verify(listener2).onNotifInflationError(bar, barException) in testNotifiesListeners()
/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_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/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/viewmodel/
DSeekBarViewModelTest.kt384 val bar = SeekBar(context) in onProgressChangedFromUser() constant
386 onStartTrackingTouch(bar) in onProgressChangedFromUser()
387 onProgressChanged(bar, pos, true) in onProgressChangedFromUser()
399 val bar = SeekBar(context) in onProgressChangedFromUserWithoutStartTrackingTouch_transportUpdated() constant
402 with(viewModel.seekBarListener) { onProgressChanged(bar, pos, true) } in onProgressChangedFromUserWithoutStartTrackingTouch_transportUpdated()
427 val bar = SeekBar(context).apply { progress = pos } in onStartTrackingTouch() constant
428 viewModel.seekBarListener.onStartTrackingTouch(bar) in onStartTrackingTouch()
440 val bar = SeekBar(context).apply { progress = pos } in onStopTrackingTouch() constant
441 viewModel.seekBarListener.onStopTrackingTouch(bar) in onStopTrackingTouch()
454 val bar = SeekBar(context).apply { progress = pos } in onStopTrackingTouchAfterProgress() constant
[all …]
/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.md15 * status bar is always visible
16 * status bar is at the correct position at the start and end of the transition
17 * nav bar is always visible
18 * nav bar is at the correct position at the start and end of the transition
/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/docs/
Dstatus-bar-data-pipeline.md5 The status bar is the UI shown at the top of the user's screen that gives them
10 ![image of status bar](status-bar.png)
13 show in the status bar has been re-written with a new architecture. This format
74 ![diagram of wifi and mobile pipelines](status-bar-pipeline.png)
91 ![diagram of mobile parent child relationship](status-bar-mobile-pipeline.png)
118 status bar data pipeline to get icon customizations.
148 For example, if `bar` should only be true when `foo` is positive:
153 val bar: StateFlow<Boolean> =
163 For example, if the icon should be hidden when `bar` is true:
171 iconInteractor.bar,
[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(test::ParseNameOrDie("attr/bar"))); in TEST_F()
610 EXPECT_THAT(style->entries[0].key.name, Eq(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/native/libs/ftl/
Dshared_mutex_test.cpp38 void bar() FTL_ATTRIBUTE(requires_capability(mutex)) { num++; } in TEST() function
56 s.bar(); in TEST()
/frameworks/base/tools/aapt2/java/
DProguardRules_test.cpp250 bar_layout->file.name = test::ParseNameOrDie("com.foo:layout/bar");
283 EXPECT_THAT(actual, HasSubstr("int bar"));
290 EXPECT_THAT(actual, HasSubstr("int bar"));
302 set.AddReference({test::ParseNameOrDie("layout/bar"), {}}, layout->file.name);
310 EXPECT_THAT(actual, HasSubstr("int bar"));
317 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/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DAnimatedSharedAsStateTest.kt399 val bar = ValueKey("bar") in <lambda>() constant
418 scene(SceneC) { animateFloat(0f, bar) } in <lambda>()
419 scene(SceneD) { animateFloat(10f, bar) } in <lambda>()
444 assertThat(lastValues[bar]?.get(SceneA)).isNull() in <lambda>()
445 assertThat(lastValues[bar]?.get(SceneB)).isNull() in <lambda>()
446 assertThat(lastValues[bar]?.get(SceneC)).isWithin(0.001f).of(7f) in <lambda>()
447 assertThat(lastValues[bar]?.get(SceneD)).isWithin(0.001f).of(7f) in <lambda>()

12345