Home
last modified time | relevance | path

Searched defs:drawable (Results 1 – 25 of 188) sorted by relevance

12345678

/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DGlifPatternDrawableTest.java53 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
DDrawableLayoutDirectionHelperTest.java46 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/
DAnimatedImageDrawable.cpp107 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/
DBluetoothDeviceLayerDrawableTest.java49 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/
DDrawableLayoutDirectionHelper.java35 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/
DImageSpan.java127 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/
DAnimatedImageThread.cpp35 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/
DIconMixinTest.java72 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/
DAnimatable2.java53 public void onAnimationStart(Drawable drawable) {}; in onAnimationStart()
59 public void onAnimationEnd(Drawable drawable) {}; in onAnimationEnd()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DIconCache.java43 Drawable drawable = mMap.get(icon); in getIcon() local
51 public void updateIcon(Icon icon, Drawable drawable) { in updateIcon()
/frameworks/base/core/java/android/view/
DViewOverlay.java76 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/
DResourcesDrawableTest.java45 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/
DScrimViewTest.java66 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/
DAlphaControlledSignalTileViewTest.java63 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/
DSlashImageView.java55 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/
DBitmapView.java48 ExtendedBitmapDrawable drawable = getTypedDrawable(); in onSizeChanged() local
58 ExtendedBitmapDrawable drawable = getTypedDrawable(); in onDraw() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
DAnimatedImageView.java42 final Drawable drawable = getDrawable(); in updateDrawable() local
67 public void setImageDrawable(Drawable drawable) { in setImageDrawable()
/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java407 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/
DAnimatedImageView.java72 Drawable drawable = getDrawable(); in updateAnim() local
87 public void setImageDrawable(Drawable drawable) { in setImageDrawable()
DScrimView.java77 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/
DAccountItemView.java68 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/
DAdaptiveOutlineDrawableTest.java37 final AdaptiveOutlineDrawable drawable = new AdaptiveOutlineDrawable(resources, null); in constructor_initPaint() local
DAnimatedImageViewTest.java46 AnimatedRotateDrawable drawable = (AnimatedRotateDrawable) mAnimatedImageView.getDrawable(); in testAnimation_ViewVisible_AnimationRunning() local
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/testutils/
DDrawableTestHelper.java26 public static void assertDrawableResId(Drawable drawable, int resId) { in assertDrawableResId()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/volume/
DCarVolumeItem.java65 public void setPrimaryIcon(Drawable drawable) { in setPrimaryIcon()
70 public void setSupplementalIcon(Drawable drawable, boolean showSupplementalIconDivider) { in setSupplementalIcon()

12345678