Home
last modified time | relevance | path

Searched refs:nativeInt (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DPorterDuff.java61 Mode(int nativeInt) { in Mode() argument
62 this.nativeInt = nativeInt; in Mode()
68 public final int nativeInt; field in PorterDuff.Mode
75 return mode.nativeInt; in modeToInt()
DAvoidXfermode.java33 Mode(int nativeInt) { in Mode() argument
34 this.nativeInt = nativeInt; in Mode()
36 final int nativeInt; field in AvoidXfermode.Mode
DShader.java58 TileMode(int nativeInt) { in TileMode() argument
59 this.nativeInt = nativeInt; in TileMode()
61 final int nativeInt; field in Shader.TileMode
DRegion.java44 Op(int nativeInt) { in Op() argument
45 this.nativeInt = nativeInt; in Op()
51 public final int nativeInt; field in Region.Op
260 op.nativeInt); in op()
269 op.nativeInt); in op()
286 op.nativeInt); in op()
295 region2.mNativeRegion, op.nativeInt); in op()
DPath.java225 nativeInt = ni; in FillType()
228 final int nativeInt; field in Path.FillType
255 native_setFillType(mNativePath, ft.nativeInt); in setFillType()
265 return (ft & FillType.INVERSE_WINDING.nativeInt) != 0; in isInverseFillType()
273 ft ^= FillType.INVERSE_WINDING.nativeInt; in toggleInverseFillType()
509 nativeInt = ni; in Direction()
511 final int nativeInt; field in Path.Direction
547 native_addRect(mNativePath, left, top, right, bottom, dir.nativeInt); in addRect()
567 native_addOval(mNativePath, left, top, right, bottom, dir.nativeInt); in addOval()
580 native_addCircle(mNativePath, x, y, radius, dir.nativeInt); in addCircle()
[all …]
DBitmap.java263 nativeReconfigure(mNativePtr, width, height, config.nativeInt, in reconfigure()
481 final int nativeInt; field in Bitmap.Config
488 this.nativeInt = ni; in Config()
592 Bitmap b = nativeCopy(mNativePtr, config.nativeInt, isMutable); in copy()
624 Bitmap b = nativeCopyAshmemConfig(mNativePtr, config.nativeInt); in createAshmemBitmap()
879 Bitmap bm = nativeCreate(null, 0, width, width, height, config.nativeInt, true); in createBitmap()
953 config.nativeInt, false); in createBitmap()
1036 CompressFormat(int nativeInt) { in CompressFormat() argument
1037 this.nativeInt = nativeInt; in CompressFormat()
1039 final int nativeInt; field in Bitmap.CompressFormat
[all …]
DCanvas.java687 op.nativeInt); in clipRect()
700 op.nativeInt); in clipRect()
712 Region.Op.INTERSECT.nativeInt); in clipRect()
724 Region.Op.INTERSECT.nativeInt); in clipRect()
744 return native_clipRect(mNativeCanvasWrapper, left, top, right, bottom, op.nativeInt); in clipRect()
762 Region.Op.INTERSECT.nativeInt); in clipRect()
780 Region.Op.INTERSECT.nativeInt); in clipRect()
791 return native_clipPath(mNativeCanvasWrapper, path.readOnlyNI(), op.nativeInt); in clipPath()
820 return native_clipRegion(mNativeCanvasWrapper, region.ni(), op.nativeInt); in clipRegion()
866 EdgeType(int nativeInt) { in EdgeType() argument
[all …]
DPaint.java363 Style(int nativeInt) { in Style() argument
364 this.nativeInt = nativeInt; in Style()
366 final int nativeInt; field in Paint.Style
389 private Cap(int nativeInt) { in Cap() argument
390 this.nativeInt = nativeInt; in Cap()
392 final int nativeInt; field in Paint.Cap
413 private Join(int nativeInt) { in Join() argument
414 this.nativeInt = nativeInt; in Join()
416 final int nativeInt; field in Paint.Join
437 private Align(int nativeInt) { in Align() argument
[all …]
DBitmapShader.java47 init(nativeCreate(bitmap, tileX.nativeInt, tileY.nativeInt)); in BitmapShader()
DRadialGradient.java72 init(nativeCreate1(centerX, centerY, radius, colors, stops, tileMode.nativeInt)); in RadialGradient()
95 init(nativeCreate2(centerX, centerY, radius, centerColor, edgeColor, tileMode.nativeInt)); in RadialGradient()
DLinearGradient.java68 init(nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt)); in LinearGradient()
90 init(nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt)); in LinearGradient()
DMatrix.java555 ScaleToFit(int nativeInt) { in ScaleToFit() argument
556 this.nativeInt = nativeInt; in ScaleToFit()
558 final int nativeInt; field in Matrix.ScaleToFit
575 return native_setRectToRect(native_instance, src, dst, stf.nativeInt); in setRectToRect()
DPorterDuffXfermode.java32 native_instance = nativeCreateXfermode(mode.nativeInt); in PorterDuffXfermode()
DPorterDuffColorFilter.java106 native_instance = native_CreatePorterDuffFilter(mColor, mMode.nativeInt); in update()
DComposeShader.java73 mode.nativeInt)); in ComposeShader()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java594 if (style == Paint.Style.FILL.nativeInt || in native_drawRect()
595 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawRect()
600 if (style == Paint.Style.STROKE.nativeInt || in native_drawRect()
601 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawRect()
620 if (style == Paint.Style.FILL.nativeInt || in native_drawOval()
621 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawOval()
626 if (style == Paint.Style.STROKE.nativeInt || in native_drawOval()
627 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawOval()
662 if (style == Paint.Style.FILL.nativeInt || in native_drawArc()
663 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawArc()
[all …]
DRegion_Delegate.java80 if (regionOp == Region.Op.DIFFERENCE.nativeInt) { in combineShapes()
91 } else if (regionOp == Region.Op.INTERSECT.nativeInt) { in combineShapes()
102 } else if (regionOp == Region.Op.UNION.nativeInt) { in combineShapes()
113 } else if (regionOp == Region.Op.XOR.nativeInt) { in combineShapes()
124 } else if (regionOp == Region.Op.REVERSE_DIFFERENCE.nativeInt) { in combineShapes()
DShader_Delegate.java63 if (tm.nativeInt == tileMode) { in getTileMode()
DBitmap_Delegate.java382 return delegate.mConfig.nativeInt; in nativeConfig()
622 long nativeInt = sManager.addNewDelegate(delegate); in createBitmap() local
630 return new Bitmap(nativeInt, null /* buffer */, width, height, density, isMutable, in createBitmap()
DMatrix_Delegate.java548 if (stf != ScaleToFit.FILL.nativeInt) { in native_setRectToRect()
559 if (stf == ScaleToFit.CENTER.nativeInt || stf == ScaleToFit.END.nativeInt) { in native_setRectToRect()
568 if (stf == ScaleToFit.CENTER.nativeInt) { in native_setRectToRect()
DPath_Delegate.java166 return pathDelegate.mFillType.nativeInt; in native_getFillType()
558 if (direction == d.nativeInt) { in getDirection()
DPaint_Delegate.java1234 mStyle = Paint.Style.FILL.nativeInt; in reset()
1235 mCap = Paint.Cap.BUTT.nativeInt; in reset()
1236 mJoin = Paint.Join.MITER.nativeInt; in reset()
/frameworks/base/core/java/android/widget/
DImageView.java746 nativeInt = ni;
748 final int nativeInt;
1007 return sS2FArray[st.nativeInt - 1];
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java488 if (regionOp == Region.Op.INTERSECT.nativeInt && mLayers.size() > 0) { in clip()
499 if (regionOp == Region.Op.REPLACE.nativeInt) { in clip()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java1102 .INTERSECT.nativeInt); in drawPath()