/frameworks/base/location/lib/java/com/android/location/provider/ |
H A D | LocationRequestUnbundled.java | 78 private final LocationRequest delegate; field in class:LocationRequestUnbundled 80 LocationRequestUnbundled(LocationRequest delegate) { argument 81 this.delegate = delegate; 90 return delegate.getInterval(); 103 return delegate.getFastestInterval(); 112 return delegate.getQuality(); 121 return delegate.getSmallestDisplacement(); 126 return delegate.toString();
|
/frameworks/layoutlib/bridge/src/android/view/ |
H A D | RenderNode_Delegate.java | 30 * to methods of the same name in this delegate class. 37 // ---- delegate manager ---- 78 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); 79 if (delegate != null && delegate.mLift != lift) { 80 delegate.mLift = lift; 88 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); 89 if (delegate != null) { 90 return delegate.mLift; 97 RenderNode_Delegate delegate [all...] |
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | Paint_Delegate.java | 49 * by calls to methods of the same name in this delegate class. 76 // ---- delegate manager ---- 81 // ---- delegate helper data ---- 87 // ---- delegate data ---- 250 * Returns the {@link ColorFilter} delegate or null if none have been set 252 * @return the delegate or null. 267 * Returns the {@link Shader} delegate or null if none have been set 269 * @return the delegate or null. 276 * Returns the {@link MaskFilter} delegate or null if none have been set 278 * @return the delegate o [all...] |
H A D | Bitmap_Delegate.java | 52 * by calls to methods of the same name in this delegate class. 68 // ---- delegate manager ---- 73 // ---- delegate helper data ---- 75 // ---- delegate data ---- 87 * Returns the native delegate associated to a given an int referencing a {@link Bitmap} object. 125 // create a delegate with the content of the file. 141 Bitmap_Delegate delegate = new Bitmap_Delegate(image, Config.ARGB_8888); 143 return createBitmap(delegate, createFlags, density.getDpiValue()); 173 // create a delegate with the content of the stream. 174 Bitmap_Delegate delegate 682 createBitmap(Bitmap_Delegate delegate, Set<BitmapCreateFlags> createFlags, int density) argument [all...] |
H A D | Typeface_Delegate.java | 63 * calls to methods of the same name in this delegate class. 75 // ---- delegate manager ---- 80 // ---- delegate data ---- 118 Typeface_Delegate delegate = sManager.getDelegate(native_instance); 119 if (delegate == null) { 120 delegate = sManager.getDelegate(sDefaultTypeface); 122 if (delegate == null) { 127 new Typeface_Delegate(delegate.mFontFamilies, style, delegate.mWeight)); 133 Typeface_Delegate delegate [all...] |
H A D | NinePatch_Delegate.java | 40 * by calls to methods of the same name in this delegate class. 43 * around to map int to instance of the delegate. 48 // ---- delegate manager ---- 52 // ---- delegate helper data ---- 64 // ---- delegate data ---- 164 NinePatch_Delegate delegate = sManager.getDelegate(nativeNinePatch); 165 if (delegate != null && delegate.chunk != null) { 166 sChunkCache.remove(delegate.chunk); 178 NinePatch_Delegate delegate [all...] |
/frameworks/base/core/java/android/net/http/ |
H A D | HttpResponseCache.java | 154 private final AndroidShimResponseCache delegate; field in class:HttpResponseCache 156 private HttpResponseCache(AndroidShimResponseCache delegate) { argument 157 this.delegate = delegate; 188 AndroidShimResponseCache trueResponseCache = installedResponseCache.delegate; 206 return delegate.get(uri, requestMethod, requestHeaders); 210 return delegate.put(uri, urlConnection); 220 return delegate.size(); 232 return delegate.maxSize(); 242 delegate [all...] |
/frameworks/layoutlib/bridge/src/libcore/util/ |
H A D | NativeAllocationRegistry_Delegate.java | 26 * been replaced by calls to methods of the same name in this delegate class. 36 // ---- delegate manager ---- 55 // This method MIGHT run in the context of the finalizer thread. If the delegate method 59 NativeAllocationRegistry_Delegate delegate = sManager.getDelegate(freeFunction); 60 if (delegate != null) { 61 delegate.mFinalizer.free(nativePtr);
|
/frameworks/support/media/api21/androidx/media/ |
H A D | VolumeProviderCompatApi21.java | 26 final Delegate delegate) { 30 delegate.onSetVolumeTo(volume); 35 delegate.onAdjustVolume(direction); 25 createVolumeProvider(int volumeControl, int maxVolume, int currentVolume, final Delegate delegate) argument
|
/frameworks/support/persistence/db-framework/src/main/java/androidx/sqlite/db/framework/ |
H A D | FrameworkSQLiteStatement.java | 32 * @param delegate The SQLiteStatement to delegate calls to. 34 FrameworkSQLiteStatement(SQLiteStatement delegate) { argument 35 super(delegate); 36 mDelegate = delegate;
|
H A D | FrameworkSQLiteProgram.java | 29 FrameworkSQLiteProgram(SQLiteProgram delegate) { argument 30 mDelegate = delegate;
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/ |
H A D | DeletionMethodProcessor.kt | 31 val delegate = ShortcutMethodProcessor(context, containing, executableElement) 32 delegate.extractAnnotation(Delete::class, ProcessorErrors.MISSING_DELETE_ANNOTATION) 34 val returnTypeName = delegate.extractReturnType().typeName() 41 val (entities, params) = delegate.extractParams( 47 element = delegate.executableElement, 48 name = delegate.executableElement.simpleName.toString(),
|
H A D | UpdateMethodProcessor.kt | 35 val delegate = ShortcutMethodProcessor(context, containing, executableElement) 36 val annotation = delegate 43 val returnTypeName = delegate.extractReturnType().typeName() 50 val (entities, params) = delegate.extractParams( 56 element = delegate.executableElement, 57 name = delegate.executableElement.simpleName.toString(),
|
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/ |
H A D | RemoteILayoutPullParserAdapter.java | 28 private RemoteILayoutPullParserAdapter(@NotNull ILayoutPullParser delegate) { argument 29 super(delegate); 32 public static RemoteILayoutPullParser create(@NotNull ILayoutPullParser delegate) argument 35 new RemoteILayoutPullParserAdapter(delegate), 0);
|
H A D | RemoteActionBarCallbackAdapter.java | 31 private RemoteActionBarCallbackAdapter(@NotNull ActionBarCallback delegate) { argument 32 mDelegate = delegate; 35 public static RemoteActionBarCallback create(@NotNull ActionBarCallback delegate) argument 38 new RemoteActionBarCallbackAdapter(delegate), 0);
|
H A D | RemoteAssetRepositoryAdapter.java | 32 private RemoteAssetRepositoryAdapter(@NotNull AssetRepository delegate) { argument 33 mDelegate = delegate; 36 static RemoteAssetRepository create(@NotNull AssetRepository delegate) throws RemoteException { argument 38 new RemoteAssetRepositoryAdapter(delegate), 0);
|
H A D | RemoteParserFactoryAdapter.java | 33 private RemoteParserFactoryAdapter(@NotNull ParserFactory delegate) { argument 34 mDelegate = delegate;
|
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
H A D | TextToSpeechTests.java | 77 IDelegate delegate = Mockito.mock(IDelegate.class); 78 MockableTextToSpeechService.setMocker(delegate); 80 Mockito.doReturn(TextToSpeech.LANG_COUNTRY_VAR_AVAILABLE).when(delegate).onIsLanguageAvailable( 82 Mockito.doReturn(TextToSpeech.LANG_COUNTRY_VAR_AVAILABLE).when(delegate).onLoadLanguage( 88 Mockito.verify(delegate, Mockito.atLeast(0)).onIsLanguageAvailable( 90 Mockito.verify(delegate, Mockito.atLeast(0)).onLoadLanguage( 95 IDelegate delegate = Mockito.mock(IDelegate.class); 96 MockableTextToSpeechService.setMocker(delegate); 102 Mockito.doReturn(TextToSpeech.LANG_COUNTRY_AVAILABLE).when(delegate).onIsLanguageAvailable( 104 Mockito.doReturn(TextToSpeech.LANG_COUNTRY_AVAILABLE).when(delegate) [all...] |
H A D | MockableCheckVoiceData.java | 31 MockableTextToSpeechService.IDelegate delegate = 34 ArrayList<String> availableLangs = delegate.getAvailableVoices(); 35 ArrayList<String> unavailableLangs = delegate.getUnavailableVoices();
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | DelegateManager.java | 40 * native methods by "delegate calls". 53 * Native methods usually always have the int as parameters. The first thing the delegate method 64 * the delegate to/from a set. This set holds the reference and prevents the GC from reclaiming 65 * the delegate. 67 * - {@link #addNewDelegate(Object)} also adds the delegate to a {@link SparseArray} that holds a 68 * {@link WeakReference} to the delegate. This allows the delegate to be deleted automatically 69 * when nothing references it. This means that any class that holds a delegate (except for the 73 * @param <T> the delegate class to manage 92 * Returns the delegate fro [all...] |
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/ |
H A D | RemoteILayoutPullParserAdapter.java | 27 public RemoteILayoutPullParserAdapter(@NotNull RemoteILayoutPullParser delegate) { argument 28 super(delegate);
|
H A D | RemoteRenderSessionAdapter.java | 32 private RemoteRenderSessionAdapter(@NotNull RenderSession delegate) { argument 33 mDelegate = delegate; 36 public static RemoteRenderSession create(@NotNull RenderSession delegate) argument 39 new RemoteRenderSessionAdapter(delegate), 0);
|
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/util/ |
H A D | SerializableImageImpl.java | 36 public SerializableImageImpl(@NotNull BufferedImage delegate) { argument 37 mBufferedImage = delegate;
|
/frameworks/support/compat/src/androidTest/java/androidx/core/app/ |
H A D | ActivityCompatTest.java | 55 ActivityCompat.PermissionCompatDelegate delegate = mock(PermissionCompatDelegate.class); 57 // First test setting the delegate 58 ActivityCompat.setPermissionCompatDelegate(delegate); 62 verify(delegate).requestPermissions(same(activity), aryEq( 65 // Test clearing the delegate 70 verifyNoMoreInteractions(delegate);
|
/frameworks/base/media/java/android/media/projection/ |
H A D | MediaProjectionManager.java | 139 CallbackDelegate delegate = new CallbackDelegate(callback, handler); 140 mCallbacks.put(callback, delegate); 142 mService.addCallback(delegate); 156 CallbackDelegate delegate = mCallbacks.remove(callback); 158 if (delegate != null) { 159 mService.removeCallback(delegate);
|