Searched defs:delegate (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
H A DDynamicProxy.java31 * 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/base/services/core/java/com/android/server/statusbar/
H A DStatusBarManagerInternal.java22 void setNotificationDelegate(NotificationDelegate delegate); argument
/frameworks/base/telecomm/java/android/telecom/
H A DVideoCallbackServant.java28 * posting incoming messages on the main thread on a client-supplied delegate object.
153 public VideoCallbackServant(IVideoCallback delegate) { argument
154 mDelegate = delegate;
H A DConnectionServiceAdapterServant.java33 * posting incoming messages on the main thread on a client-supplied delegate object.
389 public ConnectionServiceAdapterServant(IConnectionServiceAdapter delegate) { argument
390 mDelegate = delegate;
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewAccessibilityTest.java203 void performAccessibilityAction(final AccessibilityDelegateCompat delegate, argument
208 delegate.performAccessibilityAction(recyclerView, action, null);
/frameworks/base/location/lib/java/com/android/location/provider/
H A DLocationRequestUnbundled.java78 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/compile/mclinker/include/mcld/ADT/
H A DTreeAllocator.h23 * NodeFactories, and NodeFactory::delegate() can move the memory from one
47 /// delegate - get the control of chunks owned by the client
48 // after calling delegate(), client will renouce its control
50 void delegate(NodeFactory& pClient) { function in class:mcld::NodeFactory
/frameworks/support/v4/api21/android/support/v4/media/
H A DVolumeProviderCompatApi21.java23 final Delegate delegate) {
27 delegate.onSetVolumeTo(volume);
32 delegate.onAdjustVolume(direction);
22 createVolumeProvider(int volumeControl, int maxVolume, int currentVolume, final Delegate delegate) argument
/frameworks/support/v4/ics/android/support/v4/view/
H A DViewCompatICS.java38 public static void setAccessibilityDelegate(View v, @Nullable Object delegate) { argument
39 v.setAccessibilityDelegate((AccessibilityDelegate) delegate);
H A DAccessibilityDelegateCompatIcs.java85 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...]
/frameworks/base/core/java/android/net/http/
H A DHttpResponseCache.java152 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 DAndroidHttpClient.java174 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/base/tests/TtsTests/src/com/android/speech/tts/
H A DMockableTextToSpeechService.java29 public static void setMocker(IDelegate delegate) { argument
30 sDelegate = delegate;
/frameworks/support/v4/jellybean/android/support/v4/view/
H A DAccessibilityDelegateCompatJellyBean.java97 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/base/libs/hwui/
H A DAssetAtlas.cpp98 DelegateTexture(Caches& caches, Texture* delegate): Texture(caches), mDelegate(delegate) { } argument
/frameworks/base/media/java/android/media/
H A DAudioManagerInternal.java47 public abstract void setRingerModeDelegate(RingerModeDelegate delegate); argument
/frameworks/compile/mclinker/lib/Support/
H A DFileHandle.cpp108 bool FileHandle::delegate(int pFD, FileHandle::OpenMode pMode) function in class:FileHandle
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
H A DSingleThreadedMediaPlayerProxy.java32 public SingleThreadedMediaPlayerProxy(MediaPlayerProxy delegate) { argument
33 mDelegate = delegate;
/frameworks/support/v4/java/android/support/v4/view/
H A DAccessibilityDelegateCompat.java36 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/webview/chromium/java/com/android/webview/chromium/
H A DWebViewChromiumFactoryProvider.java111 public WebViewChromiumFactoryProvider(android.webkit.WebViewDelegate delegate) { argument
112 initialize(WebViewDelegateFactory.createProxyDelegate(delegate));
H A DWebViewDelegateFactory.java82 * @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/tests/CoreTests/android/core/
H A DSSLSocketTest.java1071 final SSLClientSessionCache delegate; field in class:SSLSocketTest.ClientSessionCacheProxy
1074 ClientSessionCacheProxy(SSLClientSessionCache delegate) { argument
1075 this.delegate = delegate;
1079 byte[] sessionData = delegate.getSessionData(host, port);
1086 delegate.putSessionData(session, sessionData);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java45 * 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 DPath_Delegate.java42 * by calls to methods of the same name in this delegate class.
53 // ---- delegate manager ----
57 // ---- delegate data ----
92 // create the delegate
100 // create the delegate
103 // get the delegate to copy, which could be null if nPath is 0
495 private void set(Path_Delegate delegate) { argument
497 setFillType(delegate.mFillType);
498 mPath.append(delegate.mPath, false /*connect*/);
/frameworks/base/core/java/android/widget/
H A DSimpleMonthView.java138 // Whether to prevent setting the accessibility delegate
215 public void setAccessibilityDelegate(AccessibilityDelegate delegate) { argument
219 super.setAccessibilityDelegate(delegate);

Completed in 560 milliseconds

12