Home
last modified time | relevance | path

Searched refs:bg (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DIconPalette.java97 private static String contrastChange(int colorOld, int colorNew, int bg) { in contrastChange() argument
99 ColorUtils.calculateContrast(colorOld, bg), in contrastChange()
100 ColorUtils.calculateContrast(colorNew, bg)); in contrastChange()
109 private static int ensureTextContrast(int color, int bg) { in ensureTextContrast() argument
110 return findContrastColor(color, bg, 4.5); in ensureTextContrast()
123 private static int findContrastColor(int fg, int bg, double minRatio) { in findContrastColor() argument
124 if (ColorUtils.calculateContrast(fg, bg) >= minRatio) { in findContrastColor()
129 ColorUtils.colorToLAB(bg, lab); in findContrastColor()
140 if (ColorUtils.calculateContrast(fg, bg) > minRatio) { in findContrastColor()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DFolderAdaptiveIcon.java58 private FolderAdaptiveIcon(Drawable bg, Drawable fg, Drawable badge, Path mask) { in FolderAdaptiveIcon() argument
59 super(bg, fg); in FolderAdaptiveIcon()
63 mConstantState = new MyConstantState(bg.getConstantState(), fg.getConstantState(), in FolderAdaptiveIcon()
146 PreviewBackground bg = icon.getFolderBackground(); in initLayersOnUiThread() local
166 backgroundPaint.setColor(bg.getBgColor()); in initLayersOnUiThread()
167 bg.drawShadow(backgroundCanvas); in initLayersOnUiThread()
168 backgroundCanvas.drawCircle(size / 2f, size / 2f, bg.getRadius(), backgroundPaint); in initLayersOnUiThread()
169 bg.drawBackgroundStroke(backgroundCanvas); in initLayersOnUiThread()
183 MyConstantState(ConstantState bg, ConstantState fg, ConstantState badge, Path mask) { in MyConstantState() argument
184 mBg = bg; in MyConstantState()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DPreviewItemManager.java205 PreviewBackground bg = mIcon.getFolderBackground(); in draw() local
206 Path clipPath = bg.getClipPath(); in draw()
209 PointF firstPageOffset = new PointF(bg.basePreviewOffsetX + mCurrentPageItemsTransX, in draw()
210 bg.basePreviewOffsetY); in draw()
216 PointF firstPageOffset = new PointF(bg.basePreviewOffsetX + firstPageItemsTransX, in draw()
217 bg.basePreviewOffsetY); in draw()
DFolderIcon.java577 public void setFolderBackground(PreviewBackground bg) { in setFolderBackground() argument
578 mBackground = bg; in setFolderBackground()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java307 Drawable bg = view.getBackground(); in setChildColor() local
308 if (bg instanceof GradientDrawable) { in setChildColor()
309 GradientDrawable gd = (GradientDrawable) bg.mutate(); in setChildColor()
310 int oldColor = ((GradientDrawable) bg).getColor().getDefaultColor(); in setChildColor()
312 } else if (bg instanceof ColorDrawable) { in setChildColor()
313 ColorDrawable cd = (ColorDrawable) bg.mutate(); in setChildColor()
314 int oldColor = ((ColorDrawable) bg).getColor(); in setChildColor()
/packages/apps/Settings/src/com/android/settings/notification/history/
DNotificationSbnAdapter.java146 Drawable bg = mContext.getDrawable(R.drawable.circle); in loadBackground() local
154 bg.setColorFilter(new PorterDuffColorFilter(color, PorterDuff.Mode.SRC_ATOP)); in loadBackground()
155 return bg; in loadBackground()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java654 DelegatedCellDrawing bg = mDelegatedCellDrawings.get(i); in dispatchDraw() local
655 cellToPoint(bg.mDelegateCellX, bg.mDelegateCellY, mTempLocation); in dispatchDraw()
658 bg.drawOverItem(canvas); in dispatchDraw()
666 public void addDelegatedCellDrawing(DelegatedCellDrawing bg) { in addDelegatedCellDrawing() argument
667 mDelegatedCellDrawings.add(bg); in addDelegatedCellDrawing()
673 public void removeDelegatedCellDrawing(DelegatedCellDrawing bg) { in removeDelegatedCellDrawing() argument
674 mDelegatedCellDrawings.remove(bg); in removeDelegatedCellDrawing()
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DThemedIconDrawable.java274 Drawable bg = new ColorDrawable(colors[0]); in getThemedDrawable() local
277 return new AdaptiveIconDrawable(bg, fg); in getThemedDrawable()
DClockDrawableWrapper.java131 Drawable bg = new ColorDrawable(colors[0]); in fromThemeData()
134 return new AdaptiveIconDrawable(bg, fg); in fromThemeData()
/packages/modules/Bluetooth/tools/rootcanal/lib/
Dlog.cc83 fmt::print(fmt::bg(instance_color) | fmt::fg(fmt::color::black), " {:>2} ", in VLog()
/packages/apps/Calendar/src/com/android/calendar/
DUtils.kt744 val bg = -0x1 in getDeclinedColorFromColor() constant
746 val r = (color and 0x00ff0000) * a + (bg and 0x00ff0000) * (0xff - a) and -0x1000000 in getDeclinedColorFromColor()
747 val g = (color and 0x0000ff00) * a + (bg and 0x0000ff00) * (0xff - a) and 0x00ff0000 in getDeclinedColorFromColor()
748 val b = (color and 0x000000ff) * a + (bg and 0x000000ff) * (0xff - a) and 0x0000ff00 in getDeclinedColorFromColor()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertDialog.java400 Drawable bg = mLayout.getBackground(); in start() local
401 if (bg instanceof ColorDrawable) { in start()
402 mBackgroundColor = ((ColorDrawable) bg).getColor(); in start()
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java1526 Drawable bg = getContext().getDrawable(com.android.settingslib.R.drawable.user_avatar_bg)
1528 LayerDrawable ld = new LayerDrawable(new Drawable[] {bg, icon});
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/classifier/
Dprecomputed_test_app_list.csv2336 air.bg.lan.Monopoli 10227,10223
4805 com.bg.flyermaker 10067,10176
5948 bg.remove.android 10182
/packages/modules/AdServices/adservices/apk/assets/classifier/
Dprecomputed_app_list.csv2336 air.bg.lan.Monopoli 10227,10223
4805 com.bg.flyermaker 10067,10176
5948 bg.remove.android 10182
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar1956 ��~*0�f�99*���j���W'�ǁ�j��2>\��ޕ ���>��b�zb��6�˒:�zPn���7�����. ����KL]bg'�<t�%�Lϒ����hd…
2238 …:Qm�ey$�f��T:�h�έ��ѹ?��t��=�P��W����M��t.�|�u�����Z��-��2�lM:�3��}jηbg{[=���&OG�_C�؁ (P…
3435 …����A֔�pe��B:����ܧ�zU�@=�r8���@��p�!r9�j[�b��X�2�X�$/���RE��aW��)��5bg�a����ye�"N�H�f�,…
4594 …�{Rr�v�)Ţkw�6H��Nz{W+�j�{�Y@’�<W��|M�+ �> ?8]�>��ҝ�������N�T�bg�3����<V��KDa(�vy�tF…
5424 0�5��U #3������ɍ]���I<��K;Gs�C1]���{�[�^�D��ă�4=��!ϜW���L{�( ˂��?*�{�6/%О?�u�bg��+! �E˩H�H…
8168 …A � �H�&��'��5(ͽ�E��8���[GK�SQ���8R�ʌs�u�N�@\�ٔ��� �4��Wx�`=zd��E$�bg�a1<lb�9�����Ky�@�Č…
8862 .`�gq?�4��qɪ2����;�V��i'h̬�G>��ʽ�T�9+sDW}>�R��bg�*H���~5����L�2��<6rG�~k'�n�H��!O�%X�…
9207 ��k�Z�Zޅ�;��t$Fퟗ#�~�Շ���bgև���M�^$�b�es��<���Ora֭�R�"��:�����nx�J{MR��R�>��<�b+�[i-�
9480 …�ވ=R�@{ܷ��ę���*"�a����z�#�+��(C�"�<�:ז�E��ˇTB��9��{���Nv�'�Ѩ��:��T�bgۓ��C�7������%�…
10355 …BI-�Fsٔ�g���x�͞�m���7H��7G,�C�>�_Z���X�I��ĬIP�/�b����oK=_s��NNȬ�C���bg�Ϊ�y��O�ڂ\ly�Z���Z…
[all …]
/packages/inputmethods/LatinIME/dictionaries/
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Dhr_wordlist.combined.gz1dictionary=main:hr,locale=hr,description=Hrvatski,date=1393228135, ...