Searched defs:bgColor (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
H A DColorChecker.java76 * @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 DBitmapUtils.java123 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 DSubjectAndFolderView.java203 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 DFolderSpan.java42 public FolderSpan(String name, int fgColor, int bgColor, argument
49 mBgColor = bgColor;
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DFolderDisplayer.java192 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 DGifTranscoder.cpp160 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 DFolder.java167 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...]

Completed in 186 milliseconds