/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);
|
/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;
|
/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/UnifiedEmail/src/com/android/mail/ui/ |
ConversationListEmptyView.java | 36 private ImageView mIcon; 51 mIcon = (ImageView) findViewById(R.id.empty_icon); 62 EmptyStateUtils.bindEmptyFolderIcon(mIcon, folder); 63 mIcon.setVisibility(VISIBLE); 65 mIcon.setVisibility(GONE);
|
AttachmentTile.java | 47 private ImageView mIcon; 89 mIcon = (ImageView) findViewById(R.id.attachment_tile_image); 191 final boolean large = width >= maxSize || scaledWidth >= mIcon.getWidth() 192 || height >= maxSize || scaledHeight >= mIcon.getHeight(); 198 !(scaledWidth >= mIcon.getHeight() * skinnyThresholdRatio 199 && scaledHeight >= mIcon.getWidth() * skinnyThresholdRatio); 208 mIcon.setScaleType(ScaleType.CENTER); 212 mIcon.setScaleType(ScaleType.CENTER_CROP); 216 mIcon.setScaleType(ScaleType.CENTER); 219 mIcon.setImageBitmap(result) [all...] |
/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; 107 final boolean iconEquals = mIcon != null 108 && streq(mIcon.iconPackage, icon.iconPackage) 109 && mIcon.iconId == icon.iconId; 111 && mIcon.iconLevel == icon.iconLevel; 112 final boolean visibilityEquals = mIcon != null 113 && mIcon.visible == icon.visible; 114 final boolean numberEquals = mIcon != null 115 && mIcon.number == icon.number; 116 mIcon = icon.clone() [all...] |
NotificationTemplateViewWrapper.java | 53 private ImageView mIcon; 76 mIcon = resolveIcon(largeIcon, rightIcon); 78 mIconBackgroundColor = resolveBackgroundColor(mIcon); 82 final Drawable iconDrawable = mIcon != null ? mIcon.getDrawable() : null; 125 if (mIcon != null) { 127 fadeIconColorFilter(mIcon, dark, delay); 128 fadeIconAlpha(mIcon, dark, delay); 130 fadeGrayscale(mIcon, dark, delay); 133 updateIconColorFilter(mIcon, dark) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
PreloadIconDrawable.java | 33 final Drawable mIcon; 50 mIcon = icon; 75 mIcon.setBounds(bounds); 148 mIcon.draw(canvas); 159 mIcon.setAlpha(alpha); 164 mIcon.setColorFilter(cf); 182 if (mIcon instanceof FastBitmapDrawable) { 183 ((FastBitmapDrawable) mIcon).setGhostModeEnabled(level <= 0); 219 return mIcon.getIntrinsicHeight(); 224 return mIcon.getIntrinsicWidth() [all...] |
ShortcutInfo.java | 88 private Bitmap mIcon; 144 mIcon = icon; 157 mIcon = info.mIcon; // TODO: should make a copy here. maybe we don't need this ctor at all 176 mIcon = b; 180 if (mIcon == null) { 183 return mIcon; 187 mIcon = iconCache.getIcon(promisedIntent != null ? promisedIntent : intent, user); 188 usingFallbackIcon = iconCache.isDefaultIcon(mIcon, user); 205 writeBitmap(values, mIcon); [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
ShortcutInfo.java | 59 private Bitmap mIcon; 74 mIcon = info.mIcon; // TODO: should make a copy here. maybe we don't need this ctor at all 87 mIcon = b; 91 if (mIcon == null) { 94 return mIcon; 98 mIcon = iconCache.getIcon(intent, user); 99 usingFallbackIcon = iconCache.isDefaultIcon(mIcon); 134 writeBitmap(values, mIcon); 137 writeBitmap(values, mIcon); [all...] |
PagedViewIcon.java | 41 private Bitmap mIcon; 57 mIcon = info.iconBitmap; 59 setCompoundDrawablesWithIntrinsicBounds(null, new FastBitmapDrawable(mIcon), null, null);
|
/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...] |
/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 | 34 private Drawable mIcon; // application package icon 84 return mIcon; 88 mIcon = icon;
|
/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/Camera2/src/com/android/camera/ui/ |
ModeSelectorItem.java | 46 private ModeIconView mIcon; 72 mIcon = (ModeIconView) findViewById(R.id.selector_icon); 99 mIcon.setSelected(selected); 156 mIcon.setIconDrawable(drawableIcon); 201 if (mVisibleWidth < mMinVisibleWidth + mIcon.getLeft()) { 202 transX = mMinVisibleWidth + mIcon.getLeft() - mVisibleWidth; 216 mIcon.setHighlightColor(highlightColor); 223 return mIcon.getHighlightColor(); 231 return mIcon.getLeft() + mMinVisibleWidth; 240 mIcon.getLocationInWindow(loc) [all...] |
/frameworks/base/media/java/android/media/ |
MediaDescription.java | 46 private final Bitmap mIcon; 62 mIcon = icon; 72 mIcon = in.readParcelable(null); 118 return mIcon; 150 dest.writeParcelable(mIcon, flags); 181 private Bitmap mIcon; 244 mIcon = icon; 272 return new MediaDescription(mMediaId, mTitle, mSubtitle, mDescription, mIcon, mIconUri,
|
/frameworks/support/v4/java/android/support/v4/media/ |
MediaDescriptionCompat.java | 51 private final Bitmap mIcon; 72 mIcon = icon; 82 mIcon = in.readParcelable(null); 128 return mIcon; 161 dest.writeParcelable(mIcon, flags); 194 MediaDescriptionCompatApi21.Builder.setIconBitmap(bob, mIcon); 258 private Bitmap mIcon; 321 mIcon = icon; 355 return new MediaDescriptionCompat(mMediaId, mTitle, mSubtitle, mDescription, mIcon,
|
/frameworks/base/core/java/com/android/internal/widget/ |
AccountViewAdapter.java | 78 private int mIcon; 108 mIcon = icon; 115 return mIcon;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
QSTileView.java | 51 private final View mIcon; 87 mIcon = createIcon(); 88 addView(mIcon); 243 mIcon.measure(MeasureSpec.makeMeasureSpec(w, MeasureSpec.AT_MOST), iconSpec); 268 final int iconLeft = (w - mIcon.getMeasuredWidth()) / 2; 269 layout(mIcon, iconLeft, top); 274 top = mIcon.getBottom(); 286 final int cy = mDual ? mIcon.getTop() + mIcon.getHeight() / 2 : height / 2; 287 final int rad = (int)(mIcon.getHeight() * 1.25f) [all...] |
/frameworks/support/tests/java/android/support/v4/app/ |
NotificationCompatActionWearableExtenderTest.java | 34 private int mIcon; 46 mIcon = R.drawable.action_icon; 88 new Notification.Action.Builder(mIcon, mTitle, mPendingIntent); 90 new NotificationCompat.Action.Builder(mIcon, mTitle, mPendingIntent); 117 new Notification.Action.Builder(mIcon, mTitle, mPendingIntent) 120 new NotificationCompat.Action.Builder(mIcon, mTitle, mPendingIntent) 156 new Notification.Action.Builder(mIcon, mTitle, mPendingIntent) 159 new NotificationCompat.Action.Builder(mIcon, mTitle, mPendingIntent) 195 new Notification.Action.Builder(mIcon, mTitle, mPendingIntent) 198 new NotificationCompat.Action.Builder(mIcon, mTitle, mPendingIntent [all...] |