Searched defs:mBackground (Results 1 - 15 of 15) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/ui/
H A DModeIconView.java37 private final GradientDrawable mBackground; field in class:ModeIconView
50 mBackground = (GradientDrawable) getResources()
52 mBackground.setBounds(0, 0, mIconBackgroundSize, mIconBackgroundSize);
78 mBackground.draw(canvas);
107 mBackground.setColor(mHighlightColor);
109 mBackground.setColor(mBackgroundDefaultColor);
H A DRadioOptions.java43 private Drawable mBackground; field in class:RadioOptions
68 mBackground = context.getResources()
124 view.setBackground(mBackground);
H A DModeListView.java1909 private Bitmap mBackground; field in class:ModeListView.PeepholeAnimationEffect
2067 mBackground = background;
2080 if (mBackground != null && mBackgroundOverlay != null) {
2081 canvas.drawBitmap(mBackground, null, mBackgroundDrawArea, null);
2095 return (mBackground == null || mBackgroundOverlay == null);
/packages/apps/Settings/src/com/android/settings/widget/
H A DSetupWizardIllustration.java45 private Drawable mBackground; field in class:SetupWizardIllustration
84 mBackground = background;
98 mBackground.setLayoutDirection(layoutDirection);
133 if (mBackground != null) {
136 mBackground.setBounds(0, 0, (int) Math.ceil(layoutWidth / mScale),
144 if (mBackground != null) {
150 mBackground.draw(canvas);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DBubbleTextView.java59 private Drawable mBackground; field in class:BubbleTextView
81 mBackground = getBackground();
113 return who == mBackground || super.verifyDrawable(who);
157 Drawable d = mBackground;
280 final Drawable background = mBackground;
321 if (mBackground != null) mBackground.setCallback(this);
327 if (mBackground != null) mBackground.setCallback(null);
H A DCling.java60 private Drawable mBackground; field in class:Cling
113 mBackground = null;
206 if (mBackground == null) {
210 mBackground = getResources().getDrawable(R.drawable.bg_cling1);
214 mBackground = getResources().getDrawable(R.drawable.bg_cling2);
217 mBackground = getResources().getDrawable(R.drawable.bg_cling3);
219 mBackground = getResources().getDrawable(R.drawable.bg_cling4);
221 mBackground = getResources().getDrawable(R.drawable.bg_cling5);
224 if (mBackground != null) {
225 mBackground
[all...]
H A DWorkspace.java95 private Drawable mBackground; field in class:Workspace
418 mBackground = res.getDrawable(R.drawable.apps_customize_bg);
1136 if (mBackground == null) return;
1296 if (mBackground != null && mBackgroundAlpha > 0.0f && mDrawBackground) {
1298 mBackground.setAlpha(alpha);
1299 mBackground.setBounds(getScrollX(), 0, getScrollX() + getMeasuredWidth(),
1301 mBackground.draw(canvas);
1311 return (mBackground != null && mBackgroundAlpha > 0.0f && mDrawBackground);
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DCommonControllerOverlay.java57 protected final View mBackground; field in class:CommonControllerOverlay
83 mBackground = new View(context);
84 mBackground.setBackgroundColor(context.getResources().getColor(R.color.darker_transparent));
85 addView(mBackground, matchParent);
193 mBackground.setVisibility(View.INVISIBLE);
282 mBackground.layout(0, y - mTimeBar.getBarHeight(), w, y);
308 mBackground.setVisibility(View.VISIBLE);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DBubbleTextView.java64 private final Drawable mBackground; field in class:BubbleTextView
88 mBackground = getBackground();
91 mBackground = null;
169 return who == mBackground || super.verifyDrawable(who);
285 final Drawable background = mBackground;
327 if (mBackground != null) mBackground.setCallback(this);
339 if (mBackground != null) mBackground.setCallback(null);
H A DDragLayer.java81 private Drawable mBackground; field in class:DragLayer
111 mBackground = res.getDrawable(R.drawable.apps_customize_bg);
895 if (mBackground != null && mBackgroundAlpha > 0.0f) {
897 mBackground.setAlpha(alpha);
898 mBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight());
899 mBackground.draw(canvas);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
H A DTransitionImage.java59 private int mBackground = Color.TRANSPARENT; field in class:TransitionImage
114 return mBackground;
118 mBackground = color;
264 bundle.putInt(EXTRA_TRANSITION_BITMAP_BACKGROUND, mBackground);
281 intent.putExtra(EXTRA_TRANSITION_BITMAP_BACKGROUND, mBackground);
348 if (mUseClippedRectOnTransparent && mBackground == Color.TRANSPARENT) {
368 + " background=" + mBackground;
/packages/apps/Browser/src/com/android/browser/view/
H A DPieMenu.java99 private Drawable mBackground; field in class:PieMenu
150 mBackground = res.getDrawable(R.drawable.qc_background_normal);
297 int w = mBackground.getIntrinsicWidth();
298 int h = mBackground.getIntrinsicHeight();
301 mBackground.setBounds(left, top, left + w, top + h);
306 mBackground.draw(canvas);
/packages/apps/Settings/src/com/android/settings/applications/
H A DRunningState.java317 boolean mBackground; field in class:RunningState.BaseItem
595 mBackground = background;
618 if (!mBackground) {
626 if (!mBackground) {
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationItemView.java1905 private final Drawable mBackground; field in class:ConversationItemView.ShadowBuilder
1917 mBackground = mView.getResources().getDrawable(R.drawable.list_pressed_holo);
1937 mBackground.setBounds(0, 0, mView.getWidth(), mView.getHeight());
1938 mBackground.draw(canvas);
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DPhotoTable.java125 private ViewGroup mBackground; field in class:PhotoTable
173 mBackground = (ViewGroup) findViewById(R.id.background);
615 mBackground.animate()
636 mBackground.animate()
699 mBackground.bringChildToFront(photo);
886 mBackground.addView(photo, new LayoutParams(LayoutParams.WRAP_CONTENT,
906 mBackground.removeView(photo);
913 return mBackgroudOptimization && mBackground.indexOfChild(photo) != -1;

Completed in 842 milliseconds