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

12

/frameworks/base/graphics/java/android/graphics/
H A DAvoidXfermode.java31 Mode(int nativeInt) { argument
32 this.nativeInt = nativeInt;
34 final int nativeInt; field in class:AvoidXfermode.Mode
56 native_instance = nativeCreate(opColor, tolerance, mode.nativeInt);
H A DPorterDuff.java61 Mode(int nativeInt) { argument
62 this.nativeInt = nativeInt;
68 public final int nativeInt; field in class:PorterDuff.Mode
H A DPorterDuffColorFilter.java28 native_instance = native_CreatePorterDuffFilter(srcColor, mode.nativeInt);
29 nativeColorFilter = nCreatePorterDuffFilter(native_instance, srcColor, mode.nativeInt);
H A DBitmapShader.java46 native_instance = nativeCreate(b, tileX.nativeInt, tileY.nativeInt);
47 native_shader = nativePostCreate(native_instance, b, tileX.nativeInt, tileY.nativeInt);
H A DPorterDuffXfermode.java32 native_instance = nativeCreateXfermode(mode.nativeInt);
H A DShader.java55 TileMode(int nativeInt) { argument
56 this.nativeInt = nativeInt;
58 final int nativeInt; field in class:Shader.TileMode
H A DComposeShader.java61 shaderB.native_shader, pdMode != null ? pdMode.nativeInt : 0);
81 mode.nativeInt);
83 shaderB.native_shader, mode.nativeInt);
H A DLinearGradient.java68 native_instance = nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt);
70 tile.nativeInt);
92 native_instance = nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt);
94 tile.nativeInt);
H A DRadialGradient.java68 native_instance = nativeCreate1(x, y, radius, colors, positions, tile.nativeInt);
70 tile.nativeInt);
93 native_instance = nativeCreate2(x, y, radius, color0, color1, tile.nativeInt);
95 tile.nativeInt);
H A DRegion.java44 Op(int nativeInt) { argument
45 this.nativeInt = nativeInt;
51 public final int nativeInt; field in class:Region.Op
260 op.nativeInt);
269 op.nativeInt);
286 op.nativeInt);
295 region2.mNativeRegion, op.nativeInt);
H A DPath.java204 nativeInt = ni;
207 final int nativeInt; field in class:Path.FillType
234 native_setFillType(mNativePath, ft.nativeInt);
472 nativeInt = ni;
474 final int nativeInt; field in class:Path.Direction
502 native_addRect(mNativePath, rect, dir.nativeInt);
516 native_addRect(mNativePath, left, top, right, bottom, dir.nativeInt);
530 native_addOval(mNativePath, oval, dir.nativeInt);
543 native_addCircle(mNativePath, x, y, radius, dir.nativeInt);
574 native_addRoundRect(mNativePath, rect, rx, ry, dir.nativeInt);
[all...]
H A DPaint.java352 Style(int nativeInt) { argument
353 this.nativeInt = nativeInt;
355 final int nativeInt; field in class:Paint.Style
378 private Cap(int nativeInt) { argument
379 this.nativeInt = nativeInt;
381 final int nativeInt; field in class:Paint.Cap
402 private Join(int nativeInt) { argument
403 this.nativeInt
405 final int nativeInt; field in class:Paint.Join
426 Align(int nativeInt) argument
429 final int nativeInt; field in class:Paint.Align
[all...]
H A DBitmap.java219 nativeReconfigure(mNativeBitmap, width, height, config.nativeInt, mBuffer.length);
443 final int nativeInt; field in class:Bitmap.Config
451 this.nativeInt = ni;
555 Bitmap b = nativeCopy(mNativeBitmap, config.nativeInt, isMutable);
809 Bitmap bm = nativeCreate(null, 0, width, width, height, config.nativeInt, true);
883 config.nativeInt, false);
955 CompressFormat(int nativeInt) { argument
956 this.nativeInt = nativeInt;
958 final int nativeInt; field in class:Bitmap.CompressFormat
[all...]
H A DCanvas.java577 op.nativeInt);
590 op.nativeInt);
627 return native_clipRect(mNativeCanvas, left, top, right, bottom, op.nativeInt);
668 return native_clipPath(mNativeCanvas, path.ni(), op.nativeInt);
693 return native_clipRegion(mNativeCanvas, region.ni(), op.nativeInt);
735 EdgeType(int nativeInt) { argument
736 this.nativeInt = nativeInt;
742 public final int nativeInt; field in class:Canvas.EdgeType
874 native_drawColor(mNativeCanvas, color, mode.nativeInt);
1333 VertexMode(int nativeInt) argument
1340 public final int nativeInt; field in class:Canvas.VertexMode
[all...]
H A DMatrix.java523 ScaleToFit(int nativeInt) { argument
524 this.nativeInt = nativeInt;
526 final int nativeInt; field in class:Matrix.ScaleToFit
543 return native_setRectToRect(native_instance, src, dst, stf.nativeInt);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java212 return canvasDelegate.clipRect(left, top, right, bottom, Region.Op.INTERSECT.nativeInt);
595 PorterDuff.Mode.SRC_OVER.nativeInt);
602 PorterDuff.Mode.SRC_OVER.nativeInt);
607 native_drawColor(nativeCanvas, color, PorterDuff.Mode.SRC_OVER.nativeInt);
679 if (style == Paint.Style.FILL.nativeInt ||
680 style == Paint.Style.FILL_AND_STROKE.nativeInt) {
685 if (style == Paint.Style.STROKE.nativeInt ||
686 style == Paint.Style.FILL_AND_STROKE.nativeInt) {
704 if (style == Paint.Style.FILL.nativeInt ||
705 style == Paint.Style.FILL_AND_STROKE.nativeInt) {
[all...]
H A DShader_Delegate.java63 if (tm.nativeInt == tileMode) {
H A DRegion_Delegate.java80 if (regionOp == Region.Op.DIFFERENCE.nativeInt) {
91 } else if (regionOp == Region.Op.INTERSECT.nativeInt) {
102 } else if (regionOp == Region.Op.UNION.nativeInt) {
113 } else if (regionOp == Region.Op.XOR.nativeInt) {
124 } else if (regionOp == Region.Op.REVERSE_DIFFERENCE.nativeInt) {
H A DPorterDuffXfermode_Delegate.java72 if (m.nativeInt == mode) {
H A DBitmap_Delegate.java385 return delegate.mConfig.nativeInt;
608 int nativeInt = sManager.addNewDelegate(delegate);
616 return new Bitmap(nativeInt, null /* buffer */, width, height, density, isMutable,
H A DMatrix_Delegate.java603 if (stf != ScaleToFit.FILL.nativeInt) {
614 if (stf == ScaleToFit.CENTER.nativeInt || stf == ScaleToFit.END.nativeInt) {
623 if (stf == ScaleToFit.CENTER.nativeInt) {
H A DPath_Delegate.java151 return pathDelegate.mFillType.nativeInt;
516 if (direction == d.nativeInt) {
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java482 return nClipPath(mRenderer, path.mNativePath, Region.Op.INTERSECT.nativeInt);
487 return nClipPath(mRenderer, path.mNativePath, op.nativeInt);
494 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt);
502 return nClipRect(mRenderer, left, top, right, bottom, op.nativeInt);
507 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt);
516 Region.Op.INTERSECT.nativeInt);
521 return nClipRect(mRenderer, rect.left, rect.top, rect.right, rect.bottom, op.nativeInt);
527 Region.Op.INTERSECT.nativeInt);
532 return nClipRect(mRenderer, rect.left, rect.top, rect.right, rect.bottom, op.nativeInt);
537 return nClipRegion(mRenderer, region.mNativeRegion, Region.Op.INTERSECT.nativeInt);
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java486 if (regionOp == Region.Op.INTERSECT.nativeInt && mLayers.size() > 0) {
497 if (regionOp == Region.Op.REPLACE.nativeInt) {
/frameworks/base/core/java/android/widget/
H A DImageView.java526 nativeInt = ni;
528 final int nativeInt; field in class:ImageView.ScaleType
756 return sS2FArray[st.nativeInt - 1];

Completed in 187 milliseconds

12