/frameworks/layoutlib/bridge/src/android/graphics/ |
D | RenderNode_Delegate.java | 36 private static final DelegateManager<RenderNode_Delegate> sManager = field in RenderNode_Delegate 61 return sManager.addNewDelegate(renderNodeDelegate); in nCreate() 68 … sFinalizer = NativeAllocationRegistry_Delegate.createFinalizer(sManager::removeJavaReferenceFor); in nGetNativeFinalizer() 76 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nSetElevation() 86 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nGetElevation() 95 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nSetTranslationX() 105 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nGetTranslationX() 114 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nSetTranslationY() 124 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nGetTranslationY() 133 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nSetTranslationZ() [all …]
|
D | Region_Delegate.java | 50 protected static final DelegateManager<Region_Delegate> sManager = field in Region_Delegate 61 return sManager.getDelegate(nativeShader); in getDelegate() 142 Region_Delegate regionDelegate = sManager.getDelegate(thisRegion.mNativeRegion); in isEmpty() 152 Region_Delegate regionDelegate = sManager.getDelegate(thisRegion.mNativeRegion); in isRect() 162 Region_Delegate regionDelegate = sManager.getDelegate(thisRegion.mNativeRegion); in isComplex() 172 Region_Delegate regionDelegate = sManager.getDelegate(thisRegion.mNativeRegion); in contains() 183 Region_Delegate regionDelegate = sManager.getDelegate(thisRegion.mNativeRegion); in quickContains() 195 Region_Delegate regionDelegate = sManager.getDelegate(thisRegion.mNativeRegion); in quickReject() 206 Region_Delegate regionDelegate = sManager.getDelegate(thisRegion.mNativeRegion); in quickReject() 211 Region_Delegate targetRegionDelegate = sManager.getDelegate(rgn.mNativeRegion); in quickReject() [all …]
|
D | Paint_Delegate.java | 78 private static final DelegateManager<Paint_Delegate> sManager = field in Paint_Delegate 122 return sManager.getDelegate(native_paint); in getDelegate() 292 Paint_Delegate delegate = sManager.getDelegate(nativePaint); in nGetFlags() 305 Paint_Delegate delegate = sManager.getDelegate(nativePaint); in nSetFlags() 321 Paint_Delegate delegate = sManager.getDelegate(nativePaint); in nGetHinting() 332 Paint_Delegate delegate = sManager.getDelegate(nativePaint); in nSetHinting() 381 Paint_Delegate delegate = sManager.getDelegate(paintPtr); in nSetColor() 391 Paint_Delegate delegate = sManager.getDelegate(paintPtr); in nSetColor() 402 Paint_Delegate delegate = sManager.getDelegate(nativePaint); in nSetAlpha() 413 Paint_Delegate delegate = sManager.getDelegate(nativePaint); in nGetStrokeWidth() [all …]
|
D | Path_Delegate.java | 59 private static final DelegateManager<Path_Delegate> sManager = field in Path_Delegate 79 return sManager.getDelegate(nPath); in getDelegate() 109 return sManager.addNewDelegate(newDelegate); in nInit() 118 Path_Delegate pathDelegate = sManager.getDelegate(nPath); in nInit() 123 return sManager.addNewDelegate(newDelegate); in nInit() 128 Path_Delegate pathDelegate = sManager.getDelegate(nPath); in nReset() 145 Path_Delegate pathDstDelegate = sManager.getDelegate(native_dst); in nSet() 150 Path_Delegate pathSrcDelegate = sManager.getDelegate(nSrc); in nSet() 167 Path_Delegate pathDelegate = sManager.getDelegate(nPath); in nGetFillType() 177 Path_Delegate pathDelegate = sManager.getDelegate(nPath); in nSetFillType() [all …]
|
D | Matrix_Delegate.java | 50 private static final DelegateManager<Matrix_Delegate> sManager = field in Matrix_Delegate 60 return sManager.getDelegate(native_instance); in getDelegate() 67 Matrix_Delegate delegate = sManager.getDelegate(m.native_instance); in getAffineTransform() 76 Matrix_Delegate delegate = sManager.getDelegate(m.native_instance); in hasPerspective() 189 Matrix_Delegate oldDelegate = sManager.getDelegate(native_src_or_zero); in nCreate() 198 return sManager.addNewDelegate(newDelegate); in nCreate() 203 Matrix_Delegate d = sManager.getDelegate(native_object); in nIsIdentity() 213 Matrix_Delegate d = sManager.getDelegate(native_object); in nIsAffine() 223 Matrix_Delegate d = sManager.getDelegate(native_object); in nRectStaysRect() 233 Matrix_Delegate d = sManager.getDelegate(native_object); in nReset() [all …]
|
D | Bitmap_Delegate.java | 71 private static final DelegateManager<Bitmap_Delegate> sManager = field in Bitmap_Delegate 93 return sManager.getDelegate(native_bitmap); in getDelegate() 242 Bitmap_Delegate srcBmpDelegate = sManager.getDelegate(srcBitmap); in nativeCopy() 288 … sFinalizer = NativeAllocationRegistry_Delegate.createFinalizer(sManager::removeJavaReferenceFor); in nativeGetNativeFinalizer() 317 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); in nativeErase() 342 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); in nativeRowBytes() 353 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); in nativeConfig() 364 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); in nativeHasAlpha() 372 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); in nativeHasMipMap() 380 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); in nativeGetPixel() [all …]
|
D | Typeface_Delegate.java | 73 private static final DelegateManager<Typeface_Delegate> sManager = field in Typeface_Delegate 101 return sManager.getDelegate(nativeTypeface); in getDelegate() 108 Typeface_Delegate delegate = sManager.getDelegate(native_instance); in nativeCreateFromTypeface() 110 delegate = sManager.getDelegate(sDefaultTypeface); in nativeCreateFromTypeface() 116 return sManager.addNewDelegate( in nativeCreateFromTypeface() 124 Typeface_Delegate delegate = sManager.getDelegate(native_instance); in nativeCreateFromTypefaceWithExactStyle() 126 delegate = sManager.getDelegate(sDefaultTypeface); in nativeCreateFromTypefaceWithExactStyle() 134 return sManager.addNewDelegate( in nativeCreateFromTypefaceWithExactStyle() 159 Typeface_Delegate delegate = sManager.getDelegate(native_instance); in nativeCreateWeightAlias() 161 delegate = sManager.getDelegate(sDefaultTypeface); in nativeCreateWeightAlias() [all …]
|
D | PathMeasure_Delegate.java | 45 private static final DelegateManager<PathMeasure_Delegate> sManager = field in PathMeasure_Delegate 71 return sManager.addNewDelegate(new PathMeasure_Delegate(native_path, forceClosed)); in native_create() 76 sManager.removeJavaReferenceFor(native_instance); in native_destroy() 105 PathMeasure_Delegate pathMeasure = sManager.getDelegate(native_instance); in native_setPath() 125 PathMeasure_Delegate pathMeasure = sManager.getDelegate(native_instance); in native_getLength() 137 PathMeasure_Delegate pathMeasure = sManager.getDelegate(native_instance); in native_isClosed() 166 PathMeasure_Delegate pathMeasure = sManager.getDelegate(native_instance); in native_getSegment()
|
D | DrawFilter_Delegate.java | 40 protected static final DelegateManager<DrawFilter_Delegate> sManager = field in DrawFilter_Delegate 50 return sManager.getDelegate(nativeDrawFilter); in getDelegate() 60 sManager.removeJavaReferenceFor(nativeDrawFilter); in nativeDestructor()
|
D | MaskFilter_Delegate.java | 40 protected static final DelegateManager<MaskFilter_Delegate> sManager = field in MaskFilter_Delegate 50 return sManager.getDelegate(nativeShader); in getDelegate() 60 sManager.removeJavaReferenceFor(native_filter); in nativeDestructor()
|
D | PathEffect_Delegate.java | 42 protected static final DelegateManager<PathEffect_Delegate> sManager = field in PathEffect_Delegate 52 return sManager.getDelegate(nativeShader); in getDelegate() 64 sManager.removeJavaReferenceFor(native_patheffect); in nativeDestructor()
|
D | ColorSpace_Rgb_Delegate.java | 33 private static final DelegateManager<ColorSpace_Rgb_Delegate> sManager = field in ColorSpace_Rgb_Delegate 41 … sFinalizer = NativeAllocationRegistry_Delegate.createFinalizer(sManager::removeJavaReferenceFor); in nativeGetNativeFinalizer() 52 return sManager.addNewDelegate(new ColorSpace_Rgb_Delegate()); in nativeCreate()
|
D | NinePatch_Delegate.java | 49 private static final DelegateManager<NinePatch_Delegate> sManager = field in NinePatch_Delegate 150 return sManager.addNewDelegate(newDelegate); in validateNinePatchChunk() 155 NinePatch_Delegate delegate = sManager.getDelegate(nativeNinePatch); in nativeFinalize() 159 sManager.removeJavaReferenceFor(nativeNinePatch); in nativeFinalize() 170 NinePatch_Delegate delegate = sManager.getDelegate(nativeNinePatch); in getChunk()
|
D | ColorFilter_Delegate.java | 44 protected static final DelegateManager<ColorFilter_Delegate> sManager = field in ColorFilter_Delegate 55 return sManager.getDelegate(nativeShader); in getDelegate() 76 sManager::removeJavaReferenceFor); in nativeGetFinalizer()
|
D | Shader_Delegate.java | 44 protected static final DelegateManager<Shader_Delegate> sManager = field in Shader_Delegate 57 return sManager.getDelegate(nativeShader); in getDelegate() 87 sManager::removeJavaReferenceFor); in nativeGetFinalizer()
|
/frameworks/layoutlib/bridge/src/com/android/internal/view/animation/ |
D | NativeInterpolatorFactoryHelper_Delegate.java | 46 private static final DelegateManager<Interpolator> sManager = new DelegateManager<> field in NativeInterpolatorFactoryHelper_Delegate 50 return sManager.getDelegate(nativePtr); in getDelegate() 55 return sManager.addNewDelegate(new AccelerateDecelerateInterpolator()); in createAccelerateDecelerateInterpolator() 60 return sManager.addNewDelegate(new AccelerateInterpolator(factor)); in createAccelerateInterpolator() 65 return sManager.addNewDelegate(new AnticipateInterpolator(tension)); in createAnticipateInterpolator() 70 return sManager.addNewDelegate(new AnticipateOvershootInterpolator(tension)); in createAnticipateOvershootInterpolator() 75 return sManager.addNewDelegate(new BounceInterpolator()); in createBounceInterpolator() 80 return sManager.addNewDelegate(new CycleInterpolator(cycles)); in createCycleInterpolator() 85 return sManager.addNewDelegate(new DecelerateInterpolator(factor)); in createDecelerateInterpolator() 90 return sManager.addNewDelegate(new LinearInterpolator()); in createLinearInterpolator() [all …]
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableInstrumentation.java | 38 private static MainLooperManager sManager; field in TestableInstrumentation 43 sManager = new MainLooperManager(); in onCreate() 60 sManager.destroy(); in finish() 66 if (sManager != null) { in acquireMain() 67 sManager.acquireMain(); in acquireMain() 72 if (sManager != null) { in releaseMain() 73 sManager.releaseMain(); in releaseMain()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | AssetManager_Delegate.java | 38 private static final DelegateManager<AssetManager_Delegate> sManager = field in AssetManager_Delegate 42 return sManager; in getDelegateManager() 50 return sManager.addNewDelegate(delegate); in nativeCreate() 55 sManager.removeJavaReferenceFor(ptr); in nativeDestroy()
|
/frameworks/layoutlib/bridge/src/libcore/util/ |
D | NativeAllocationRegistry_Delegate.java | 41 private static final DelegateManager<NativeAllocationRegistry_Delegate> sManager = field in NativeAllocationRegistry_Delegate 54 return sManager.addNewDelegate(new NativeAllocationRegistry_Delegate(finalizer)); in createFinalizer() 69 sManager.markAsNativeAllocation(referent, nativePtr); in registerNativeAllocation() 101 NativeAllocationRegistry_Delegate delegate = sManager.getDelegate(freeFunction); in applyFreeFunction()
|
/frameworks/layoutlib/bridge/src/android/os/ |
D | Binder_Delegate.java | 35 private static final DelegateManager<Binder_Delegate> sManager = field in Binder_Delegate 41 return sManager.addNewDelegate(new Binder_Delegate()); in getNativeBBinderHolder() 49 sManager::removeJavaReferenceFor); in getNativeFinalizer()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | SurfaceControl_Delegate.java | 27 private static final DelegateManager<SurfaceControl_Delegate> sManager = field in SurfaceControl_Delegate 33 return sManager.addNewDelegate(new SurfaceControl_Delegate()); in nativeCreateTransaction() 40 … sFinalizer = NativeAllocationRegistry_Delegate.createFinalizer(sManager::removeJavaReferenceFor); in nativeGetNativeTransactionFinalizer()
|
/frameworks/layoutlib/bridge/src/android/graphics/text/ |
D | MeasuredText_Delegate.java | 39 protected static final DelegateManager<MeasuredText_Delegate> sManager = field in MeasuredText_Delegate 56 sManager::removeJavaReferenceFor); in nGetReleaseFunc() 80 MeasuredText_Delegate delegate = sManager.getDelegate(measuredTextPtr); in computeRuns()
|
/frameworks/layoutlib/bridge/src/libcore/io/ |
D | MemoryMappedFile_Delegate.java | 39 private static final DelegateManager<MemoryMappedFile_Delegate> sManager = new field in MemoryMappedFile_Delegate 73 long delegateIndex = sManager.addNewDelegate(newDelegate); in mmapRO() 89 sManager.removeJavaReferenceFor(index); in close() 115 return index == null ? null : sManager.getDelegate(index); in getDelegate()
|
/frameworks/layoutlib/bridge/src/android/util/ |
D | PathParser_Delegate.java | 47 private static final DelegateManager<PathParser_Delegate> sManager = field in PathParser_Delegate 55 return sManager.getDelegate(nativePtr); in getDelegate() 80 PathParser_Delegate source = sManager.getDelegate(outPathPtr); in nCreatePathFromPathData() 90 return sManager.addNewDelegate(newDelegate); in nCreateEmptyPathData() 95 PathParser_Delegate source = sManager.getDelegate(nativePtr); in nCreatePathData() 100 return sManager.addNewDelegate(dest); in nCreatePathData() 109 return sManager.addNewDelegate(delegate); in nCreatePathDataFromString() 116 PathParser_Delegate out = sManager.getDelegate(outDataPtr); in nInterpolatePathData() 117 PathParser_Delegate from = sManager.getDelegate(fromDataPtr); in nInterpolatePathData() 118 PathParser_Delegate to = sManager.getDelegate(toDataPtr); in nInterpolatePathData() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/internal/util/ |
D | VirtualRefBasePtr_Delegate.java | 33 private static final DelegateManager<Object> sManager = new DelegateManager<>(Object.class); field in VirtualRefBasePtr_Delegate 50 sManager.removeJavaReferenceFor(ptr); in nDecStrong()
|