Searched defs:inset (Results 1 - 9 of 9) 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.java317 public void inset(int dx, int dy) { method in class:Rect
H A DRectF.java267 public void inset(float dx, float dy) { method in class:RectF
/frameworks/base/graphics/java/android/graphics/drawable/
H A DInsetDrawable.java41 * <p>It can be defined in an XML file with the <code>&lt;inset></code> element. For more
65 * Creates a new inset drawable with the specified inset.
67 * @param drawable The drawable to inset.
68 * @param inset Inset in pixels around the drawable.
70 public InsetDrawable(Drawable drawable, int inset) { argument
71 this(drawable, inset, inset, inset, inset);
[all...]
/frameworks/base/libs/hwui/
H A DRect.h183 void inset(float delta) { function in class:android::uirenderer::Rect
215 * inset the bounds first by the fudge factor. Very small fraction-of-a-pixel errors
216 * from this inset will only incur similarly small errors in output, due to transparency
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowState.java1428 private static void applyInsets(Region outRegion, Rect frame, Rect inset) { argument
1430 frame.left + inset.left, frame.top + inset.top,
1431 frame.right - inset.right, frame.bottom - inset.bottom);
/frameworks/base/tools/aapt/
H A DImages.cpp416 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:
1173 // optional optical inset / layout bounds data
/frameworks/base/tools/aapt2/
H A DPng.cpp533 // optional optical inset / layout bounds data
821 int inset = 0; local
823 for (int x = startX, y = startY; x != endX && y != endY; x += dX, y += dY, inset++) {
828 *outInset = inset;
895 /* Determine source radius based upon inset:

Completed in 227 milliseconds