Home
last modified time | relevance | path

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

12

/frameworks/base/graphics/java/android/graphics/
DAvoidXfermode.java31 Mode(int nativeInt) { in Mode() argument
32 this.nativeInt = nativeInt; in Mode()
34 final int nativeInt; field in AvoidXfermode.Mode
56 native_instance = nativeCreate(opColor, tolerance, mode.nativeInt); in AvoidXfermode()
DPorterDuff.java61 Mode(int nativeInt) { in Mode() argument
62 this.nativeInt = nativeInt; in Mode()
68 public final int nativeInt; field in PorterDuff.Mode
DBitmapShader.java46 native_instance = nativeCreate(b, tileX.nativeInt, tileY.nativeInt); in BitmapShader()
47 native_shader = nativePostCreate(native_instance, b, tileX.nativeInt, tileY.nativeInt); in BitmapShader()
DShader.java55 TileMode(int nativeInt) { in TileMode() argument
56 this.nativeInt = nativeInt; in TileMode()
58 final int nativeInt; field in Shader.TileMode
DPath.java204 nativeInt = ni; in FillType()
207 final int nativeInt; field in Path.FillType
234 native_setFillType(mNativePath, ft.nativeInt); in setFillType()
472 nativeInt = ni; in Direction()
474 final int nativeInt; field in Path.Direction
502 native_addRect(mNativePath, rect, dir.nativeInt); in addRect()
516 native_addRect(mNativePath, left, top, right, bottom, dir.nativeInt); in addRect()
530 native_addOval(mNativePath, oval, dir.nativeInt); in addOval()
543 native_addCircle(mNativePath, x, y, radius, dir.nativeInt); in addCircle()
574 native_addRoundRect(mNativePath, rect, rx, ry, dir.nativeInt); in addRoundRect()
[all …]
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()
DRadialGradient.java68 native_instance = nativeCreate1(x, y, radius, colors, positions, tile.nativeInt); in RadialGradient()
70 tile.nativeInt); in RadialGradient()
93 native_instance = nativeCreate2(x, y, radius, color0, color1, tile.nativeInt); in RadialGradient()
95 tile.nativeInt); in RadialGradient()
DLinearGradient.java68 native_instance = nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt); in LinearGradient()
70 tile.nativeInt); in LinearGradient()
92 native_instance = nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt); in LinearGradient()
94 tile.nativeInt); in LinearGradient()
DPorterDuffColorFilter.java28 native_instance = native_CreatePorterDuffFilter(srcColor, mode.nativeInt); in PorterDuffColorFilter()
29 nativeColorFilter = nCreatePorterDuffFilter(native_instance, srcColor, mode.nativeInt); in PorterDuffColorFilter()
DPaint.java352 Style(int nativeInt) { in Style() argument
353 this.nativeInt = nativeInt; in Style()
355 final int nativeInt; field in Paint.Style
378 private Cap(int nativeInt) { in Cap() argument
379 this.nativeInt = nativeInt; in Cap()
381 final int nativeInt; field in Paint.Cap
402 private Join(int nativeInt) { in Join() argument
403 this.nativeInt = nativeInt; in Join()
405 final int nativeInt; field in Paint.Join
426 private Align(int nativeInt) { in Align() argument
[all …]
DComposeShader.java61 shaderB.native_shader, pdMode != null ? pdMode.nativeInt : 0); in ComposeShader()
81 mode.nativeInt); in ComposeShader()
83 shaderB.native_shader, mode.nativeInt); in ComposeShader()
DBitmap.java220 nativeReconfigure(mNativeBitmap, width, height, config.nativeInt, mBuffer.length); in reconfigure()
444 final int nativeInt; field in Bitmap.Config
452 this.nativeInt = ni; in Config()
556 Bitmap b = nativeCopy(mNativeBitmap, config.nativeInt, isMutable); in copy()
810 Bitmap bm = nativeCreate(null, 0, width, width, height, config.nativeInt, true); in createBitmap()
884 config.nativeInt, false); in createBitmap()
956 CompressFormat(int nativeInt) { in CompressFormat() argument
957 this.nativeInt = nativeInt; in CompressFormat()
959 final int nativeInt; field in Bitmap.CompressFormat
994 return nativeCompress(mNativeBitmap, format.nativeInt, quality, in compress()
DCanvas.java577 op.nativeInt); in clipRect()
590 op.nativeInt); in clipRect()
627 return native_clipRect(mNativeCanvas, left, top, right, bottom, op.nativeInt); in clipRect()
668 return native_clipPath(mNativeCanvas, path.ni(), op.nativeInt); in clipPath()
693 return native_clipRegion(mNativeCanvas, region.ni(), op.nativeInt); in clipRegion()
735 EdgeType(int nativeInt) { in EdgeType() argument
736 this.nativeInt = nativeInt; in EdgeType()
742 public final int nativeInt; field in Canvas.EdgeType
874 native_drawColor(mNativeCanvas, color, mode.nativeInt); in drawColor()
1333 VertexMode(int nativeInt) { in VertexMode() argument
[all …]
DPorterDuffXfermode.java32 native_instance = nativeCreateXfermode(mode.nativeInt); in PorterDuffXfermode()
DMatrix.java523 ScaleToFit(int nativeInt) { in ScaleToFit() argument
524 this.nativeInt = nativeInt; in ScaleToFit()
526 final int nativeInt; field in Matrix.ScaleToFit
543 return native_setRectToRect(native_instance, src, dst, stf.nativeInt); in setRectToRect()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java212 return canvasDelegate.clipRect(left, top, right, bottom, Region.Op.INTERSECT.nativeInt); in clipRect()
595 PorterDuff.Mode.SRC_OVER.nativeInt); in native_drawRGB()
602 PorterDuff.Mode.SRC_OVER.nativeInt); in native_drawARGB()
607 native_drawColor(nativeCanvas, color, PorterDuff.Mode.SRC_OVER.nativeInt); in native_drawColor()
679 if (style == Paint.Style.FILL.nativeInt || in native_drawRect()
680 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawRect()
685 if (style == Paint.Style.STROKE.nativeInt || in native_drawRect()
686 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawRect()
704 if (style == Paint.Style.FILL.nativeInt || in native_drawOval()
705 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawOval()
[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()
DPorterDuffXfermode_Delegate.java72 if (m.nativeInt == mode) { in getPorterDuffMode()
DBitmap_Delegate.java370 return delegate.mConfig.nativeInt; in nativeConfig()
596 int nativeInt = sManager.addNewDelegate(delegate); in createBitmap() local
604 return new Bitmap(nativeInt, null /* buffer */, width, height, density, isMutable, in createBitmap()
DMatrix_Delegate.java603 if (stf != ScaleToFit.FILL.nativeInt) { in native_setRectToRect()
614 if (stf == ScaleToFit.CENTER.nativeInt || stf == ScaleToFit.END.nativeInt) { in native_setRectToRect()
623 if (stf == ScaleToFit.CENTER.nativeInt) { in native_setRectToRect()
DPath_Delegate.java151 return pathDelegate.mFillType.nativeInt; in native_getFillType()
522 if (direction == d.nativeInt) { in getDirection()
/frameworks/base/core/java/android/view/
DGLES20Canvas.java482 return nClipPath(mRenderer, path.mNativePath, Region.Op.INTERSECT.nativeInt); in clipPath()
487 return nClipPath(mRenderer, path.mNativePath, op.nativeInt); in clipPath()
494 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt); in clipRect()
502 return nClipRect(mRenderer, left, top, right, bottom, op.nativeInt); in clipRect()
507 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt); in clipRect()
516 Region.Op.INTERSECT.nativeInt); in clipRect()
521 return nClipRect(mRenderer, rect.left, rect.top, rect.right, rect.bottom, op.nativeInt); in clipRect()
527 Region.Op.INTERSECT.nativeInt); in clipRect()
532 return nClipRect(mRenderer, rect.left, rect.top, rect.right, rect.bottom, op.nativeInt); in clipRect()
537 return nClipRegion(mRenderer, region.mNativeRegion, Region.Op.INTERSECT.nativeInt); in clipRegion()
[all …]
/frameworks/base/core/java/android/widget/
DImageView.java526 nativeInt = ni; in ScaleType()
528 final int nativeInt; field in ImageView.ScaleType
756 return sS2FArray[st.nativeInt - 1]; in scaleTypeToScaleToFit()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java486 if (regionOp == Region.Op.INTERSECT.nativeInt && mLayers.size() > 0) { in clip()
497 if (regionOp == Region.Op.REPLACE.nativeInt) { in clip()

12