/frameworks/support/design/lollipop/android/support/design/widget/ |
H A D | CircularBorderDrawableLollipop.java | 27 public void getOutline(Outline outline) { argument 29 outline.setOval(mRect);
|
/frameworks/base/core/java/android/view/ |
H A D | ViewOutlineProvider.java | 27 * Default outline provider for Views, which queries the Outline from the View's background, 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); 47 * Maintains the outline of the View to match its rectangular bounds, 54 public void getOutline(View view, Outline outline) { 55 outline.setRect(0, 0, view.getWidth(), view.getHeight()); 60 * Maintains the outline of the View to match its rectangular padded bounds, 67 public void getOutline(View view, Outline outline) { 87 getOutline(View view, Outline outline) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | OvalShape.java | 40 public void getOutline(Outline outline) { argument 42 outline.setOval((int) Math.ceil(rect.left), (int) Math.ceil(rect.top),
|
H A D | ArcShape.java | 52 public void getOutline(Outline outline) { argument 54 // to provide an outline.
|
H A D | RectShape.java | 41 public void getOutline(Outline outline) { argument 43 outline.setRect((int) Math.ceil(rect.left), (int) Math.ceil(rect.top),
|
H A D | Shape.java | 98 * parameter. The default implementation does nothing and {@code outline} is not changed. 100 * @param outline The Outline to be populated with the result. Should not be null. 102 public void getOutline(@NonNull Outline outline) {} argument
|
H A D | RoundRectShape.java | 83 public void getOutline(Outline outline) { argument 84 if (mInnerRect != null) return; // have a hole, can't produce valid outline 92 outline.setConvexPath(mPath); 99 outline.setRoundRect((int) Math.ceil(rect.left), (int) Math.ceil(rect.top),
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionBarBackgroundDrawableV21.java | 29 public void getOutline(@NonNull Outline outline) { argument 32 mContainer.mSplitBackground.getOutline(outline); 37 mContainer.mBackground.getOutline(outline);
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | ViewGroup_Delegate.java | 50 // the outline obtained is correct. 53 Outline outline = child.mAttachInfo.mTmpOutline; 54 outlineProvider.getOutline(child, outline); 55 if (outline.mPath != null || (outline.mRect != null && !outline.mRect.isEmpty())) { 57 drawShadow(thisVG, canvas, child, outline); 65 Outline outline) { 67 if(outline.mMode == Outline.MODE_ROUND_RECT && outline 64 drawShadow(ViewGroup parent, Canvas canvas, View child, Outline outline) argument 92 getPathShadow(Outline outline, Canvas canvas, float elevation) argument [all...] |
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/widget/ |
H A D | RoundedRectHelperApi21.java | 35 public void getOutline(View view, Outline outline) { argument 36 outline.setRoundRect(0, 0, view.getWidth(), view.getHeight(), mRadius); 37 outline.setAlpha(1f);
|
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/ |
H A D | RoundedBitmapDrawable21.java | 32 public void getOutline(Outline outline) { argument 34 outline.setRoundRect(mDstRect, getCornerRadius());
|
H A D | DrawableWrapperLollipop.java | 53 public void getOutline(Outline outline) { argument 54 mDrawable.getOutline(outline);
|
/frameworks/base/libs/hwui/ |
H A D | Outline.h | 58 // update mPath to reflect new outline 68 void setConvexPath(const SkPath* outline, float alpha) { argument 69 if (!outline) { 74 mPath = *outline; 75 mBounds.set(outline->getBounds());
|
H A D | RenderProperties.cpp | 166 auto& outline = mPrimitiveFields.mOutline; local 167 if (outline.getShouldClip()) { 168 if (outline.isEmpty()) { 169 ALOGD("%*s(Clip to empty outline)", level * 2, ""); 170 } else if (outline.willClip()) { 171 ALOGD("%*s(Clip to outline with bounds %.2f %.2f %.2f %.2f)", level * 2, "", 172 RECT_ARGS(outline.getBounds()));
|
H A D | CanvasState.cpp | 224 void CanvasState::setClippingOutline(LinearAllocator& allocator, const Outline* outline) { argument 227 if (!outline->getAsRoundRect(&bounds, &radius)) return; // only RR supported
|
H A D | RenderNode.h | 215 const Outline& outline = properties().getOutline(); local 218 || (outline.getShouldClip() && outline.isEmpty())
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | AnimateableViewBounds.java | 27 /* An outline provider that has a clip and outline that can be animated. */ 59 public void getOutline(View view, Outline outline) { argument 60 outline.setAlpha(Utilities.mapRange(mAlpha, MIN_ALPHA, MAX_ALPHA)); 62 outline.setRoundRect(mClipRect.left, mClipRect.top, 67 outline.setRect(mClipRect.left, mClipRect.top, 74 * Sets the view outline alpha. 85 * @return the outline alpha.
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ColorDrawable.java | 226 public void getOutline(@NonNull Outline outline) { argument 227 outline.setRect(getBounds()); 228 outline.setAlpha(getAlpha() / 255.0f);
|
H A D | InsetDrawable.java | 242 public void getOutline(@NonNull Outline outline) { argument 243 getDrawable().getOutline(outline);
|
H A D | DrawableWrapper.java | 363 public void getOutline(@NonNull Outline outline) { argument 365 mDrawable.getOutline(outline); 367 super.getOutline(outline);
|
H A D | NinePatchDrawable.java | 279 public void getOutline(@NonNull Outline outline) { argument 289 outline.setRoundRect(bounds.left + mOutlineInsets.left, 294 outline.setAlpha(insets.outlineAlpha * (getAlpha() / 255.0f)); 299 super.getOutline(outline);
|
H A D | ShapeDrawable.java | 481 public void getOutline(Outline outline) { argument 483 mShapeState.mShape.getOutline(outline); 484 outline.setAlpha(getAlpha() / 255.0f);
|
H A D | BitmapDrawable.java | 607 public void getOutline(@NonNull Outline outline) { argument 609 outline.setRect(mDstRect); 615 outline.setAlpha(opaqueOverShape ? getAlpha() / 255.0f : 0.0f);
|
/frameworks/support/v7/cardview/api21/android/support/v7/widget/ |
H A D | RoundRectDrawable.java | 37 * reports proper outline for Lollipop. 126 public void getOutline(Outline outline) { argument 127 outline.setRoundRect(mBoundsI, mRadius);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarContainer.java | 385 public void getOutline(@NonNull Outline outline) { argument 388 mSplitBackground.getOutline(outline); 393 mBackground.getOutline(outline);
|