/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
H A D | ColorChecker.java | 76 * @param bgColor The background color that the icons sit on. 82 public static int getTintColor(double minAllowedContrastRatio, int bgColor, int... tintColors) { argument 84 double contrastRatio = getContrastRatio(bgColor, tc); 89 double blackContrastRatio = getContrastRatio(bgColor, Color.BLACK); 90 double whiteContrastRatio = getContrastRatio(bgColor, Color.WHITE);
|
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/ |
H A D | BitmapUtils.java | 123 public static Bitmap generateNavManeuverIcon(int size, int bgColor, Bitmap maneuver) { argument 126 drawCircle(canvas, bgColor); 135 public static Bitmap generateMediaIcon(int size, int bgColor, int fgColor) { argument 140 drawCircle(canvas, bgColor); 166 private static Canvas drawCircle(Canvas canvas, int bgColor) { argument 170 p.setColor(bgColor);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | SubjectAndFolderView.java | 203 private void addSpan(SpannableStringBuilder sb, String name, int fgColor, int bgColor) { argument 204 final FolderSpan span = new FolderSpan(name, fgColor, bgColor, mFolderDrawableResources,
|
/packages/apps/UnifiedEmail/src/com/android/mail/text/ |
H A D | FolderSpan.java | 42 public FolderSpan(String name, int fgColor, int bgColor, argument 49 mBgColor = bgColor;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | FolderDisplayer.java | 192 String name, int fgColor, int bgColor, FolderDisplayer.FolderDrawableResources res, 198 paint.setColor(bgColor); 191 drawFolder(Canvas canvas, float x, float y, int width, int height, String name, int fgColor, int bgColor, FolderDisplayer.FolderDrawableResources res, BidiFormatter formatter, Paint paint) argument
|
/packages/apps/Messaging/jni/ |
H A D | GifTranscoder.cpp | 160 ColorARGB bgColor = TRANSPARENT; local 212 bgColor, 284 bgColor = gifColorToColorARGB(bgColorIndex); 360 ColorARGB bgColor, 376 0, 0, gifIn->SWidth, gifIn->SHeight, bgColor); 355 renderImage(GifFileType* gifIn, GifByteType* rasterBits, int imageIndex, int transparentColorIndex, ColorARGB* renderBuffer, ColorARGB bgColor, GifImageDesc prevImageDimens, int prevImageDisposalMode) argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
H A D | Folder.java | 167 public String bgColor; field in class:Folder 310 public Builder setBgColor(final String bgColor) { argument 311 mBgColor = bgColor; 343 int lastSyncResult, int type, int iconResId, int notificationIconResId, String bgColor, 363 this.bgColor = bgColor; 365 if (!TextUtils.isEmpty(bgColor)) { 366 this.bgColorInt = Integer.parseInt(bgColor); 402 bgColor = cursor.getString(UIProvider.FOLDER_BG_COLOR_COLUMN); 404 if (!TextUtils.isEmpty(bgColor)) { 340 Folder(int id, String persistentId, Uri uri, String name, int capabilities, boolean hasChildren, int syncWindow, Uri conversationListUri, Uri childFoldersListUri, int unseenCount, int unreadCount, int totalCount, Uri refreshUri, int syncStatus, int lastSyncResult, int type, int iconResId, int notificationIconResId, String bgColor, String fgColor, Uri loadMoreUri, String hierarchicalDesc, Uri parent, final long lastMessageTimestamp, final String unreadSenders) argument [all...] |