/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | GlifPatternDrawableTest.java | 53 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testDraw() local 70 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testDrawTwice() local 92 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testScaleToCanvasSquare() local 108 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testScaleToCanvasTall() local 125 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testScaleToCanvasWide() local 142 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testScaleToCanvasMaxSize() local 158 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testMemoryAllocation() local
|
D | DrawableLayoutDirectionHelperTest.java | 46 final Drawable drawable = new ColorDrawable(Color.RED); in testCreateRelativeInsetDrawableLtr() local 69 final Drawable drawable = new ColorDrawable(Color.RED); in testCreateRelativeInsetDrawableRtl() local 92 final Drawable drawable = new ColorDrawable(Color.RED); in testCreateRelativeInsetDrawableViewRtl() local 115 final Drawable drawable = new ColorDrawable(Color.RED); in testCreateRelativeInsetDrawableContextRtl() local
|
/frameworks/base/core/jni/android/graphics/ |
D | AnimatedImageDrawable.cpp | 107 sk_sp<AnimatedImageDrawable> drawable(new AnimatedImageDrawable(std::move(animatedImg), in AnimatedImageDrawable_nCreate() local 112 static void AnimatedImageDrawable_destruct(AnimatedImageDrawable* drawable) { in AnimatedImageDrawable_destruct() 125 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nDraw() local 132 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nSetAlpha() local 137 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nGetAlpha() local 143 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nSetColorFilter() local 149 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nIsRunning() local 154 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nStart() local 159 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nStop() local 167 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nGetRepeatCount() local [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/ |
D | BluetoothDeviceLayerDrawableTest.java | 49 BluetoothDeviceLayerDrawable drawable = BluetoothDeviceLayerDrawable.createLayerDrawable( in testCreateLayerDrawable_configCorrect() local 62 BluetoothDeviceLayerDrawable drawable = BluetoothDeviceLayerDrawable.createLayerDrawable( in testCreateLayerDrawable_withIconScale_configCorrect() local 86 BluetoothDeviceLayerDrawable drawable = BluetoothDeviceLayerDrawable.createLayerDrawable( in testConstantState_returnTwinBluetoothLayerDrawable() local 99 BluetoothDeviceLayerDrawable drawable = BluetoothDeviceLayerDrawable.createLayerDrawable( in testCreateLayerDrawable_bluetoothDrawable_hasCorrectFrameColor() local
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
D | DrawableLayoutDirectionHelper.java | 35 Drawable drawable, int insetStart, int insetTop, int insetEnd, int insetBottom, View view) { in createRelativeInsetDrawable() 49 Drawable drawable, in createRelativeInsetDrawable() 71 Drawable drawable, in createRelativeInsetDrawable() 87 Drawable drawable, in createRelativeInsetDrawable()
|
/frameworks/base/core/java/android/text/style/ |
D | ImageSpan.java | 127 public ImageSpan(@NonNull Drawable drawable) { in ImageSpan() 138 public ImageSpan(@NonNull Drawable drawable, int verticalAlignment) { in ImageSpan() 150 public ImageSpan(@NonNull Drawable drawable, @NonNull String source) { in ImageSpan() 162 public ImageSpan(@NonNull Drawable drawable, @NonNull String source, int verticalAlignment) { in ImageSpan() 228 Drawable drawable = null; in getDrawable() local
|
/frameworks/base/libs/hwui/hwui/ |
D | AnimatedImageThread.cpp | 35 const sk_sp<AnimatedImageDrawable>& drawable) { in decodeNextFrame() 40 const sk_sp<AnimatedImageDrawable>& drawable) { in reset()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/ |
D | IconMixinTest.java | 72 final ColorDrawable drawable = new ColorDrawable(Color.CYAN); in testSetIcon() local 86 Drawable drawable = mIconView.getDrawable(); in setIcon_resourceId_shouldSetIcon() local 101 final ColorDrawable drawable = new ColorDrawable(Color.BLUE); in testGetIcon() local
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Animatable2.java | 53 public void onAnimationStart(Drawable drawable) {}; in onAnimationStart() 59 public void onAnimationEnd(Drawable drawable) {}; in onAnimationEnd()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | IconCache.java | 43 Drawable drawable = mMap.get(icon); in getIcon() local 51 public void updateIcon(Icon icon, Drawable drawable) { in updateIcon()
|
/frameworks/base/core/java/android/view/ |
D | ViewOverlay.java | 76 public void add(@NonNull Drawable drawable) { in add() 88 public void remove(@NonNull Drawable drawable) { in remove() 149 public void add(@NonNull Drawable drawable) { in add() 164 public void remove(@NonNull Drawable drawable) { in remove() 238 public void invalidateDrawable(@NonNull Drawable drawable) { in invalidateDrawable()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesDrawableTest.java | 45 Drawable drawable = resources.getDrawable(R.color.color1); in testLoadColorAsDrawable() local 78 Drawable drawable = resources.getDrawable(R.color.drawable_in_color_dir_valid); in testLoadNormalDrawableInColorDir() local
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | ScrimViewTest.java | 66 Drawable drawable = new ColorDrawable(Color.GREEN); in testSetDrawable_UpdateDrawable() local 73 ScrimDrawable drawable = (ScrimDrawable) mView.getDrawable(); in testCreation_initialColor() local
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | AlphaControlledSignalTileViewTest.java | 63 AlphaControlledSlashDrawable drawable = new AlphaControlledSlashDrawable(mockDrawable); in testSlashDrawable_doesNotSetTintList() local 72 AlphaControlledSlashDrawable drawable = new AlphaControlledSlashDrawable(mockDrawable); in testSlashDrawable_setsFinalTintList() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | SlashImageView.java | 55 public void setImageDrawable(Drawable drawable) { in setImageDrawable() 86 public void setState(@Nullable SlashState state, @Nullable Drawable drawable) { in setState()
|
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/ |
D | BitmapView.java | 48 ExtendedBitmapDrawable drawable = getTypedDrawable(); in onSizeChanged() local 58 ExtendedBitmapDrawable drawable = getTypedDrawable(); in onDraw() local
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/ |
D | AnimatedImageView.java | 42 final Drawable drawable = getDrawable(); in updateDrawable() local 67 public void setImageDrawable(Drawable drawable) { in setImageDrawable()
|
/frameworks/base/core/java/android/widget/ |
D | SuggestionsAdapter.java | 407 Drawable drawable = getDrawableFromResourceValue(value); in getIcon1() local 426 private void setViewDrawable(ImageView v, Drawable drawable, int nullVisibility) { in setViewDrawable() 559 Drawable drawable = checkIconCache(drawableUri); in getDrawableFromResourceValue() local 633 private void storeInIconCache(String resourceUri, Drawable drawable) { in storeInIconCache() 648 Drawable drawable = getActivityIconWithCache(mSearchable.getSearchActivity()); in getDefaultIcon1() local 674 Drawable drawable = getActivityIcon(component); in getActivityIconWithCache() local 700 Drawable drawable = pm.getDrawable(pkg, iconId, activityInfo.applicationInfo); in getActivityIcon() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | AnimatedImageView.java | 72 Drawable drawable = getDrawable(); in updateAnim() local 87 public void setImageDrawable(Drawable drawable) { in setImageDrawable()
|
D | ScrimView.java | 77 public void setDrawable(Drawable drawable) { in setDrawable() 86 public void invalidateDrawable(@NonNull Drawable drawable) { in invalidateDrawable() 141 ScrimDrawable drawable = (ScrimDrawable) mDrawable; in updateColorWithTint() local
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | AccountItemView.java | 68 Drawable drawable = element.getDrawable(); in setViewItem() local 82 public void setAccountIcon(Drawable drawable) { in setAccountIcon()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | AdaptiveOutlineDrawableTest.java | 37 final AdaptiveOutlineDrawable drawable = new AdaptiveOutlineDrawable(resources, null); in constructor_initPaint() local
|
D | AnimatedImageViewTest.java | 46 AnimatedRotateDrawable drawable = (AnimatedRotateDrawable) mAnimatedImageView.getDrawable(); in testAnimation_ViewVisible_AnimationRunning() local
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/testutils/ |
D | DrawableTestHelper.java | 26 public static void assertDrawableResId(Drawable drawable, int resId) { in assertDrawableResId()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/volume/ |
D | CarVolumeItem.java | 65 public void setPrimaryIcon(Drawable drawable) { in setPrimaryIcon() 70 public void setSupplementalIcon(Drawable drawable, boolean showSupplementalIconDivider) { in setSupplementalIcon()
|