Searched refs:delegate (Results 1 - 25 of 33) sorted by relevance

12

/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/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java45 * by calls to methods of the same name in this delegate class.
64 // ---- delegate manager ----
68 // ---- delegate helper data ----
73 // ---- delegate data ----
203 * Returns the {@link Xfermode} delegate or null if none have been set
205 * @return the delegate or null.
212 * Returns the {@link ColorFilter} delegate or null if none have been set
214 * @return the delegate or null.
221 * Returns the {@link Shader} delegate or null if none have been set
223 * @return the delegate o
[all...]
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 ----
71 * Returns the native delegate associated to a given {@link Bitmap_Delegate} object.
78 * Returns the native delegate associated to a given an int referencing a {@link Bitmap} object.
96 // create a delegate with the content of the file.
97 Bitmap_Delegate delegate = new Bitmap_Delegate(ImageIO.read(input), Config.ARGB_8888);
99 return createBitmap(delegate, isMutable, density.getDpiValue());
114 // create a delegate wit
549 createBitmap(Bitmap_Delegate delegate, boolean isMutable, int density) argument
[all...]
H A DTypeface_Delegate.java36 * by calls to methods of the same name in this delegate class.
49 // ---- delegate manager ----
53 // ---- delegate helper data ----
60 // ---- delegate data ----
72 for (Typeface_Delegate delegate : sPostInitDelegate) {
73 delegate.init();
87 Typeface_Delegate delegate = sManager.getDelegate(native_int);
88 if (delegate == null) {
92 return delegate.getFonts();
111 // font loader has not been initialized yet, add the delegate t
[all...]
/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/support/v4/ics/android/support/v4/view/
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...]
H A DViewCompatICS.java37 public static void setAccessibilityDelegate(View v, Object delegate) { argument
38 v.setAccessibilityDelegate((AccessibilityDelegate) 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...]
H A DViewCompat.java145 public void setAccessibilityDelegate(View v, AccessibilityDelegateCompat delegate); argument
179 public void setAccessibilityDelegate(View v, AccessibilityDelegateCompat delegate) { argument
310 public void setAccessibilityDelegate(View v, AccessibilityDelegateCompat delegate) { argument
311 ViewCompatICS.setAccessibilityDelegate(v, delegate.getBridge());
571 * Sets a delegate for implementing accessibility support via compositon as
572 * opposed to inheritance. The delegate's primary use is for implementing
577 * @param delegate The delegate instance.
581 public static void setAccessibilityDelegate(View v, AccessibilityDelegateCompat delegate) { argument
582 IMPL.setAccessibilityDelegate(v, delegate);
[all...]
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
H A DTextToSpeechTests.java67 IDelegate delegate = LittleMock.mock(IDelegate.class);
68 MockableTextToSpeechService.setMocker(delegate);
73 LittleMock.verify(delegate, LittleMock.times(1)).onLoadLanguage(
78 IDelegate delegate = LittleMock.mock(IDelegate.class);
79 MockableTextToSpeechService.setMocker(delegate);
85 LittleMock.doReturn(TextToSpeech.LANG_COUNTRY_AVAILABLE).when(delegate).onLoadLanguage(
88 blockingCallSpeak("foo bar", delegate);
90 LittleMock.verify(delegate, LittleMock.times(1)).onSynthesizeText(req.capture(),
99 IDelegate delegate = LittleMock.mock(IDelegate.class);
100 MockableTextToSpeechService.setMocker(delegate);
[all...]
H A DMockableCheckVoiceData.java31 MockableTextToSpeechService.IDelegate delegate =
34 ArrayList<String> availableLangs = delegate.getAvailableVoices();
35 ArrayList<String> unavailableLangs = delegate.getUnavailableVoices();
H A DMockableTextToSpeechService.java29 public static void setMocker(IDelegate delegate) { argument
30 sDelegate = delegate;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DDelegateManager.java37 * 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 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/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/ex/variablespeed/src/com/android/ex/variablespeed/
H A DSingleThreadedMediaPlayerProxy.java32 public SingleThreadedMediaPlayerProxy(MediaPlayerProxy delegate) { argument
33 mDelegate = delegate;
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java117 final ObbListenerDelegate delegate;
119 delegate = mListeners.get(nonce);
120 if (delegate != null) {
125 if (delegate != null) {
126 delegate.sendObbStateChanged(filename, status);
131 final ObbListenerDelegate delegate = new ObbListenerDelegate(listener);
134 mListeners.put(delegate.nonce, delegate);
137 return delegate.nonce;
/frameworks/compile/mclinker/include/mcld/ADT/
H A DTreeAllocator.h26 * NodeFactories, and NodeFactory::delegate() can move the memory from one
50 /// delegate - get the control of chunks owned by the client
51 // after calling delegate(), client will renouce its control
53 void delegate(NodeFactory& pClient) { function in class:mcld::NodeFactory
/frameworks/compile/mclinker/unittests/
H A DFactoriesTest.cpp83 m_pNodeAlloc->delegate(*delegatee);
105 m_pNodeAlloc->delegate(*delegatee);
141 m_pNodeAlloc->delegate(*delegatee);
165 m_pNodeAlloc->delegate(*m_pNodeAlloc);
H A DFileHandleTest.cpp68 ASSERT_TRUE(m_pTestee->delegate(fd, FileHandle::ReadOnly));
/frameworks/compile/mclinker/include/mcld/Support/
H A DFileHandle.h84 bool delegate(int pFD, OpenMode pMode = Unknown);
/frameworks/compile/mclinker/lib/Core/
H A DInputTree.cpp30 BinaryTreeBase<Input>::m_Root.delegate(pTree.m_Root);
/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/compile/mclinker/lib/Support/
H A DMemoryAreaFactory.cpp93 handler->delegate(pFD, pMode);

Completed in 641 milliseconds

12