Searched refs:drawable (Results 226 - 250 of 1101) sorted by relevance

1234567891011>>

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DAccessPointPreference.java21 import android.graphics.drawable.Drawable;
22 import android.graphics.drawable.StateListDrawable;
117 Drawable drawable = getIcon();
118 if (drawable != null) {
119 drawable.setLevel(mLevel);
137 // set the icon (drawable) to that state's drawable.
139 // (nor need to display) the drawable.
144 Drawable drawable = mWifiSld.getCurrent();
145 if (!mForSavedNetworks && drawable !
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
H A DCarNavigationButton.java19 import android.graphics.drawable.Drawable;
52 mMoreIcon.setImageDrawable(getContext().getDrawable(R.drawable.car_ic_arrow));
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewFlipperActivity.java43 ((ImageView) view.findViewById(R.id.widget_image)).setImageResource(R.drawable.sunset1);
49 ((ImageView) view.findViewById(R.id.widget_image)).setImageResource(R.drawable.sunset3);
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DCrossfadeImage.java62 mImageView.setImageResource(R.drawable.self_portrait_square_100);
64 mImageView.setImageResource(R.drawable.self_portrait_square_200);
H A DContactsExpansion.java55 addContact(contactsContainer, contactsIndex, R.drawable.self_portrait_square_100);
57 addContact(contactsContainer, contactsIndex, R.drawable.self_portrait_square_100);
59 addContact(contactsContainer, contactsIndex, R.drawable.self_portrait_square_100);
110 thumbnailView.setImageResource(expanded ? R.drawable.self_portrait_square_100 :
111 R.drawable.self_portrait_square_200);
/frameworks/opt/colorpicker/src/com/android/colorpicker/
H A DColorPickerSwatch.java20 import android.graphics.drawable.Drawable;
62 {getContext().getResources().getDrawable(R.drawable.color_picker_swatch)};
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
H A DIllustrationTest.java21 import android.graphics.drawable.ColorDrawable;
22 import android.graphics.drawable.Drawable;
/frameworks/support/frameworks/support/samples/SupportVectorDrawable/static/
H A DAndroid.mk17 --extra-packages android.support.graphics.drawable \
/frameworks/support/samples/SupportVectorDrawable/static/
H A DAndroid.mk17 --extra-packages android.support.graphics.drawable \
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
H A DTestUtilsMatchers.java21 import android.graphics.drawable.Drawable;
40 * Returns a matcher that matches <code>ImageView</code>s which have drawable flat-filled
43 public static Matcher drawable(@ColorInt final int color) { method in class:TestUtilsMatchers
49 description.appendText("with drawable of color: ");
56 Drawable drawable = view.getDrawable();
57 if (drawable == null) {
65 TestUtils.assertAllPixelsOfColor("", drawable, view.getWidth(),
96 Drawable drawable = view.getBackground();
97 if (drawable == null) {
102 TestUtils.assertAllPixelsOfColor("", drawable, vie
[all...]
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
H A DAppCompatImageViewTest.java22 import android.graphics.drawable.Drawable;
47 imageViewInteration.check(matches(TestUtilsMatchers.drawable(expectedColor)));
H A DTintResourcesTest.java23 import android.graphics.drawable.Drawable;
45 tintResources.getDrawable(android.R.drawable.ic_delete);
/frameworks/base/core/java/android/widget/
H A DDayPickerViewPager.java22 import android.graphics.drawable.Drawable;
98 final Drawable drawable = getForeground();
99 if (drawable != null) {
100 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight());
101 maxWidth = Math.max(maxWidth, drawable.getMinimumWidth());
/frameworks/base/core/java/com/android/internal/widget/
H A DDialogViewAnimator.java20 import android.graphics.drawable.Drawable;
96 final Drawable drawable = getForeground();
97 if (drawable != null) {
98 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight());
99 maxWidth = Math.max(maxWidth, drawable.getMinimumWidth());
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/policy/
H A DAccessPointControllerImpl.java48 R.drawable.ic_qs_wifi_full_0,
49 R.drawable.ic_qs_wifi_full_1,
50 R.drawable.ic_qs_wifi_full_2,
51 R.drawable.ic_qs_wifi_full_3,
52 R.drawable.ic_qs_wifi_full_4,
/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/
H A DNotificationTests.java26 import android.graphics.drawable.BitmapDrawable;
27 import android.graphics.drawable.Drawable;
154 .setLargeIcon(getBitmap(context, R.drawable.bucket))
157 .setSmallIcon(R.drawable.stat_notify_talk_text)
172 .setSmallIcon(R.drawable.ic_menu_upload)
277 .setLargeIcon(getBitmap(mContext, R.drawable.matias_hed))
278 .setSmallIcon(R.drawable.stat_sys_phone_call)
283 .addAction(R.drawable.ic_dial_action_call, "Answer",
285 .addAction(R.drawable.ic_end_call, "Ignore",
300 .setSmallIcon(R.drawable
[all...]
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DBackgroundHelper.java21 import android.graphics.drawable.BitmapDrawable;
22 import android.graphics.drawable.Drawable;
104 Drawable drawable = ContextCompat.getDrawable(activity, resourceId);
105 if (drawable instanceof BitmapDrawable) {
106 return ((BitmapDrawable) drawable).getBitmap();
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DBackgroundHelper.java21 import android.graphics.drawable.BitmapDrawable;
22 import android.graphics.drawable.Drawable;
104 Drawable drawable = ContextCompat.getDrawable(activity, resourceId);
105 if (drawable instanceof BitmapDrawable) {
106 return ((BitmapDrawable) drawable).getBitmap();
/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.
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DDetailsOverviewRow.java18 import android.graphics.drawable.BitmapDrawable;
19 import android.graphics.drawable.Drawable;
54 * Called when DetailsOverviewRow has changed image drawable.
202 * Sets a drawable as the image of this details overview. Must be called on UI thread
205 * @param drawable The drawable to set.
207 public final void setImageDrawable(Drawable drawable) { argument
208 if (mImageDrawable != drawable) {
209 mImageDrawable = drawable;
227 * Returns the image drawable o
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatSeekBarHelper.java22 import android.graphics.drawable.Drawable;
24 import android.support.v4.graphics.drawable.DrawableCompat;
51 final Drawable drawable = a.getDrawableIfKnown(R.styleable.AppCompatSeekBar_android_thumb);
52 if (drawable != null) {
53 mView.setThumb(drawable);
135 // The drawable (or one of its children) may not have been
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DRootInfo.java28 import android.graphics.drawable.Drawable;
198 derivedIcon = R.drawable.ic_root_documents;
201 derivedIcon = R.drawable.ic_usb_storage;
204 derivedIcon = R.drawable.ic_usb_storage;
207 derivedIcon = R.drawable.ic_sd_storage;
210 derivedIcon = R.drawable.ic_root_smartphone;
213 derivedIcon = R.drawable.ic_root_download;
216 derivedIcon = com.android.internal.R.drawable.ic_doc_image;
219 derivedIcon = com.android.internal.R.drawable.ic_doc_video;
222 derivedIcon = com.android.internal.R.drawable
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDessertCaseView.java33 import android.graphics.drawable.BitmapDrawable;
34 import android.graphics.drawable.Drawable;
62 R.drawable.dessert_kitkat, // used with permission
63 R.drawable.dessert_android, // thx irina
67 R.drawable.dessert_cupcake, // 2009
68 R.drawable.dessert_donut, // 2009
69 R.drawable.dessert_eclair, // 2009
70 R.drawable.dessert_froyo, // 2010
71 R.drawable.dessert_gingerbread, // 2010
72 R.drawable
[all...]
/frameworks/base/core/java/android/view/
H A DPointerIcon.java29 import android.graphics.drawable.AnimationDrawable;
30 import android.graphics.drawable.BitmapDrawable;
31 import android.graphics.drawable.Drawable;
277 * android:bitmap="@drawable/my_pointer_bitmap"
288 * @throws Resources.NotFoundException if the resource was not found or the drawable
423 Drawable drawable;
425 drawable = resources.getDrawable(bitmapRes);
427 drawable = context.getDrawable(bitmapRes);
429 if (drawable instanceof AnimationDrawable) {
431 final AnimationDrawable animationDrawable = (AnimationDrawable) drawable;
[all...]

Completed in 862 milliseconds

1234567891011>>