Searched defs:outline (Results 1 - 25 of 39) sorted by relevance

12

/frameworks/support/design/lollipop/android/support/design/widget/
H A DCircularBorderDrawableLollipop.java29 public void getOutline(Outline outline) { argument
31 outline.setOval(mRect);
/frameworks/base/core/java/android/view/
H A DViewOutlineProvider.java27 * 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 DActionBarBackgroundDrawableV21.java31 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 DOvalShape.java41 public void getOutline(Outline outline) { argument
43 outline.setOval((int) Math.ceil(rect.left), (int) Math.ceil(rect.top),
H A DRectShape.java42 public void getOutline(Outline outline) { argument
44 outline.setRect((int) Math.ceil(rect.left), (int) Math.ceil(rect.top),
H A DArcShape.java68 public void getOutline(Outline outline) { argument
70 // to provide an outline.
H A DShape.java106 * 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 DRoundRectShape.java85 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 DViewGroup_Delegate.java50 // 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 DRoundedBitmapDrawable21.java34 public void getOutline(Outline outline) { argument
36 outline.setRoundRect(mDstRect, getCornerRadius());
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/widget/
H A DRoundedRectHelperApi21.java37 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 DOutline.h58 // 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 DRenderProperties.cpp176 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 DCanvasState.cpp215 void CanvasState::setClippingOutline(LinearAllocator& allocator, const Outline* outline) { argument
218 if (!outline->getAsRoundRect(&bounds, &radius)) return; // only RR supported
H A DRenderNode.cpp136 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 DAnimateableViewBounds.java27 /* 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 DImage.h145 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 DDrawableWrapperApi21.java55 public void getOutline(Outline outline) { argument
56 mDrawable.getOutline(outline);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DColorDrawable.java253 public void getOutline(@NonNull Outline outline) { argument
254 outline.setRect(getBounds());
255 outline.setAlpha(getAlpha() / 255.0f);
H A DInsetDrawable.java305 public void getOutline(@NonNull Outline outline) { argument
306 getDrawable().getOutline(outline);
H A DDrawableWrapper.java368 public void getOutline(@NonNull Outline outline) { argument
370 mDrawable.getOutline(outline);
372 super.getOutline(outline);
H A DNinePatchDrawable.java278 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 DRenderNodeDrawable.cpp61 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 DRoundRectDrawable.java38 * 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 DActionBarContainer.java385 public void getOutline(@NonNull Outline outline) { argument
388 mSplitBackground.getOutline(outline);
393 mBackground.getOutline(outline);

Completed in 570 milliseconds

12