Searched defs:drawable (Results 101 - 125 of 204) sorted by relevance

123456789

/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/
H A DVectorDrawableTest.java17 package android.support.graphics.drawable.tests;
27 import android.graphics.drawable.Drawable;
28 import android.support.graphics.drawable.VectorDrawableCompat;
29 import android.support.graphics.drawable.test.R;
51 R.drawable.vector_icon_create,
52 R.drawable.vector_icon_delete,
53 R.drawable.vector_icon_heart,
54 R.drawable.vector_icon_schedule,
55 R.drawable.vector_icon_settings,
56 R.drawable
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DTitleView.java17 import android.graphics.drawable.Drawable;
73 public void setBadgeDrawable(Drawable drawable) {
74 TitleView.this.setBadgeDrawable(drawable);
131 * Sets the badge drawable.
132 * If non-null, the drawable is displayed instead of the title text.
134 public void setBadgeDrawable(Drawable drawable) { argument
135 mBadgeView.setImageDrawable(drawable);
140 * Returns the badge drawable.
211 Drawable drawable = mBadgeView.getDrawable();
212 if (drawable !
[all...]
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
H A DTestUtils.java24 import android.graphics.drawable.Drawable;
111 * Checks whether all the pixels in the specified drawable are of the same specified color.
118 public static void assertAllPixelsOfColor(String failMessagePrefix, @NonNull Drawable drawable, argument
127 // Configure the drawable to have bounds that match the passed size
128 drawable.setBounds(0, 0, drawableWidth, drawableHeight);
130 // And ask the drawable to draw itself to the canvas / bitmap
131 drawable.draw(canvas);
160 + ": expected all drawable colors to be "
176 * Checks whether the center pixel in the specified drawable is of the same specified color.
183 public static void assertCenterPixelOfColor(String failMessagePrefix, @NonNull Drawable drawable, argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
H A DDrawableWrapper.java17 package android.support.v7.graphics.drawable;
25 import android.graphics.drawable.Drawable;
27 import android.support.v4.graphics.drawable.DrawableCompat;
45 public DrawableWrapper(Drawable drawable) { argument
46 setWrappedDrawable(drawable);
218 public void setWrappedDrawable(Drawable drawable) { argument
223 mDrawable = drawable;
225 if (drawable != null) {
226 drawable.setCallback(this);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedStateListDrawable.java17 package android.graphics.drawable;
44 * This drawable can be defined in an XML file with the <code>
103 * Add a new drawable to the set of keyframes.
106 * @param drawable The drawable to show when in the specified state, may not be null
109 public void addState(@NonNull int[] stateSet, @NonNull Drawable drawable, int id) { argument
110 if (drawable == null) {
114 mState.addStateSet(stateSet, drawable, id);
123 * @param transition An {@link Animatable} drawable to use as a transition, may not be null
129 throw new IllegalArgumentException("Transition drawable mus
601 addStateSet(@onNull int[] stateSet, @NonNull Drawable drawable, int id) argument
[all...]
H A DAnimatedRotateDrawable.java17 package android.graphics.drawable;
46 /** Whether this drawable is currently animating. */
50 * Creates a new animated rotating drawable with no wrapped drawable.
58 final Drawable drawable = getDrawable();
59 final Rect bounds = drawable.getBounds();
69 drawable.draw(canvas);
170 + ": <animated-rotate> tag requires a 'drawable' attribute or "
171 + "child tag defining a drawable");
261 // Force the wrapped drawable t
[all...]
H A DAnimationDrawable.java17 package android.graphics.drawable;
38 * animation in an XML file, placed in the res/drawable/ folder, and set it as
47 * spin_animation.xml file in res/drawable/ folder:
50 * files inside the res/drawable/ folder --&gt;
52 * &lt;item android:drawable=&quot;@drawable/wheel0&quot; android:duration=&quot;50&quot; /&gt;
53 * &lt;item android:drawable=&quot;@drawable/wheel1&quot; android:duration=&quot;50&quot; /&gt;
54 * &lt;item android:drawable=&quot;@drawable/wheel
[all...]
H A DColorDrawable.java17 package android.graphics.drawable;
82 * @return This drawable.
118 * Gets the drawable's color value.
128 * Sets the drawable's color value. This action will clobber the results of
142 * Returns the alpha value of this drawable's color.
174 * @see android.graphics.drawable.Drawable#setColorFilter(ColorFilter)
H A DRippleComponent.java17 package android.graphics.drawable;
180 * parent drawable coordinates before use.
H A DRotateDrawable.java17 package android.graphics.drawable;
60 * Creates a new rotating drawable with no wrapped drawable.
107 + ": <rotate> tag requires a 'drawable' attribute or "
108 + "child tag defining a drawable");
206 * Sets the X position around which the drawable is rotated.
210 * fraction of the drawable width. Otherwise, the position represents an
234 * Sets whether the X pivot value represents a fraction of the drawable
237 * @param relative true if the X pivot represents a fraction of the drawable
249 * @return true if the X pivot represents a fraction of the drawable widt
[all...]
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DExtendedBitmapDrawable.java17 package com.android.bitmap.drawable;
28 import android.graphics.drawable.Drawable;
157 * This sets the drawable to the failed state, which remove all animations from the placeholder.
268 * Only override this method for custom drawings on top of all the drawable layers.
296 protected void onDrawPlaceholderOrProgress(final Canvas canvas, final TileDrawable drawable) { argument
297 drawable.draw(canvas);
381 * Get the load state of this drawable. Return one of the LOAD_STATE constants.
/frameworks/base/core/java/android/preference/
H A DPreferenceGroupAdapter.java23 import android.graphics.drawable.Drawable;
231 public void setHighlightedDrawable(Drawable drawable) { argument
232 mHighlightedDrawable = drawable;
/frameworks/base/core/java/android/view/
H A DViewOverlay.java23 import android.graphics.drawable.Drawable;
63 * Adds a {@link Drawable} to the overlay. The bounds of the drawable should be relative to
64 * the host view. Any drawable added to the overlay should be removed when it is no longer
69 * @param drawable The {@link Drawable} to be added to the overlay. This drawable will be
74 public void add(@NonNull Drawable drawable) { argument
75 mOverlayViewGroup.add(drawable);
83 * @param drawable The {@link Drawable} to be removed from the overlay.
86 public void remove(@NonNull Drawable drawable) { argument
87 mOverlayViewGroup.remove(drawable);
146 add(@onNull Drawable drawable) argument
161 remove(@onNull Drawable drawable) argument
235 invalidateDrawable(@onNull Drawable drawable) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DDrawableHolder.java26 import android.graphics.drawable.BitmapDrawable;
47 public DrawableHolder(BitmapDrawable drawable) { argument
48 this(drawable, 0.0f, 0.0f);
51 public DrawableHolder(BitmapDrawable drawable, float x, float y) { argument
52 mDrawable = drawable;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyboardShortcuts.java32 import android.graphics.drawable.Icon;
35 import android.graphics.drawable.Drawable;
313 KeyEvent.KEYCODE_DEL, context.getDrawable(R.drawable.ic_ksh_key_backspace));
315 KeyEvent.KEYCODE_ENTER, context.getDrawable(R.drawable.ic_ksh_key_enter));
317 KeyEvent.KEYCODE_DPAD_UP, context.getDrawable(R.drawable.ic_ksh_key_up));
319 KeyEvent.KEYCODE_DPAD_RIGHT, context.getDrawable(R.drawable.ic_ksh_key_right));
321 KeyEvent.KEYCODE_DPAD_DOWN, context.getDrawable(R.drawable.ic_ksh_key_down));
323 KeyEvent.KEYCODE_DPAD_LEFT, context.getDrawable(R.drawable.ic_ksh_key_left));
326 KeyEvent.META_META_ON, context.getDrawable(R.drawable.ic_ksh_key_meta));
752 StringDrawableContainer(String string, Drawable drawable) { argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DButtonDispatcher.java19 import android.graphics.drawable.Drawable;
90 public void setImageDrawable(Drawable drawable) { argument
91 mImageDrawable = drawable;
204 void setImageDrawable(@Nullable Drawable drawable); argument
H A DLockIcon.java21 import android.graphics.drawable.AnimatedVectorDrawable;
22 import android.graphics.drawable.Drawable;
23 import android.graphics.drawable.InsetDrawable;
132 if (iconRes == R.drawable.lockscreen_fingerprint_draw_off_animation) {
136 } else if (iconRes == R.drawable.trusted_state_to_error_animation) {
140 } else if (iconRes == R.drawable.error_to_trustedstate_animation) {
178 if (iconRes == R.drawable.lockscreen_fingerprint_draw_off_animation) {
231 return R.drawable.ic_lock_24dp;
233 return R.drawable.ic_lock_open_24dp;
235 return com.android.internal.R.drawable
296 IntrinsicSizeDrawable(Drawable drawable, int intrinsicWidth, int intrinsicHeight) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonView.java25 import android.graphics.drawable.Drawable;
26 import android.graphics.drawable.Icon;
127 protected void onPostExecute(Drawable drawable) {
128 setImageDrawable(drawable);
273 public void setImageDrawable(@Nullable Drawable drawable) { argument
274 super.setImageDrawable(drawable);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
H A DAnimatedVectorDrawable_Delegate.java17 package android.graphics.drawable;
31 import android.graphics.drawable.AnimatedVectorDrawable.VectorDrawableAnimatorRT;
32 import android.graphics.drawable.VectorDrawable_Delegate.VFullPath_Delegate;
33 import android.graphics.drawable.VectorDrawable_Delegate.VGroup_Delegate;
34 import android.graphics.drawable.VectorDrawable_Delegate.VNativeObject;
35 import android.graphics.drawable.VectorDrawable_Delegate.VPathRenderer_Delegate;
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DSetupWizardLayout.java25 import android.graphics.drawable.BitmapDrawable;
26 import android.graphics.drawable.Drawable;
27 import android.graphics.drawable.LayerDrawable;
239 * Set the illustration of the layout. The drawable will be applied as is, and the bounds will
241 * a suitable drawable from an asset and a horizontal repeating tile, use
244 * @param drawable The drawable specifying the illustration.
246 public void setIllustration(Drawable drawable) { argument
250 illustration.setIllustration(drawable);
328 * drawable, us
[all...]
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DAndroidResources.java15 package android.support.graphics.drawable;
74 android.R.attr.drawable
H A DPathParser.java15 package android.support.graphics.drawable;
H A DVectorDrawableCommon.java15 package android.support.graphics.drawable;
24 import android.graphics.drawable.Drawable;
26 import android.support.v4.graphics.drawable.DrawableCompat;
27 import android.support.v4.graphics.drawable.TintAwareDrawable;
/frameworks/support/transition/ics/android/support/transition/
H A DViewOverlay.java23 import android.graphics.drawable.Drawable;
87 * Adds a Drawable to the overlay. The bounds of the drawable should be relative to
88 * the host view. Any drawable added to the overlay should be removed when it is no longer
91 * @param drawable The Drawable to be added to the overlay. This drawable will be
95 public void add(Drawable drawable) { argument
96 mOverlayViewGroup.add(drawable);
102 * @param drawable The Drawable to be removed from the overlay.
105 public void remove(Drawable drawable) { argument
106 mOverlayViewGroup.remove(drawable);
186 add(Drawable drawable) argument
199 remove(Drawable drawable) argument
262 invalidateDrawable(Drawable drawable) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DBrandedFragment.java17 import android.graphics.drawable.Drawable;
193 * Sets the drawable displayed in the fragment title.
195 * @param drawable The Drawable to display in the fragment title.
197 public void setBadgeDrawable(Drawable drawable) { argument
198 if (mBadgeDrawable != drawable) {
199 mBadgeDrawable = drawable;
201 mTitleViewAdapter.setBadgeDrawable(drawable);
207 * Returns the badge drawable used in the fragment title.
208 * @return The badge drawable used in the fragment title.

Completed in 4874 milliseconds

123456789