Home
last modified time | relevance | path

Searched refs:mBackground (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationBackgroundView.java42 private Drawable mBackground; field in NotificationBackgroundView
75 draw(canvas, mBackground); in onDraw()
112 return super.verifyDrawable(who) || who == mBackground; in verifyDrawable()
122 if (mBackground != null) { in drawableHotspotChanged()
123 mBackground.setHotspot(x, y); in drawableHotspotChanged()
132 if (mBackground != null) { in setCustomBackground()
133 mBackground.setCallback(null); in setCustomBackground()
134 unscheduleDrawable(mBackground); in setCustomBackground()
136 mBackground = background; in setCustomBackground()
137 mBackground.mutate(); in setCustomBackground()
[all …]
DNotificationGuts.java48 private Drawable mBackground; field in NotificationGuts
161 draw(canvas, mBackground); in onDraw()
176 mBackground = mContext.getDrawable(R.drawable.notification_guts_bg); in onFinishInflate()
177 if (mBackground != null) { in onFinishInflate()
178 mBackground.setCallback(this); in onFinishInflate()
184 return super.verifyDrawable(who) || who == mBackground; in verifyDrawable()
189 drawableStateChanged(mBackground); in drawableStateChanged()
200 if (mBackground != null) { in drawableHotspotChanged()
201 mBackground.setHotspot(x, y); in drawableHotspotChanged()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContainer.java45 private Drawable mBackground; field in ActionBarContainer
64 mBackground = a.getDrawable(com.android.internal.R.styleable.ActionBar_background); in ActionBarContainer()
77 mBackground == null && mStackedBackground == null); in ActionBarContainer()
88 if (mBackground != null) { in setPrimaryBackground()
89 mBackground.setCallback(null); in setPrimaryBackground()
90 unscheduleDrawable(mBackground); in setPrimaryBackground()
92 mBackground = bg; in setPrimaryBackground()
96 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(), in setPrimaryBackground()
101 mBackground == null && mStackedBackground == null); in setPrimaryBackground()
119 mBackground == null && mStackedBackground == null); in setStackedBackground()
[all …]
/frameworks/base/tests/Assist/src/com/android/test/assist/
DAssistInteractionSession.java40 private View mBackground; field in AssistInteractionSession
89 mBackground = v.findViewById(R.id.background); in onCreateContentView()
101 mBackground.getViewTreeObserver().addOnPreDrawListener( in onShow()
105 mBackground.getViewTreeObserver().removeOnPreDrawListener(this); in onShow()
120 Interpolator linearOutSlowIn = AnimationUtils.loadInterpolator(mBackground.getContext(), in playAssistAnimation()
122 Interpolator fastOutSlowIn = AnimationUtils.loadInterpolator(mBackground.getContext(), in playAssistAnimation()
129 mBackground.setTranslationY(50 * mDensity); in playAssistAnimation()
130 mBackground.animate() in playAssistAnimation()
134 int centerX = mBackground.getWidth()/2; in playAssistAnimation()
135 int centerY = (int) (mBackground.getHeight()/5*3.8f); in playAssistAnimation()
[all …]
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/
DDemoModeController.java45 private Handler mBackground; field in DemoModeController
69 mBackground = new Handler(background.getLooper()); in onCreate()
141 mBackground.removeCallbacks(mUpdateClock); in onTouch()
142 mBackground.post(mUpdateClock); in onTouch()
148 mBackground.removeCallbacks(mUpdateClock); in onTouch()
149 mBackground.post(mUpdateClock); in onTouch()
155 mBackground.removeCallbacks(mUpdateBattery); in onTouch()
156 mBackground.post(mUpdateBattery); in onTouch()
162 mBackground.removeCallbacks(mUpdateBattery); in onTouch()
163 mBackground.post(mUpdateBattery); in onTouch()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDetailClipper.java30 private final TransitionDrawable mBackground; field in QSDetailClipper
36 mBackground = (TransitionDrawable) detail.getBackground(); in QSDetailClipper()
66 mBackground.startTransition((int)(mAnimator.getDuration() * 0.6)); in animateCircularClip()
79 mBackground.reverseTransition((int)(mAnimator.getDuration() * 0.35));
99 mBackground.resetTransition();
105 mBackground.showSecondLayer(); in showBackground()
DQSContainerImpl.java47 private View mBackground; field in QSContainerImpl
66 mBackground = findViewById(R.id.quick_settings_background); in onFinishInflate()
132 mBackground.setVisibility(mQsDisabled ? View.GONE : View.VISIBLE); in disable()
160 mBackground.setTop(mQSPanel.getTop()); in updateExpansion()
161 mBackground.setBottom(height); in updateExpansion()
188 setMargins(mBackground); in setMargins()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java112 private View mBackground; field in DividerView
281 mBackground = findViewById(R.id.docked_divider_background); in onFinishInflate()
345 minimizeTop = mBackground.getTop(); in onLayout()
347 minimizeLeft = mBackground.getLeft(); in onLayout()
349 minimizeLeft = mBackground.getRight() - mMinimizedShadow.getWidth(); in onLayout()
715 mBackground.animate().scaleY(1.4f); in liftBackground()
717 mBackground.animate().scaleX(1.4f); in liftBackground()
719 mBackground.animate() in liftBackground()
739 mBackground.animate() in releaseBackground()
762 mBackground.setPivotY(0); in setMinimizedDockStack()
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleDrawable.java131 private RippleBackground mBackground; field in RippleDrawable
219 if (mBackground != null) { in jumpToCurrentState()
220 mBackground.jumpToFinal(); in jumpToCurrentState()
287 if (mBackground == null && (hovered || focused)) { in setBackgroundActive()
288 mBackground = new RippleBackground(this, mHotspotBounds, isBounded()); in setBackgroundActive()
289 mBackground.setup(mState.mMaxRadius, mDensity); in setBackgroundActive()
291 if (mBackground != null) { in setBackgroundActive()
292 mBackground.setState(focused, hovered, pressed); in setBackgroundActive()
311 if (mBackground != null) { in onBoundsChange()
312 mBackground.onBoundsChange(); in onBoundsChange()
[all …]
/frameworks/base/core/java/android/view/
DNotificationHeaderView.java71 private Drawable mBackground; field in NotificationHeaderView
80 if (mBackground != null) {
252 mBackground = drawable; in setHeaderBackgroundDrawable()
253 mBackground.setCallback(this); in setHeaderBackgroundDrawable()
257 mBackground = null; in setHeaderBackgroundDrawable()
265 if (mBackground != null) { in onDraw()
266 mBackground.setBounds(0, 0, getWidth(), getHeight()); in onDraw()
267 mBackground.draw(canvas); in onDraw()
273 return super.verifyDrawable(who) || who == mBackground; in verifyDrawable()
278 if (mBackground != null && mBackground.isStateful()) { in drawableStateChanged()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcher.java52 private final KeyguardUserSwitcherScrim mBackground; field in KeyguardUserSwitcher
66 mBackground = new KeyguardUserSwitcherScrim(context); in KeyguardUserSwitcher()
82 mBackground = null; in KeyguardUserSwitcher()
89 mUserSwitcher.removeOnLayoutChangeListener(mBackground); in reinflateViews()
98 mUserSwitcher.addOnLayoutChangeListener(mBackground); in reinflateViews()
99 mUserSwitcher.setBackground(mBackground); in reinflateViews()
174 mBgAnimator = ObjectAnimator.ofInt(mBackground, "alpha", 0, 255); in startAppearAnimation()
DRemoteInputView.java517 private final Drawable mBackground; field in RemoteInputView.RemoteEditText
524 mBackground = getBackground(); in RemoteEditText()
656 setBackground(mBackground); in setInnerFocusable()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
DRvBoxAdapter.java31 private int mBackground; field in RvBoxAdapter
55 mBackground = val.resourceId; in RvBoxAdapter()
66 h.mTextView.setBackgroundResource(mBackground); in onCreateViewHolder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockscreenWallpaper.java240 super(new BitmapDrawable(r, state.mBackground)); in WallpaperDrawable()
264 int dwidth = mState.mBackground.getWidth(); in onBoundsChange()
265 int dheight = mState.mBackground.getHeight(); in onBoundsChange()
296 private final Bitmap mBackground; field in LockscreenWallpaper.WallpaperDrawable.ConstantState
299 mBackground = background; in ConstantState()
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
DSwarm.java65 Background mBackground = new Background(); field in Swarm
202 mBackground = new Background(); in onResume()
203 mBackground.execute(); in onResume()
208 mBackground.keepRunning = false; in onPause()
280 mBackground.keepRunning = false; in restartSimulation()
283 mBackground = new Background(); in restartSimulation()
284 mBackground.execute(); in restartSimulation()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java150 protected View mBackground; field in PhotoViewController
317 mBackground = getBackground(); in onCreate()
333 mBackground.setVisibility(View.VISIBLE); in onCreate()
438 return mBackground != null; in hasBackground()
1014 mBackground.setAlpha(0f); in runEnterAnimation()
1015 mBackground.animate().alpha(1f).setDuration(ENTER_ANIMATION_DURATION_MS).start(); in runEnterAnimation()
1016 mBackground.setVisibility(View.VISIBLE); in runEnterAnimation()
1044 mBackground.startAnimation(alphaAnimation); in runEnterAnimation()
1045 mBackground.setVisibility(View.VISIBLE); in runEnterAnimation()
1103 mBackground.animate().alpha(0f).setDuration(EXIT_ANIMATION_DURATION_MS).start(); in runExitAnimation()
[all …]
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskViewHeader.java182 private HighlightColorDrawable mBackground; field in TaskViewHeader
232 mBackground = new HighlightColorDrawable(); in TaskViewHeader()
233 mBackground.setColorAndDim(Color.argb(255, 0, 0, 0), 0f); in TaskViewHeader()
234 setBackground(mBackground); in TaskViewHeader()
421 updateBackgroundColor(mBackground.getColor(), dimAlpha); in setDimAlpha()
430 mBackground.setColorAndDim(color, dimAlpha); in updateBackgroundColor()
456 if (mBackground.getColor() != primaryColor) { in bindToTask()
/frameworks/base/core/java/android/widget/
DPopupWindow.java208 private Drawable mBackground; field in PopupWindow
538 return mBackground; in getBackground()
550 mBackground = background; in setBackgroundDrawable()
561 if (mBackground instanceof StateListDrawable) { in setBackgroundDrawable()
562 StateListDrawable stateList = (StateListDrawable) mBackground; in setBackgroundDrawable()
1433 if (mBackground != null && mBackgroundView != null) { in updateAboveAnchor()
1491 if (mBackground != null) { in preparePopup()
1493 mBackgroundView.setBackground(mBackground); in preparePopup()
1625 if (mBackground != null) { in createPopupLayoutParams()
1626 p.format = mBackground.getOpacity(); in createPopupLayoutParams()
[all …]
/frameworks/base/core/java/com/android/internal/view/menu/
DListMenuItemView.java55 private Drawable mBackground; field in ListMenuItemView
75 mBackground = a.getDrawable(com.android.internal.R.styleable.MenuView_itemBackground); in ListMenuItemView()
104 setBackgroundDrawable(mBackground); in onFinishInflate()
/frameworks/base/core/java/android/app/
DNotification.java9073 private Bitmap mBackground; field in Notification.Builder.WearableExtender
9108 mBackground = wearableBundle.getParcelable(KEY_BACKGROUND); in WearableExtender()
9146 if (mBackground != null) { in extend()
9147 wearableBundle.putParcelable(KEY_BACKGROUND, mBackground); in extend()
9189 that.mBackground = this.mBackground; in clone()
9372 mBackground = background; in setBackground()
9387 return mBackground; in getBackground()