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.java113 return nativeSetPath(mNativeRegion, path.ni(), clip.mNativeRegion); in setPath()
158 nativeGetBoundaryPath(mNativeRegion, path.ni()); in getBoundaryPath()
167 return nativeGetBoundaryPath(mNativeRegion, path.ni()); in getBoundaryPath()
345 int ni = nativeCreateFromParcel(p);
346 if (ni == 0) {
349 return new Region(ni);
388 Region(int ni) { in Region() argument
389 if (ni == 0) { in Region()
392 mNativeRegion = ni; in Region()
397 private Region(int ni, int dummy) { in Region() argument
[all …]
DNinePatch.java69 mNativeChunk = validateNinePatchChunk(mBitmap.ni(), chunk); in NinePatch()
167 nativeDraw(canvas.mNativeCanvas, location, mBitmap.ni(), mNativeChunk, in drawSoftware()
172 nativeDraw(canvas.mNativeCanvas, location, mBitmap.ni(), mNativeChunk, in drawSoftware()
220 int r = nativeGetTransparentRegion(mBitmap.ni(), mNativeChunk, bounds); 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.java66 int ni = nativeBeginRecording(mNativePicture, width, height); in beginRecording() local
67 mRecordingCanvas = new RecordingCanvas(this, ni); in beginRecording()
167 final int ni() { in ni() method in Picture
DTableMaskFilter.java31 private TableMaskFilter(int ni) { in TableMaskFilter() argument
32 native_instance = ni; in TableMaskFilter()
DCanvas.java140 mNativeCanvas = initRaster(bitmap.ni()); in Canvas()
230 safeCanvasSwap(initRaster(bitmap.ni()), true); in setBitmap()
668 return native_clipPath(mNativeCanvas, path.ni(), op.nativeInt); in clipPath()
693 return native_clipRegion(mNativeCanvas, region.ni(), op.nativeInt); in clipRegion()
778 return native_quickReject(mNativeCanvas, path.ni()); in quickReject()
1076 native_drawPath(mNativeCanvas, path.ni(), paint.mNativePaint); in drawPath()
1140 native_drawBitmap(mNativeCanvas, bitmap.ni(), left, top, in drawBitmap()
1171 native_drawBitmap(mNativeCanvas, bitmap.ni(), src, dst, in drawBitmap()
1202 native_drawBitmap(mNativeCanvas, bitmap.ni(), src, dst, in drawBitmap()
1269 nativeDrawBitmapMatrix(mNativeCanvas, bitmap.ni(), matrix.ni(), in drawBitmap()
[all …]
DPath.java203 FillType(int ni) { in FillType() argument
204 nativeInt = ni; in FillType()
471 Direction(int ni) { in Direction() argument
472 nativeInt = ni; in Direction()
702 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.java45 final int b = bitmap.ni(); in BitmapShader()
DBitmap.java451 Config(int ni) { in Config() argument
452 this.nativeInt = ni; in Config()
455 static Config nativeToConfig(int ni) { in nativeToConfig() argument
456 return sConfigs[ni]; in nativeToConfig()
1633 /* package */ final int ni() { in ni() method in Bitmap
DPaint.java924 return native_getFillPath(mNativePaint, src.ni(), dst.ni()); in getFillPath()
2136 path.ni()); in getTextPath()
2158 path.ni()); in getTextPath()
DMatrix.java803 /*package*/ final int ni() { in ni() method in Matrix
/frameworks/base/services/java/com/android/server/
DConnectivityService.java983 for (NetworkInfo ni : getAllNetworkInfo()) { in getProvisioningNetworkInfo()
984 if (ni.isConnectedToProvisioningNetwork()) { in getProvisioningNetworkInfo()
985 provNi = ni; in getProvisioningNetworkInfo()
1306 NetworkInfo ni = network.getNetworkInfo(); in startUsingNetworkFeature() local
1308 if (ni.isAvailable() == false) { in startUsingNetworkFeature()
1310 if (DBG) log("special network not available ni=" + ni.getTypeName()); in startUsingNetworkFeature()
1316 ni.getTypeName()); in startUsingNetworkFeature()
1349 if ((ni.isConnectedOrConnecting() == true) && in startUsingNetworkFeature()
1351 if (ni.isConnected() == true) { in startUsingNetworkFeature()
4110 NetworkInfo ni = in checkMobileProvisioning()
[all …]
/frameworks/base/core/java/android/widget/
DImageView.java525 ScaleType(int ni) { in ScaleType() argument
526 nativeInt = ni; in ScaleType()
/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;