Home
last modified time | relevance | path

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

12

/frameworks/base/graphics/java/android/graphics/
DAvoidXfermode.java33 Mode(int nativeInt) { in Mode() argument
34 this.nativeInt = nativeInt; in Mode()
36 final int nativeInt; field in AvoidXfermode.Mode
DPorterDuff.java362 Mode(int nativeInt) { in Mode() argument
363 this.nativeInt = nativeInt; in Mode()
370 public final int nativeInt; field in PorterDuff.Mode
377 return mode.nativeInt; in modeToInt()
DRegion.java48 Op(int nativeInt) { in Op() argument
49 this.nativeInt = nativeInt; in Op()
56 public final int nativeInt; field in Region.Op
268 op.nativeInt); in op()
277 op.nativeInt); in op()
294 op.nativeInt); in op()
303 region2.mNativeRegion, op.nativeInt); in op()
DPorterDuffColorFilter.java75 return native_CreateBlendModeFilter(mColor, mMode.nativeInt); in createNativeInstance()
87 return (mColor == other.mColor && mMode.nativeInt == other.mMode.nativeInt); in equals()
DShader.java105 TileMode(int nativeInt) { in TileMode() argument
106 this.nativeInt = nativeInt; in TileMode()
108 final int nativeInt; field in Shader.TileMode
DPath.java249 nativeInt = ni; in FillType()
252 final int nativeInt; field in Path.FillType
280 nSetFillType(mNativePath, ft.nativeInt); in setFillType()
290 return (ft & FillType.INVERSE_WINDING.nativeInt) != 0; in isInverseFillType()
298 ft ^= FillType.INVERSE_WINDING.nativeInt; in toggleInverseFillType()
534 nativeInt = ni; in Direction()
536 final int nativeInt; field in Path.Direction
572 nAddRect(mNativePath, left, top, right, bottom, dir.nativeInt); in addRect()
592 nAddOval(mNativePath, left, top, right, bottom, dir.nativeInt); in addOval()
605 nAddCircle(mNativePath, x, y, radius, dir.nativeInt); in addCircle()
[all …]
DBitmapShader.java59 this(bitmap, tileX.nativeInt, tileY.nativeInt); in BitmapShader()
DCanvas.java846 op.nativeInt); in clipRect()
870 op.nativeInt); in clipRect()
881 Region.Op.UNION.nativeInt); in clipRectUnion()
893 Region.Op.INTERSECT.nativeInt); in clipRect()
905 Region.Op.DIFFERENCE.nativeInt); in clipOutRect()
917 Region.Op.INTERSECT.nativeInt); in clipRect()
929 Region.Op.DIFFERENCE.nativeInt); in clipOutRect()
961 return nClipRect(mNativeCanvasWrapper, left, top, right, bottom, op.nativeInt); in clipRect()
979 Region.Op.INTERSECT.nativeInt); in clipRect()
994 Region.Op.DIFFERENCE.nativeInt); in clipOutRect()
[all …]
DPaint.java486 Style(int nativeInt) { in Style() argument
487 this.nativeInt = nativeInt; in Style()
489 final int nativeInt; field in Paint.Style
512 private Cap(int nativeInt) { in Cap() argument
513 this.nativeInt = nativeInt; in Cap()
515 final int nativeInt; field in Paint.Cap
536 private Join(int nativeInt) { in Join() argument
537 this.nativeInt = nativeInt; in Join()
539 final int nativeInt; field in Paint.Join
560 private Align(int nativeInt) { in Align() argument
[all …]
DPorterDuffXfermode.java33 porterDuffMode = mode.nativeInt; in PorterDuffXfermode()
DBitmap.java289 nativeReconfigure(mNativePtr, width, height, config.nativeInt, mRequestPremultiplied); in reconfigure()
546 final int nativeInt; field in Bitmap.Config
553 this.nativeInt = ni; in Config()
679 Bitmap b = nativeCopy(mNativePtr, config.nativeInt, isMutable); in copy()
1104 Bitmap bm = nativeCreate(null, 0, width, width, height, config.nativeInt, true, in createBitmap()
1185 config.nativeInt, false, sRGB.getNativeInstance()); in createBitmap()
1390 CompressFormat(int nativeInt) { in CompressFormat() argument
1391 this.nativeInt = nativeInt; in CompressFormat()
1393 final int nativeInt; field in Bitmap.CompressFormat
1429 boolean result = nativeCompress(mNativePtr, format.nativeInt, in compress()
DXfermode.java35 static final int DEFAULT = PorterDuff.Mode.SRC_OVER.nativeInt;
DRenderEffect.java97 edgeTreatment.nativeInt in createBlurEffect()
121 edgeTreatment.nativeInt in createBlurEffect()
DMatrix.java553 ScaleToFit(int nativeInt) { in ScaleToFit() argument
554 this.nativeInt = nativeInt; in ScaleToFit()
557 final int nativeInt; field in Matrix.ScaleToFit
573 return nSetRectToRect(native_instance, src, dst, stf.nativeInt); in setRectToRect()
DComposeShader.java60 this(shaderA, shaderB, mode.nativeInt); in ComposeShader()
DLinearGradient.java159 mColorLongs, mPositions, mTileMode.nativeInt, in createNativeInstance()
DRadialGradient.java216 mColorLongs, mPositions, mTileMode.nativeInt, colorSpace().getNativeInstance()); in createNativeInstance()
/frameworks/layoutlib/bridge/src/android/graphics/
DBaseCanvas_Delegate.java229 if (style == Paint.Style.FILL.nativeInt || in nDrawRect()
230 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in nDrawRect()
235 if (style == Paint.Style.STROKE.nativeInt || in nDrawRect()
236 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in nDrawRect()
252 if (style == Paint.Style.FILL.nativeInt || in nDrawOval()
253 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in nDrawOval()
258 if (style == Paint.Style.STROKE.nativeInt || in nDrawOval()
259 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in nDrawOval()
291 if (style == Paint.Style.FILL.nativeInt || in nDrawArc()
292 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.java374 return delegate.mConfig.nativeInt; in nativeConfig()
709 long nativeInt = sManager.addNewDelegate(delegate); in createBitmap() local
716 return new Bitmap(nativeInt, width, height, density, isPremultiplied, in createBitmap()
DMatrix_Delegate.java553 if (stf != ScaleToFit.FILL.nativeInt) { in nSetRectToRect()
564 if (stf == ScaleToFit.CENTER.nativeInt || stf == ScaleToFit.END.nativeInt) { in nSetRectToRect()
573 if (stf == ScaleToFit.CENTER.nativeInt) { in nSetRectToRect()
/frameworks/base/core/java/android/view/
DMenuItem.java322 return BlendMode.fromValue(mode.nativeInt); in getIconTintBlendMode()
/frameworks/base/core/java/android/widget/
DImageView.java685 setImageTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null);
861 nativeInt = ni;
863 final int nativeInt;
1121 return sS2FArray[st.nativeInt - 1]; in scaleTypeToScaleToFit()
DProgressBar.java812 ? BlendMode.fromValue(tintMode.nativeInt) : null); in setIndeterminateTintMode()
1122 setProgressTintBlendMode(tintMode != null ? BlendMode.fromValue(tintMode.nativeInt) : null); in setProgressTintMode()
1239 ? BlendMode.fromValue(tintMode.nativeInt) : null); in setProgressBackgroundTintMode()
1352 ? BlendMode.fromValue(tintMode.nativeInt) : null); in setSecondaryProgressTintMode()

12