/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | RoundRectShape.java | 27 * Creates a rounded-corner rectangle. Optionally, an inset (rounded) rectangle 51 * @param inset A RectF that specifies the distance from the inner 58 * inset parameter is {@code null}, this parameter is 61 public RoundRectShape(@Nullable float[] outerRadii, @Nullable RectF inset, argument 70 mInset = inset; 73 if (inset != null) {
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
H A D | ListMixin.java | 139 * Sets the start inset of the divider. This will use the default divider drawable set in the 140 * theme and inset it {@code inset} pixels to the right (or left in RTL layouts). 142 * @param inset The number of pixels to inset on the "start" side of the list divider. Typically 146 public void setDividerInset(int inset) { argument 147 mDividerInset = inset; 152 * @return The number of pixels inset on the start side of the divider.
|
/frameworks/base/core/java/android/gesture/ |
H A D | Gesture.java | 216 * @param inset 220 public Bitmap toBitmap(int width, int height, int inset, int color) { argument 238 final float sx = (width - 2 * inset) / bounds.width(); 239 final float sy = (height - 2 * inset) / bounds.height(); 246 canvas.translate(inset, inset);
|
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/ |
H A D | GlifRecyclerLayout.java | 152 public void setDividerInset(int inset) { argument 153 mRecyclerMixin.setDividerInset(inset);
|
H A D | SetupWizardRecyclerLayout.java | 142 * Sets the start inset of the divider. This will use the default divider drawable set in the 143 * theme and inset it {@code inset} pixels to the right (or left in RTL layouts). 145 * @param inset The number of pixels to inset on the "start" side of the list divider. Typically 151 public void setDividerInset(int inset) { argument 152 mRecyclerMixin.setDividerInset(inset);
|
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/template/ |
H A D | RecyclerMixin.java | 177 * Sets the start inset of the divider. This will use the default divider drawable set in the 178 * theme and inset it {@code inset} pixels to the right (or left in RTL layouts). 180 * @param inset The number of pixels to inset on the "start" side of the list divider. Typically 184 public void setDividerInset(int inset) { argument 185 mDividerInset = inset; 190 * @return The number of pixels inset on the start side of the divider.
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
H A D | GlifListLayout.java | 116 * Sets the start inset of the divider. This will use the default divider drawable set in the 117 * theme and inset it {@code inset} pixels to the right (or left in RTL layouts). 119 * @param inset The number of pixels to inset on the "start" side of the list divider. Typically 125 public void setDividerInset(int inset) { argument 126 mListMixin.setDividerInset(inset);
|
H A D | SetupWizardListLayout.java | 108 * Sets the start inset of the divider. This will use the default divider drawable set in the 109 * theme and inset it {@code inset} pixels to the right (or left in RTL layouts). 111 * @param inset The number of pixels to inset on the "start" side of the list divider. Typically 117 public void setDividerInset(int inset) { argument 118 mListMixin.setDividerInset(inset);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Rect.java | 327 public void inset(int dx, int dy) { method in class:Rect 340 public void inset(Rect insets) { method in class:Rect 355 public void inset(int left, int top, int right, int bottom) { method in class:Rect
|
H A D | RectF.java | 267 public void inset(float dx, float dy) { method in class:RectF
|
/frameworks/base/libs/hwui/ |
H A D | Rect.h | 198 void inset(float delta) { function in class:android::uirenderer::Rect 230 * inset the bounds first by the fudge factor. Very small fraction-of-a-pixel errors 231 * from this inset will only incur similarly small errors in output, due to transparency
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | InsetDrawable.java | 45 * <p>It can be defined in an XML file with the <code><inset></code> element. For more 70 * Creates a new inset drawable with the specified inset. 72 * @param drawable The drawable to inset. 73 * @param inset Inset in pixels around the drawable. 75 public InsetDrawable(@Nullable Drawable drawable, int inset) { argument 76 this(drawable, inset, inset, inset, inset); 85 InsetDrawable(@ullable Drawable drawable, float inset) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 416 int inset = 0; local 418 for (int x = startX, y = startY; x != endX && y != endY; x += dX, y += dY, inset++) { 423 *out_inset = inset; 491 /* Determine source radius based upon inset: 1266 // optional optical inset / layout bounds data
|
/frameworks/base/tools/aapt2/compile/ |
H A D | Png.cpp | 558 // optional optical inset / layout bounds data 853 int inset = 0; local 856 x += dX, y += dY, inset++) { 861 *outInset = inset; 931 /* Determine source radius based upon inset:
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CoordinatorLayout.java | 106 * view insets the CoordinatorLayout. Any child views which are set to dodge the same inset edges by 879 final int inset = mLastInsets != null ? mLastInsets.getSystemWindowInsetTop() : 0; 880 if (inset > 0) { 881 mStatusBarBackground.setBounds(0, 0, getWidth(), inset); 1251 final Rect inset = acquireTempRect(); 1275 // Accumulate inset sizes 1281 inset.top = Math.max(inset.top, drawRect.bottom); 1284 inset.bottom = Math.max(inset 1353 offsetChildByInset(final View child, final Rect inset, final int layoutDirection) argument [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowState.java | 267 * these in the bounds animation to ensure we only observe inset changes 705 frame.inset(left, top, right, bottom); 726 // If the task has temp inset bounds set, we have to make sure all its windows uses 727 // the temp inset frame. Otherwise different display frames get applied to the main 1114 // We update mLastFrame always rather than in the conditional with the last inset 2169 mTmpRect.inset(-delta, -delta); 2925 private static void applyInsets(Region outRegion, Rect frame, Rect inset) { argument 2927 frame.left + inset.left, frame.top + inset.top, 2928 frame.right - inset [all...] |