Searched refs:nativeInt (Results 1 - 25 of 27) sorted by last modified time

12

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java324 return delegate.mConfig.nativeInt;
524 int nativeInt = sManager.addNewDelegate(delegate);
527 return new Bitmap(nativeInt, null /* buffer */, isMutable, null /*ninePatchChunk*/, density);
H A DCanvas_Delegate.java214 return canvasDelegate.clipRect(left, top, right, bottom, Region.Op.INTERSECT.nativeInt);
595 PorterDuff.Mode.SRC_OVER.nativeInt);
602 PorterDuff.Mode.SRC_OVER.nativeInt);
607 native_drawColor(nativeCanvas, color, PorterDuff.Mode.SRC_OVER.nativeInt);
676 if (style == Paint.Style.FILL.nativeInt ||
677 style == Paint.Style.FILL_AND_STROKE.nativeInt) {
682 if (style == Paint.Style.STROKE.nativeInt ||
683 style == Paint.Style.FILL_AND_STROKE.nativeInt) {
700 if (style == Paint.Style.FILL.nativeInt ||
701 style == Paint.Style.FILL_AND_STROKE.nativeInt) {
[all...]
H A DMatrix_Delegate.java603 if (stf != ScaleToFit.FILL.nativeInt) {
614 if (stf == ScaleToFit.CENTER.nativeInt || stf == ScaleToFit.END.nativeInt) {
623 if (stf == ScaleToFit.CENTER.nativeInt) {
H A DPaint_Delegate.java1131 mStyle = Paint.Style.FILL.nativeInt;
1132 mCap = Paint.Cap.BUTT.nativeInt;
1133 mJoin = Paint.Join.MITER.nativeInt;
H A DPath_Delegate.java151 return pathDelegate.mFillType.nativeInt;
516 if (direction == d.nativeInt) {
H A DPorterDuffXfermode_Delegate.java72 if (m.nativeInt == mode) {
H A DRegion_Delegate.java80 if (regionOp == Region.Op.DIFFERENCE.nativeInt) {
91 } else if (regionOp == Region.Op.INTERSECT.nativeInt) {
102 } else if (regionOp == Region.Op.UNION.nativeInt) {
113 } else if (regionOp == Region.Op.XOR.nativeInt) {
124 } else if (regionOp == Region.Op.REVERSE_DIFFERENCE.nativeInt) {
H A DShader_Delegate.java63 if (tm.nativeInt == tileMode) {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java486 if (regionOp == Region.Op.INTERSECT.nativeInt && mLayers.size() > 0) {
497 if (regionOp == Region.Op.REPLACE.nativeInt) {
/frameworks/base/graphics/java/android/graphics/
H A DAvoidXfermode.java30 Mode(int nativeInt) { argument
31 this.nativeInt = nativeInt;
33 final int nativeInt; field in class:AvoidXfermode.Mode
55 native_instance = nativeCreate(opColor, tolerance, mode.nativeInt);
H A DBitmap.java307 final int nativeInt; field in class:Bitmap.Config
315 this.nativeInt = ni;
403 Bitmap b = nativeCopy(mNativeBitmap, config.nativeInt, isMutable);
605 Bitmap bm = nativeCreate(null, 0, width, width, height, config.nativeInt, true);
653 config.nativeInt, false);
691 CompressFormat(int nativeInt) { argument
692 this.nativeInt = nativeInt;
694 final int nativeInt; field in class:Bitmap.CompressFormat
729 return nativeCompress(mNativeBitmap, format.nativeInt, qualit
[all...]
H A DBitmapFactory.java617 nativeSetDefaultConfig(config.nativeInt);
H A DBitmapShader.java41 native_instance = nativeCreate(b, tileX.nativeInt, tileY.nativeInt);
42 native_shader = nativePostCreate(native_instance, b, tileX.nativeInt, tileY.nativeInt);
H A DCanvas.java536 op.nativeInt);
550 op.nativeInt);
589 op.nativeInt);
632 return native_clipPath(mNativeCanvas, path.ni(), op.nativeInt);
657 return native_clipRegion(mNativeCanvas, region.ni(), op.nativeInt);
691 EdgeType(int nativeInt) { argument
692 this.nativeInt = nativeInt;
698 public final int nativeInt; field in class:Canvas.EdgeType
713 return native_quickReject(mNativeCanvas, rect, type.nativeInt);
1278 VertexMode(int nativeInt) argument
1285 public final int nativeInt; field in class:Canvas.VertexMode
[all...]
H A DComposeShader.java47 shaderB.native_shader, pdMode != null ? pdMode.nativeInt : 0);
65 mode.nativeInt);
67 shaderB.native_shader, mode.nativeInt);
H A DLinearGradient.java39 native_instance = nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt);
41 tile.nativeInt);
55 native_instance = nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt);
57 tile.nativeInt);
H A DMatrix.java516 ScaleToFit(int nativeInt) { argument
517 this.nativeInt = nativeInt;
519 final int nativeInt; field in class:Matrix.ScaleToFit
536 return native_setRectToRect(native_instance, src, dst, stf.nativeInt);
H A DPaint.java250 Style(int nativeInt) { argument
251 this.nativeInt = nativeInt;
253 final int nativeInt; field in class:Paint.Style
276 private Cap(int nativeInt) { argument
277 this.nativeInt = nativeInt;
279 final int nativeInt; field in class:Paint.Cap
300 private Join(int nativeInt) { argument
301 this.nativeInt
303 final int nativeInt; field in class:Paint.Join
324 Align(int nativeInt) argument
327 final int nativeInt; field in class:Paint.Align
[all...]
H A DPath.java112 nativeInt = ni;
114 final int nativeInt; field in class:Path.FillType
141 native_setFillType(mNativePath, ft.nativeInt);
379 nativeInt = ni;
381 final int nativeInt; field in class:Path.Direction
409 native_addRect(mNativePath, rect, dir.nativeInt);
423 native_addRect(mNativePath, left, top, right, bottom, dir.nativeInt);
437 native_addOval(mNativePath, oval, dir.nativeInt);
450 native_addCircle(mNativePath, x, y, radius, dir.nativeInt);
481 native_addRoundRect(mNativePath, rect, rx, ry, dir.nativeInt);
[all...]
H A DPorterDuff.java61 Mode(int nativeInt) { argument
62 this.nativeInt = nativeInt;
68 public final int nativeInt; field in class:PorterDuff.Mode
H A DPorterDuffColorFilter.java28 native_instance = native_CreatePorterDuffFilter(srcColor, mode.nativeInt);
29 nativeColorFilter = nCreatePorterDuffFilter(native_instance, srcColor, mode.nativeInt);
H A DPorterDuffXfermode.java32 native_instance = nativeCreateXfermode(mode.nativeInt);
H A DRadialGradient.java42 native_instance = nativeCreate1(x, y, radius, colors, positions, tile.nativeInt);
44 tile.nativeInt);
60 native_instance = nativeCreate2(x, y, radius, color0, color1, tile.nativeInt);
62 tile.nativeInt);
H A DRegion.java37 Op(int nativeInt) { argument
38 this.nativeInt = nativeInt;
44 public final int nativeInt; field in class:Region.Op
252 op.nativeInt);
261 op.nativeInt);
278 op.nativeInt);
287 region2.mNativeRegion, op.nativeInt);
H A DShader.java55 TileMode(int nativeInt) { argument
56 this.nativeInt = nativeInt;
58 final int nativeInt; field in class:Shader.TileMode

Completed in 211 milliseconds

12