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

/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/support/v4/ics/android/support/v4/view/
H A DViewCompatICS.java37 public static void setAccessibilityDelegate(View v, Object delegate) { argument
38 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/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.h28 * NodeFactories, and NodeFactory::delegate() can move the memory from one
52 /// delegate - get the control of chunks owned by the client
53 // after calling delegate(), client will renouce its control
55 void delegate(NodeFactory& pClient) { function in class:mcld::NodeFactory
/frameworks/base/core/java/android/net/http/
H A DHttpResponseCache.java157 private final libcore.net.http.HttpResponseCache delegate; field in class:HttpResponseCache
160 this.delegate = new libcore.net.http.HttpResponseCache(directory, maxSize);
187 DiskLruCache installedCache = installed.delegate.getCache();
204 return delegate.get(uri, requestMethod, requestHeaders);
208 return delegate.put(uri, urlConnection);
217 return delegate.getCache().size();
225 return delegate.getCache().maxSize();
235 delegate.getCache().flush();
245 return delegate.getNetworkCount();
254 return delegate
[all...]
H A DAndroidHttpClient.java156 private final HttpClient delegate; field in class:AndroidHttpClient
162 this.delegate = new DefaultHttpClient(ccm, params) {
244 return delegate.getParams();
248 return delegate.getConnectionManager();
252 return delegate.execute(request);
257 return delegate.execute(request, context);
262 return delegate.execute(target, request);
267 return delegate.execute(target, request, context);
273 return delegate.execute(request, responseHandler);
279 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/ex/variablespeed/src/com/android/ex/variablespeed/
H A DSingleThreadedMediaPlayerProxy.java32 public SingleThreadedMediaPlayerProxy(MediaPlayerProxy delegate) { argument
33 mDelegate = 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/compile/mclinker/lib/Support/
H A DFileHandle.cpp121 bool FileHandle::delegate(int pFD, FileHandle::OpenMode pMode) function in class:FileHandle
/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...]
H A DViewCompat.java122 public void setAccessibilityDelegate(View v, AccessibilityDelegateCompat delegate); argument
152 public void setAccessibilityDelegate(View v, AccessibilityDelegateCompat delegate) { argument
256 public void setAccessibilityDelegate(View v, AccessibilityDelegateCompat delegate) { argument
257 ViewCompatICS.setAccessibilityDelegate(v, delegate.getBridge());
497 * Sets a delegate for implementing accessibility support via compositon as
498 * opposed to inheritance. The delegate's primary use is for implementing
503 * @param delegate The delegate instance.
507 public static void setAccessibilityDelegate(View v, AccessibilityDelegateCompat delegate) { argument
508 IMPL.setAccessibilityDelegate(v, 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.java43 * by calls to methods of the same name in this delegate class.
54 // ---- delegate manager ----
58 // ---- delegate helper data ----
60 // ---- delegate data ----
70 * Returns the native delegate associated to a given {@link Bitmap_Delegate} object.
77 * Returns the native delegate associated to a given an int referencing a {@link Bitmap} object.
95 // create a delegate with the content of the file.
96 Bitmap_Delegate delegate = new Bitmap_Delegate(ImageIO.read(input), Config.ARGB_8888);
98 return createBitmap(delegate, isMutable, density.getDpiValue());
113 // create a delegate wit
522 createBitmap(Bitmap_Delegate delegate, boolean isMutable, 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
484 private void set(Path_Delegate delegate) { argument
486 setFillType(delegate.mFillType);
487 mPath.append(delegate.mPath, false /*connect*/);
/frameworks/base/core/java/android/view/
H A DView.java3062 * The delegate to handle touch events that are physically in this view
5124 * Returns the delegate for implementing accessibility support via
5127 * @return The delegate, or null if none set.
5136 * Sets a delegate for implementing accessibility support via composition as
5137 * opposed to inheritance. The delegate's primary use is for implementing
5140 * @param delegate The delegate instance.
5144 public void setAccessibilityDelegate(AccessibilityDelegate delegate) { argument
5145 mAccessibilityDelegate = delegate;
8365 public void setTouchDelegate(TouchDelegate delegate) { argument
[all...]

Completed in 4996 milliseconds