Home
last modified time | relevance | path

Searched refs:delegate (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java249 Paint_Delegate delegate = sManager.getDelegate(thisPaint.mNativePaint); in getFlags() local
250 if (delegate == null) { in getFlags()
254 return delegate.mFlags; in getFlags()
260 Paint_Delegate delegate = sManager.getDelegate(thisPaint.mNativePaint); in setFlags() local
261 if (delegate == null) { in setFlags()
265 delegate.mFlags = flags; in setFlags()
276 Paint_Delegate delegate = sManager.getDelegate(thisPaint.mNativePaint); in getHinting() local
277 if (delegate == null) { in getHinting()
281 return delegate.mHintingMode; in getHinting()
287 Paint_Delegate delegate = sManager.getDelegate(thisPaint.mNativePaint); in setHinting() local
[all …]
DBitmap_Delegate.java96 Bitmap_Delegate delegate = new Bitmap_Delegate(ImageIO.read(input), Config.ARGB_8888); in createBitmap() local
98 return createBitmap(delegate, isMutable, density.getDpiValue()); in createBitmap()
114 Bitmap_Delegate delegate = new Bitmap_Delegate(ImageIO.read(input), Config.ARGB_8888); in createBitmap() local
116 return createBitmap(delegate, isMutable, density.getDpiValue()); in createBitmap()
132 Bitmap_Delegate delegate = new Bitmap_Delegate(image, Config.ARGB_8888); in createBitmap() local
134 return createBitmap(delegate, isMutable, density.getDpiValue()); in createBitmap()
142 Bitmap_Delegate delegate = sManager.getDelegate(bitmap.mNativeBitmap); in getImage() local
143 if (delegate == null) { in getImage()
147 return delegate.mImage; in getImage()
212 Bitmap_Delegate delegate = new Bitmap_Delegate(image, Config.nativeToConfig(nativeConfig)); in nativeCreate() local
[all …]
DTypeface_Delegate.java72 for (Typeface_Delegate delegate : sPostInitDelegate) { in init()
73 delegate.init(); in init()
87 Typeface_Delegate delegate = sManager.getDelegate(native_int); in getFonts() local
88 if (delegate == null) { in getFonts()
92 return delegate.getFonts(); in getFonts()
122 Typeface_Delegate delegate = sManager.getDelegate(native_instance); in nativeCreateFromTypeface() local
123 if (delegate == null) { in nativeCreateFromTypeface()
127 Typeface_Delegate newDelegate = new Typeface_Delegate(delegate.mFamily, style); in nativeCreateFromTypeface()
183 Typeface_Delegate delegate = sManager.getDelegate(native_instance); in nativeGetStyle() local
184 if (delegate == null) { in nativeGetStyle()
[all …]
DMatrix_Delegate.java64 Matrix_Delegate delegate = sManager.getDelegate(m.native_instance); in getAffineTransform() local
65 if (delegate == null) { in getAffineTransform()
69 return delegate.getAffineTransform(); in getAffineTransform()
73 Matrix_Delegate delegate = sManager.getDelegate(m.native_instance); in hasPerspective() local
74 if (delegate == null) { in hasPerspective()
78 return delegate.hasPerspective(); in hasPerspective()
DPath_Delegate.java484 private void set(Path_Delegate delegate) { in set() argument
486 setFillType(delegate.mFillType); in set()
487 mPath.append(delegate.mPath, false /*connect*/); in set()
/frameworks/support/v4/java/android/support/v4/view/
DAccessibilityDelegateCompat.java33 public boolean dispatchPopulateAccessibilityEvent(Object delegate, View host, in dispatchPopulateAccessibilityEvent() argument
35 public void onInitializeAccessibilityEvent(Object delegate, View host, in onInitializeAccessibilityEvent() argument
37 public void onInitializeAccessibilityNodeInfo(Object delegate, View host, in onInitializeAccessibilityNodeInfo() argument
39 public void onPopulateAccessibilityEvent(Object delegate, View host, in onPopulateAccessibilityEvent() argument
41 public boolean onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, in onRequestSendAccessibilityEvent() argument
43 public void sendAccessibilityEvent(Object delegate, View host, int eventType); in sendAccessibilityEvent() argument
44 public void sendAccessibilityEventUnchecked(Object delegate, View host, in sendAccessibilityEventUnchecked() argument
57 public boolean dispatchPopulateAccessibilityEvent(Object delegate, View host, in dispatchPopulateAccessibilityEvent() argument
62 public void onInitializeAccessibilityEvent(Object delegate, View host, in onInitializeAccessibilityEvent() argument
67 public void onInitializeAccessibilityNodeInfo(Object delegate, View host, in onInitializeAccessibilityNodeInfo() argument
[all …]
DViewCompat.java52 public void setAccessibilityDelegate(View v, AccessibilityDelegateCompat delegate); in setAccessibilityDelegate() argument
68 public void setAccessibilityDelegate(View v, AccessibilityDelegateCompat delegate) { in setAccessibilityDelegate() argument
115 public void setAccessibilityDelegate(View v, AccessibilityDelegateCompat delegate) { in setAccessibilityDelegate() argument
116 ViewCompatICS.setAccessibilityDelegate(v, delegate.getBridge()); in setAccessibilityDelegate()
160 public static void setAccessibilityDelegate(View v, AccessibilityDelegateCompat delegate) { in setAccessibilityDelegate() argument
161 IMPL.setAccessibilityDelegate(v, delegate); in setAccessibilityDelegate()
/frameworks/base/core/java/android/net/http/
DHttpResponseCache.java142 private final libcore.net.http.HttpResponseCache delegate; field in HttpResponseCache
145 this.delegate = new libcore.net.http.HttpResponseCache(directory, maxSize); in HttpResponseCache()
172 DiskLruCache installedCache = installed.delegate.getCache(); in install()
189 return delegate.get(uri, requestMethod, requestHeaders); in get()
193 return delegate.put(uri, urlConnection); in put()
202 return delegate.getCache().size(); in size()
210 return delegate.getCache().maxSize(); in maxSize()
220 delegate.getCache().flush(); in flush()
230 return delegate.getNetworkCount(); in getNetworkCount()
239 return delegate.getHitCount(); in getHitCount()
[all …]
DAndroidHttpClient.java156 private final HttpClient delegate; field in AndroidHttpClient
162 this.delegate = new DefaultHttpClient(ccm, params) { in AndroidHttpClient()
244 return delegate.getParams(); in getParams()
248 return delegate.getConnectionManager(); in getConnectionManager()
252 return delegate.execute(request); in execute()
257 return delegate.execute(request, context); in execute()
262 return delegate.execute(target, request); in execute()
267 return delegate.execute(target, request, context); in execute()
273 return delegate.execute(request, responseHandler); in execute()
279 return delegate.execute(request, responseHandler, context); in execute()
[all …]
/frameworks/support/v4/ics/android/support/v4/view/
DAccessibilityDelegateCompatIcs.java85 public static boolean dispatchPopulateAccessibilityEvent(Object delegate, View host,
87 return ((AccessibilityDelegate) delegate).dispatchPopulateAccessibilityEvent(host, event);
90 public static void onInitializeAccessibilityEvent(Object delegate, View host,
92 ((AccessibilityDelegate) delegate).onInitializeAccessibilityEvent(host, event);
95 public static void onInitializeAccessibilityNodeInfo(Object delegate, View host, Object info) {
96 ((AccessibilityDelegate) delegate).onInitializeAccessibilityNodeInfo(host,
100 public static void onPopulateAccessibilityEvent(Object delegate, View host,
102 ((AccessibilityDelegate) delegate).onPopulateAccessibilityEvent(host, event);
105 public static boolean onRequestSendAccessibilityEvent(Object delegate, ViewGroup host,
107 return ((AccessibilityDelegate) delegate).onRequestSendAccessibilityEvent(host, child,
[all …]
DViewCompatICS.java37 public static void setAccessibilityDelegate(View v, Object delegate) { in setAccessibilityDelegate() argument
38 v.setAccessibilityDelegate((AccessibilityDelegate) delegate); in setAccessibilityDelegate()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DDelegateManager.java99 T delegate = mDelegates.get(native_object); in getDelegate() local
102 if (delegate == null) { in getDelegate()
108 assert delegate != null; in getDelegate()
109 return delegate; in getDelegate()
137 T delegate = getDelegate(native_object); in removeJavaReferenceFor() local
144 mJavaReferences.remove(delegate); in removeJavaReferenceFor()
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
DDynamicProxy.java47 public static <T> T dynamicProxy(Class<T> clazz, final Object delegate) { in dynamicProxy() argument
52 return delegate.getClass() in dynamicProxy()
54 .invoke(delegate, args); in dynamicProxy()
/frameworks/base/core/java/android/os/storage/
DStorageManager.java107 final ObbListenerDelegate delegate; in onObbResult() local
109 delegate = mListeners.get(nonce); in onObbResult()
110 if (delegate != null) { in onObbResult()
115 if (delegate != null) { in onObbResult()
116 delegate.sendObbStateChanged(filename, status); in onObbResult()
121 final ObbListenerDelegate delegate = new ObbListenerDelegate(listener); in addListener() local
124 mListeners.put(delegate.nonce, delegate); in addListener()
127 return delegate.nonce; in addListener()
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
DSingleThreadedMediaPlayerProxy.java32 public SingleThreadedMediaPlayerProxy(MediaPlayerProxy delegate) { in SingleThreadedMediaPlayerProxy() argument
33 mDelegate = delegate; in SingleThreadedMediaPlayerProxy()
/frameworks/base/tests/CoreTests/android/core/
DSSLSocketTest.java1071 final SSLClientSessionCache delegate; field in SSLSocketTest.ClientSessionCacheProxy
1074 ClientSessionCacheProxy(SSLClientSessionCache delegate) { in ClientSessionCacheProxy() argument
1075 this.delegate = delegate; in ClientSessionCacheProxy()
1079 byte[] sessionData = delegate.getSessionData(host, port); in getSessionData()
1086 delegate.putSessionData(session, sessionData); in putSessionData()
/frameworks/base/tools/layoutlib/create/
DREADME.txt93 - specific methods for which to delegate calls.
213 The implementation of this 'delegate' method is done in layoutlib_brigde.
215 The delegate method is a static method.
216 If the original method is non-static, the delegate method receives the original 'this'
/frameworks/base/tests/DumpRenderTree/assets/results/
Dlayout_tests_failed.txt453 /sdcard/android/layout_tests/fast/loader/policy-delegate-action-hit-test-zoomed.html
462 /sdcard/android/layout_tests/fast/loader/reload-policy-delegate.html
546 /sdcard/android/layout_tests/http/tests/misc/policy-delegate-called-twice.html
879 /sdcard/android/layout_tests/http/tests/loading/deleted-host-in-resource-load-delegate-callback.html
974 /sdcard/android/layout_tests/plugins/get-url-that-the-resource-load-delegate-will-disallow.html
Dlayout_tests_nontext.txt3248 /sdcard/android/layout_tests/http/tests/misc/willCacheResponse-delegate-callback.html
/frameworks/base/core/java/android/view/
DView.java4166 public void setAccessibilityDelegate(AccessibilityDelegate delegate) { in setAccessibilityDelegate() argument
4167 mAccessibilityDelegate = delegate; in setAccessibilityDelegate()
6590 public void setTouchDelegate(TouchDelegate delegate) {
6591 mTouchDelegate = delegate;
/frameworks/base/docs/html/sdk/
Dterms.jd200 …proval of the other party. Neither you nor Google shall be permitted to delegate their responsibil…
Dandroid-4.0.jd863 the delegate. For example, when the view receives a call to {@link
866 the delegate are given right back to the view for default behavior. This allows you to override only