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.java41 native_instance = nativeCreate(b, tileX.nativeInt, tileY.nativeInt); in BitmapShader()
42 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
DRadialGradient.java42 native_instance = nativeCreate1(x, y, radius, colors, positions, tile.nativeInt); in RadialGradient()
44 tile.nativeInt); in RadialGradient()
60 native_instance = nativeCreate2(x, y, radius, color0, color1, tile.nativeInt); in RadialGradient()
62 tile.nativeInt); in RadialGradient()
DLinearGradient.java39 native_instance = nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt); in LinearGradient()
41 tile.nativeInt); in LinearGradient()
55 native_instance = nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt); in LinearGradient()
57 tile.nativeInt); in LinearGradient()
DPath.java116 nativeInt = ni; in FillType()
118 final int nativeInt; field in Path.FillType
145 native_setFillType(mNativePath, ft.nativeInt); in setFillType()
383 nativeInt = ni; in Direction()
385 final int nativeInt; field in Path.Direction
413 native_addRect(mNativePath, rect, dir.nativeInt); in addRect()
427 native_addRect(mNativePath, left, top, right, bottom, dir.nativeInt); in addRect()
441 native_addOval(mNativePath, oval, dir.nativeInt); in addOval()
454 native_addCircle(mNativePath, x, y, radius, dir.nativeInt); in addCircle()
485 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()
DComposeShader.java47 shaderB.native_shader, pdMode != null ? pdMode.nativeInt : 0); in ComposeShader()
65 mode.nativeInt); in ComposeShader()
67 shaderB.native_shader, mode.nativeInt); in ComposeShader()
DPorterDuffColorFilter.java28 native_instance = native_CreatePorterDuffFilter(srcColor, mode.nativeInt); in PorterDuffColorFilter()
29 nativeColorFilter = nCreatePorterDuffFilter(native_instance, srcColor, mode.nativeInt); in PorterDuffColorFilter()
DPaint.java254 Style(int nativeInt) { in Style() argument
255 this.nativeInt = nativeInt; in Style()
257 final int nativeInt; field in Paint.Style
280 private Cap(int nativeInt) { in Cap() argument
281 this.nativeInt = nativeInt; in Cap()
283 final int nativeInt; field in Paint.Cap
304 private Join(int nativeInt) { in Join() argument
305 this.nativeInt = nativeInt; in Join()
307 final int nativeInt; field in Paint.Join
328 private Align(int nativeInt) { in Align() argument
[all …]
DBitmap.java338 final int nativeInt; field in Bitmap.Config
346 this.nativeInt = ni; in Config()
450 Bitmap b = nativeCopy(mNativeBitmap, config.nativeInt, isMutable); in copy()
697 Bitmap bm = nativeCreate(null, 0, width, width, height, config.nativeInt, true); in createBitmap()
773 config.nativeInt, false); in createBitmap()
845 CompressFormat(int nativeInt) { in CompressFormat() argument
846 this.nativeInt = nativeInt; in CompressFormat()
848 final int nativeInt; field in Bitmap.CompressFormat
883 return nativeCompress(mNativeBitmap, format.nativeInt, quality, in compress()
DCanvas.java554 op.nativeInt); in clipRect()
567 op.nativeInt); in clipRect()
604 return native_clipRect(mNativeCanvas, left, top, right, bottom, op.nativeInt); in clipRect()
645 return native_clipPath(mNativeCanvas, path.ni(), op.nativeInt); in clipPath()
670 return native_clipRegion(mNativeCanvas, region.ni(), op.nativeInt); in clipRegion()
712 EdgeType(int nativeInt) { in EdgeType() argument
713 this.nativeInt = nativeInt; in EdgeType()
719 public final int nativeInt; field in Canvas.EdgeType
851 native_drawColor(mNativeCanvas, color, mode.nativeInt); in drawColor()
1291 VertexMode(int nativeInt) { in VertexMode() argument
[all …]
DPorterDuffXfermode.java32 native_instance = nativeCreateXfermode(mode.nativeInt); in PorterDuffXfermode()
DMatrix.java516 ScaleToFit(int nativeInt) { in ScaleToFit() argument
517 this.nativeInt = nativeInt; in ScaleToFit()
519 final int nativeInt; field in Matrix.ScaleToFit
536 return native_setRectToRect(native_instance, src, dst, stf.nativeInt); in setRectToRect()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java214 return canvasDelegate.clipRect(left, top, right, bottom, Region.Op.INTERSECT.nativeInt); in clipRect()
597 PorterDuff.Mode.SRC_OVER.nativeInt); in native_drawRGB()
604 PorterDuff.Mode.SRC_OVER.nativeInt); in native_drawARGB()
609 native_drawColor(nativeCanvas, color, PorterDuff.Mode.SRC_OVER.nativeInt); in native_drawColor()
681 if (style == Paint.Style.FILL.nativeInt || in native_drawRect()
682 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawRect()
687 if (style == Paint.Style.STROKE.nativeInt || in native_drawRect()
688 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawRect()
706 if (style == Paint.Style.FILL.nativeInt || in native_drawOval()
707 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()
DBitmap_Delegate.java329 return delegate.mConfig.nativeInt; in nativeConfig()
551 int nativeInt = sManager.addNewDelegate(delegate); in createBitmap() local
554 return new Bitmap(nativeInt, null /* buffer */, isMutable, null /*ninePatchChunk*/, in createBitmap()
DPorterDuffXfermode_Delegate.java72 if (m.nativeInt == mode) { in getPorterDuffMode()
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()
516 if (direction == d.nativeInt) { in getDirection()
/frameworks/base/core/java/android/view/
DGLES20Canvas.java427 return nClipPath(mRenderer, path.mNativePath, Region.Op.INTERSECT.nativeInt); in clipPath()
432 return nClipPath(mRenderer, path.mNativePath, op.nativeInt); in clipPath()
439 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt); in clipRect()
447 return nClipRect(mRenderer, left, top, right, bottom, op.nativeInt); in clipRect()
452 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt); in clipRect()
461 Region.Op.INTERSECT.nativeInt); in clipRect()
466 return nClipRect(mRenderer, rect.left, rect.top, rect.right, rect.bottom, op.nativeInt); in clipRect()
472 Region.Op.INTERSECT.nativeInt); in clipRect()
477 return nClipRect(mRenderer, rect.left, rect.top, rect.right, rect.bottom, op.nativeInt); in clipRect()
482 return nClipRegion(mRenderer, region.mNativeRegion, Region.Op.INTERSECT.nativeInt); in clipRegion()
[all …]
/frameworks/base/core/java/android/widget/
DImageView.java524 nativeInt = ni; in ScaleType()
526 final int nativeInt; field in ImageView.ScaleType
744 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