/frameworks/layoutlib/bridge/src/android/view/ |
D | RenderNode_Delegate.java | 78 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nSetElevation() local 79 if (delegate != null && delegate.mLift != lift) { in nSetElevation() 80 delegate.mLift = lift; in nSetElevation() 88 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nGetElevation() local 89 if (delegate != null) { in nGetElevation() 90 return delegate.mLift; in nGetElevation() 97 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nSetTranslationX() local 98 if (delegate != null && delegate.mTranslationX != translationX) { in nSetTranslationX() 99 delegate.mTranslationX = translationX; in nSetTranslationX() 107 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nGetTranslationX() local [all …]
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 255 Paint_Delegate delegate = sManager.getDelegate(nativePaint); in nGetFlags() local 256 if (delegate == null) { in nGetFlags() 260 return delegate.mFlags; in nGetFlags() 268 Paint_Delegate delegate = sManager.getDelegate(nativePaint); in nSetFlags() local 269 if (delegate == null) { in nSetFlags() 273 delegate.mFlags = flags; in nSetFlags() 284 Paint_Delegate delegate = sManager.getDelegate(nativePaint); in nGetHinting() local 285 if (delegate == null) { in nGetHinting() 289 return delegate.mHintingMode; in nGetHinting() 295 Paint_Delegate delegate = sManager.getDelegate(nativePaint); in nSetHinting() local [all …]
|
D | Bitmap_Delegate.java | 141 Bitmap_Delegate delegate = new Bitmap_Delegate(image, Config.ARGB_8888); in createBitmap() local 143 return createBitmap(delegate, createFlags, density.getDpiValue()); in createBitmap() 174 Bitmap_Delegate delegate = new Bitmap_Delegate(ImageIO.read(input), Config.ARGB_8888); in createBitmap() local 176 return createBitmap(delegate, createFlags, density.getDpiValue()); in createBitmap() 206 Bitmap_Delegate delegate = new Bitmap_Delegate(image, Config.ARGB_8888); in createBitmap() local 208 return createBitmap(delegate, createFlags, density.getDpiValue()); in createBitmap() 263 Bitmap_Delegate delegate = new Bitmap_Delegate(image, Config.nativeToConfig(nativeConfig)); in nativeCreate() local 265 return createBitmap(delegate, getPremultipliedBitmapCreateFlags(isMutable), in nativeCreate() 292 Bitmap_Delegate delegate = new Bitmap_Delegate(image, Config.nativeToConfig(nativeConfig)); in nativeCopy() local 294 return createBitmap(delegate, getPremultipliedBitmapCreateFlags(isMutable), in nativeCopy() [all …]
|
D | Typeface_Delegate.java | 156 Typeface_Delegate delegate = sManager.getDelegate(native_instance); 157 if (delegate == null) { 158 delegate = sManager.getDelegate(sDefaultTypeface); 160 if (delegate == null) { 164 return sManager.addNewDelegate(new Typeface_Delegate(delegate.mFontFamilies, style, 165 delegate.mWeight)); 171 Typeface_Delegate delegate = sManager.getDelegate(native_instance); 172 if (delegate == null) { 173 delegate = sManager.getDelegate(sDefaultTypeface); 175 if (delegate == null) { [all …]
|
D | FontFamily_Delegate.java | 259 final FontFamily_Delegate delegate = getDelegate(thisFontFamily.mBuilderPtr); in addFont() local 260 return delegate != null && delegate.addFont(path, ttcIndex, weight, italic); in addFont() 268 FontFamily_Delegate delegate = new FontFamily_Delegate(); in nInitBuilder() local 271 delegate.mVariant = FontVariant.values()[variant]; in nInitBuilder() 273 delegate.init(); in nInitBuilder() 275 sPostInitDelegate.add(delegate); in nInitBuilder() 277 return sManager.addNewDelegate(delegate); in nInitBuilder() 313 final FontFamily_Delegate delegate = getDelegate(builderPtr); 315 if (delegate != null) { 317 delegate.mPostInitRunnables.add(() -> delegate.addFont(path, weight, italic)); [all …]
|
D | NinePatch_Delegate.java | 174 NinePatch_Delegate delegate = sManager.getDelegate(nativeNinePatch); in getChunk() local 175 if (delegate != null) { in getChunk() 176 return delegate.chunk; in getChunk()
|
/frameworks/base/core/java/android/net/http/ |
D | HttpResponseCache.java | 154 private final AndroidShimResponseCache delegate; field in HttpResponseCache 156 private HttpResponseCache(AndroidShimResponseCache delegate) { in HttpResponseCache() argument 157 this.delegate = delegate; in HttpResponseCache() 188 AndroidShimResponseCache trueResponseCache = installedResponseCache.delegate; in install() 206 return delegate.get(uri, requestMethod, requestHeaders); in get() 210 return delegate.put(uri, urlConnection); in put() 220 return delegate.size(); in size() 232 return delegate.maxSize(); in maxSize() 242 delegate.flush(); in flush() 252 return delegate.getNetworkCount(); in getNetworkCount() [all …]
|
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
D | TextToSpeechTests.java | 77 IDelegate delegate = Mockito.mock(IDelegate.class); in testSetLanguage_delegation() local 78 MockableTextToSpeechService.setMocker(delegate); in testSetLanguage_delegation() 80 … Mockito.doReturn(TextToSpeech.LANG_COUNTRY_VAR_AVAILABLE).when(delegate).onIsLanguageAvailable( in testSetLanguage_delegation() 82 Mockito.doReturn(TextToSpeech.LANG_COUNTRY_VAR_AVAILABLE).when(delegate).onLoadLanguage( in testSetLanguage_delegation() 88 Mockito.verify(delegate, Mockito.atLeast(0)).onIsLanguageAvailable( in testSetLanguage_delegation() 90 Mockito.verify(delegate, Mockito.atLeast(0)).onLoadLanguage( in testSetLanguage_delegation() 95 IDelegate delegate = Mockito.mock(IDelegate.class); in testSetLanguage_availableLanguage() local 96 MockableTextToSpeechService.setMocker(delegate); in testSetLanguage_availableLanguage() 102 Mockito.doReturn(TextToSpeech.LANG_COUNTRY_AVAILABLE).when(delegate).onIsLanguageAvailable( in testSetLanguage_availableLanguage() 104 Mockito.doReturn(TextToSpeech.LANG_COUNTRY_AVAILABLE).when(delegate).onIsLanguageAvailable( in testSetLanguage_availableLanguage() [all …]
|
D | MockableCheckVoiceData.java | 31 MockableTextToSpeechService.IDelegate delegate = in onCreate() local 34 ArrayList<String> availableLangs = delegate.getAvailableVoices(); in onCreate() 35 ArrayList<String> unavailableLangs = delegate.getUnavailableVoices(); in onCreate()
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | LocationRequestUnbundled.java | 78 private final LocationRequest delegate; field in LocationRequestUnbundled 80 LocationRequestUnbundled(LocationRequest delegate) { in LocationRequestUnbundled() argument 81 this.delegate = delegate; in LocationRequestUnbundled() 90 return delegate.getInterval(); in getInterval() 103 return delegate.getFastestInterval(); in getFastestInterval() 112 return delegate.getQuality(); in getQuality() 121 return delegate.getSmallestDisplacement(); in getSmallestDisplacement() 126 return delegate.toString(); in toString()
|
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/processor/ |
D | DeletionMethodProcessor.kt | 31 val delegate = ShortcutMethodProcessor(context, containing, executableElement) in process() constant 32 delegate.extractAnnotation(Delete::class, ProcessorErrors.MISSING_DELETE_ANNOTATION) in process() 34 val returnTypeName = delegate.extractReturnType().typeName() in process() 41 val (entities, params) = delegate.extractParams( in process() 47 element = delegate.executableElement, in process() 48 name = delegate.executableElement.simpleName.toString(), in process()
|
D | UpdateMethodProcessor.kt | 34 val delegate = ShortcutMethodProcessor(context, containing, executableElement) in process() constant 35 val annotation = delegate in process() 42 val returnTypeName = delegate.extractReturnType().typeName() in process() 49 val (entities, params) = delegate.extractParams( in process() 55 element = delegate.executableElement, in process() 56 name = delegate.executableElement.simpleName.toString(), in process()
|
D | InsertionMethodProcessor.kt | 42 val delegate = ShortcutMethodProcessor(context, containing, executableElement) in process() constant 43 val annotation = delegate.extractAnnotation(Insert::class, in process() 50 val returnType = delegate.extractReturnType() in process() 55 val (entities, params) = delegate.extractParams( in process()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | DelegateManager.java | 104 Object delegate; in getDelegate() local 106 delegate = sDelegates.get(native_object); in getDelegate() 110 if (delegate == null) { in getDelegate() 116 assert delegate != null; in getDelegate() 118 return (T)delegate; in getDelegate() 152 T delegate = getDelegate(native_object); in removeJavaReferenceFor() local 159 sJavaReferences.remove(delegate); in removeJavaReferenceFor()
|
/frameworks/base/media/java/android/media/projection/ |
D | MediaProjectionManager.java | 134 CallbackDelegate delegate = new CallbackDelegate(callback, handler); in addCallback() local 135 mCallbacks.put(callback, delegate); in addCallback() 137 mService.addCallback(delegate); in addCallback() 151 CallbackDelegate delegate = mCallbacks.remove(callback); in removeCallback() local 153 if (delegate != null) { in removeCallback() 154 mService.removeCallback(delegate); in removeCallback()
|
/frameworks/support/media-compat/api21/android/support/v4/media/ |
D | VolumeProviderCompatApi21.java | 25 final Delegate delegate) { in createVolumeProvider() argument 29 delegate.onSetVolumeTo(volume); in createVolumeProvider() 34 delegate.onAdjustVolume(direction); in createVolumeProvider()
|
/frameworks/layoutlib/bridge/src/libcore/util/ |
D | NativeAllocationRegistry_Delegate.java | 59 NativeAllocationRegistry_Delegate delegate = sManager.getDelegate(freeFunction); in applyFreeFunction() local 60 if (delegate != null) { in applyFreeFunction() 61 delegate.mFinalizer.free(nativePtr); in applyFreeFunction()
|
/frameworks/webview/nullwebview/java/com/android/webview/nullwebview/ |
D | NullWebViewFactoryProvider.java | 34 public static WebViewFactoryProvider create(WebViewDelegate delegate) { in create() argument 35 return new NullWebViewFactoryProvider(delegate); in create() 38 public NullWebViewFactoryProvider(WebViewDelegate delegate) { in NullWebViewFactoryProvider() argument
|
/frameworks/support/compat/java/android/support/v4/view/ |
D | AccessibilityDelegateCompat.java | 94 AccessibilityDelegate delegate, View host) { in getAccessibilityNodeProvider() argument 99 public boolean performAccessibilityAction(AccessibilityDelegate delegate, View host, in performAccessibilityAction() argument 168 AccessibilityDelegate delegate, View host) { 169 Object provider = delegate.getAccessibilityNodeProvider(host); 177 public boolean performAccessibilityAction(AccessibilityDelegate delegate, View host, 179 return delegate.performAccessibilityAction(host, action, args);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/app/ |
D | LocalServiceBinder.java | 8 public LocalServiceBinder(OSUService delegate) { in LocalServiceBinder() argument 9 mDelegate = delegate; in LocalServiceBinder()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | SoundTriggerModule.java | 191 NativeEventHandlerDelegate delegate = module.mEventHandlerDelegate; in postEventFromNative() local 192 if (delegate != null) { in postEventFromNative() 193 Handler handler = delegate.handler(); in postEventFromNative()
|
/frameworks/support/persistence/db-framework/src/main/java/android/arch/persistence/db/framework/ |
D | FrameworkSQLiteProgram.java | 28 FrameworkSQLiteProgram(SQLiteProgram delegate) { in FrameworkSQLiteProgram() argument 29 mDelegate = delegate; in FrameworkSQLiteProgram()
|
/frameworks/layoutlib/bridge/src/libcore/io/ |
D | MemoryMappedFile_Delegate.java | 95 MemoryMappedFile_Delegate delegate = getDelegate(file); in bigEndianIterator() local 96 return new BridgeBufferIterator(delegate.mSize, delegate.mMappedByteBuffer.duplicate()); in bigEndianIterator()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | DirectStatementRetriever.java | 167 for (String delegate : result.getDelegates()) { in retrieveStatementFromUrl() 169 retrieveStatementFromUrl(delegate, maxIncludeLevel - 1, source) in retrieveStatementFromUrl() 202 for (String delegate : delegates) { in retrieveFromAndroid() 203 statements.addAll(retrieveStatementFromUrl(delegate, MAX_INCLUDE_LEVEL, in retrieveFromAndroid()
|
/frameworks/support/room/runtime/src/main/java/android/arch/persistence/room/ |
D | RoomOpenHelper.java | 45 public RoomOpenHelper(@NonNull DatabaseConfiguration configuration, @NonNull Delegate delegate, in RoomOpenHelper() argument 47 super(delegate.version); in RoomOpenHelper() 49 mDelegate = delegate; in RoomOpenHelper()
|