/frameworks/base/libs/hwui/protos/ |
H A D | hwui.proto | 54 optional Outline outline = 23;
|
/frameworks/support/compat/java/android/support/v4/graphics/drawable/ |
H A D | DrawableWrapperApi21.java | 66 public void getOutline(Outline outline) { argument 67 mDrawable.getOutline(outline);
|
/frameworks/base/libs/hwui/ |
H A D | SpotShadow.h | 37 static float projectCasterToOutline(Vector2& outline,
|
H A D | RenderNode.h | 198 const Outline& outline = properties().getOutline(); local 201 || (outline.getShouldClip() && outline.isEmpty())
|
H A D | CanvasState.h | 129 * Sets a "clipping outline", which is independent from the regular clip. 131 * more complicated outline fails silently. Replaces any previous clipping 132 * outline. 134 void setClippingOutline(LinearAllocator& allocator, const Outline* outline);
|
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
|
/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 | DrawableWrapper.java | 368 public void getOutline(@NonNull Outline outline) { argument 370 mDrawable.getOutline(outline); 372 super.getOutline(outline);
|
H A D | ShapeDrawable.java | 502 public void getOutline(Outline outline) { argument 504 mShapeState.mShape.getOutline(outline); 505 outline.setAlpha(getAlpha() / 255.0f);
|
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);
|
H A D | Drawable.java | 1098 * the outline of the View. 1100 * The default behavior defines the outline to be the bounding rectangle of 0 alpha. 1105 public void getOutline(@NonNull Outline outline) { argument 1106 outline.setRect(getBounds()); 1107 outline.setAlpha(0);
|
H A D | RippleDrawable.java | 667 * Populates <code>outline</code> with the first available layer outline, 670 * @param outline Outline in which to place the first available layer outline 673 public void getOutline(@NonNull Outline outline) { argument 679 children[i].mDrawable.getOutline(outline); 680 if (!outline.isEmpty()) return;
|
H A D | InsetDrawable.java | 305 public void getOutline(@NonNull Outline outline) { argument 306 getDrawable().getOutline(outline);
|
H A D | GradientDrawable.java | 1710 public void getOutline(Outline outline) { argument 1718 outline.setAlpha(useFillOpacity 1726 outline.setConvexPath(mPath); 1736 outline.setRoundRect(bounds, rad); 1739 outline.setOval(bounds); 1742 // Hairlines (0-width stroke) must have a non-empty outline for 1750 outline.setRect(bounds.left, top, bounds.right, bottom);
|
/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.
|
H A D | NinePatch_test.cpp | 304 EXPECT_EQ(Bounds(2, 2, 2, 2), nine_patch->outline); 314 EXPECT_EQ(Bounds(3, 3, 3, 3), nine_patch->outline); 326 // middle for each inset. If the outline is shifted, the search may not find a 329 // EXPECT_EQ(Bounds(5, 3, 3, 3), ninePatch->outline); 332 EXPECT_EQ(Bounds(4, 3, 3, 3), nine_patch->outline); 343 EXPECT_EQ(Bounds(0, 0, 0, 0), nine_patch->outline);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | PlatLogoActivity.java | 92 public void getOutline(View view, Outline outline) { 95 outline.setOval((int)(w*.125), (int)(h*.125), (int)(w*.96), (int)(h*.96));
|
/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/android/view/ |
H A D | NotificationHeaderView.java | 67 public void getOutline(View view, Outline outline) { 69 outline.setRect(0, 0, getWidth(), mHeaderBackgroundHeight); 70 outline.setAlpha(1f);
|
/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);
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
H A D | AdaptiveIconDrawableTest.java | 169 Outline outline = new Outline(); 170 mIconDrawable.getOutline(outline); 171 assertTrue("outline path should be convex", outline.mPath.isConvex());
|
/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/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskView.java | 212 /* Create an outline provider to clip and outline the view */ 232 public void getOutline(View view, Outline outline) { 233 // Set the outline to match the FAB background 234 outline.setOval(0, 0, mActionButtonView.getWidth(), mActionButtonView.getHeight()); 235 outline.setAlpha(0.35f);
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
H A D | ListenerBindingObject.java | 211 public void getOutline(View view, Outline outline) { } argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
H A D | MLand.java | 1096 public void getOutline(View view, Outline outline) { 1101 outline.setRect(ix, iy, w - ix, h - iy); 1256 public void getOutline(View view, Outline outline) { 1258 outline.setOval(pad, pad, getWidth()-pad, getHeight()-pad); 1340 public void getOutline(View view, Outline outline) { 1341 outline.setRect(0, 0, getWidth(), getHeight());
|