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
DRegion.java37 Op(int nativeInt) { in Op() argument
38 this.nativeInt = nativeInt; in Op()
44 public final int nativeInt; field in Region.Op
252 op.nativeInt); in op()
261 op.nativeInt); in op()
278 op.nativeInt); in op()
287 region2.mNativeRegion, op.nativeInt); in op()
DPath.java112 nativeInt = ni; in FillType()
114 final int nativeInt; field in Path.FillType
141 native_setFillType(mNativePath, ft.nativeInt); in setFillType()
379 nativeInt = ni; in Direction()
381 final int nativeInt; field in Path.Direction
409 native_addRect(mNativePath, rect, dir.nativeInt); in addRect()
423 native_addRect(mNativePath, left, top, right, bottom, dir.nativeInt); in addRect()
437 native_addOval(mNativePath, oval, dir.nativeInt); in addOval()
450 native_addCircle(mNativePath, x, y, radius, dir.nativeInt); in addCircle()
481 native_addRoundRect(mNativePath, rect, rx, ry, dir.nativeInt); in addRoundRect()
[all …]
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()
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()
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 …]
DCanvas.java537 op.nativeInt); in clipRect()
550 op.nativeInt); in clipRect()
587 return native_clipRect(mNativeCanvas, left, top, right, bottom, op.nativeInt); in clipRect()
628 return native_clipPath(mNativeCanvas, path.ni(), op.nativeInt); in clipPath()
653 return native_clipRegion(mNativeCanvas, region.ni(), op.nativeInt); in clipRegion()
687 EdgeType(int nativeInt) { in EdgeType() argument
688 this.nativeInt = nativeInt; in EdgeType()
694 public final int nativeInt; field in Canvas.EdgeType
709 return native_quickReject(mNativeCanvas, rect, type.nativeInt); in quickReject()
729 return native_quickReject(mNativeCanvas, path.ni(), type.nativeInt); in quickReject()
[all …]
DPorterDuffColorFilter.java28 native_instance = native_CreatePorterDuffFilter(srcColor, mode.nativeInt); in PorterDuffColorFilter()
29 nativeColorFilter = nCreatePorterDuffFilter(native_instance, srcColor, mode.nativeInt); in PorterDuffColorFilter()
DBitmap.java333 final int nativeInt; field in Bitmap.Config
341 this.nativeInt = ni; in Config()
429 Bitmap b = nativeCopy(mNativeBitmap, config.nativeInt, isMutable); in copy()
640 Bitmap bm = nativeCreate(null, 0, width, width, height, config.nativeInt, true); in createBitmap()
688 config.nativeInt, false); in createBitmap()
734 CompressFormat(int nativeInt) { in CompressFormat() argument
735 this.nativeInt = nativeInt; in CompressFormat()
737 final int nativeInt; field in Bitmap.CompressFormat
772 return nativeCompress(mNativeBitmap, format.nativeInt, quality, in compress()
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()
601 PorterDuff.Mode.SRC_OVER.nativeInt); in native_drawRGB()
608 PorterDuff.Mode.SRC_OVER.nativeInt); in native_drawARGB()
613 native_drawColor(nativeCanvas, color, PorterDuff.Mode.SRC_OVER.nativeInt); in native_drawColor()
685 if (style == Paint.Style.FILL.nativeInt || in native_drawRect()
686 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawRect()
691 if (style == Paint.Style.STROKE.nativeInt || in native_drawRect()
692 style == Paint.Style.FILL_AND_STROKE.nativeInt) { in native_drawRect()
710 if (style == Paint.Style.FILL.nativeInt || in native_drawOval()
711 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.java324 return delegate.mConfig.nativeInt; in nativeConfig()
524 int nativeInt = sManager.addNewDelegate(delegate); in createBitmap() local
527 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.java428 mPathBounds.right, mPathBounds.bottom, Region.Op.INTERSECT.nativeInt); in clipPath()
436 mPathBounds.right, mPathBounds.bottom, op.nativeInt); in clipPath()
441 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt); in clipRect()
449 return nClipRect(mRenderer, left, top, right, bottom, op.nativeInt); in clipRect()
454 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt); in clipRect()
463 Region.Op.INTERSECT.nativeInt); in clipRect()
468 return nClipRect(mRenderer, rect.left, rect.top, rect.right, rect.bottom, op.nativeInt); in clipRect()
474 Region.Op.INTERSECT.nativeInt); in clipRect()
479 return nClipRect(mRenderer, rect.left, rect.top, rect.right, rect.bottom, op.nativeInt); in clipRect()
487 mClipBounds.right, mClipBounds.bottom, Region.Op.INTERSECT.nativeInt); in clipRegion()
[all …]
/frameworks/base/core/java/android/widget/
DImageView.java503 nativeInt = ni; in ScaleType()
505 final int nativeInt; field in ImageView.ScaleType
711 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