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

/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DRoundRectShape.java25 * Creates a rounded-corner rectangle. Optionally, an inset (rounded) rectangle
48 * @param inset A RectF that specifies the distance from the inner
56 * If inset parameter is null, this parameter is ignored.
58 public RoundRectShape(float[] outerRadii, RectF inset, argument
67 mInset = inset;
70 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.java304 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/graphics/java/android/graphics/drawable/
H A DInsetDrawable.java35 * <p>It can be defined in an XML file with the <code>&lt;inset></code> element. For more
57 public InsetDrawable(Drawable drawable, int inset) { argument
58 this(drawable, inset, inset, inset, inset);
110 + ": <inset> tag requires a 'drawable' attribute or "
117 Log.w("drawable", "No drawable specified for <inset>");
/frameworks/base/services/java/com/android/server/wm/
H A DWindowState.java1082 private static void applyInsets(Region outRegion, Rect frame, Rect inset) { argument
1084 frame.left + inset.left, frame.top + inset.top,
1085 frame.right - inset.right, frame.bottom - inset.bottom);

Completed in 102 milliseconds