Home
last modified time | relevance | path

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

12

/aosp12/frameworks/layoutlib/bridge/src/android/graphics/
H A DBaseCanvas_Delegate.java229 if (style == Paint.Style.FILL.nativeInt || in nDrawRect()
235 if (style == Paint.Style.STROKE.nativeInt || in nDrawRect()
252 if (style == Paint.Style.FILL.nativeInt || in nDrawOval()
258 if (style == Paint.Style.STROKE.nativeInt || in nDrawOval()
291 if (style == Paint.Style.FILL.nativeInt || in nDrawArc()
313 if (style == Paint.Style.FILL.nativeInt || in nDrawRoundRect()
321 if (style == Paint.Style.STROKE.nativeInt || in nDrawRoundRect()
358 if (style == Paint.Style.STROKE.nativeInt || in nDrawDoubleRoundRect()
364 if (style == Paint.Style.FILL.nativeInt || in nDrawDoubleRoundRect()
411 if (style == Paint.Style.FILL.nativeInt || in nDrawPath()
[all …]
H A 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()
H A DShader_Delegate.java67 if (tm.nativeInt == tileMode) { in getTileMode()
H A 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()
H A 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()
/aosp12/frameworks/base/graphics/java/android/graphics/
H A 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()
H A DAvoidXfermode.java33 Mode(int nativeInt) { in Mode() argument
34 this.nativeInt = nativeInt; in Mode()
36 final int nativeInt; field in AvoidXfermode.Mode
H A 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()
H A 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 …]
H A DShader.java105 TileMode(int nativeInt) { in TileMode() argument
106 this.nativeInt = nativeInt; in TileMode()
108 final int nativeInt; field in Shader.TileMode
H A DPorterDuffColorFilter.java75 return native_CreateBlendModeFilter(mColor, mMode.nativeInt); in createNativeInstance()
87 return (mColor == other.mColor && mMode.nativeInt == other.mMode.nativeInt); in equals()
H A 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()
979 Region.Op.INTERSECT.nativeInt); in clipRect()
1012 Region.Op.INTERSECT.nativeInt); in clipRect()
1344 VertexMode(int nativeInt) { in VertexMode() argument
1345 this.nativeInt = nativeInt; in VertexMode()
[all …]
H A 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
561 this.nativeInt = nativeInt; in Align()
[all …]
H A DBitmapShader.java59 this(bitmap, tileX.nativeInt, tileY.nativeInt); in BitmapShader()
H A 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()
H A 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()
H A DRenderEffect.java97 edgeTreatment.nativeInt in createBlurEffect()
121 edgeTreatment.nativeInt in createBlurEffect()
H A DPorterDuffXfermode.java33 porterDuffMode = mode.nativeInt; in PorterDuffXfermode()
H A DXfermode.java35 static final int DEFAULT = PorterDuff.Mode.SRC_OVER.nativeInt;
H A DComposeShader.java60 this(shaderA, shaderB, mode.nativeInt); in ComposeShader()
H A DLinearGradient.java159 mColorLongs, mPositions, mTileMode.nativeInt, in createNativeInstance()
H A DRadialGradient.java216 mColorLongs, mPositions, mTileMode.nativeInt, colorSpace().getNativeInstance()); in createNativeInstance()
/aosp12/frameworks/base/core/java/android/widget/
H A 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()
H A 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()
/aosp12/frameworks/base/core/java/android/view/
H A DMenuItem.java322 return BlendMode.fromValue(mode.nativeInt); in getIconTintBlendMode()

12