Home
last modified time | relevance | path

Searched refs:mShadow (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DHeaderElevationController.java40 private final View mShadow; field in HeaderElevationController.ControllerV16
47 mShadow = new View(header.getContext()); in ControllerV16()
48 mShadow.setBackground(new GradientDrawable( in ControllerV16()
50 mShadow.setAlpha(0); in ControllerV16()
57 ((ViewGroup) header.getParent()).addView(mShadow, lp); in ControllerV16()
64 mShadow.setAlpha(elevationPct); in onScroll()
69 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) mShadow.getLayoutParams(); in updateBackgroundPadding()
72 mShadow.requestLayout(); in updateBackgroundPadding()
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DVUMeter.java37 Paint mPaint, mShadow; field in VUMeter
58 mShadow = new Paint(Paint.ANTI_ALIAS_FLAG); in init()
59 mShadow.setColor(Color.argb(60, 0, 0, 0)); in init()
98 …e(x0 + SHADOW_OFFSET, y0 + SHADOW_OFFSET, pivotX + SHADOW_OFFSET, pivotY + SHADOW_OFFSET, mShadow); in onDraw()
99 canvas.drawCircle(pivotX + SHADOW_OFFSET, pivotY + SHADOW_OFFSET, PIVOT_RADIUS, mShadow); in onDraw()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DButteryProgressBar.java47 private final GradientDrawable mShadow; field in ButteryProgressBar
117 mShadow = new GradientDrawable(GradientDrawable.Orientation.TOP_BOTTOM, in ButteryProgressBar()
126 mShadow.setBounds(0, mSolidBarHeight, w, getHeight() - mSolidBarHeight); in onLayout()
143 mShadow.draw(canvas); in onDraw()
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/
DCarDrawerLayout.java156 private Drawable mShadow; field in CarDrawerLayout
375 mShadow = shadowDrawable; in setDrawerShadow()
868 if (mShadow != null in drawChild()
872 final int shadowWidth = mShadow.getIntrinsicWidth(); in drawChild()
875 mShadow.setBounds(drawerRight, child.getTop(), in drawChild()
877 mShadow.setAlpha((int) (255 * alpha * alpha * alpha)); in drawChild()
878 mShadow.draw(canvas); in drawChild()
879 } else if (mShadow != null in drawChild()
883 final int shadowWidth = mShadow.getIntrinsicWidth(); in drawChild()
889 mShadow.setBounds(drawerLeft - shadowWidth, child.getTop(), in drawChild()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropView.java50 private NinePatchDrawable mShadow; field in CropView
99 mShadow = (NinePatchDrawable) rsc.getDrawable(R.drawable.geometry_shadow); in setup()
339 mShadow.setBounds(mShadowBounds); in onDraw()
340 mShadow.draw(canvas); in onDraw()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageDraw.java53 private NinePatchDrawable mShadow; field in ImageDraw
92 mShadow = (NinePatchDrawable) res.getDrawable(R.drawable.geometry_shadow); in setupConstants()
DImageShow.java82 private NinePatchDrawable mShadow = null; field in ImageShow
178 mShadow = (NinePatchDrawable) res.getDrawable(R.drawable.geometry_shadow); in setupImageShow()
510 mShadow.setBounds(mShadowBounds); in drawShadow()
511 mShadow.draw(canvas); in drawShadow()