Home
last modified time | relevance | path

Searched refs:mBar (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/
DAbsSeekBarTest.java52 private AbsSeekBar mBar; field in AbsSeekBarTest
57 mBar = new SeekBar(mContext); in setUp()
62 mBar.setPadding(PADDING, PADDING, PADDING, PADDING); in testExclusionForThumb_limitedTo48dp()
63 mBar.setThumb(newThumb(dpToPxSize(20))); in testExclusionForThumb_limitedTo48dp()
64 mBar.setMin(0); in testExclusionForThumb_limitedTo48dp()
65 mBar.setMax(100); in testExclusionForThumb_limitedTo48dp()
66 mBar.setProgress(50); in testExclusionForThumb_limitedTo48dp()
68 final int thumbOffset = mBar.getThumbOffset(); in testExclusionForThumb_limitedTo48dp()
71 List<Rect> exclusions = mBar.getSystemGestureExclusionRects(); in testExclusionForThumb_limitedTo48dp()
75 center(offset(mBar.getThumb().getBounds(), PADDING - thumbOffset, PADDING)), in testExclusionForThumb_limitedTo48dp()
[all …]
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java115 private volatile IStatusBar mBar; field in StatusBarManagerService
135 mBar.asBinder().unlinkToDeath(this,0); in binderDied()
136 mBar = null; in binderDied()
142 mBar.asBinder().linkToDeath(mDeathRecipient,0); in linkToDeath()
257 if (mBar != null) {
259 mBar.showScreenPinningRequest(taskId);
267 if (mBar != null) {
269 mBar.showAssistDisclosure();
277 if (mBar != null) {
279 mBar.startAssist(args);
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DMainSwitchBarTest.java37 private MainSwitchBar mBar; field in MainSwitchBarTest
42 mBar = new MainSwitchBar(mContext); in setUp()
47 mBar.setChecked(true); in setChecked_true_shouldChecked()
49 assertThat(mBar.isChecked()).isTrue(); in setChecked_true_shouldChecked()
56 mBar.setTitle(title); in setTitle_shouldUpdateTitle()
57 final TextView textView = ((TextView) mBar.findViewById(R.id.switch_text)); in setTitle_shouldUpdateTitle()
66 mBar.setTitle(title); in setTitle_switchShouldNotHasContentDescription()
68 final Switch switchObj = mBar.getSwitch(); in setTitle_switchShouldNotHasContentDescription()
74 final Switch switchObj = mBar.getSwitch(); in getSwitch_shouldNotNull()
81 final Switch switchObj = mBar.getSwitch(); in getSwitch_shouldNotFocusableAndClickable()
[all …]
/frameworks/base/tests/Codegen/src/com/android/codegentest/
DSampleWithNestedDataClasses.java35 @NonNull String mBar; field in SampleWithNestedDataClasses.NestedDataClass
55 this.mBar = bar; in NestedDataClass()
57 NonNull.class, null, mBar); in NestedDataClass()
64 return mBar; in getBar()
80 && java.util.Objects.equals(mBar, that.mBar); in equals()
90 _hash = 31 * _hash + java.util.Objects.hashCode(mBar); in hashCode()
100 dest.writeString(mBar); in writeToParcel()
116 this.mBar = bar; in NestedDataClass()
118 NonNull.class, null, mBar); in NestedDataClass()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarView.java58 StatusBar mBar; field in PhoneStatusBarView
67 mBar.makeExpandedInvisible();
97 mBar = bar; in setBar()
201 mBar.makeExpandedVisible(false); in onPanelPeeked()
227 boolean barConsumedEvent = mBar.interceptTouchEvent(event); in onTouchEvent()
243 mBar.onTrackingStarted(); in onTrackingStarted()
251 mBar.onClosingFinished(); in onClosingFinished()
257 mBar.onTrackingStopped(expand); in onTrackingStopped()
268 return mBar.interceptTouchEvent(event) || super.onInterceptTouchEvent(event); in onInterceptTouchEvent()
286 if ((frac == 0 || frac == 1) && mBar.getNavigationBarView() != null) { in panelExpansionChanged()
[all …]
DPanelViewController.java155 PanelBar mBar; field in PanelViewController
187 mBar.onExpandingFinished(); in onExpandingFinished()
440 mBar.onTrackingStopped(expand); in onTrackingStopped()
447 mBar.onTrackingStarted(); in onTrackingStarted()
825 mBar = panelBar; in setBar()
921 mBar.onClosingFinished(); in onClosingFinished()
1054 if (mBar != null) { in notifyBarPanelExpansionChanged()
1055 mBar.panelExpansionChanged( in notifyBarPanelExpansionChanged()
DNotificationPanelViewController.java1599 GestureRecorder gr = ((PhoneStatusBarView) mBar).mBar.getGestureRecorder(); in fling()
3326 ((PhoneStatusBarView) mBar).setHeadsUpVisible(mHeadsUpAnimatingAway || mHeadsUpPinnedMode); in updateHeadsUpVisibility()
3442 mBar.panelScrimMinFractionChanged(minFraction);
3885 if (mBar.panelEnabled() && mHeadsUpTouchHelper.onInterceptTouchEvent(event)) { in createTouchHandler()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutTest.java95 @Mock private StatusBar mBar; field in NotificationStackScrollLayoutTest
157 mStackScroller.setStatusBar(mBar); in setUp()
165 doNothing().when(mBar) in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DHeadsUpManagerPhoneTest.java63 @Mock private StatusBar mBar; field in HeadsUpManagerPhoneTest