Home
last modified time | relevance | path

Searched refs:ni (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DTypeface.java103 int ni = 0; in create() local
110 ni = family.native_instance; in create()
114 SparseArray<Typeface> styles = sTypefaceCache.get(ni); in create()
123 typeface = new Typeface(nativeCreateFromTypeface(ni, style)); in create()
126 sTypefaceCache.put(ni, styles); in create()
173 private Typeface(int ni) { in Typeface() argument
174 if (ni == 0) { in Typeface()
178 native_instance = ni; in Typeface()
179 mStyle = nativeGetStyle(ni); in Typeface()
DRegion.java105 return nativeSetPath(mNativeRegion, path.ni(), clip.mNativeRegion); in setPath()
150 nativeGetBoundaryPath(mNativeRegion, path.ni()); in getBoundaryPath()
159 return nativeGetBoundaryPath(mNativeRegion, path.ni()); in getBoundaryPath()
304 int ni = nativeCreateFromParcel(p);
305 if (ni == 0) {
308 return new Region(ni);
347 Region(int ni) { in Region() argument
348 if (ni == 0) { in Region()
351 mNativeRegion = ni; in Region()
356 private Region(int ni, int dummy) { in Region() argument
[all …]
DNinePatch.java56 validateNinePatchChunk(mBitmap.ni(), chunk); in NinePatch()
69 validateNinePatchChunk(mBitmap.ni(), mChunk); in NinePatch()
85 mBitmap.ni(), mChunk, in draw()
102 mBitmap.ni(), mChunk, in draw()
121 mBitmap.ni(), mChunk, paint != null ? paint.mNativePaint : 0, in draw()
150 int r = nativeGetTransparentRegion(mBitmap.ni(), mChunk, location); in getTransparentRegion()
DPathMeasure.java53 native_instance = native_create(path != null ? path.ni() : 0, in PathMeasure()
63 path != null ? path.ni() : 0, in setPath()
119 return native_getSegment(native_instance, startD, stopD, dst.ni(), startWithMoveTo); in getSegment()
DPicture.java63 int ni = nativeBeginRecording(mNativePicture, width, height); in beginRecording() local
64 mRecordingCanvas = new RecordingCanvas(this, ni); in beginRecording()
147 final int ni() { in ni() method in Picture
DTableMaskFilter.java31 private TableMaskFilter(int ni) { in TableMaskFilter() argument
32 native_instance = ni; in TableMaskFilter()
DCanvas.java130 mNativeCanvas = initRaster(bitmap.ni()); in Canvas()
191 pointer = bitmap.ni(); in setBitmap()
628 return native_clipPath(mNativeCanvas, path.ni(), op.nativeInt); in clipPath()
653 return native_clipRegion(mNativeCanvas, region.ni(), op.nativeInt); in clipRegion()
729 return native_quickReject(mNativeCanvas, path.ni(), type.nativeInt); in quickReject()
1021 native_drawPath(mNativeCanvas, path.ni(), paint.mNativePaint); in drawPath()
1066 native_drawBitmap(mNativeCanvas, bitmap.ni(), left, top, in drawBitmap()
1097 native_drawBitmap(mNativeCanvas, bitmap.ni(), src, dst, in drawBitmap()
1128 native_drawBitmap(mNativeCanvas, bitmap.ni(), src, dst, in drawBitmap()
1195 nativeDrawBitmapMatrix(mNativeCanvas, bitmap.ni(), matrix.ni(), in drawBitmap()
[all …]
DPath.java111 FillType(int ni) { in FillType() argument
112 nativeInt = ni; in FillType()
378 Direction(int ni) { in Direction() argument
379 nativeInt = ni; in Direction()
605 final int ni() { in ni() method in Path
DRegionIterator.java29 mNativeIter = nativeConstructor(region.ni()); in RegionIterator()
DPathDashPathEffect.java44 native_instance = nativeCreate(shape.ni(), advance, phase, in PathDashPathEffect()
DBitmapShader.java40 final int b = bitmap.ni(); in BitmapShader()
DBitmap.java340 Config(int ni) { in Config() argument
341 this.nativeInt = ni; in Config()
344 static Config nativeToConfig(int ni) { in nativeToConfig() argument
345 return sConfigs[ni]; in nativeToConfig()
1265 /* package */ final int ni() { in ni() method in Bitmap
DPaint.java806 return native_getFillPath(mNativePaint, src.ni(), dst.ni()); in getFillPath()
2095 path.ni()); in getTextPath()
2117 path.ni()); in getTextPath()
DMatrix.java790 /*package*/ final int ni() { in ni() method in Matrix
/frameworks/base/core/java/android/widget/
DImageView.java502 ScaleType(int ni) { in ScaleType() argument
503 nativeInt = ni; in ScaleType()
/frameworks/base/services/java/com/android/server/
DConnectivityService.java1037 NetworkInfo ni = network.getNetworkInfo(); in startUsingNetworkFeature() local
1039 if (ni.isAvailable() == false) { in startUsingNetworkFeature()
1041 if (DBG) log("special network not available ni=" + ni.getTypeName()); in startUsingNetworkFeature()
1047 ni.getTypeName()); in startUsingNetworkFeature()
1080 if ((ni.isConnectedOrConnecting() == true) && in startUsingNetworkFeature()
1082 if (ni.isConnected() == true) { in startUsingNetworkFeature()
/frameworks/base/docs/html/guide/topics/renderscript/
Dadvanced.jd321 Item ni[] = new Item[newSize];
322 System.arraycopy(mItemArray, 0, ni, 0, copySize);
323 mItemArray = ni;