/frameworks/support/design/lollipop/android/support/design/widget/ |
H A D | CircularBorderDrawableLollipop.java | 29 public void getOutline(Outline outline) { argument 31 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/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionBarBackgroundDrawableV21.java | 31 public void getOutline(@NonNull Outline outline) { argument 34 mContainer.mSplitBackground.getOutline(outline); 39 mContainer.mBackground.getOutline(outline);
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | OvalShape.java | 41 public void getOutline(Outline outline) { argument 43 outline.setOval((int) Math.ceil(rect.left), (int) Math.ceil(rect.top),
|
H A D | RectShape.java | 42 public void getOutline(Outline outline) { argument 44 outline.setRect((int) Math.ceil(rect.left), (int) Math.ceil(rect.top),
|
H A D | ArcShape.java | 68 public void getOutline(Outline outline) { argument 70 // to provide an outline.
|
H A D | Shape.java | 106 * parameter. The default implementation does nothing and {@code outline} 109 * @param outline the Outline to be populated with the result. Must be 112 public void getOutline(@NonNull Outline outline) {} argument
|
H A D | RoundRectShape.java | 85 public void getOutline(Outline outline) { argument 86 if (mInnerRect != null) return; // have a hole, can't produce valid outline 94 outline.setConvexPath(mPath); 101 outline.setRoundRect((int) Math.ceil(rect.left), (int) Math.ceil(rect.top),
|
/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/core-utils/api21/android/support/v4/graphics/drawable/ |
H A D | RoundedBitmapDrawable21.java | 34 public void getOutline(Outline outline) { argument 36 outline.setRoundRect(mDstRect, getCornerRadius());
|
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/widget/ |
H A D | RoundedRectHelperApi21.java | 37 public void getOutline(View view, Outline outline) { argument 38 outline.setRoundRect(0, 0, view.getWidth(), view.getHeight(), mRadius); 39 outline.setAlpha(1f);
|
/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 | 176 auto& outline = mPrimitiveFields.mOutline; local 177 if (outline.getShouldClip()) { 178 if (outline.isEmpty()) { 179 output << indent << "(Clip to empty outline)"; 180 } else if (outline.willClip()) { 181 const Rect& bounds = outline.getBounds(); 182 output << indent << "(Clip to outline with bounds "
|
H A D | CanvasState.cpp | 215 void CanvasState::setClippingOutline(LinearAllocator& allocator, const Outline* outline) { argument 218 if (!outline->getAsRoundRect(&bounds, &radius)) return; // only RR supported
|
H A D | RenderNode.cpp | 136 const Outline& outline = properties().getOutline(); local 137 if (outline.getType() != Outline::Type::None) { 140 if (outline.getType() == Outline::Type::Empty) { 142 } else if (outline.getType() == Outline::Type::ConvexPath) { 144 if (const SkPath* path = outline.getPath()) { 147 } else if (outline.getType() == Outline::Type::RoundRect) { 150 ALOGW("Uknown outline type! %d", static_cast<int>(outline.getType())); 153 poutline->set_should_clip(outline.getShouldClip()); 154 poutline->set_alpha(outline [all...] |
/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/tools/aapt2/compile/ |
H A D | Image.h | 145 Bounds outline; member in class:aapt::NinePatch 148 * The computed radius of the outline. If non-zero, the outline is a 154 * The largest alpha value within the outline. 181 * Optical layout bounds and round rect outline data must be serialized 193 * Serializes the rounded-rect outline.
|
/frameworks/support/compat/api21/android/support/v4/graphics/drawable/ |
H A D | DrawableWrapperApi21.java | 55 public void getOutline(Outline outline) { argument 56 mDrawable.getOutline(outline);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ColorDrawable.java | 253 public void getOutline(@NonNull Outline outline) { argument 254 outline.setRect(getBounds()); 255 outline.setAlpha(getAlpha() / 255.0f);
|
H A D | InsetDrawable.java | 305 public void getOutline(@NonNull Outline outline) { argument 306 getDrawable().getOutline(outline);
|
H A D | DrawableWrapper.java | 368 public void getOutline(@NonNull Outline outline) { argument 370 mDrawable.getOutline(outline); 372 super.getOutline(outline);
|
H A D | NinePatchDrawable.java | 278 public void getOutline(@NonNull Outline outline) { argument 288 outline.setRoundRect(bounds.left + mOutlineInsets.left, 293 outline.setAlpha(insets.outlineAlpha * (getAlpha() / 255.0f)); 298 super.getOutline(outline);
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | RenderNodeDrawable.cpp | 61 static void clipOutline(const Outline& outline, SkCanvas* canvas, const SkRect* pendingClip) { argument 66 * rounded rectangles; passing in a more complicated outline fails silently. 68 if (!outline.getAsRoundRect(&possibleRect, &radius)) { 120 //pass this outline to the children that may clip backward projected nodes
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
H A D | RoundRectDrawable.java | 38 * reports proper outline for Lollipop. 128 public void getOutline(Outline outline) { argument 129 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);
|