Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DIconPalette.java99 private static String contrastChange(int colorOld, int colorNew, int bg) { in contrastChange() argument
101 ColorUtils.calculateContrast(colorOld, bg), in contrastChange()
102 ColorUtils.calculateContrast(colorNew, bg)); in contrastChange()
111 private static int ensureTextContrast(int color, int bg) { in ensureTextContrast() argument
112 return findContrastColor(color, bg, 4.5); in ensureTextContrast()
125 private static int findContrastColor(int fg, int bg, double minRatio) { in findContrastColor() argument
126 if (ColorUtils.calculateContrast(fg, bg) >= minRatio) { in findContrastColor()
131 ColorUtils.colorToLAB(bg, lab); in findContrastColor()
142 if (ColorUtils.calculateContrast(fg, bg) > minRatio) { in findContrastColor()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DFolderAdaptiveIcon.java54 private FolderAdaptiveIcon(Drawable bg, Drawable fg, Drawable badge, Path mask) { in FolderAdaptiveIcon() argument
55 super(bg, fg); in FolderAdaptiveIcon()
59 mConstantState = new MyConstantState(bg.getConstantState(), fg.getConstantState(), in FolderAdaptiveIcon()
108 PreviewBackground bg = icon.getFolderBackground(); in createDrawableOnUiThread() local
112 bg.drawShadow(c); in createDrawableOnUiThread()
113 bg.drawBackgroundStroke(c); in createDrawableOnUiThread()
137 bg.getClipPath().transform(m, mask); in createDrawableOnUiThread()
143 return new FolderAdaptiveIcon(new ColorDrawable(bg.getBgColor()), foreground, badge, mask); in createDrawableOnUiThread()
157 MyConstantState(ConstantState bg, ConstantState fg, ConstantState badge, Path mask) { in MyConstantState() argument
158 mBg = bg; in MyConstantState()
/packages/apps/Terminal/jni/
Dcom_android_terminal_Terminal.cpp485 cell->bg.red = 255; in getCellLocked()
496 cell->bg.blue = 255; in getCellLocked()
505 cell->bg.green = 255; in getCellLocked()
515 cell->bg.red = 128; in getCellLocked()
571 if (toArgb(a.bg) != toArgb(b.bg)) return false; in isCellStyleEqual()
610 env->SetIntField(run, cellRunBgField, toArgb(cell.bg)); in com_android_terminal_Terminal_nativeGetCellRun()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DPreviewItemManager.java180 PreviewBackground bg = mIcon.getFolderBackground(); in draw() local
181 canvas.translate(bg.basePreviewOffsetX, bg.basePreviewOffsetY); in draw()
191 canvas.translate(-bg.basePreviewOffsetX, -bg.basePreviewOffsetY); in draw()
DFolderIcon.java484 public void setFolderBackground(PreviewBackground bg) { in setFolderBackground() argument
485 mBackground = bg; in setFolderBackground()
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DThemePreviewPage.java175 ImageView bg = card.findViewById(mColorTileIds[i]); in bindBody() local
176 bg.setImageDrawable(bgShape); in bindBody()
231 GradientDrawable bg = (GradientDrawable) qsb.getBackground(); in bindPreviewContent() local
234 bg.setCornerRadii(new float[]{ in bindPreviewContent()
DThemeFragment.java467 ImageView bg = card.findViewById(mColorTileIds[i]); in ThemePreviewAdapter()
468 bg.setImageDrawable(bgShape); in ThemePreviewAdapter()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java470 PreviewBackground bg = mFolderBackgrounds.get(i); in onDraw() local
471 cellToPoint(bg.delegateCellX, bg.delegateCellY, mTempLocation); in onDraw()
474 bg.drawBackground(canvas); in onDraw()
475 if (!bg.isClipping) { in onDraw()
476 bg.drawBackgroundStroke(canvas); in onDraw()
496 PreviewBackground bg = mFolderBackgrounds.get(i); in dispatchDraw() local
497 if (bg.isClipping) { in dispatchDraw()
498 cellToPoint(bg.delegateCellX, bg.delegateCellY, mTempLocation); in dispatchDraw()
501 bg.drawBackgroundStroke(canvas); in dispatchDraw()
507 public void addFolderBackground(PreviewBackground bg) { in addFolderBackground() argument
[all …]
DWorkspace.java2362 final PreviewBackground bg = new PreviewBackground();
2370 bg.setup(mLauncher, mLauncher, null, cell.getMeasuredWidth(), cell.getPaddingTop());
2373 bg.isClipping = false;
2377 mFolderCreateBg = bg;
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java767 int bg = 0xffffffff; in getDeclinedColorFromColor() local
769 int r = (((color & 0x00ff0000) * a) + ((bg & 0x00ff0000) * (0xff - a))) & 0xff000000; in getDeclinedColorFromColor()
770 int g = (((color & 0x0000ff00) * a) + ((bg & 0x0000ff00) * (0xff - a))) & 0x00ff0000; in getDeclinedColorFromColor()
771 int b = (((color & 0x000000ff) * a) + ((bg & 0x000000ff) * (0xff - a))) & 0x0000ff00; in getDeclinedColorFromColor()
/packages/apps/Terminal/src/com/android/terminal/
DTerminalLineView.java67 m.bgPaint.setColor(m.run.bg); in onDraw()
DTerminal.java52 int bg = Color.DKGRAY; field in Terminal.CellRun
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
DThemeComponentOption.java393 ImageView bg = container.findViewById(COLOR_TILE_IDS[i]); in bindPreview() local
394 bg.setImageDrawable(bgShape); in bindPreview()
/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/apps/TV/tuner/tests/assets/
Dcapture_kqed.ts2969bg�P�����̚$ܛF|F�>�`��v�$����AL<[�<
12422 …����������������������������������������������������������G�1L����7 �UMB!�xahF6@hbg�옑�0����D�
12466 �d��)۳�([8k���������S:�&i�Bu���փ�i��׊�)���^8�""�[eW[l�]LȰR2�:�0n�]��*�bg؏T��Y�#.u"��j…
21489 …�֛ y������'گ^U��d��6-e���ՕJۯ�h�j�y�M��.����� b�/5�V����^� �3x bgM�F�S�.`G���p��…
22648 …�b���� �����(�H �<:�Tqb�/����P �1 (���`Pn�vWI �+�V����^E��!�bg�� �0�/�}�@4&�…
35789 …4�!��De�eAB�qe�"UTQ����D�t���5G�1`�4� ��e���]`-�^�=���^?�$�g���bg���AӄZO*6��Q�i؁�`n…
59118 …�������G�1�.�}j��{���'2�}h"��.����{�#hA� �r�| ?Y�٦�>&��n�%�+l������+"bg�J���Kb6��� �O��<…
67462 ….�R@ j���CD0Sv�롲 :j޲1�DK�8���4���:B` RC3�Zl��hY�?P��rG�F��z}h��bg�G�1��,�&�mI^�f$f…
72043 …XP��s����5"������ �pQ�>�*I��>']�����ws�^I�ȗ?�F����C=x�p��G��`��s]bgWP� ����ܷ(��>�ok�…
94805 …�]��@�$����P�ox��ߨ���@��$�F�7�o�E���?B���^���vʴ����f,YI^P-� H��'�bg�hDo��G�1B|�.҃�� 9�…
[all …]
/packages/inputmethods/LatinIME/dictionaries/
Dhr_wordlist.combined.gz1dictionary=main:hr,locale=hr,description=Hrvatski,date=1393228135, ...
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...