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

123

/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DRenderNode_Delegate.java28 * to methods of the same name in this delegate class.
35 // ---- delegate manager ----
71 RenderNode_Delegate delegate = sManager.getDelegate(renderNode);
72 if (delegate != null && delegate.mLift != lift) {
73 delegate.mLift = lift;
81 RenderNode_Delegate delegate = sManager.getDelegate(renderNode);
82 if (delegate != null) {
83 return delegate.mLift;
90 RenderNode_Delegate delegate
[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/base/core/java/android/net/http/
H A DHttpResponseCache.java154 private final AndroidShimResponseCache delegate; field in class:HttpResponseCache
156 private HttpResponseCache(AndroidShimResponseCache delegate) { argument
157 this.delegate = delegate;
188 AndroidShimResponseCache trueResponseCache = installedResponseCache.delegate;
206 return delegate.get(uri, requestMethod, requestHeaders);
210 return delegate.put(uri, urlConnection);
220 return delegate.size();
232 return delegate.maxSize();
242 delegate
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java48 * by calls to methods of the same name in this delegate class.
67 // ---- delegate manager ----
72 // ---- delegate helper data ----
77 // ---- delegate data ----
209 * Returns the {@link Xfermode} delegate or null if none have been set
211 * @return the delegate or null.
218 * Returns the {@link ColorFilter} delegate or null if none have been set
220 * @return the delegate or null.
235 * Returns the {@link Shader} delegate or null if none have been set
237 * @return the delegate o
[all...]
H A DBitmap_Delegate.java52 * by calls to methods of the same name in this delegate class.
68 // ---- delegate manager ----
73 // ---- delegate helper data ----
75 // ---- delegate data ----
87 * Returns the native delegate associated to a given an int referencing a {@link Bitmap} object.
126 // create a delegate with the content of the file.
142 Bitmap_Delegate delegate = new Bitmap_Delegate(image, Config.ARGB_8888);
144 return createBitmap(delegate, createFlags, density.getDpiValue());
174 // create a delegate with the content of the stream.
175 Bitmap_Delegate delegate
619 createBitmap(Bitmap_Delegate delegate, Set<BitmapCreateFlags> createFlags, int density) argument
[all...]
H A DTypeface_Delegate.java38 * by calls to methods of the same name in this delegate class.
51 // ---- delegate manager ----
56 // ---- delegate data ----
149 Typeface_Delegate delegate = sManager.getDelegate(native_instance);
150 if (delegate == null) {
151 delegate = sManager.getDelegate(sDefaultTypeface);
153 if (delegate == null) {
157 return sManager.addNewDelegate(new Typeface_Delegate(delegate.mFontFamilies, style,
158 delegate.mWeight));
163 Typeface_Delegate delegate
[all...]
H A DFontFamily_Delegate.java52 * by calls to methods of the same name in this delegate class.
99 // ---- delegate manager ----
103 // ---- delegate helper data ----
110 // ---- delegate data ----
248 // ---- delegate methods ----
251 final FontFamily_Delegate delegate = getDelegate(thisFontFamily.mNativePtr);
252 return delegate != null && delegate.addFont(path, ttcIndex);
260 FontFamily_Delegate delegate = new FontFamily_Delegate();
263 delegate
[all...]
H A DNinePatch_Delegate.java43 * by calls to methods of the same name in this delegate class.
46 * around to map int to instance of the delegate.
51 // ---- delegate manager ----
55 // ---- delegate helper data ----
68 // ---- delegate data ----
179 NinePatch_Delegate delegate = sManager.getDelegate(nativeNinePatch);
180 if (delegate != null) {
181 return delegate.chunk;
/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.java38 public static void setAccessibilityDelegate(View v, @Nullable Object delegate) { argument
39 v.setAccessibilityDelegate((AccessibilityDelegate) delegate);
/frameworks/support/v4/java/android/support/v4/view/
H A DAccessibilityDelegateCompat.java32 * {@link android.os.Build.VERSION_CODES#M API 23}, delegate methods on
39 * Starting in {@link android.os.Build.VERSION_CODES#M API 23}, delegate
48 public boolean dispatchPopulateAccessibilityEvent(Object delegate, View host, argument
50 public void onInitializeAccessibilityEvent(Object delegate, View host, argument
52 public void onInitializeAccessibilityNodeInfo(Object delegate, View host, argument
54 public void onPopulateAccessibilityEvent(Object delegate, View host, argument
56 public boolean onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, argument
58 public void sendAccessibilityEvent(Object delegate, View host, int eventType); argument
59 public void sendAccessibilityEventUnchecked(Object delegate, View host, argument
61 public AccessibilityNodeProviderCompat getAccessibilityNodeProvider(Object delegate, argument
63 performAccessibilityAction(Object delegate, View host, int action, Bundle args) argument
78 dispatchPopulateAccessibilityEvent(Object delegate, View host, AccessibilityEvent event) argument
84 onInitializeAccessibilityEvent(Object delegate, View host, AccessibilityEvent event) argument
90 onInitializeAccessibilityNodeInfo(Object delegate, View host, AccessibilityNodeInfoCompat info) argument
96 onPopulateAccessibilityEvent(Object delegate, View host, AccessibilityEvent event) argument
102 onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, AccessibilityEvent event) argument
108 sendAccessibilityEvent(Object delegate, View host, int eventType) argument
113 sendAccessibilityEventUnchecked(Object delegate, View host, AccessibilityEvent event) argument
119 getAccessibilityNodeProvider(Object delegate, View host) argument
125 performAccessibilityAction(Object delegate, View host, int action, Bundle args) argument
182 dispatchPopulateAccessibilityEvent(Object delegate, View host, AccessibilityEvent event) argument
189 onInitializeAccessibilityEvent(Object delegate, View host, AccessibilityEvent event) argument
195 onInitializeAccessibilityNodeInfo(Object delegate, View host, AccessibilityNodeInfoCompat info) argument
202 onPopulateAccessibilityEvent(Object delegate, View host, AccessibilityEvent event) argument
208 onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, AccessibilityEvent event) argument
215 sendAccessibilityEvent(Object delegate, View host, int eventType) argument
220 sendAccessibilityEventUnchecked(Object delegate, View host, AccessibilityEvent event) argument
285 getAccessibilityNodeProvider(Object delegate, View host) argument
296 performAccessibilityAction(Object delegate, View host, int action, Bundle args) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/libcore/util/
H A DNativeAllocationRegistry_Delegate.java26 * been replaced by calls to methods of the same name in this delegate class.
36 // ---- delegate manager ----
55 NativeAllocationRegistry_Delegate delegate = sManager.getDelegate(freeFunction);
56 if (delegate != null) {
57 delegate.mFinalizer.free(nativePtr);
/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/base/tests/TtsTests/src/com/android/speech/tts/
H A DTextToSpeechTests.java74 IDelegate delegate = LittleMock.mock(IDelegate.class);
75 MockableTextToSpeechService.setMocker(delegate);
77 LittleMock.doReturn(TextToSpeech.LANG_COUNTRY_VAR_AVAILABLE).when(delegate).onIsLanguageAvailable(
79 LittleMock.doReturn(TextToSpeech.LANG_COUNTRY_VAR_AVAILABLE).when(delegate).onLoadLanguage(
85 LittleMock.verify(delegate, LittleMock.anyTimes()).onIsLanguageAvailable(
87 LittleMock.verify(delegate, LittleMock.anyTimes()).onLoadLanguage(
92 IDelegate delegate = LittleMock.mock(IDelegate.class);
93 MockableTextToSpeechService.setMocker(delegate);
99 LittleMock.doReturn(TextToSpeech.LANG_COUNTRY_AVAILABLE).when(delegate).onIsLanguageAvailable(
101 LittleMock.doReturn(TextToSpeech.LANG_COUNTRY_AVAILABLE).when(delegate)
[all...]
H A DMockableCheckVoiceData.java31 MockableTextToSpeechService.IDelegate delegate =
34 ArrayList<String> availableLangs = delegate.getAvailableVoices();
35 ArrayList<String> unavailableLangs = delegate.getUnavailableVoices();
H A DMockableTextToSpeechService.java31 public static void setMocker(IDelegate delegate) { argument
32 sDelegate = delegate;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DDelegateManager.java40 * native methods by "delegate calls".
53 * Native methods usually always have the int as parameters. The first thing the delegate method
64 * the delegate to/from a list. This list hold the reference and prevents the GC from reclaiming
65 * the delegate.
67 * - {@link #addNewDelegate(Object)} also adds the delegate to a {@link SparseArray} that holds a
68 * {@link WeakReference} to the delegate. This allows the delegate to be deleted automatically
69 * when nothing references it. This means that any class that holds a delegate (except for the
73 * @param <T> the delegate class to manage
92 * Returns the delegate fro
[all...]
/frameworks/base/media/java/android/media/projection/
H A DMediaProjectionManager.java139 CallbackDelegate delegate = new CallbackDelegate(callback, handler);
140 mCallbacks.put(callback, delegate);
142 mService.addCallback(delegate);
156 CallbackDelegate delegate = mCallbacks.remove(callback);
158 if (delegate != null) {
159 mService.removeCallback(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/core/java/android/hardware/soundtrigger/
H A DSoundTriggerModule.java141 // implement the event handler delegate
191 NativeEventHandlerDelegate delegate = module.mEventHandlerDelegate;
192 if (delegate != null) {
193 Handler handler = delegate.handler();
/frameworks/base/tools/layoutlib/bridge/src/libcore/io/
H A DMemoryMappedFile_Delegate.java95 MemoryMappedFile_Delegate delegate = getDelegate(file);
96 return new BridgeBufferIterator(delegate.mSize, delegate.mMappedByteBuffer.duplicate());
/frameworks/base/media/java/android/media/
H A DAudioManagerInternal.java38 public abstract void setRingerModeDelegate(RingerModeDelegate delegate); argument
/frameworks/base/services/core/java/com/android/server/statusbar/
H A DStatusBarManagerInternal.java25 void setNotificationDelegate(NotificationDelegate delegate); argument
/frameworks/base/core/java/android/hardware/radio/
H A DRadioModule.java111 // implement the event handler delegate
213 NativeEventHandlerDelegate delegate = module.mEventHandlerDelegate;
214 if (delegate != null) {
215 Handler handler = delegate.handler();
/frameworks/base/libs/hwui/
H A DAssetAtlas.cpp79 DelegateTexture(Caches& caches, Texture* delegate) argument
80 : Texture(caches), mDelegate(delegate) { }

Completed in 884 milliseconds

123