/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/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/main/src/com/android/setupwizardlib/ |
H A D | GlifListLayout.java | 119 public void setDividerInset(int inset) { argument 120 mListMixin.setDividerInset(inset); 124 * Sets the start inset of the divider. This will use the default divider drawable set in the 127 * @param start The number of pixels to inset on the "start" side of the list divider. Typically 130 * @param end The number of pixels to inset on the "end" side of the list divider.
|
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 119 public void setDividerInset(int inset) { argument 120 mListMixin.setDividerInset(inset); 124 * Sets the start inset of the divider. This will use the default divider drawable set in the 127 * @param start The number of pixels to inset on the "start" side of the list divider. Typically 130 * @param end The number of pixels to inset o [all...] |
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
H A D | ListMixin.java | 152 public void setDividerInset(int inset) { argument 153 setDividerInsets(inset, 0); 157 * Sets the start inset of the divider. This will use the default divider drawable set in the 160 * @param start The number of pixels to inset on the "start" side of the list divider. Typically 163 * @param end The number of pixels to inset on the "end" side of the list divider. 172 * @return The number of pixels inset on the start side of the divider. 181 * @return The number of pixels inset on the start side of the divider. 188 * @return The number of pixels inset on the end side of the divider.
|
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/ |
H A D | GlifRecyclerLayout.java | 153 public void setDividerInset(int inset) { argument 154 mRecyclerMixin.setDividerInset(inset);
|
H A D | SetupWizardRecyclerLayout.java | 145 public void setDividerInset(int inset) { argument 146 mRecyclerMixin.setDividerInset(inset); 150 * Sets the start inset of the divider. This will use the default divider drawable set in the 153 * @param start The number of pixels to inset on the "start" side of the list divider. Typically 156 * @param end The number of pixels to inset on the "end" side of the list divider.
|
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/template/ |
H A D | RecyclerMixin.java | 191 public void setDividerInset(int inset) { argument 192 setDividerInsets(inset, 0); 196 * Sets the start inset of the divider. This will use the default divider drawable set in the 199 * @param start The number of pixels to inset on the "start" side of the list divider. Typically 202 * @param end The number of pixels to inset on the "end" side of the list divider. 211 * @return The number of pixels inset on the start side of the divider. 220 * @return The number of pixels inset on the start side of the divider. 227 * @return The number of pixels inset on the end side of the divider.
|
/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 884 final int inset = mLastInsets != null ? mLastInsets.getSystemWindowInsetTop() : 0; 885 if (inset > 0) { 886 mStatusBarBackground.setBounds(0, 0, getWidth(), inset); 1256 final Rect inset = acquireTempRect(); 1280 // Accumulate inset sizes 1286 inset.top = Math.max(inset.top, drawRect.bottom); 1289 inset.bottom = Math.max(inset 1358 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 | 272 * these in the bounds animation to ensure we only observe inset changes 754 frame.inset(left, top, right, bottom); 775 // If the task has temp inset bounds set, we have to make sure all its windows uses 776 // the temp inset frame. Otherwise different display frames get applied to the main 1163 // We update mLastFrame always rather than in the conditional with the last inset 2268 mTmpRect.inset(-delta, -delta); 3051 private static void applyInsets(Region outRegion, Rect frame, Rect inset) { argument 3053 frame.left + inset.left, frame.top + inset.top, 3054 frame.right - inset [all...] |