/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 254 Paint_Delegate delegate = sManager.getDelegate(thisPaint.mNativePaint); in getFlags() local 255 if (delegate == null) { in getFlags() 259 return delegate.mFlags; in getFlags() 267 Paint_Delegate delegate = sManager.getDelegate(thisPaint.mNativePaint); in setFlags() local 268 if (delegate == null) { in setFlags() 272 delegate.mFlags = flags; in setFlags() 283 Paint_Delegate delegate = sManager.getDelegate(thisPaint.mNativePaint); in getHinting() local 284 if (delegate == null) { in getHinting() 288 return delegate.mHintingMode; in getHinting() 294 Paint_Delegate delegate = sManager.getDelegate(thisPaint.mNativePaint); in setHinting() local [all …]
|
D | Bitmap_Delegate.java | 120 Bitmap_Delegate delegate = new Bitmap_Delegate(ImageIO.read(input), Config.ARGB_8888); in createBitmap() local 122 return createBitmap(delegate, createFlags, density.getDpiValue()); in createBitmap() 153 Bitmap_Delegate delegate = new Bitmap_Delegate(ImageIO.read(input), Config.ARGB_8888); in createBitmap() local 155 return createBitmap(delegate, createFlags, density.getDpiValue()); in createBitmap() 185 Bitmap_Delegate delegate = new Bitmap_Delegate(image, Config.ARGB_8888); in createBitmap() local 187 return createBitmap(delegate, createFlags, density.getDpiValue()); in createBitmap() 195 Bitmap_Delegate delegate = sManager.getDelegate(bitmap.mNativeBitmap); in getImage() local 196 if (delegate == null) { in getImage() 200 return delegate.mImage; in getImage() 269 Bitmap_Delegate delegate = new Bitmap_Delegate(image, Config.nativeToConfig(nativeConfig)); in nativeCreate() local [all …]
|
D | Typeface_Delegate.java | 147 Typeface_Delegate delegate = sManager.getDelegate(native_instance); 148 if (delegate == null) { 149 delegate = sManager.getDelegate(sDefaultTypeface); 151 if (delegate == null) { 155 return sManager.addNewDelegate(new Typeface_Delegate(delegate.mFontFamilies, style, 156 delegate.mWeight)); 161 Typeface_Delegate delegate = sManager.getDelegate(native_instance); 162 if (delegate == null) { 163 delegate = sManager.getDelegate(sDefaultTypeface); 165 if (delegate == null) { [all …]
|
D | FontFamily_Delegate.java | 226 FontFamily_Delegate delegate = new FontFamily_Delegate(); in nCreateFamily() local 229 delegate.mVariant = FontVariant.values()[variant]; in nCreateFamily() 231 delegate.init(); in nCreateFamily() 233 sPostInitDelegate.add(delegate); in nCreateFamily() 235 return sManager.addNewDelegate(delegate); in nCreateFamily() 247 final FontFamily_Delegate delegate = getDelegate(nativeFamily); 248 if (delegate != null) { 250 delegate.mPostInitRunnables.add(new Runnable() { 253 delegate.addFont(path); 258 return delegate.addFont(path); [all …]
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | AccessibilityDelegateCompat.java | 36 public boolean dispatchPopulateAccessibilityEvent(Object delegate, View host, in dispatchPopulateAccessibilityEvent() argument 38 public void onInitializeAccessibilityEvent(Object delegate, View host, in onInitializeAccessibilityEvent() argument 40 public void onInitializeAccessibilityNodeInfo(Object delegate, View host, in onInitializeAccessibilityNodeInfo() argument 42 public void onPopulateAccessibilityEvent(Object delegate, View host, in onPopulateAccessibilityEvent() argument 44 public boolean onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, in onRequestSendAccessibilityEvent() argument 46 public void sendAccessibilityEvent(Object delegate, View host, int eventType); in sendAccessibilityEvent() argument 47 public void sendAccessibilityEventUnchecked(Object delegate, View host, in sendAccessibilityEventUnchecked() argument 49 public AccessibilityNodeProviderCompat getAccessibilityNodeProvider(Object delegate, in getAccessibilityNodeProvider() argument 51 public boolean performAccessibilityAction(Object delegate, View host, int action, in performAccessibilityAction() argument 66 public boolean dispatchPopulateAccessibilityEvent(Object delegate, View host, in dispatchPopulateAccessibilityEvent() argument [all …]
|
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
D | TextToSpeechTests.java | 67 IDelegate delegate = LittleMock.mock(IDelegate.class); in testSetLanguage_delegation() local 68 MockableTextToSpeechService.setMocker(delegate); in testSetLanguage_delegation() 70 … LittleMock.doReturn(TextToSpeech.LANG_COUNTRY_VAR_AVAILABLE).when(delegate).onIsLanguageAvailable( in testSetLanguage_delegation() 72 LittleMock.doReturn(TextToSpeech.LANG_COUNTRY_VAR_AVAILABLE).when(delegate).onLoadLanguage( in testSetLanguage_delegation() 78 LittleMock.verify(delegate, LittleMock.anyTimes()).onIsLanguageAvailable( in testSetLanguage_delegation() 80 LittleMock.verify(delegate, LittleMock.times(1)).onLoadLanguage( in testSetLanguage_delegation() 85 IDelegate delegate = LittleMock.mock(IDelegate.class); in testSetLanguage_availableLanguage() local 86 MockableTextToSpeechService.setMocker(delegate); in testSetLanguage_availableLanguage() 92 … LittleMock.doReturn(TextToSpeech.LANG_COUNTRY_AVAILABLE).when(delegate).onIsLanguageAvailable( in testSetLanguage_availableLanguage() 94 … LittleMock.doReturn(TextToSpeech.LANG_COUNTRY_AVAILABLE).when(delegate).onIsLanguageAvailable( in testSetLanguage_availableLanguage() [all …]
|
D | MockableCheckVoiceData.java | 31 MockableTextToSpeechService.IDelegate delegate = in onCreate() local 34 ArrayList<String> availableLangs = delegate.getAvailableVoices(); in onCreate() 35 ArrayList<String> unavailableLangs = delegate.getUnavailableVoices(); in onCreate()
|
D | MockableTextToSpeechService.java | 29 public static void setMocker(IDelegate delegate) { in setMocker() argument 30 sDelegate = delegate; in setMocker()
|
/frameworks/base/core/java/android/net/http/ |
D | HttpResponseCache.java | 152 private final com.android.okhttp.HttpResponseCache delegate; field in HttpResponseCache 154 private HttpResponseCache(com.android.okhttp.HttpResponseCache delegate) { in HttpResponseCache() argument 155 this.delegate = delegate; in HttpResponseCache() 207 return delegate.get(uri, requestMethod, requestHeaders); in get() 211 return delegate.put(uri, urlConnection); in put() 220 return delegate.getSize(); in size() 228 return delegate.getMaxSize(); in maxSize() 238 delegate.flush(); in flush() 248 return delegate.getNetworkCount(); in getNetworkCount() 257 return delegate.getHitCount(); in getHitCount() [all …]
|
D | AndroidHttpClient.java | 174 private final HttpClient delegate; field in AndroidHttpClient 180 this.delegate = new DefaultHttpClient(ccm, params) { in AndroidHttpClient() 262 return delegate.getParams(); in getParams() 266 return delegate.getConnectionManager(); in getConnectionManager() 270 return delegate.execute(request); in execute() 275 return delegate.execute(request, context); in execute() 280 return delegate.execute(target, request); in execute() 285 return delegate.execute(target, request, context); in execute() 291 return delegate.execute(request, responseHandler); in execute() 297 return delegate.execute(request, responseHandler, context); in execute() [all …]
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | LocationRequestUnbundled.java | 78 private final LocationRequest delegate; field in LocationRequestUnbundled 80 LocationRequestUnbundled(LocationRequest delegate) { in LocationRequestUnbundled() argument 81 this.delegate = delegate; in LocationRequestUnbundled() 90 return delegate.getInterval(); in getInterval() 103 return delegate.getFastestInterval(); in getFastestInterval() 112 return delegate.getQuality(); in getQuality() 121 return delegate.getSmallestDisplacement(); in getSmallestDisplacement() 126 return delegate.toString(); in toString()
|
/frameworks/support/v4/ics/android/support/v4/view/ |
D | AccessibilityDelegateCompatIcs.java | 85 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 …]
|
D | ViewCompatICS.java | 38 public static void setAccessibilityDelegate(View v, @Nullable Object delegate) { in setAccessibilityDelegate() argument 39 v.setAccessibilityDelegate((AccessibilityDelegate) delegate); in setAccessibilityDelegate()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | RenderNode_Delegate.java | 56 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nSetElevation() local 57 if (delegate != null && delegate.mLift != lift) { in nSetElevation() 58 delegate.mLift = lift; in nSetElevation() 66 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nGetElevation() local 67 if (delegate != null) { in nGetElevation() 68 return delegate.mLift; in nGetElevation()
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
D | WebViewDelegateFactory.java | 84 static WebViewDelegate createProxyDelegate(android.webkit.WebViewDelegate delegate) { in createProxyDelegate() argument 85 return new ProxyDelegate(delegate); in createProxyDelegate() 106 android.webkit.WebViewDelegate delegate; field in WebViewDelegateFactory.ProxyDelegate 108 ProxyDelegate(android.webkit.WebViewDelegate delegate) { in ProxyDelegate() argument 109 this.delegate = delegate; in ProxyDelegate() 114 delegate.setOnTraceEnabledChangeListener( in setOnTraceEnabledChangeListener() 126 return delegate.isTraceTagEnabled(); in isTraceTagEnabled() 131 return delegate.canInvokeDrawGlFunctor(containerView); in canInvokeDrawGlFunctor() 137 delegate.invokeDrawGlFunctor(containerView, nativeDrawGLFunctor, waitForCompletion); in invokeDrawGlFunctor() 142 delegate.callDrawGlFunction(canvas, nativeDrawGLFunctor); in callDrawGlFunction() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | DelegateManager.java | 99 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/base/media/java/android/media/projection/ |
D | MediaProjectionManager.java | 140 CallbackDelegate delegate = new CallbackDelegate(callback, handler); in addCallback() local 141 mCallbacks.put(callback, delegate); in addCallback() 143 mService.addCallback(delegate); in addCallback() 157 CallbackDelegate delegate = mCallbacks.remove(callback); in removeCallback() local 159 if (delegate != null) { in removeCallback() 160 mService.removeCallback(delegate); in removeCallback()
|
/frameworks/support/v4/api21/android/support/v4/media/ |
D | VolumeProviderCompatApi21.java | 23 final Delegate delegate) { in createVolumeProvider() argument 27 delegate.onSetVolumeTo(volume); in createVolumeProvider() 32 delegate.onAdjustVolume(direction); in createVolumeProvider()
|
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/ |
D | DynamicProxy.java | 47 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/support/v4/jellybean/android/support/v4/view/ |
D | AccessibilityDelegateCompatJellyBean.java | 97 public static Object getAccessibilityNodeProvider(Object delegate, 99 return ((AccessibilityDelegate) delegate).getAccessibilityNodeProvider(host); 102 public static boolean performAccessibilityAction(Object delegate, View host, int action, 104 return ((AccessibilityDelegate) delegate).performAccessibilityAction(host, action, args);
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageManager.java | 117 final ObbListenerDelegate delegate; in onObbResult() local 119 delegate = mListeners.get(nonce); in onObbResult() 120 if (delegate != null) { in onObbResult() 125 if (delegate != null) { in onObbResult() 126 delegate.sendObbStateChanged(filename, status); in onObbResult() 131 final ObbListenerDelegate delegate = new ObbListenerDelegate(listener); in addListener() local 134 mListeners.put(delegate.nonce, delegate); in addListener() 137 return delegate.nonce; in addListener()
|
/frameworks/base/tools/layoutlib/bridge/src/libcore/icu/ |
D | DateIntervalFormat_Delegate.java | 44 DateIntervalFormat_Delegate delegate = sManager.getDelegate((int)address); in formatDateInterval() local 45 if (delegate == null) { in formatDateInterval() 53 delegate.mFormat.format(interval, sb, pos); in formatDateInterval()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | SoundTriggerModule.java | 194 NativeEventHandlerDelegate delegate = module.mEventHandlerDelegate; in postEventFromNative() local 195 if (delegate != null) { in postEventFromNative() 196 Handler handler = delegate.handler(); in postEventFromNative()
|
/frameworks/base/tools/layoutlib/bridge/src/libcore/io/ |
D | MemoryMappedFile_Delegate.java | 95 MemoryMappedFile_Delegate delegate = getDelegate(file); in bigEndianIterator() local 96 return new BridgeBufferIterator(delegate.mSize, delegate.mMappedByteBuffer.duplicate()); in bigEndianIterator()
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
D | SingleThreadedMediaPlayerProxy.java | 32 public SingleThreadedMediaPlayerProxy(MediaPlayerProxy delegate) { in SingleThreadedMediaPlayerProxy() argument 33 mDelegate = delegate; in SingleThreadedMediaPlayerProxy()
|