/cts/tests/tests/widget/src/android/widget/cts/ |
QuickContactBadgeTest.java | 76 QuickContactBadge badge = new QuickContactBadge(context); local 77 badge.setPrioritizedMimeType(plainMimeType); 78 badge.assignContactUri(nonExistentContactUri); 79 badge.onClick(badge);
|
/frameworks/base/core/java/android/util/ |
IconDrawableFactory.java | 97 int badge = um.getManagedProfileBadge(userId); local 98 if (badge < 0) { 99 badge = 0; 101 int resourceId = CORP_BADGE_COLORS[badge % CORP_BADGE_COLORS.length];
|
/packages/apps/Launcher3/src/com/android/launcher3/badge/ |
FolderBadgeInfo.java | 17 package com.android.launcher3.badge; 22 * Subclass of BadgeInfo that only contains the badge count, which is 55 // This forces the folder badge to always show up as a dot.
|
BadgeInfo.java | 17 package com.android.launcher3.badge; 35 * Contains data to be used in an icon badge. 45 * The keys of the notifications that this badge represents. These keys can later be 56 /** This will only be initialized if the badge should display the notification icon. */ 61 * as necessary when drawn in a badge. 123 * Returns a shader to set on a Paint that will draw the notification icon in a badge. 152 * Whether newBadge represents the same PackageUserKey as this badge, and icons with 153 * this badge should be invalidated. So, for instance, if a badge has 3 notifications 155 * the badge still says "3" and the contents of those notifications are only retrieve [all...] |
BadgeRenderer.java | 17 package com.android.launcher3.badge; 36 * Contains parameters necessary to draw a badge for an icon (e.g. the size of the badge). 43 // The badge sizes are defined as percentages of the app icon size. 45 // Used to expand the width of the badge for each additional digit. 90 * @param palette The colors (based on the icon) to use for the badge. 91 * @param badgeInfo Contains data to draw on the badge. Could be null if we are animating out. 94 * @param spaceForOffset How much space is available to offset the badge up and to the right. 114 // We draw the badge relative to its center.
|
/external/kmod/ |
README.md | 4 [![Coverity Scan Status](https://scan.coverity.com/projects/2096/badge.svg)](https://scan.coverity.com/projects/2096)
|
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/ |
NumbersAdapter.java | 96 private void loadContactPhoto(ContactInfo info, String displayName, QuickContactBadge badge) { 105 badge.assignContactUri(info.lookupUri); 106 badge.setContentDescription( 109 badge, info.photoUri, false /* darkTheme */, true /* isCircular */, request);
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
WidgetImageView.java | 60 public void setBitmap(Bitmap bitmap, Drawable badge) { 62 mBadge = badge; 76 // Only draw the badge if a preview was drawn.
|
/packages/apps/Dialer/java/com/android/contacts/common/ |
ContactPhotoManager.java | 240 QuickContactBadge badge, 246 badge.assignContactUri(contactUri); 247 badge.setOverlay(null); 254 loadDirectoryPhoto(badge, photoUri, false /* darkTheme */, true /* isCircular */, request); 256 loadThumbnail(badge, photoId, false /* darkTheme */, true /* isCircular */, request);
|
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/ |
DefaultNetworkRecommendationProvider.java | 63 * <p>SCORE: "Quoted SSID",bssid|$RSSI_CURVE|metered|captivePortal|BADGE 69 * <p>BADGE: NONE, SD, HD, 4K 341 String badge = splitScore[4].toUpperCase(); local 342 if ("SD".equals(badge)) { 345 } else if ("HD".equals(badge)) { 348 } else if ("4K".equals(badge)) {
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
AccessPointPreference.java | 99 // Distance from the end of the title at which this AP's user badge should sit. 125 // Distance from the end of the title at which this AP's user badge should sit. 203 // Fetch badge (may be null) 204 // Get the badge using a cache since the PM will ask the UserManager for the list 283 Drawable badge = mPm.getUserBadgeForDensity(new UserHandle(userId), 0 /* dpi */); local 284 mBadges.put(userId, badge); 285 return badge;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
Utils.java | 276 * <p>The first layer contains the Wifi pie and the second layer contains the badge. Callers 281 * @param badge The badge enum {@see android.net.ScoredNetwork} 283 * @throws IllegalArgumentException if an invalid badge enum is given 288 public static LayerDrawable getBadgedWifiIcon(Context context, int level, int badge) { 292 context.getDrawable(getWifiBadgeResource(badge)) 297 * Returns the resource id for the given badge or {@link View.NO_ID} if no badge is to be shown. 299 * @throws IllegalArgumentException if the given badge value is not supported. 301 public static int getWifiBadgeResource(int badge) { [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
UserIconDrawable.java | 43 * Converts the user avatar icon to a circularly clipped one with an optional badge and frame 49 private Bitmap mBitmap; // baked representation. Required for transparent border around badge 72 * Gets the system default managed-user badge as a drawable 74 * @return drawable containing just the badge 145 public UserIconDrawable setBadge(Drawable badge) { 146 mBadge = badge; 163 Drawable badge = null; local 167 badge = getManagedUserBadgeDrawable(context); 169 return setBadge(badge); 183 * Sets global padding of icon/frame. Doesn't effect the badge [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
AttendeesView.java | 206 final QuickContactBadge badgeView = (QuickContactBadge) view.findViewById(R.id.badge); 208 Drawable badge = null; local 211 badge = mRecycledPhotos.get(item.mAttendee.mEmail); 213 if (badge != null) { 214 item.mBadge = badge; 260 // photo instead of the default badge thus prevent switching between the two while the
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
QuickContactsDemo.java | 92 cache.photoView = (QuickContactBadge) view.findViewById(R.id.badge);
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
LauncherIcons.java | 131 * Badges the provided icon with the user badge if required. 190 * Adds the {@param badge} on top of {@param srcTgt} using the badge dimensions. 192 public static Bitmap badgeWithBitmap(Bitmap srcTgt, Bitmap badge, Context context) { 196 sCanvas.drawBitmap(badge, new Rect(0, 0, badge.getWidth(), badge.getHeight()),
|
/frameworks/base/core/tests/coretests/src/android/net/ |
ScoredNetworkTest.java | 207 private ScoredNetwork buildScoredNetworkWithGivenBadgeForTestRssi(int badge) { 209 new RssiCurve(RSSI_START, 10, new byte[] {0, 0, 0, 0, 0, 0, (byte) badge});
|
/frameworks/base/core/java/com/android/internal/app/ |
ResolverActivity.java | 1824 final Drawable badge = info.getBadgeIcon(); local 1896 public ImageView badge; field in class:ResolverActivity.ViewHolder [all...] |
/external/nanohttpd/ |
README.md | 8 * Coverage Status: [![Coverage Status](https://coveralls.io/repos/NanoHttpd/nanohttpd/badge.svg)](https://coveralls.io/r/NanoHttpd/nanohttpd) 9 * Current central released version: [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.nanohttpd/nanohttpd/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.nanohttpd/nanohttpd)
|
/external/nanohttpd/src/site/markdown/ |
index.md | 8 * Coverage Status: [![Coverage Status](https://coveralls.io/repos/NanoHttpd/nanohttpd/badge.svg)](https://coveralls.io/r/NanoHttpd/nanohttpd) 9 * Current central released version: [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.nanohttpd/nanohttpd/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.nanohttpd/nanohttpd)
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
PopupDataProvider.java | 27 import com.android.launcher3.badge.BadgeInfo; 159 * added or removed, or the badge should show the notification icon). 162 * its count or icon, then the badge doesn't change. 170 // The notification icon isn't used, and the badge hasn't changed 181 * Determines whether the badge should show a notification icon rather than a number, 183 * @param badgeInfo The badge to update with an icon (null if it shouldn't show one). 184 * @return Whether the badge icon potentially changed (true unless it stayed null). 191 // Look for the most recent notification that has an icon that should be shown in badge.
|
/frameworks/base/core/java/android/app/ |
ApplicationPackageManager.java | 1274 Drawable badge = new LauncherIcons(mContext).getBadgeDrawable( local 1311 Drawable badge = new LayerDrawable( local 1318 Drawable badge = getManagedProfileIconForDensity(user, local 1343 int badge = getUserManager().getManagedProfileBadge(user.getIdentifier()); local [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
BubbleTextView.java | 44 import com.android.launcher3.badge.BadgeInfo; 45 import com.android.launcher3.badge.BadgeRenderer; 446 * Draws the icon badge in the top right corner of the icon bounds. 585 // Animate when a badge is first added or when it is removed.
|
/external/ImageMagick/www/css/ |
magick.css | [all...] |
/external/okhttp/website/static/ |
bootstrap-combined.min.css | [all...] |