/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
VectorCheckbox.java | 28 int[] icon = { field in class:VectorCheckbox 57 final Button []bArray = new Button[icon.length]; 59 for (int i = 0; i < icon.length; i++) { 63 checkBox.setButtonDrawable(icon[i]);
|
AnimatedVectorDrawableTest.java | 28 protected int[] icon = { field in class:AnimatedVectorDrawableTest 47 for (int i = 0; i < icon.length; i++) { 51 button.setBackgroundResource(icon[i]);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
Input.java | 30 public Bitmap icon; field in class:Input 44 icon = null; 59 icon = in.readParcelable(null); 80 dest.writeParcelable(icon, 0); 104 boolean setIcon(Bitmap Icon) { return true; }
|
TextMessage.java | 26 public Bitmap icon = null; field in class:TextMessage 39 icon = in.readParcelable(null); 56 dest.writeParcelable(icon, 0);
|
/frameworks/support/v4/donut/android/support/v4/app/ |
NotificationCompatBase.java | 32 Action build(int icon, CharSequence title, PendingIntent actionIntent,
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
MenuView.java | 98 * Set the icon of this item view. 99 * @param icon The icon of this item. null to hide the icon. 101 public void setIcon(Drawable icon); 114 * Whether this item view shows an icon. 116 * @return Whether this item view shows an icon.
|
SubMenuWrapperICS.java | 54 public SubMenu setHeaderIcon(Drawable icon) { 55 ((android.view.SubMenu) mWrappedObject).setHeaderIcon(icon); 77 public SubMenu setIcon(Drawable icon) { 78 ((android.view.SubMenu) mWrappedObject).setIcon(icon);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
BaseDialogFragment.java | 104 int iconResourceId, Uri iconResourceUri, final ImageView icon, final TextView title, 111 // If the appropriate data is embedded in the intent and there is an icon specified 112 // in the content fragment, we animate the icon from its initial position to the final 155 // If we're animating the icon, we create a new ImageView in which to place the embedded 162 if (icon != null) { 165 // animation is done. Check if the icon is not visible. This mean 167 if (icon.getVisibility() != View.VISIBLE) { 168 icon.setImageDrawable(src.getBitmap()); 169 int intrinsicWidth = icon.getDrawable().getIntrinsicWidth(); 170 LayoutParams lp = icon.getLayoutParams() [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
IconCache.java | 69 public Bitmap icon; field in class:IconCache.CacheEntry 115 // need to set mIconDpi before getting default icon 233 if ((e.icon != null) && (e.icon.getWidth() < grid.iconSizePx 234 || e.icon.getHeight() < grid.iconSizePx)) { 242 * Fill in "application" with the icon and label for "info." 251 application.iconBitmap = entry.icon; 275 return entry.icon; 280 * Fill in "shortcutInfo" with the icon and label for "info." 297 shortcutInfo.setIcon(entry.icon); 502 Bitmap icon = null; local [all...] |
/external/chromium_org/ash/frame/caption_buttons/ |
frame_caption_button.h | 31 FrameCaptionButton(views::ButtonListener* listener, CaptionButtonIcon icon); 38 void SetImages(CaptionButtonIcon icon, 58 CaptionButtonIcon icon() const { function in class:ash::FrameCaptionButton 67 // Returns the icon image to paint based on |paint_as_active_|. 75 // The button's current icon. 91 // The icon image to crossfade from.
|
/external/chromium_org/ash/frame/ |
header_painter_util.cc | 22 // Distance between left edge of the window and the header icon. 25 // Default height and width of header icon. 31 // Space between window icon and title text. 34 // Space between window edge and title text, when there is no icon. 71 const views::View* icon, 74 int x = icon ? 75 icon->bounds().right() + kTitleIconOffsetX : kTitleNoIconOffsetX;
|
/external/chromium_org/ash/system/tray/media_security/ |
multi_profile_media_tray_item.cc | 28 views::ImageView* icon = new views::ImageView; local 30 icon->SetImage( 32 AddChildView(icon);
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/banners/ |
AppData.java | 64 * Returns the URL where the app icon can be retrieved from. 65 * @return The URL to grab the icon from. 72 * Returns the Drawable depicting the app's icon. 73 * @return The Drawable to use as the app icon. 75 Drawable icon() { method in class:AppData 116 * @param imageUrl URL where the icon is located. 133 * Sets the icon used to depict the app. 134 * @param Drawable App icon in Drawable form. 136 void setIcon(Drawable icon) { 137 mIcon = icon; [all...] |
/external/chromium_org/chrome/browser/download/ |
drag_download_item_views.cc | 32 gfx::Image* icon, 42 icon ? icon->AsImageSkia() : gfx::ImageSkia(),
|
/external/chromium_org/chrome/browser/extensions/ |
extension_action_icon_factory.cc | 60 gfx::ImageSkia icon = action_->GetExplicitlySetIcon(tab_id); local 61 if (!icon.isNull()) 62 return icon;
|
/external/chromium_org/chrome/browser/status_icons/ |
status_tray_unittest.cc | 19 virtual void DisplayBalloon(const gfx::ImageSkia& icon, 48 // Make sure that removing an icon removes it from the list. 53 StatusIcon* icon = tray.CreateStatusIcon( local 56 tray.RemoveStatusIcon(icon);
|
/external/chromium_org/ui/message_center/ |
notifier_settings.cc | 64 NotifierGroup::NotifierGroup(const gfx::Image& icon, 68 : icon(icon), name(name), login_info(login_info), index(index) {}
|
notification.cc | 55 const gfx::Image& icon, 64 icon_(icon), 118 void Notification::SetButtonIcon(size_t index, const gfx::Image& icon) { 121 optional_fields_.buttons[index].icon = icon; 134 const gfx::Image& icon, 143 icon,
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowNotification.java | 23 public void __constructor__(int icon, CharSequence tickerText, long when) { 24 realNotification.icon = icon;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
DefaultSuggestionView.java | 73 // override default icon (when no other available) with default source icon 150 // Set the icon even if the drawable is null, since we need to clear any 151 // previous icon. 186 if (DBG) Log.d(TAG, "getting icon Id=" + uniqueIconId); 187 NowOrLater<Drawable> icon = source.getIcon(sourceIconId); local 188 if (icon.haveNow()) { 190 handleNewDrawable(icon.getNow(), uniqueIconId, source); 192 // make sure old icon is not visible while new one is loaded 195 icon.getLater(new Consumer<Drawable>() [all...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
PowerGaugePreference.java | 31 * Custom preference for displaying power consumption as a bar and an icon on 40 public PowerGaugePreference(Context context, Drawable icon, CharSequence contentDescription, 44 setIcon(icon != null ? icon : new ColorDrawable(0));
|
/external/chromium_org/chrome/browser/ui/views/ |
validation_message_bubble_delegate.cc | 32 views::ImageView* icon = new views::ImageView(); local 33 icon->SetImage(*bundle.GetImageSkiaNamed(IDR_INPUT_ALERT)); 34 gfx::Size size = icon->GetPreferredSize(); 35 icon->SetBounds(kPadding, kPadding, size.width(), size.height()); 36 AddChildView(icon);
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
ConfirmDialog.java | 91 // Should only reach this when fetching the VPN icon for the warning string. 92 Drawable icon = getDrawable(R.drawable.ic_vpn_dialog); local 93 icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight()); 94 return icon;
|
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-SearchView/src/main/src/com/example/android/actionbarcompat/searchview/ |
AppListFragment.java | 147 // ImageView to display the application's icon 148 ImageView imageView = (ImageView) convertView.findViewById(R.id.icon); 151 Drawable icon = item.drawable != null ? item.drawable.get() : null; local 153 if (icon != null) { 154 imageView.setImageDrawable(icon); 156 // Start a new AsyncTask which will retrieve the application icon and display it in 232 Drawable icon = null; local 238 // Load the icon from the PackageManager 239 icon = item.applicationInfo.loadIcon(mPackageManager); 241 // Store the icon in a WeakReference so we do not cause a OutOfMemoryError [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
IconUtilities.java | 105 private Bitmap createIconBitmap(Drawable icon) { 109 if (icon instanceof PaintDrawable) { 110 PaintDrawable painter = (PaintDrawable) icon; 113 } else if (icon instanceof BitmapDrawable) { 115 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; 121 int sourceWidth = icon.getIntrinsicWidth(); 122 int sourceHeight = icon.getIntrinsicHeight(); 154 // draw a big box for the icon for debugging 162 mOldBounds.set(icon.getBounds()); 163 icon.setBounds(left, top, left+width, top+height) [all...] |