/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/base/tools/layoutlib/bridge/src/android/view/ |
H A D | RenderNode_Delegate.java | 26 * to methods of the same name in this delegate class. 33 // ---- delegate manager ---- 56 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); 57 if (delegate != null && delegate.mLift != lift) { 58 delegate.mLift = lift; 66 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); 67 if (delegate != null) { 68 return delegate.mLift;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Paint_Delegate.java | 44 * by calls to methods of the same name in this delegate class. 63 // ---- delegate manager ---- 67 // ---- delegate helper data ---- 72 // ---- delegate data ---- 205 * Returns the {@link Xfermode} delegate or null if none have been set 207 * @return the delegate or null. 214 * Returns the {@link ColorFilter} delegate or null if none have been set 216 * @return the delegate or null. 223 * Returns the {@link Shader} delegate or null if none have been set 225 * @return the delegate o [all...] |
H A D | Typeface_Delegate.java | 36 * by calls to methods of the same name in this delegate class. 49 // ---- delegate manager ---- 54 // ---- delegate data ---- 147 Typeface_Delegate delegate = sManager.getDelegate(native_instance); 148 if (delegate == null) { 149 delegate = sManager.getDelegate(sDefaultTypeface); 151 if (delegate == null) { 155 return sManager.addNewDelegate(new Typeface_Delegate(delegate.mFontFamilies, style, 156 delegate.mWeight)); 161 Typeface_Delegate delegate [all...] |
H A D | Bitmap_Delegate.java | 45 * by calls to methods of the same name in this delegate class. 61 // ---- delegate manager ---- 65 // ---- delegate helper data ---- 67 // ---- delegate data ---- 79 * Returns the native delegate associated to a given {@link Bitmap_Delegate} object. 86 * Returns the native delegate associated to a given an int referencing a {@link Bitmap} object. 119 // create a delegate with the content of the file. 120 Bitmap_Delegate delegate = new Bitmap_Delegate(ImageIO.read(input), Config.ARGB_8888); 122 return createBitmap(delegate, createFlags, density.getDpiValue()); 152 // create a delegate wit 609 createBitmap(Bitmap_Delegate delegate, Set<BitmapCreateFlags> createFlags, int density) argument [all...] |
H A D | FontFamily_Delegate.java | 45 * by calls to methods of the same name in this delegate class. 74 // ---- delegate manager ---- 78 // ---- delegate helper data ---- 85 // ---- delegate data ---- 226 FontFamily_Delegate delegate = new FontFamily_Delegate(); 229 delegate.mVariant = FontVariant.values()[variant]; 231 delegate.init(); 233 sPostInitDelegate.add(delegate); 235 return sManager.addNewDelegate(delegate); 247 final FontFamily_Delegate delegate [all...] |
/frameworks/base/core/java/android/net/http/ |
H A D | HttpResponseCache.java | 152 private final com.android.okhttp.HttpResponseCache delegate; field in class:HttpResponseCache 154 private HttpResponseCache(com.android.okhttp.HttpResponseCache delegate) { argument 155 this.delegate = delegate; 207 return delegate.get(uri, requestMethod, requestHeaders); 211 return delegate.put(uri, urlConnection); 220 return delegate.getSize(); 228 return delegate.getMaxSize(); 238 delegate.flush(); 248 return delegate [all...] |
H A D | AndroidHttpClient.java | 174 private final HttpClient delegate; field in class:AndroidHttpClient 180 this.delegate = new DefaultHttpClient(ccm, params) { 262 return delegate.getParams(); 266 return delegate.getConnectionManager(); 270 return delegate.execute(request); 275 return delegate.execute(request, context); 280 return delegate.execute(target, request); 285 return delegate.execute(target, request, context); 291 return delegate.execute(request, responseHandler); 297 return delegate [all...] |
/frameworks/support/v4/ics/android/support/v4/view/ |
H A D | AccessibilityDelegateCompatIcs.java | 85 public static boolean dispatchPopulateAccessibilityEvent(Object delegate, View host, argument 87 return ((AccessibilityDelegate) delegate).dispatchPopulateAccessibilityEvent(host, event); 90 public static void onInitializeAccessibilityEvent(Object delegate, View host, argument 92 ((AccessibilityDelegate) delegate).onInitializeAccessibilityEvent(host, event); 95 public static void onInitializeAccessibilityNodeInfo(Object delegate, View host, Object info) { argument 96 ((AccessibilityDelegate) delegate).onInitializeAccessibilityNodeInfo(host, 100 public static void onPopulateAccessibilityEvent(Object delegate, View host, argument 102 ((AccessibilityDelegate) delegate).onPopulateAccessibilityEvent(host, event); 105 public static boolean onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, argument 107 return ((AccessibilityDelegate) delegate) 111 sendAccessibilityEvent(Object delegate, View host, int eventType) argument 115 sendAccessibilityEventUnchecked(Object delegate, View host, AccessibilityEvent event) argument [all...] |
H A D | ViewCompatICS.java | 38 public static void setAccessibilityDelegate(View v, @Nullable Object delegate) { argument 39 v.setAccessibilityDelegate((AccessibilityDelegate) delegate);
|
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
H A D | TextToSpeechTests.java | 67 IDelegate delegate = LittleMock.mock(IDelegate.class); 68 MockableTextToSpeechService.setMocker(delegate); 70 LittleMock.doReturn(TextToSpeech.LANG_COUNTRY_VAR_AVAILABLE).when(delegate).onIsLanguageAvailable( 72 LittleMock.doReturn(TextToSpeech.LANG_COUNTRY_VAR_AVAILABLE).when(delegate).onLoadLanguage( 78 LittleMock.verify(delegate, LittleMock.anyTimes()).onIsLanguageAvailable( 80 LittleMock.verify(delegate, LittleMock.times(1)).onLoadLanguage( 85 IDelegate delegate = LittleMock.mock(IDelegate.class); 86 MockableTextToSpeechService.setMocker(delegate); 92 LittleMock.doReturn(TextToSpeech.LANG_COUNTRY_AVAILABLE).when(delegate).onIsLanguageAvailable( 94 LittleMock.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();
|
H A D | MockableTextToSpeechService.java | 29 public static void setMocker(IDelegate delegate) { argument 30 sDelegate = delegate;
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | AccessibilityDelegateCompat.java | 36 public boolean dispatchPopulateAccessibilityEvent(Object delegate, View host, argument 38 public void onInitializeAccessibilityEvent(Object delegate, View host, argument 40 public void onInitializeAccessibilityNodeInfo(Object delegate, View host, argument 42 public void onPopulateAccessibilityEvent(Object delegate, View host, argument 44 public boolean onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, argument 46 public void sendAccessibilityEvent(Object delegate, View host, int eventType); argument 47 public void sendAccessibilityEventUnchecked(Object delegate, View host, argument 49 public AccessibilityNodeProviderCompat getAccessibilityNodeProvider(Object delegate, argument 51 public boolean performAccessibilityAction(Object delegate, View host, int action, argument 66 public boolean dispatchPopulateAccessibilityEvent(Object delegate, Vie argument 72 onInitializeAccessibilityEvent(Object delegate, View host, AccessibilityEvent event) argument 78 onInitializeAccessibilityNodeInfo(Object delegate, View host, AccessibilityNodeInfoCompat info) argument 84 onPopulateAccessibilityEvent(Object delegate, View host, AccessibilityEvent event) argument 90 onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, AccessibilityEvent event) argument 96 sendAccessibilityEvent(Object delegate, View host, int eventType) argument 101 sendAccessibilityEventUnchecked(Object delegate, View host, AccessibilityEvent event) argument 107 getAccessibilityNodeProvider(Object delegate, View host) argument 113 performAccessibilityAction(Object delegate, View host, int action, Bundle args) argument 170 dispatchPopulateAccessibilityEvent(Object delegate, View host, AccessibilityEvent event) argument 177 onInitializeAccessibilityEvent(Object delegate, View host, AccessibilityEvent event) argument 183 onInitializeAccessibilityNodeInfo(Object delegate, View host, AccessibilityNodeInfoCompat info) argument 190 onPopulateAccessibilityEvent(Object delegate, View host, AccessibilityEvent event) argument 196 onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, AccessibilityEvent event) argument 203 sendAccessibilityEvent(Object delegate, View host, int eventType) argument 208 sendAccessibilityEventUnchecked(Object delegate, View host, AccessibilityEvent event) argument 273 getAccessibilityNodeProvider(Object delegate, View host) argument 284 performAccessibilityAction(Object delegate, View host, int action, Bundle args) argument [all...] |
/frameworks/support/v4/api21/android/support/v4/media/ |
H A D | VolumeProviderCompatApi21.java | 23 final Delegate delegate) { 27 delegate.onSetVolumeTo(volume); 32 delegate.onAdjustVolume(direction); 22 createVolumeProvider(int volumeControl, int maxVolume, int currentVolume, final Delegate delegate) argument
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
H A D | StatusBarManagerInternal.java | 22 void setNotificationDelegate(NotificationDelegate delegate); argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | DelegateManager.java | 37 * native methods by "delegate calls". 50 * Native methods usually always have the int as parameters. The first thing the delegate method 61 * the delegate to/from a list. This list hold the reference and prevents the GC from reclaiming 62 * the delegate. 64 * - {@link #addNewDelegate(Object)} also adds the delegate to a {@link SparseArray} that holds a 65 * {@link WeakReference} to the delegate. This allows the delegate to be deleted automatically 66 * when nothing references it. This means that any class that holds a delegate (except for the 70 * @param <T> the delegate class to manage 88 * Returns the delegate fro [all...] |
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/ |
H A D | DynamicProxy.java | 31 * Dynamically adapts a given interface against a delegate object. 35 * interface onto the delegate object. 37 * In practice this means that you can make it appear as though {@code delegate} implements the 47 public static <T> T dynamicProxy(Class<T> clazz, final Object delegate) { argument 52 return delegate.getClass() 54 .invoke(delegate, args);
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
H A D | WebViewDelegateFactory.java | 82 * @return the created delegate 84 static WebViewDelegate createProxyDelegate(android.webkit.WebViewDelegate delegate) { argument 85 return new ProxyDelegate(delegate); 94 * @return the created delegate 106 android.webkit.WebViewDelegate delegate; field in class:WebViewDelegateFactory.ProxyDelegate 108 ProxyDelegate(android.webkit.WebViewDelegate delegate) { argument 109 this.delegate = delegate; 114 delegate.setOnTraceEnabledChangeListener( 126 return delegate [all...] |
/frameworks/base/media/java/android/media/projection/ |
H A D | MediaProjectionManager.java | 140 CallbackDelegate delegate = new CallbackDelegate(callback, handler); 141 mCallbacks.put(callback, delegate); 143 mService.addCallback(delegate); 157 CallbackDelegate delegate = mCallbacks.remove(callback); 159 if (delegate != null) { 160 mService.removeCallback(delegate);
|
/frameworks/base/tools/layoutlib/bridge/src/libcore/icu/ |
H A D | DateIntervalFormat_Delegate.java | 32 // ---- delegate manager ---- 36 // ---- delegate data ---- 44 DateIntervalFormat_Delegate delegate = sManager.getDelegate((int)address); 45 if (delegate == null) { 53 delegate.mFormat.format(interval, sb, pos);
|
/frameworks/support/v4/jellybean/android/support/v4/view/ |
H A D | AccessibilityDelegateCompatJellyBean.java | 97 public static Object getAccessibilityNodeProvider(Object delegate, argument 99 return ((AccessibilityDelegate) delegate).getAccessibilityNodeProvider(host); 102 public static boolean performAccessibilityAction(Object delegate, View host, int action, argument 104 return ((AccessibilityDelegate) delegate).performAccessibilityAction(host, action, args);
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
H A D | SingleThreadedMediaPlayerProxy.java | 32 public SingleThreadedMediaPlayerProxy(MediaPlayerProxy delegate) { argument 33 mDelegate = delegate;
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
H A D | SoundTriggerModule.java | 144 // implement the event handler delegate 194 NativeEventHandlerDelegate delegate = module.mEventHandlerDelegate; 195 if (delegate != null) { 196 Handler handler = delegate.handler();
|
/frameworks/base/tools/layoutlib/bridge/src/libcore/io/ |
H A D | MemoryMappedFile_Delegate.java | 95 MemoryMappedFile_Delegate delegate = getDelegate(file); 96 return new BridgeBufferIterator(delegate.mSize, delegate.mMappedByteBuffer.duplicate());
|