/packages/apps/DocumentsUI/src/com/android/documentsui/ |
H A D | DropBadgeView.java | 36 private LayerDrawable mBackground; field in class:DropBadgeView 52 mBackground = new LayerDrawable(list); 54 mBackground.setLayerGravity(1, Gravity.BOTTOM | Gravity.RIGHT); 55 mBackground.setLayerGravity(0, Gravity.TOP | Gravity.LEFT); 56 mBackground.setLayerSize(1, badgeWidth, badgeHeight); 57 mBackground.setLayerSize(0, iconSize, iconSize); 59 setBackground(mBackground); 85 mBackground.setDrawable(0, icon);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | BaseActivity.java | 44 private ColorDrawable mBackground; field in class:BaseActivity 77 if (mBackground == null) { 78 mBackground = new ColorDrawable(color); 79 getWindow().setBackgroundDrawable(mBackground); 87 final @ColorInt int currentColor = mBackground.getColor(); 102 mBackground.setColor(color);
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | ModeIconView.java | 37 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 D | RadioOptions.java | 43 private Drawable mBackground; field in class:RadioOptions 68 mBackground = context.getResources() 124 view.setBackground(mBackground);
|
H A D | ModeListView.java | 1947 private Bitmap mBackground; field in class:ModeListView.PeepholeAnimationEffect 2105 mBackground = background; 2118 if (mBackground != null && mBackgroundOverlay != null) { 2119 canvas.drawBitmap(mBackground, null, mBackgroundDrawArea, null); 2133 return (mBackground == null || mBackgroundOverlay == null);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | BubbleTextView.java | 59 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 D | Cling.java | 60 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 D | Workspace.java | 95 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 D | CommonControllerOverlay.java | 57 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/folder/ |
H A D | FolderIcon.java | 95 PreviewBackground mBackground = new PreviewBackground(); field in class:FolderIcon 233 mBackground.animateToAccept(cl, lp.cellX, lp.cellY); 276 mBackground.animateToRest(); 423 mTmpParams.transX += mBackground.basePreviewOffsetX; 424 mTmpParams.transY += mBackground.basePreviewOffsetY; 436 mBackground = bg; 437 mBackground.setInvalidateDelegate(this); 446 return mBackground; 461 if (!mBackground.drawingDelegated()) { 462 mBackground [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | RunningState.java | 354 boolean mBackground; field in class:RunningState.BaseItem 634 mBackground = background; 657 if (!mBackground) { 665 if (!mBackground) {
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
H A D | PhotoTable.java | 125 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;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | CellLayout.java | 111 private final Drawable mBackground; field in class:CellLayout 220 mBackground = res.getDrawable(R.drawable.bg_celllayout); 221 mBackground.setCallback(this); 222 mBackground.setAlpha(0); 385 mBackground.setState(mIsDragOverlapping 424 if (mBackground.getAlpha() > 0) { 425 mBackground.draw(canvas); 803 mBackground.getPadding(mTempRect); 804 mBackground.setBounds( 821 return mBackground; [all...] |