Home
last modified time | relevance | path

Searched refs:sManager (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/layoutlib/bridge/src/android/graphics/
DRenderNode_Delegate.java36 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 …]
DRegion_Delegate.java50 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 …]
DPaint_Delegate.java78 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 …]
DPath_Delegate.java59 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 …]
DMatrix_Delegate.java50 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 …]
DBitmap_Delegate.java71 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 …]
DTypeface_Delegate.java73 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 …]
DPathMeasure_Delegate.java45 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()
DDrawFilter_Delegate.java40 protected static final DelegateManager<DrawFilter_Delegate> sManager = field in DrawFilter_Delegate
50 return sManager.getDelegate(nativeDrawFilter); in getDelegate()
60 sManager.removeJavaReferenceFor(nativeDrawFilter); in nativeDestructor()
DMaskFilter_Delegate.java40 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()
DPathEffect_Delegate.java42 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()
DColorSpace_Rgb_Delegate.java33 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()
DNinePatch_Delegate.java49 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()
DColorFilter_Delegate.java44 protected static final DelegateManager<ColorFilter_Delegate> sManager = field in ColorFilter_Delegate
55 return sManager.getDelegate(nativeShader); in getDelegate()
76 sManager::removeJavaReferenceFor); in nativeGetFinalizer()
DShader_Delegate.java44 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/
DNativeInterpolatorFactoryHelper_Delegate.java46 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/
DTestableInstrumentation.java38 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/
DAssetManager_Delegate.java38 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/
DNativeAllocationRegistry_Delegate.java41 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/
DBinder_Delegate.java35 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/
DSurfaceControl_Delegate.java27 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/
DMeasuredText_Delegate.java39 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/
DMemoryMappedFile_Delegate.java39 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/
DPathParser_Delegate.java47 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/
DVirtualRefBasePtr_Delegate.java33 private static final DelegateManager<Object> sManager = new DelegateManager<>(Object.class); field in VirtualRefBasePtr_Delegate
50 sManager.removeJavaReferenceFor(ptr); in nDecStrong()

12