Searched defs:icon (Results 1 - 25 of 71) sorted by relevance

123

/packages/apps/Settings/src/com/android/settings/net/
H A DUidDetail.java24 public Drawable icon; field in class:UidDetail
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppLiveFolder.java68 private static Intent createLiveFolder(Context context, Uri uri, String name, int icon) { argument
76 .fromContext(context, icon));
/packages/apps/Settings/src/com/android/settings/
H A DIconPreferenceScreen.java32 // Whether or not the text and icon should be highlighted (as selected)
50 ImageView imageView = (ImageView) view.findViewById(R.id.icon);
58 * Sets the icon for this Preference with a Drawable.
60 * @param icon The icon for this Preference
62 public void setIcon(Drawable icon) { argument
63 if ((icon == null && mIcon != null) || (icon != null && !icon.equals(mIcon))) {
64 mIcon = icon;
[all...]
H A DAccountPreference.java30 * AccountPreference is used to display a username, status and provider icon for an account on
45 public AccountPreference(Context context, Account account, Drawable icon, argument
52 setIcon(icon);
74 mSyncStatusIcon = (ImageView) view.findViewById(android.R.id.icon);
/packages/apps/Settings/src/com/android/settings/accounts/
H A DProviderPreference.java35 Context context, String accountType, Drawable icon, CharSequence providerName) {
38 setIcon(icon);
34 ProviderPreference( Context context, String accountType, Drawable icon, CharSequence providerName) argument
/packages/apps/Settings/src/com/android/settings/applications/
H A DProcessStatsPreference.java34 public ProcessStatsPreference(Context context, Drawable icon, ProcStatsEntry entry) { argument
38 setIcon(icon != null ? icon : new ColorDrawable(0));
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DPowerGaugePreference.java30 * Custom preference for displaying power consumption as a bar and an icon on
38 public PowerGaugePreference(Context context, Drawable icon, BatterySipper info) { argument
41 setIcon(icon != null ? icon : new ColorDrawable(0));
/packages/apps/Browser/src/com/android/browser/
H A DDownloadTouchIcon.java50 private final String mUserAgent; // Sites may serve a different icon to different UAs
57 * Use this ctor to store the touch icon in the bookmarks database for
72 * Use this ctor to download the touch icon and update the bookmarks database
88 * Use this ctor to not store the touch icon in a database, rather add it to
134 Bitmap icon = BitmapFactory.decodeStream(
137 storeIcon(icon);
140 b.putParcelable(BrowserContract.Bookmarks.TOUCH_ICON, icon);
174 private void storeIcon(Bitmap icon) { argument
177 // Remove the touch icon loader from the BrowserActivity.
181 if (icon
[all...]
H A DNavigationBarBase.java90 public void setFavicon(Bitmap icon) { argument
92 mFavicon.setImageDrawable(mBaseUi.getFaviconDrawable(icon));
H A DNavigationBarTablet.java200 public void setFavicon(Bitmap icon) { argument
201 mFaviconDrawable = mBaseUi.getFaviconDrawable(icon);
H A DXLargeUi.java290 public Drawable getFaviconDrawable(Bitmap icon) { argument
293 if (icon == null) {
296 array[1] = new BitmapDrawable(mActivity.getResources(), icon);
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DResolveCache.java104 * MIME-type, along with a {@link SoftReference} to its icon.
108 public Drawable icon; field in class:ResolveCache.Entry
149 final Drawable icon = bestResolve.loadIcon(mPackageManager);
152 entry.icon = icon;
165 * <strong>only</strong> used for selecting a default icon for
224 * Return the best icon for the given {@link Action}, which is usually
229 return getEntry(action).icon;
/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewIcon.java25 * An icon on a PagedView, specifically for items in the launcher's paged view (with compound
31 void iconPressed(PagedViewIcon icon); argument
H A DPendingAddItemInfo.java56 int icon; field in class:PendingAddWidgetInfo
75 icon = i.icon;
89 icon = copy.icon;
H A DIconCache.java43 public Bitmap icon; field in class:IconCache.CacheEntry
62 // need to set mIconDpi before getting default icon
150 * Fill in "application" with the icon and label for "info."
158 application.iconBitmap = entry.icon;
172 return entry.icon;
184 return entry.icon;
188 public boolean isDefaultIcon(Bitmap icon) { argument
189 return mDefaultIcon == icon;
213 entry.icon = Utilities.createIconBitmap(
224 set.put(cn, e.icon);
[all...]
H A DUtilities.java67 * icon bitmaps that are stored in the database (which were 74x74 pixels at hdpi size)
70 static Bitmap createIconBitmap(Bitmap icon, Context context) { argument
73 int sourceWidth = icon.getWidth();
74 int sourceHeight = icon.getHeight();
77 return Bitmap.createBitmap(icon,
83 return icon;
87 return createIconBitmap(new BitmapDrawable(resources, icon), context);
94 static Bitmap createIconBitmap(Drawable icon, Context context) { argument
103 if (icon instanceof PaintDrawable) {
104 PaintDrawable painter = (PaintDrawable) icon;
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DPagedViewIcon.java29 * An icon on a PagedView, specifically for items in the launcher's paged view (with compound
35 void iconPressed(PagedViewIcon icon); argument
H A DPendingAddItemInfo.java56 int icon; field in class:PendingAddWidgetInfo
75 icon = i.icon;
89 icon = copy.icon;
H A DIconCache.java45 public Bitmap icon; field in class:IconCache.CacheEntry
64 // need to set mIconDpi before getting default icon
159 if (e.icon.getWidth() != grid.iconSizePx || e.icon.getHeight() != grid.iconSizePx) {
167 * Fill in "application" with the icon and label for "info."
175 application.iconBitmap = entry.icon;
189 return entry.icon;
201 return entry.icon;
205 public boolean isDefaultIcon(Bitmap icon) { argument
206 return mDefaultIcon == icon;
[all...]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
H A DPackageUtil.java84 public static View initSnippet(View snippetView, CharSequence label, Drawable icon) { argument
85 ((ImageView)snippetView.findViewById(R.id.app_icon)).setImageDrawable(icon);
122 ((ImageView)appSnippet.findViewById(R.id.app_icon)).setImageDrawable(as.icon);
142 Drawable icon; field in class:PackageUtil.AppSnippet
143 public AppSnippet(CharSequence label, Drawable icon) { argument
145 this.icon = icon;
176 Drawable icon = null;
177 // Try to load the icon from the package's resources. If an app has not explicitly
178 // specified any resource, just use the default icon fo
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DCorpusView.java63 public void setIcon(Drawable icon) { argument
64 mIcon.setImageDrawable(icon);
/packages/apps/Settings/src/com/android/settings/location/
H A DRecentLocationApps.java75 Drawable icon,
80 pref.setIcon(icon);
74 createRecentLocationEntry( Drawable icon, CharSequence label, boolean isHighBattery, Preference.OnPreferenceClickListener listener) argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DKeyboardIconsSet.java38 // Icon name to icon id map.
85 final Drawable icon = keyboardAttrs.getDrawable(attrId);
86 setDefaultBounds(icon);
88 mIcons[iconId] = icon;
90 Log.w(TAG, "Drawable resource for icon #"
110 throw new RuntimeException("unknown icon name: " + name);
117 throw new RuntimeException("unknown icon id: " + getIconName(iconId));
120 private static void setDefaultBounds(final Drawable icon) { argument
121 if (icon != null) {
122 icon
[all...]
/packages/apps/Browser/tests/src/com/android/browser/
H A DTestWebChromeClient.java60 public void onReceivedIcon(WebView view, Bitmap icon) { argument
61 mWrappedClient.onReceivedIcon(view, icon);
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactListFilter.java58 public final Drawable icon; field in class:ContactListFilter
62 Drawable icon) {
67 this.icon = icon;
75 String dataSet, Drawable icon) {
77 accountName, dataSet, icon);
282 builder.append(", icon: " + icon + "]");
61 ContactListFilter(int filterType, String accountType, String accountName, String dataSet, Drawable icon) argument
74 createAccountFilter(String accountType, String accountName, String dataSet, Drawable icon) argument

Completed in 473 milliseconds

123