/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | FakeShadowDrawable.java | 189 final float inset = mCornerRadius + mInsetShadow + mRawShadowSize / 2; in drawShadow() local 190 final boolean drawHorizontalEdges = mCardBounds.width() - 2 * inset > 0; in drawShadow() 191 final boolean drawVerticalEdges = mCardBounds.height() - 2 * inset > 0; in drawShadow() 194 canvas.translate(mCardBounds.left + inset, mCardBounds.top + inset); in drawShadow() 198 mCardBounds.width() - 2 * inset, -mCornerRadius, in drawShadow() 204 canvas.translate(mCardBounds.right - inset, mCardBounds.bottom - inset); in drawShadow() 209 mCardBounds.width() - 2 * inset, -mCornerRadius + mShadowSize, in drawShadow() 215 canvas.translate(mCardBounds.left + inset, mCardBounds.bottom - inset); in drawShadow() 220 mCardBounds.height() - 2 * inset, -mCornerRadius, mEdgeShadowPaint); in drawShadow() 225 canvas.translate(mCardBounds.right - inset, mCardBounds.top + inset); in drawShadow() [all …]
|
D | FreeformWorkspaceLayoutAlgorithm.java | 132 rect.inset(mTaskPadding, mTaskPadding); in update()
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
D | RoundRectDrawableWithShadow.java | 249 final float inset = mCornerRadius + mInsetShadow + mRawShadowSize / 2; in drawShadow() local 250 final boolean drawHorizontalEdges = mCardBounds.width() - 2 * inset > 0; in drawShadow() 251 final boolean drawVerticalEdges = mCardBounds.height() - 2 * inset > 0; in drawShadow() 254 canvas.translate(mCardBounds.left + inset, mCardBounds.top + inset); in drawShadow() 258 mCardBounds.width() - 2 * inset, -mCornerRadius, in drawShadow() 264 canvas.translate(mCardBounds.right - inset, mCardBounds.bottom - inset); in drawShadow() 269 mCardBounds.width() - 2 * inset, -mCornerRadius + mShadowSize, in drawShadow() 275 canvas.translate(mCardBounds.left + inset, mCardBounds.bottom - inset); in drawShadow() 280 mCardBounds.height() - 2 * inset, -mCornerRadius, mEdgeShadowPaint); in drawShadow() 285 canvas.translate(mCardBounds.right - inset, mCardBounds.top + inset); in drawShadow() [all …]
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | InsetDrawable.java | 75 public InsetDrawable(@Nullable Drawable drawable, int inset) { in InsetDrawable() argument 76 this(drawable, inset, inset, inset, inset); in InsetDrawable() 85 public InsetDrawable(@Nullable Drawable drawable, float inset) { in InsetDrawable() argument 86 this(drawable, inset, inset, inset, inset); in InsetDrawable() 191 final InsetValue inset = getInset(a, R.styleable.InsetDrawable_inset, new InsetValue()); in updateStateFromTypedArray() local 192 state.mInsetLeft = inset; in updateStateFromTypedArray() 193 state.mInsetTop = inset; in updateStateFromTypedArray() 194 state.mInsetRight = inset; in updateStateFromTypedArray() 195 state.mInsetBottom = inset; in updateStateFromTypedArray()
|
D | GradientDrawable.java | 845 innerBounds.inset(x - radius, y - radius); 848 bounds.inset(-thickness, -thickness); 1087 float inset = 0; 1090 inset = mStrokePaint.getStrokeWidth() * 0.5f; 1095 mRect.set(bounds.left + inset, bounds.top + inset, 1096 bounds.right - inset, bounds.bottom - inset);
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
D | RoundRectShape.java | 61 public RoundRectShape(@Nullable float[] outerRadii, @Nullable RectF inset, in RoundRectShape() argument 70 mInset = inset; in RoundRectShape() 73 if (inset != null) { in RoundRectShape()
|
/frameworks/base/core/java/android/gesture/ |
D | Gesture.java | 220 public Bitmap toBitmap(int width, int height, int inset, int color) { in toBitmap() argument 238 final float sx = (width - 2 * inset) / bounds.width(); in toBitmap() 239 final float sy = (height - 2 * inset) / bounds.height(); in toBitmap() 246 canvas.translate(inset, inset); in toBitmap()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
D | GlifListLayout.java | 125 public void setDividerInset(int inset) { in setDividerInset() argument 126 mListMixin.setDividerInset(inset); in setDividerInset()
|
D | SetupWizardListLayout.java | 117 public void setDividerInset(int inset) { in setDividerInset() argument 118 mListMixin.setDividerInset(inset); in setDividerInset()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | CoordinatorLayout.java | 879 final int inset = mLastInsets != null ? mLastInsets.getSystemWindowInsetTop() : 0; in onDraw() local 880 if (inset > 0) { in onDraw() 881 mStatusBarBackground.setBounds(0, 0, getWidth(), inset); in onDraw() 1251 final Rect inset = acquireTempRect(); in onChildViewsChanged() local 1281 inset.top = Math.max(inset.top, drawRect.bottom); in onChildViewsChanged() 1284 inset.bottom = Math.max(inset.bottom, getHeight() - drawRect.top); in onChildViewsChanged() 1289 inset.left = Math.max(inset.left, drawRect.right); in onChildViewsChanged() 1292 inset.right = Math.max(inset.right, getWidth() - drawRect.left); in onChildViewsChanged() 1299 offsetChildByInset(child, inset, layoutDirection); in onChildViewsChanged() 1348 releaseTempRect(inset); in onChildViewsChanged() [all …]
|
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/ |
D | SetupWizardRecyclerLayout.java | 151 public void setDividerInset(int inset) { in setDividerInset() argument 152 mRecyclerMixin.setDividerInset(inset); in setDividerInset()
|
D | GlifRecyclerLayout.java | 152 public void setDividerInset(int inset) { in setDividerInset() argument 153 mRecyclerMixin.setDividerInset(inset); in setDividerInset()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
D | ListMixin.java | 146 public void setDividerInset(int inset) { in setDividerInset() argument 147 mDividerInset = inset; in setDividerInset()
|
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/template/ |
D | RecyclerMixin.java | 184 public void setDividerInset(int inset) { in setDividerInset() argument 185 mDividerInset = inset; in setDividerInset()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Rect.java | 327 public void inset(int dx, int dy) { in inset() method in Rect 340 public void inset(Rect insets) { in inset() method in Rect 355 public void inset(int left, int top, int right, int bottom) { in inset() method in Rect
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | StackWindowController.java | 294 stableBounds.inset(mTmpStableInsets); in adjustConfigurationForBounds() 295 nonDecorBounds.inset(mTmpNonDecorInsets); in adjustConfigurationForBounds() 347 inOutBounds.inset(leftInset, topInset, rightInset, bottomInset); in intersectDisplayBoundsExcludeInsets()
|
/frameworks/base/core/java/android/view/ |
D | TouchDelegate.java | 92 mSlopBounds.inset(-mSlop, -mSlop); in TouchDelegate()
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | NotificationCompatImplBase.java | 418 int inset = (size - iconSize) / 2; in createIconWithBackground() local 419 icon.setBounds(inset, inset, iconSize + inset, iconSize + inset); in createIconWithBackground()
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | MaterialProgressDrawable.java | 531 arcBounds.inset(mStrokeInset, mStrokeInset); in draw() 561 float inset = (int) mStrokeInset / 2 * mArrowScale; in drawTriangle() local 573 mArrow.offset(x - inset, y); in drawTriangle()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
D | MLand.java | 754 final int inset = (PARAMS.OBSTACLE_WIDTH - PARAMS.OBSTACLE_STEM_WIDTH) / 2; 763 s1.setTranslationX(mWidth+inset); 783 .translationY(s1.h-inset) 798 s2.setTranslationX(mWidth+inset); 1107 final int inset = (PARAMS.PLAYER_SIZE - PARAMS.PLAYER_HIT_SIZE)/2; 1111 corners[i*2] = scale * sHull[i*2] + inset; 1112 corners[i*2+1] = scale * sHull[i*2+1] + inset;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | AppBoundsTests.java | 109 insetBounds.inset(5, 5, 5, 5); in testContainedBounds()
|
/frameworks/support/wear/src/android/support/wear/widget/ |
D | ProgressDrawable.java | 128 mInnerCircleBounds.inset(mCircleBorderWidth / 2.0f, mCircleBorderWidth / 2.0f); in draw()
|
/frameworks/base/core/java/android/view/animation/ |
D | Animation.java | 1031 invalidate.inset(-1.0f, -1.0f); in getInvalidateRegion() 1057 region.inset(-1.0f, -1.0f); in initializeInvalidateRegion()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | ViewGroup_Delegate.java | 82 newBounds.inset((int)-elevation, (int)-elevation); in drawShadow()
|
/frameworks/base/libs/hwui/ |
D | Snapshot.cpp | 154 state->innerRect.inset(radius); in setClippingRoundRect()
|