/packages/apps/Settings/src/com/android/settings/net/ |
UidDetail.java | 19 import android.graphics.drawable.Drawable; 24 public Drawable icon;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
CachingIconLoader.java | 25 import android.graphics.drawable.Drawable; 55 public NowOrLater<Drawable> getIcon(String drawableId) { 58 return new Now<Drawable>(null); 61 NowOrLater<Drawable.ConstantState> drawableState; 70 return new NowOrLaterWrapper<Drawable.ConstantState, Drawable>(drawableState){ 72 public Drawable get(Drawable.ConstantState value) { 76 NowOrLater<Drawable> drawable = mWrapped.getIcon(drawableId) typedefs 77 newEntry.set(drawable); typedefs [all...] |
IconLoader.java | 22 import android.graphics.drawable.Drawable; 32 * Gets a drawable given an ID. 35 * (e.g., "2130837524"), in which case we will try to retrieve a drawable from 43 * or no drawable can be found for the provided value, the value from this will be null. 49 NowOrLater<Drawable> getIcon(String drawableId); 52 * Converts a drawable ID to a Uri that can be used from other packages.
|
/frameworks/base/core/java/android/view/ |
SubMenu.java | 19 import android.graphics.drawable.Drawable; 62 * {@link Drawable}. 64 * @param icon The {@link Drawable} used for the icon. 67 public SubMenu setHeaderIcon(Drawable icon); 96 * @see MenuItem#setIcon(Drawable) 97 * @param icon The new icon (as a Drawable) to be displayed. 100 public SubMenu setIcon(Drawable icon);
|
ContextMenu.java | 20 import android.graphics.drawable.Drawable; 68 * {@link Drawable}. 70 * @param icon The {@link Drawable} used for the icon. 73 public ContextMenu setHeaderIcon(Drawable icon);
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/ |
ContactsMockPackageManager.java | 20 import android.graphics.drawable.ColorDrawable; 21 import android.graphics.drawable.Drawable; 31 public Drawable getActivityLogo(ComponentName activityName) throws NameNotFoundException { 36 public Drawable getActivityIcon(ComponentName activityName) { 41 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) {
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SkbTemplate.java | 19 import android.graphics.drawable.Drawable; 29 Drawable icon; 30 Drawable iconPopup; 51 private Drawable mSkbBg; 52 private Drawable mBalloonBg; 53 private Drawable mPopupBg; 77 public void setBackgrounds(Drawable skbBg, Drawable balloonBg, 78 Drawable popupBg) [all...] |
SoftKey.java | 19 import android.graphics.drawable.Drawable; 55 protected Drawable mKeyIcon; 57 protected Drawable mKeyIconPopup; 78 public void setKeyType(SoftKeyType keyType, Drawable keyIcon, 79 Drawable keyIconPopup) { 125 public Drawable getKeyIcon() { 129 public Drawable getKeyIconPopup() { 153 public Drawable getKeyBg() { 157 public Drawable getKeyHlBg() [all...] |
/development/samples/SoftKeyboard/src/com/android/inputmethodcommon/ |
InputMethodSettingsInterface.java | 25 import android.graphics.drawable.Drawable; 65 * Sets the icon for the Preference for launching subtype enabler with a Drawable. 66 * @param drawable The drawable of an optional icon for the preference. 68 public void setSubtypeEnablerIcon(Drawable drawable);
|
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/ |
InputMethodSettingsInterface.java | 19 import android.graphics.drawable.Drawable; 59 * Sets the icon for the Preference for launching subtype enabler with a Drawable. 60 * @param drawable The drawable of an optional icon for the preference. 62 public void setSubtypeEnablerIcon(Drawable drawable);
|
/packages/apps/Settings/src/com/android/settings/drawable/ |
InsetBoundsDrawable.java | 17 package com.android.settings.drawable; 19 import android.graphics.drawable.Drawable; 22 * Wrapper around another {@link Drawable} that insets requested bounds by a 28 public InsetBoundsDrawable(Drawable drawable, int insetBoundsSides) { 29 super(drawable);
|
DrawableWrapper.java | 17 package com.android.settings.drawable; 23 import android.graphics.drawable.Drawable; 29 * Base wrapper that delegates all calls to another {@link Drawable}. The 30 * wrapped {@link Drawable} <em>must</em> be fully released from any 31 * {@link View} before wrapping, otherwise internal {@link Drawable.Callback} 34 public class DrawableWrapper extends Drawable implements Drawable.Callback { 35 private final Drawable mDrawable; 37 public DrawableWrapper(Drawable drawable) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ProxyDrawable.java | 22 import android.graphics.drawable.Drawable; 24 public class ProxyDrawable extends Drawable { 26 private Drawable mProxy; 29 public ProxyDrawable(Drawable target) { 33 public Drawable getProxy() { 37 public void setProxy(Drawable proxy) { 94 public Drawable mutate() {
|
/frameworks/base/core/java/android/text/style/ |
DynamicDrawableSpan.java | 24 import android.graphics.drawable.Drawable; 74 public abstract Drawable getDrawable(); 80 Drawable d = getCachedDrawable(); 98 Drawable b = getCachedDrawable(); 111 private Drawable getCachedDrawable() { 112 WeakReference<Drawable> wr = mDrawableRef; 113 Drawable d = null; 120 mDrawableRef = new WeakReference<Drawable>(d); 126 private WeakReference<Drawable> mDrawableRef [all...] |
ImageSpan.java | 22 import android.graphics.drawable.BitmapDrawable; 23 import android.graphics.drawable.Drawable; 30 private Drawable mDrawable; 71 public ImageSpan(Drawable d) { 79 public ImageSpan(Drawable d, int verticalAlignment) { 84 public ImageSpan(Drawable d, String source) { 92 public ImageSpan(Drawable d, String source, int verticalAlignment) { 128 public Drawable getDrawable() { 129 Drawable drawable = null local [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
Drawable_ConstantStateTest.java | 17 package android.graphics.drawable.cts; 20 import android.graphics.drawable.Drawable;
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
Utilities.java | 3 import android.graphics.drawable.Drawable; 6 static void centerAround(int x, int y, Drawable d) {
|
/packages/apps/Contacts/src/com/android/contacts/ |
ContactPresenceIconUtil.java | 20 import android.graphics.drawable.Drawable; 32 public static Drawable getPresenceIcon (Context context, int status) {
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
ContactPresenceIconUtil.java | 20 import android.graphics.drawable.Drawable; 32 public static Drawable getPresenceIcon (Context context, int status) {
|
/gdk/samples/PhotoEditor/src/com/android/photoeditor/ |
IconIndicator.java | 22 import android.graphics.drawable.Drawable; 31 private Drawable[] mIcons; 38 Drawable icons[] = loadIcons(context.getResources(), a.getResourceId( 51 private Drawable[] loadIcons(Resources resources, int iconsId) { 54 Drawable drawable[] = new Drawable[n]; local 57 drawable[i] = id == 0 ? null : resources.getDrawable(id); 60 return drawable; [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
LauncherActivity_IconResizerTest.java | 24 import android.graphics.drawable.Drawable; 45 final Drawable d = mActivity.getResources().getDrawable(R.drawable.pass); 50 Drawable thumbNail = ir.createIconThumbnail(d);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/preferences/ |
SearchableItemPreference.java | 22 import android.graphics.drawable.Drawable; 32 private Drawable mIcon; 39 public void setIcon(Drawable icon) {
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
DirectoryEntry.java | 22 import android.graphics.drawable.Drawable; 37 public Drawable getDrawable(Resources res) {
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuView.java | 22 import android.graphics.drawable.Drawable; 104 public void setIcon(Drawable icon);
|
/packages/apps/Contacts/src/com/android/contacts/calllog/ |
CallTypeIconsView.java | 25 import android.graphics.drawable.Drawable; 62 final Drawable drawable = getCallTypeDrawable(callType); local 63 mWidth += drawable.getIntrinsicWidth() + mResources.iconMargin; 64 mHeight = Math.max(mHeight, drawable.getIntrinsicHeight()); 78 private Drawable getCallTypeDrawable(int callType) { 102 final Drawable drawable = getCallTypeDrawable(callType); local 103 final int right = left + drawable.getIntrinsicWidth() [all...] |