/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 | DrawableWrapper.java | 363 public void getOutline(@NonNull Outline outline) { argument 365 mDrawable.getOutline(outline); 367 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 | 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 | InsetDrawable.java | 242 public void getOutline(@NonNull Outline outline) { argument 243 getDrawable().getOutline(outline);
|
H A D | Drawable.java | 1055 * the outline of the View. 1057 * The default behavior defines the outline to be the bounding rectangle of 0 alpha. 1062 public void getOutline(@NonNull Outline outline) { argument 1063 outline.setRect(getBounds()); 1064 outline.setAlpha(0);
|
H A D | RippleDrawable.java | 661 * Populates <code>outline</code> with the first available layer outline, 664 * @param outline Outline in which to place the first available layer outline 667 public void getOutline(@NonNull Outline outline) { argument 673 children[i].mDrawable.getOutline(outline); 674 if (!outline.isEmpty()) return;
|
H A D | GradientDrawable.java | 1672 public void getOutline(Outline outline) { argument 1680 outline.setAlpha(useFillOpacity 1688 outline.setConvexPath(mPath); 1698 outline.setRoundRect(bounds, rad); 1701 outline.setOval(bounds); 1704 // Hairlines (0-width stroke) must have a non-empty outline for 1712 outline.setRect(bounds.left, top, bounds.right, bottom);
|
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);
|
H A D | AnimatedVectorDrawable.java | 347 public void getOutline(@NonNull Outline outline) { argument 348 mAnimatedVectorState.mVectorDrawable.getOutline(outline);
|
H A D | DrawableContainer.java | 138 public void getOutline(@NonNull Outline outline) { argument 140 mCurrDrawable.getOutline(outline);
|
/frameworks/base/libs/hwui/ |
H A D | RenderNode.h | 215 const Outline& outline = properties().getOutline(); local 218 || (outline.getShouldClip() && outline.isEmpty())
|
H A D | RenderNode.cpp | 176 const Outline& outline = properties().getOutline(); local 177 if (outline.getType() != Outline::Type::None) { 180 if (outline.getType() == Outline::Type::Empty) { 182 } else if (outline.getType() == Outline::Type::ConvexPath) { 184 if (const SkPath* path = outline.getPath()) { 187 } else if (outline.getType() == Outline::Type::RoundRect) { 190 ALOGW("Uknown outline type! %d", static_cast<int>(outline.getType())); 193 poutline->set_should_clip(outline.getShouldClip()); 194 poutline->set_alpha(outline 1050 const Outline& outline = properties().getOutline(); local [all...] |
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 | CanvasState.h | 130 * Sets a "clipping outline", which is independent from the regular clip. 132 * more complicated outline fails silently. Replaces any previous clipping 133 * outline. 135 void setClippingOutline(LinearAllocator& allocator, const Outline* outline);
|
H A D | SpotShadow.cpp | 21 // centroid * (1 - FAKE_UMBRA_SIZE_RATIO) + outline * FAKE_UMBRA_SIZE_RATIO 70 * as one of the outline vertex. 71 * For each outline vertex, we need to store the position and normal. 356 * From light center, project one vertex to the z=0 surface and get the outline. 358 * @param outline The result which is the outline position. 364 float SpotShadow::projectCasterToOutline(Vector2& outline, argument 374 outline.x = polyVertex.x - ratioZ * (lightCenter.x - polyVertex.x); 375 outline.y = polyVertex.y - ratioZ * (lightCenter.y - polyVertex.y); 405 // Calculate the projected outline fo [all...] |
H A D | FrameBuilder.cpp | 209 const Outline& outline = properties.getOutline(); local 211 || (outline.getShouldClip() && outline.isEmpty())
|
/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/android/view/ |
H A D | NotificationHeaderView.java | 60 public void getOutline(View view, Outline outline) { 62 outline.setRect(0, 0, getWidth(), mHeaderBackgroundHeight); 63 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/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskView.java | 222 public void getOutline(View view, Outline outline) { 223 // Set the outline to match the FAB background 224 outline.setOval(0, 0, mActionButtonView.getWidth(), mActionButtonView.getHeight()); 225 outline.setAlpha(0.35f);
|
H A D | RecentsView.java | 157 public void getOutline(View view, Outline outline) { 158 outline.setRoundRect(0, 0, view.getWidth(), view.getHeight(), cornerRadius);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/views/ |
H A D | TaskCardView.java | 304 public void getOutline(View view, Outline outline) { 305 outline.setRoundRect(0, 0, view.getWidth(), view.getHeight(), mCornerRadius);
|
/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());
|