Home
last modified time | relevance | path

Searched refs:getDelegate (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
DAppCompatPreferenceActivity.java44 getDelegate().installViewFactory(); in onCreate()
45 getDelegate().onCreate(savedInstanceState); in onCreate()
52 getDelegate().onPostCreate(savedInstanceState); in onPostCreate()
56 return getDelegate().getSupportActionBar(); in getSupportActionBar()
60 getDelegate().setSupportActionBar(toolbar); in setSupportActionBar()
65 return getDelegate().getMenuInflater(); in getMenuInflater()
70 getDelegate().setContentView(layoutResID); in setContentView()
75 getDelegate().setContentView(view); in setContentView()
80 getDelegate().setContentView(view, params); in setContentView()
85 getDelegate().addContentView(view, params); in addContentView()
[all …]
DAppCompatNightModeActivity.java40 getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_NO); in setModeNightNo()
44 getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_YES); in setModeNightYes()
48 getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_AUTO); in setModeNightAuto()
DAppCompatNightModeAlertDialog.java41 dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_NO); in setModeNightNo()
47 dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_YES); in setModeNightYes()
53 dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_AUTO); in setModeNightAuto()
DAppCompatNightModeDialog.java47 dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_NO); in setModeNightNo()
55 dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_YES); in setModeNightYes()
63 dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_AUTO); in setModeNightAuto()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatDialog.java52 getDelegate().onCreate(null); in AppCompatDialog()
55 getDelegate().applyDayNight(); in AppCompatDialog()
65 getDelegate().installViewFactory(); in onCreate()
67 getDelegate().onCreate(savedInstanceState); in onCreate()
78 return getDelegate().getSupportActionBar(); in getSupportActionBar()
83 getDelegate().setContentView(layoutResID); in setContentView()
88 getDelegate().setContentView(view); in setContentView()
93 getDelegate().setContentView(view, params); in setContentView()
99 return getDelegate().findViewById(id); in findViewById()
105 getDelegate().setTitle(title); in setTitle()
[all …]
DAppCompatActivity.java74 final AppCompatDelegate delegate = getDelegate(); in onCreate()
101 getDelegate().onPostCreate(savedInstanceState); in onPostCreate()
113 return getDelegate().getSupportActionBar(); in getSupportActionBar()
133 getDelegate().setSupportActionBar(toolbar); in setSupportActionBar()
138 return getDelegate().getMenuInflater(); in getMenuInflater()
143 getDelegate().setContentView(layoutResID); in setContentView()
148 getDelegate().setContentView(view); in setContentView()
153 getDelegate().setContentView(view, params); in setContentView()
158 getDelegate().addContentView(view, params); in addContentView()
164 getDelegate().onConfigurationChanged(newConfig); in onConfigurationChanged()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DRenderNode_Delegate.java71 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nSetElevation()
81 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nGetElevation()
90 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nSetTranslationX()
100 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nGetTranslationX()
109 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nSetTranslationY()
119 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nGetTranslationY()
128 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nSetTranslationZ()
138 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nGetTranslationZ()
147 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nSetRotation()
157 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nGetRotation()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java111 public static Paint_Delegate getDelegate(long native_paint) { in getDelegate() method in Paint_Delegate
112 return sManager.getDelegate(native_paint); in getDelegate()
227 mColorFilter = ColorFilter_Delegate.getDelegate(colorFilterPtr); in setColorFilter()
231 mShader = Shader_Delegate.getDelegate(shaderPtr); in setShader()
266 Paint_Delegate delegate = sManager.getDelegate(nativePaint); in nGetFlags()
279 Paint_Delegate delegate = sManager.getDelegate(nativePaint); in nSetFlags()
295 Paint_Delegate delegate = sManager.getDelegate(nativePaint); in nGetHinting()
306 Paint_Delegate delegate = sManager.getDelegate(nativePaint); in nSetHinting()
356 Paint_Delegate delegate = sManager.getDelegate(nativePaint); in nGetColor()
367 Paint_Delegate delegate = sManager.getDelegate(nativePaint); in nSetColor()
[all …]
DRegion_Delegate.java60 public static Region_Delegate getDelegate(long nativeShader) { in getDelegate() method 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 …]
DMatrix_Delegate.java56 public static Matrix_Delegate getDelegate(long native_instance) { in getDelegate() method in Matrix_Delegate
57 return sManager.getDelegate(native_instance); in getDelegate()
64 Matrix_Delegate delegate = sManager.getDelegate(m.native_instance); in getAffineTransform()
73 Matrix_Delegate delegate = sManager.getDelegate(m.native_instance); in hasPerspective()
183 Matrix_Delegate oldDelegate = sManager.getDelegate(native_src_or_zero); in native_create()
197 Matrix_Delegate d = sManager.getDelegate(native_object); in native_isIdentity()
207 Matrix_Delegate d = sManager.getDelegate(native_object); in native_isAffine()
217 Matrix_Delegate d = sManager.getDelegate(native_object); in native_rectStaysRect()
227 Matrix_Delegate d = sManager.getDelegate(native_object); in native_reset()
237 Matrix_Delegate d = sManager.getDelegate(native_object); in native_set()
[all …]
DPath_Delegate.java74 public static Path_Delegate getDelegate(long nPath) { in getDelegate() method in Path_Delegate
75 return sManager.getDelegate(nPath); in getDelegate()
112 Path_Delegate pathDelegate = sManager.getDelegate(nPath); in init2()
122 Path_Delegate pathDelegate = sManager.getDelegate(nPath); in native_reset()
139 Path_Delegate pathDstDelegate = sManager.getDelegate(native_dst); in native_set()
144 Path_Delegate pathSrcDelegate = sManager.getDelegate(native_src); in native_set()
161 Path_Delegate pathDelegate = sManager.getDelegate(nPath); in native_getFillType()
171 Path_Delegate pathDelegate = sManager.getDelegate(nPath); in native_setFillType()
181 Path_Delegate pathDelegate = sManager.getDelegate(nPath); in native_isEmpty()
188 Path_Delegate pathDelegate = sManager.getDelegate(nPath); in native_isRect()
[all …]
DCanvas_Delegate.java83 public static Canvas_Delegate getDelegate(Canvas canvas) { in getDelegate() method in Canvas_Delegate
84 return sManager.getDelegate(canvas.getNativeCanvasWrapper()); in getDelegate()
90 public static Canvas_Delegate getDelegate(long native_canvas) { in getDelegate() method in Canvas_Delegate
91 return sManager.getDelegate(native_canvas); in getDelegate()
130 Bitmap_Delegate bitmapDelegate = Bitmap_Delegate.getDelegate(nativeBitmapOrZero); in initRaster()
146 Canvas_Delegate canvasDelegate = sManager.getDelegate(canvas); in native_setBitmap()
147 Bitmap_Delegate bitmapDelegate = Bitmap_Delegate.getDelegate(bitmap); in native_setBitmap()
158 Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in native_isOpaque()
172 Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in native_getWidth()
183 Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas); in native_getHeight()
[all …]
DBitmap_Delegate.java89 public static Bitmap_Delegate getDelegate(long native_bitmap) { in getDelegate() method in Bitmap_Delegate
90 return sManager.getDelegate(native_bitmap); in getDelegate()
94 public static Bitmap_Delegate getDelegate(@Nullable Bitmap bitmap) { in getDelegate() method in Bitmap_Delegate
96 return bitmap == null ? null : getDelegate(bitmap.refSkPixelRef()); in getDelegate()
271 Bitmap_Delegate srcBmpDelegate = sManager.getDelegate(srcBitmap); in nativeCopy()
346 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); in nativeErase()
366 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); in nativeRowBytes()
377 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); in nativeConfig()
388 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); in nativeHasAlpha()
396 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); in nativeHasMipMap()
[all …]
DTypeface_Delegate.java69 public static Typeface_Delegate getDelegate(long nativeTypeface) { in getDelegate() method in Typeface_Delegate
70 return sManager.getDelegate(nativeTypeface); in getDelegate()
149 Typeface_Delegate delegate = sManager.getDelegate(native_instance);
151 delegate = sManager.getDelegate(sDefaultTypeface);
163 Typeface_Delegate delegate = sManager.getDelegate(native_instance);
165 delegate = sManager.getDelegate(sDefaultTypeface);
179 fontFamilies[i] = FontFamily_Delegate.getDelegate(familyArray[i]);
192 Typeface_Delegate delegate = sManager.getDelegate(native_instance);
DShader_Delegate.java52 public static Shader_Delegate getDelegate(long nativeShader) { in getDelegate() method in Shader_Delegate
53 return sManager.getDelegate(nativeShader); in getDelegate()
86 Shader_Delegate shaderDelegate = sManager.getDelegate(native_shader); in nativeSetLocalMatrix()
91 shaderDelegate.mLocalMatrix = Matrix_Delegate.getDelegate(matrix_instance); in nativeSetLocalMatrix()
DPathMeasure_Delegate.java63 Path_Delegate pathDelegate = Path_Delegate.getDelegate(native_path); in PathMeasure_Delegate()
105 PathMeasure_Delegate pathMeasure = sManager.getDelegate(native_instance); in native_setPath()
115 Path_Delegate pathDelegate = Path_Delegate.getDelegate(native_path); 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()
140 Path_Delegate path = Path_Delegate.getDelegate(pathMeasure.mNativePath); in native_isClosed()
166 PathMeasure_Delegate pathMeasure = sManager.getDelegate(native_instance); in native_getSegment()
DRasterizer_Delegate.java49 public static Rasterizer_Delegate getDelegate(long nativeShader) { in getDelegate() method in Rasterizer_Delegate
50 return sManager.getDelegate(nativeShader); in getDelegate()
DMaskFilter_Delegate.java49 public static MaskFilter_Delegate getDelegate(long nativeShader) { in getDelegate() method in MaskFilter_Delegate
50 return sManager.getDelegate(nativeShader); in getDelegate()
DDrawFilter_Delegate.java49 public static DrawFilter_Delegate getDelegate(long nativeDrawFilter) { in getDelegate() method in DrawFilter_Delegate
50 return sManager.getDelegate(nativeDrawFilter); in getDelegate()
DXfermode_Delegate.java51 public static Xfermode_Delegate getDelegate(long native_instance) { in getDelegate() method in Xfermode_Delegate
52 return sManager.getDelegate(native_instance); in getDelegate()
DPathEffect_Delegate.java51 public static PathEffect_Delegate getDelegate(long nativeShader) { in getDelegate() method in PathEffect_Delegate
52 return sManager.getDelegate(nativeShader); in getDelegate()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java94 VGroup_Delegate rootGroup = VNativeObject.getDelegate(rootGroupPtr); in nCreateTree()
101 VPathRenderer_Delegate nativePathRenderer = VNativeObject.getDelegate(rendererPtr); in nSetRendererViewportSize()
108 VPathRenderer_Delegate nativePathRenderer = VNativeObject.getDelegate(rendererPtr); in nSetRootAlpha()
116 VPathRenderer_Delegate nativePathRenderer = VNativeObject.getDelegate(rendererPtr); in nGetRootAlpha()
129 VPathRenderer_Delegate nativePathRenderer = VNativeObject.getDelegate(rendererPtr); in nDraw()
157 VFullPath_Delegate original = VNativeObject.getDelegate(nativeFullPathPtr); in nCreateFullPath()
165 VFullPath_Delegate path = VNativeObject.getDelegate(pathPtr); in nGetFullPathProperties()
193 VFullPath_Delegate path = VNativeObject.getDelegate(pathPtr); in nUpdateFullPathProperties()
211 VFullPath_Delegate path = VNativeObject.getDelegate(pathPtr); in nUpdateFullPathFillGradient()
218 VFullPath_Delegate path = VNativeObject.getDelegate(pathPtr); in nUpdateFullPathStrokeGradient()
[all …]
DAnimatedVectorDrawable_Delegate.java63 PropertySetter holder = sHolders.getDelegate(propertyValuesHolder); in nAddAnimator()
71 NativeInterpolatorFactoryHelper_Delegate.getDelegate(nativeInterpolator)); in nAddAnimator()
78 AnimatorSetHolder set = sAnimatorSets.getDelegate(setPtr); in nAddAnimator()
86 VGroup_Delegate group = VNativeObject.getDelegate(nativePtr); in nCreateGroupPropertyHolder()
104 VFullPath_Delegate path = VNativeObject.getDelegate(nativePtr); in nCreatePathColorPropertyHolder()
114 VFullPath_Delegate path = VNativeObject.getDelegate(nativePtr); in nCreatePathPropertyHolder()
124 VPathRenderer_Delegate renderer = VNativeObject.getDelegate(nativePtr); in nCreateRootAlphaPropertyHolder()
133 PropertySetter setter = sHolders.getDelegate(nativePtr); in nSetPropertyHolderData()
141 AnimatorSetHolder animatorSet = sAnimatorSets.getDelegate(animatorSetPtr); in nStart()
149 AnimatorSetHolder animatorSet = sAnimatorSets.getDelegate(animatorSetPtr); in nReverse()
[all …]
/frameworks/base/core/java/android/net/
DSSLCertificateSocketFactory.java228 private synchronized SSLSocketFactory getDelegate() { in getDelegate() method in SSLCertificateSocketFactory
437 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(k, host, port, close); in createSocket()
458 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(); in createSocket()
476 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket( in createSocket()
494 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(addr, port); in createSocket()
511 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket( in createSocket()
531 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(host, port); in createSocket()
544 return getDelegate().getDefaultCipherSuites(); in getDefaultCipherSuites()
549 return getDelegate().getSupportedCipherSuites(); in getSupportedCipherSuites()
/frameworks/base/tools/layoutlib/bridge/src/android/text/
DStaticLayout_Delegate.java62 Builder builder = sBuilderManager.getDelegate(nativeBuilder); in nSetLocale()
79 Builder builder = sBuilderManager.getDelegate(nativeBuilder); in nSetupParagraph()
93 Builder builder = sBuilderManager.getDelegate(nativeBuilder); in nAddStyleRun()
103 Builder builder = sBuilderManager.getDelegate(nativeBuilder); in nAddMeasuredRun()
111 Builder builder = sBuilderManager.getDelegate(nativeBuilder); in nAddReplacementRun()
121 Builder builder = sBuilderManager.getDelegate(nativeBuilder); in nGetWidths()
132 Builder builder = sBuilderManager.getDelegate(nativeBuilder); in nComputeLineBreaks()
214 Paint_Delegate paint = Paint_Delegate.getDelegate(nativePaint); in measureText()

12