/packages/apps/Settings/src/com/android/settings/ |
IconPreferenceScreen.java | 30 private Drawable mIcon; 44 mIcon = a.getDrawable(R.styleable.IconPreferenceScreen_icon); 51 if (imageView != null && mIcon != null) { 52 imageView.setImageDrawable(mIcon); 63 if ((icon == null && mIcon != null) || (icon != null && !icon.equals(mIcon))) { 64 mIcon = icon; 76 return mIcon;
|
/development/samples/CrossCompatibility/src/com/example/android/touchexample/ |
TouchExampleView.java | 26 private Drawable mIcon; 43 mIcon = context.getResources().getDrawable(R.drawable.icon); 44 mIcon.setBounds(0, 0, mIcon.getIntrinsicWidth(), mIcon.getIntrinsicHeight()); 62 mIcon.draw(canvas);
|
/frameworks/base/core/java/android/content/pm/ |
LabeledIntent.java | 32 private int mIcon; 49 mIcon = icon; 67 mIcon = icon; 82 mIcon = icon; 98 mIcon = icon; 126 return mIcon; 153 if (mIcon != 0 && mSourcePackage != null) { 154 Drawable icon = pm.getDrawable(mSourcePackage, mIcon, null); 167 dest.writeInt(mIcon); 180 mIcon = in.readInt() [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
ShortcutInfo.java | 58 private Bitmap mIcon; 73 mIcon = info.mIcon; // TODO: should make a copy here. maybe we don't need this ctor at all 86 mIcon = b; 90 if (mIcon == null) { 93 return mIcon; 97 mIcon = iconCache.getIcon(intent); 98 usingFallbackIcon = iconCache.isDefaultIcon(mIcon); 129 writeBitmap(values, mIcon); 132 writeBitmap(values, mIcon); [all...] |
PagedViewIcon.java | 41 private Bitmap mIcon; 57 mIcon = info.iconBitmap; 59 setCompoundDrawablesWithIntrinsicBounds(null, new FastBitmapDrawable(mIcon), null, null);
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
CustomCheckBoxPreference.java | 27 private Drawable mIcon; 32 setIcon(mIcon); 43 setIcon(mIcon); 50 mIcon = a.getDrawable(R.styleable.CustPref_icon);
|
CustomDialogPreference.java | 27 private Drawable mIcon; 32 setIcon(mIcon); 39 setIcon(mIcon); 46 mIcon = a.getDrawable(R.styleable.CustPref_icon);
|
CustomEditTextPreference.java | 27 private Drawable mIcon; 32 setIcon(mIcon); 43 setIcon(mIcon); 50 mIcon = a.getDrawable(R.styleable.CustPref_icon);
|
CustomSwitchPreference.java | 28 private Drawable mIcon; 33 setIcon(mIcon); 44 setIcon(mIcon); 51 mIcon = a.getDrawable(R.styleable.CustPref_icon);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactListFilterView.java | 39 private ImageView mIcon; 81 mIcon = (ImageView) findViewById(R.id.icon); 117 mIcon.setVisibility(View.VISIBLE); 119 mIcon.setImageDrawable(mFilter.icon); 121 mIcon.setImageResource(R.drawable.unknown_source); 134 mIcon.setVisibility(View.VISIBLE); 135 mIcon.setImageResource(iconResource); 137 mIcon.setVisibility(View.GONE);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
StatusBarIconView.java | 43 private StatusBarIcon mIcon; 103 final boolean iconEquals = mIcon != null 104 && streq(mIcon.iconPackage, icon.iconPackage) 105 && mIcon.iconId == icon.iconId; 107 && mIcon.iconLevel == icon.iconLevel; 108 final boolean visibilityEquals = mIcon != null 109 && mIcon.visible == icon.visible; 110 final boolean numberEquals = mIcon != null 111 && mIcon.number == icon.number; 112 mIcon = icon.clone() [all...] |
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
CompatTabEclair.java | 29 private Drawable mIcon; 44 mIcon = mActivity.getResources().getDrawable(resId); 72 return mIcon;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
TaskDescription.java | 33 private Drawable mIcon; // application package icon 81 return mIcon; 85 mIcon = icon;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
ShortcutInfo.java | 62 private Bitmap mIcon; 100 mIcon = icon; 112 mIcon = info.mIcon; // TODO: should make a copy here. maybe we don't need this ctor at all 145 mIcon = b; 149 if (mIcon == null) { 152 return mIcon; 156 mIcon = iconCache.getIcon(intent); 157 usingFallbackIcon = iconCache.isDefaultIcon(mIcon); 190 writeBitmap(values, mIcon); [all...] |
PagedViewIcon.java | 45 private Bitmap mIcon; 73 mIcon = info.iconBitmap; 75 Drawable icon = Utilities.createIconDrawable(mIcon);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
CorpusView.java | 36 private ImageView mIcon; 55 mIcon = (ImageView) findViewById(R.id.source_icon); 64 mIcon.setImageDrawable(icon);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AttachmentTile.java | 48 private ImageView mIcon; 88 mIcon = (ImageView) findViewById(R.id.attachment_tile_image); 180 final boolean large = width >= maxSize || scaledWidth >= mIcon.getWidth() 181 || height >= maxSize || scaledHeight >= mIcon.getHeight(); 187 !(scaledWidth >= mIcon.getHeight() * skinnyThresholdRatio 188 && scaledHeight >= mIcon.getWidth() * skinnyThresholdRatio); 197 mIcon.setScaleType(ScaleType.CENTER); 201 mIcon.setScaleType(ScaleType.CENTER_CROP); 205 mIcon.setScaleType(ScaleType.CENTER); 208 mIcon.setImageBitmap(result) [all...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
BalloonHint.java | 346 private Drawable mIcon; 349 * The label to be shown. It is enabled only if {@link #mIcon} is null. 373 mIcon = icon; 379 mIcon = null; 402 if (null != mIcon) { 403 measuredWidth += mIcon.getIntrinsicWidth(); 404 measuredHeight += mIcon.getIntrinsicHeight(); 430 if (null != mIcon) { 431 int marginLeft = (width - mIcon.getIntrinsicWidth()) / 2; 432 int marginRight = width - mIcon.getIntrinsicWidth( [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
IconMenuItemView.java | 45 private Drawable mIcon; 175 mIcon = icon; 229 if (mItemData != null && mIcon != null) { 233 mIcon.setAlpha(isInAlphaState ? (int) (mDisabledAlpha * NO_ALPHA) : NO_ALPHA); 276 if (mIcon == null) { 285 Gravity.apply(Gravity.CENTER_VERTICAL | Gravity.START, mIcon.getIntrinsicWidth(), mIcon 288 mIcon.setBounds(mPositionIconOutput);
|
ActionMenuItemView.java | 44 private Drawable mIcon; 146 visible &= mIcon == null || 153 mIcon = icon; 280 if (!textVisible && mIcon != null) { 284 final int dw = mIcon.getBounds().width();
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
AwContentsClientFaviconTest.java | 44 private Bitmap mIcon; 48 mIcon = icon; 117 assertNotNull(mContentsClient.mFaviconHelper.mIcon); 118 assertTrue(mContentsClient.mFaviconHelper.mIcon.sameAs(originalFavicon));
|
/frameworks/base/core/java/android/content/ |
ClipData.java | 162 final Bitmap mIcon; 625 mIcon = null; 641 mIcon = null; 654 mIcon = other.mIcon; 776 return mIcon; [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
ActionMenuItemView.java | 47 private Drawable mIcon; 136 visible &= mIcon == null || 143 mIcon = icon; 229 if (!textVisible && mIcon != null) { 233 final int dw = mIcon.getIntrinsicWidth();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
BrightnessController.java | 43 private final ImageView mIcon; 111 mIcon = icon; 197 if (mIcon != null) { 198 mIcon.setImageResource(automatic ?
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LoaderCustom.java | 100 if (mIcon == null) { 102 mIcon = mInfo.loadIcon(mLoader.mPm); 103 return mIcon; 112 mIcon = mInfo.loadIcon(mLoader.mPm); 113 return mIcon; 116 return mIcon; 144 private Drawable mIcon;
|