/frameworks/base/core/java/android/view/ |
D | ViewOutlineProvider.java | 35 public void getOutline(View view, Outline outline) { 38 background.getOutline(outline); 40 outline.setRect(0, 0, view.getWidth(), view.getHeight()); 41 outline.setAlpha(0.0f); 54 public void getOutline(View view, Outline outline) { 55 outline.setRect(0, 0, view.getWidth(), view.getHeight()); 67 public void getOutline(View view, Outline outline) { 68 outline.setRect(view.getPaddingLeft(), 87 public abstract void getOutline(View view, Outline outline); in getOutline() argument
|
D | RenderNode.java | 355 public boolean setOutline(Outline outline) { in setOutline() argument 356 if (outline == null) { in setOutline() 358 } else if (outline.isEmpty()) { in setOutline() 360 } else if (outline.mRect != null) { in setOutline() 361 return nSetOutlineRoundRect(mNativeRenderNode, outline.mRect.left, outline.mRect.top, in setOutline() 362 outline.mRect.right, outline.mRect.bottom, outline.mRadius, outline.mAlpha); in setOutline() 363 } else if (outline.mPath != null) { in setOutline() 364 return nSetOutlineConvexPath(mNativeRenderNode, outline.mPath.mNativePath, in setOutline() 365 outline.mAlpha); in setOutline()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | ViewGroup_Delegate.java | 56 Outline outline = new Outline(); in drawChild() local 57 outlineProvider.getOutline(child, outline); in drawChild() 59 if (outline.mPath != null || (outline.mRect != null && !outline.mRect.isEmpty())) { in drawChild() 61 drawShadow(thisVG, canvas, child, outline); in drawChild() 69 Outline outline) { in drawShadow() argument 72 if (outline.mRect != null) { in drawShadow() 73 Shadow s = getRectShadow(parent, canvas, child, outline); in drawShadow() 76 } else if (outline.mPath != null) { in drawShadow() 77 shadow = getPathShadow(child, outline, canvas); in drawShadow() 93 Outline outline) { in getRectShadow() argument [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ActionBarBackgroundDrawableV21.java | 14 public void getOutline(@NonNull Outline outline) { in getOutline() argument 17 mContainer.mSplitBackground.getOutline(outline); in getOutline() 22 mContainer.mBackground.getOutline(outline); in getOutline()
|
/frameworks/base/libs/hwui/ |
D | Outline.h | 44 void setConvexPath(const SkPath* outline, float alpha) { in setConvexPath() argument 45 if (!outline) { in setConvexPath() 50 mPath = *outline; in setConvexPath() 51 mBounds.set(outline->getBounds()); in setConvexPath()
|
D | StatefulBaseRenderer.cpp | 197 void StatefulBaseRenderer::setClippingOutline(LinearAllocator& allocator, const Outline* outline) { in setClippingOutline() argument 200 if (!outline->getAsRoundRect(&bounds, &radius)) return; // only RR supported in setClippingOutline()
|
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/widget/ |
D | RoundedRectHelperApi21.java | 29 public void getOutline(View view, Outline outline) { 34 outline.setRoundRect(0, 0, view.getWidth(), view.getHeight(), sCornerRadius); 35 outline.setAlpha(1f);
|
D | ShadowHelperApi21.java | 32 public void getOutline(View view, Outline outline) { 33 outline.setRect(0, 0, view.getWidth(), view.getHeight()); 34 outline.setAlpha(1.0f);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ExpandableOutlineView.java | 39 public void getOutline(View view, Outline outline) { in ExpandableOutlineView() 41 outline.setRect(0, in ExpandableOutlineView() 46 outline.setRect(mOutlineRect); in ExpandableOutlineView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | AnimateableViewBounds.java | 45 public void getOutline(View view, Outline outline) { in getOutline() argument 46 outline.setAlpha(mMinAlpha + mAlpha / (1f - mMinAlpha)); in getOutline() 47 outline.setRoundRect(mClipRect.left, mClipRect.top, in getOutline()
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
D | OvalShape.java | 40 public void getOutline(Outline outline) { in getOutline() argument 42 outline.setOval((int) Math.ceil(rect.left), (int) Math.ceil(rect.top), in getOutline()
|
D | RoundRectShape.java | 83 public void getOutline(Outline outline) { in getOutline() argument 92 outline.setConvexPath(mPath); in getOutline() 99 outline.setRoundRect((int) Math.ceil(rect.left), (int) Math.ceil(rect.top), in getOutline()
|
D | RectShape.java | 41 public void getOutline(Outline outline) { in getOutline() argument 43 outline.setRect((int) Math.ceil(rect.left), (int) Math.ceil(rect.top), in getOutline()
|
D | Shape.java | 102 public void getOutline(@NonNull Outline outline) {} in getOutline() argument
|
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/ |
D | RoundedBitmapDrawable21.java | 32 public void getOutline(Outline outline) { in getOutline() argument 34 outline.setRoundRect(mDstRect, getCornerRadius()); in getOutline()
|
/frameworks/base/docs/html/training/material/ |
D | shadows-clipping.jd | 103 view's outline. Providing a custom outline overrides the default shape of a view's shadow.</p> 105 <p>To define a custom outline for a view in your code:<p> 110 <li>Assign the new outline provider to your view with the {@link 115 {@link android.graphics.Outline} class. The default outline provider for views obtains the outline 116 from the view's background. To prevent a view from casting a shadow, set its outline provider 124 You can clip a view to its outline area using the {@link android.view.View#setClipToOutline
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ClipOutlineActivity.java | 70 public void getOutline(View view, Outline outline) { in RegionView() 77 outline.setRoundRect(mRect, w / 2); in RegionView()
|
/frameworks/support/v7/cardview/api21/android/support/v7/widget/ |
D | RoundRectDrawable.java | 96 public void getOutline(Outline outline) { in getOutline() argument 97 outline.setRoundRect(mBoundsI, mRadius); in getOutline()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ColorDrawable.java | 223 public void getOutline(@NonNull Outline outline) { in getOutline() argument 224 outline.setRect(getBounds()); in getOutline() 225 outline.setAlpha(getAlpha() / 255.0f); in getOutline()
|
D | NinePatchDrawable.java | 288 public void getOutline(@NonNull Outline outline) { in getOutline() argument 296 outline.setRoundRect(bounds.left + outlineInsets.left, in getOutline() 301 outline.setAlpha(insets.outlineAlpha * (getAlpha() / 255.0f)); in getOutline() 305 super.getOutline(outline); in getOutline()
|
D | ShapeDrawable.java | 474 public void getOutline(Outline outline) { in getOutline() argument 476 mShapeState.mShape.getOutline(outline); in getOutline() 477 outline.setAlpha(getAlpha() / 255.0f); in getOutline()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SearchPanelCircleView.java | 110 public void getOutline(View view, Outline outline) { in SearchPanelCircleView() 112 outline.setOval(mCircleRect); in SearchPanelCircleView() 114 outline.setEmpty(); in SearchPanelCircleView() 116 outline.setAlpha(mOutlineAlpha); in SearchPanelCircleView()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ActionBarContainer.java | 372 public void getOutline(@NonNull Outline outline) { in getOutline() argument 375 mSplitBackground.getOutline(outline); in getOutline() 380 mBackground.getOutline(outline); in getOutline()
|
/frameworks/base/docs/html/reference/renderscript/ |
D | tabs.css | 39 outline: none;
|
/frameworks/base/core/java/com/android/internal/app/ |
D | PlatLogoActivity.java | 100 public void getOutline(View view, Outline outline) { in onAttachedToWindow() 101 outline.setRect(0, getHeight() / 2, getWidth(), getHeight()); in onAttachedToWindow()
|