Searched defs:inset (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DRoundRectShape.java26 * Creates a rounded-corner rectangle. Optionally, an inset (rounded) rectangle
49 * @param inset A RectF that specifies the distance from the inner
57 * If inset parameter is null, this parameter is ignored.
59 public RoundRectShape(float[] outerRadii, RectF inset, argument
68 mInset = inset;
71 if (inset != null) {
/frameworks/base/core/java/android/gesture/
H A DGesture.java216 * @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/base/graphics/java/android/graphics/
H A DRect.java316 public void inset(int dx, int dy) { method in class:Rect
H A DRectF.java268 public void inset(float dx, float dy) { method in class:RectF
/frameworks/base/libs/hwui/
H A DRect.h178 void inset(float delta) { function in class:android::uirenderer::Rect
210 * inset the bounds first by the fudge factor. Very small fraction-of-a-pixel errors
211 * from this inset will only incur similarly small errors in output, due to transparency
/frameworks/base/graphics/java/android/graphics/drawable/
H A DInsetDrawable.java49 * <p>It can be defined in an XML file with the <code>&lt;inset></code> element. For more
71 public InsetDrawable(Drawable drawable, int inset) { argument
72 this(drawable, inset, inset, inset, inset);
116 + ": <inset> tag requires a 'drawable' attribute or "
130 + ": <inset> tag requires a 'drawable' attribute or "
156 final int inset = a.getDimensionPixelOffset(attr, Integer.MIN_VALUE);
157 if (inset !
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowState.java1325 private static void applyInsets(Region outRegion, Rect frame, Rect inset) { argument
1327 frame.left + inset.left, frame.top + inset.top,
1328 frame.right - inset.right, frame.bottom - inset.bottom);
/frameworks/base/tools/aapt/
H A DImages.cpp414 int inset = 0; local
416 for (int x = startX, y = startY; x != endX && y != endY; x += dX, y += dY, inset++) {
421 *out_inset = inset;
488 /* Determine source radius based upon inset:
1179 // optional optical inset / layout bounds data

Completed in 154 milliseconds