Home
last modified time | relevance | path

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

12

/frameworks/base/graphics/java/android/graphics/
DPorterDuff.java364 Mode(int nativeInt) { in Mode() argument
365 this.nativeInt = nativeInt; in Mode()
372 public final int nativeInt; field in PorterDuff.Mode
379 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
DRegion.java47 Op(int nativeInt) { in Op() argument
48 this.nativeInt = nativeInt; in Op()
55 public final int nativeInt; field in Region.Op
267 op.nativeInt); in op()
276 op.nativeInt); in op()
293 op.nativeInt); in op()
302 region2.mNativeRegion, op.nativeInt); in op()
DPorterDuffColorFilter.java74 return native_CreateBlendModeFilter(mColor, mMode.nativeInt); in createNativeInstance()
86 return (mColor == other.mColor && mMode.nativeInt == other.mMode.nativeInt); in equals()
DShader.java101 TileMode(int nativeInt) { in TileMode() argument
102 this.nativeInt = nativeInt; in TileMode()
105 final int nativeInt; field in Shader.TileMode
DPath.java242 nativeInt = ni; in FillType()
245 final int nativeInt; field in Path.FillType
273 nSetFillType(mNativePath, ft.nativeInt); in setFillType()
283 return (ft & FillType.INVERSE_WINDING.nativeInt) != 0; in isInverseFillType()
291 ft ^= FillType.INVERSE_WINDING.nativeInt; in toggleInverseFillType()
527 nativeInt = ni; in Direction()
529 final int nativeInt; field in Path.Direction
565 nAddRect(mNativePath, left, top, right, bottom, dir.nativeInt); in addRect()
585 nAddOval(mNativePath, left, top, right, bottom, dir.nativeInt); in addOval()
598 nAddCircle(mNativePath, x, y, radius, dir.nativeInt); in addCircle()
[all …]
DCanvas.java878 op.nativeInt); in clipRect()
902 op.nativeInt); in clipRect()
913 Region.Op.UNION.nativeInt); in clipRectUnion()
925 Region.Op.INTERSECT.nativeInt); in clipRect()
937 Region.Op.DIFFERENCE.nativeInt); in clipOutRect()
949 Region.Op.INTERSECT.nativeInt); in clipRect()
961 Region.Op.DIFFERENCE.nativeInt); in clipOutRect()
993 return nClipRect(mNativeCanvasWrapper, left, top, right, bottom, op.nativeInt); in clipRect()
1011 Region.Op.INTERSECT.nativeInt); in clipRect()
1026 Region.Op.DIFFERENCE.nativeInt); in clipOutRect()
[all …]
DBitmapShader.java48 this(bitmap, tileX.nativeInt, tileY.nativeInt); in BitmapShader()
DPaint.java464 Style(int nativeInt) { in Style() argument
465 this.nativeInt = nativeInt; in Style()
467 final int nativeInt; field in Paint.Style
490 private Cap(int nativeInt) { in Cap() argument
491 this.nativeInt = nativeInt; in Cap()
493 final int nativeInt; field in Paint.Cap
514 private Join(int nativeInt) { in Join() argument
515 this.nativeInt = nativeInt; in Join()
517 final int nativeInt; field in Paint.Join
538 private Align(int nativeInt) { in Align() argument
[all …]
DBitmap.java298 nativeReconfigure(mNativePtr, width, height, config.nativeInt, mRequestPremultiplied); in reconfigure()
556 final int nativeInt; field in Bitmap.Config
563 this.nativeInt = ni; in Config()
689 Bitmap b = nativeCopy(mNativePtr, config.nativeInt, isMutable); in copy()
727 Bitmap b = nativeCopyAshmemConfig(mNativePtr, config.nativeInt); in createAshmemBitmap()
1122 Bitmap bm = nativeCreate(null, 0, width, width, height, config.nativeInt, true, in createBitmap()
1203 config.nativeInt, false, sRGB.getNativeInstance()); in createBitmap()
1366 CompressFormat(int nativeInt) { in CompressFormat() argument
1367 this.nativeInt = nativeInt; in CompressFormat()
1369 final int nativeInt; field in Bitmap.CompressFormat
[all …]
DPorterDuffXfermode.java33 porterDuffMode = mode.nativeInt; in PorterDuffXfermode()
DXfermode.java34 static final int DEFAULT = PorterDuff.Mode.SRC_OVER.nativeInt;
DMatrix.java554 ScaleToFit(int nativeInt) { in ScaleToFit() argument
555 this.nativeInt = nativeInt; in ScaleToFit()
558 final int nativeInt; field in Matrix.ScaleToFit
574 return nSetRectToRect(native_instance, src, dst, stf.nativeInt); in setRectToRect()
DComposeShader.java60 this(shaderA, shaderB, mode.nativeInt); in ComposeShader()
DRadialGradient.java153 mColorLongs, mPositions, mTileMode.nativeInt, in createNativeInstance()
DLinearGradient.java157 mColorLongs, mPositions, mTileMode.nativeInt, in createNativeInstance()
/frameworks/layoutlib/bridge/src/android/graphics/
DBaseCanvas_Delegate.java225 if (style == Paint.Style.FILL.nativeInt || in nDrawRect()
226 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in nDrawRect()
231 if (style == Paint.Style.STROKE.nativeInt || in nDrawRect()
232 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in nDrawRect()
248 if (style == Paint.Style.FILL.nativeInt || in nDrawOval()
249 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in nDrawOval()
254 if (style == Paint.Style.STROKE.nativeInt || in nDrawOval()
255 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in nDrawOval()
287 if (style == Paint.Style.FILL.nativeInt || in nDrawArc()
288 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in nDrawArc()
[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.java67 if (tm.nativeInt == tileMode) { in getTileMode()
DBitmap_Delegate.java358 return delegate.mConfig.nativeInt; in nativeConfig()
694 long nativeInt = sManager.addNewDelegate(delegate); in createBitmap() local
701 return new Bitmap(nativeInt, width, height, density, isPremultiplied, in createBitmap()
DMatrix_Delegate.java554 if (stf != ScaleToFit.FILL.nativeInt) { in nSetRectToRect()
565 if (stf == ScaleToFit.CENTER.nativeInt || stf == ScaleToFit.END.nativeInt) { in nSetRectToRect()
574 if (stf == ScaleToFit.CENTER.nativeInt) { in nSetRectToRect()
DPath_Delegate.java172 return pathDelegate.mFillType.nativeInt; in nGetFillType()
574 if (direction == d.nativeInt) { in getDirection()
/frameworks/base/core/java/android/view/
DMenuItem.java322 return BlendMode.fromValue(mode.nativeInt); in getIconTintBlendMode()
/frameworks/base/core/java/android/widget/
DImageView.java680 setImageTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null);
855 nativeInt = ni;
857 final int nativeInt;
1115 return sS2FArray[st.nativeInt - 1]; in scaleTypeToScaleToFit()
/frameworks/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()

12