Home
last modified time | relevance | path

Searched refs:fg (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DIconPalette.java125 private static int findContrastColor(int fg, int bg, double minRatio) { in findContrastColor() argument
126 if (ColorUtils.calculateContrast(fg, bg) >= minRatio) { in findContrastColor()
127 return fg; in findContrastColor()
133 ColorUtils.colorToLAB(fg, lab); in findContrastColor()
141 fg = ColorUtils.LABToColor(l, a, b); 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()
157 MyConstantState(ConstantState bg, ConstantState fg, ConstantState badge, Path mask) { in MyConstantState() argument
159 mFg = fg; in MyConstantState()
/packages/apps/Gallery2/jni/filters/
Dfx.c70 float fg = g*scale_G; in JNIFUNCF() local
73 int lut_g = (int)fg; in JNIFUNCF()
78 float dg = fg-lut_g; in JNIFUNCF()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
DColorPickerDialog.java152 float[] fg = new float[] { in setButtonColor() local
157 button.setTextColor(Color.HSVToColor(fg)); in setButtonColor()
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DThemePreviewPage.java177 ImageView fg = card.findViewById(mColorTileIconIds[i][0]); in bindBody() local
178 fg.setImageDrawable(icon); in bindBody()
DThemeFragment.java469 ImageView fg = card.findViewById(mColorTileIconIds[i][0]); in ThemePreviewAdapter()
470 fg.setImageDrawable(icon); in ThemePreviewAdapter()
/packages/apps/Terminal/jni/
Dcom_android_terminal_Terminal.cpp570 if (toArgb(a.fg) != toArgb(b.fg)) return false; in isCellStyleEqual()
609 env->SetIntField(run, cellRunFgField, toArgb(cell.fg)); in com_android_terminal_Terminal_nativeGetCellRun()
/packages/apps/Terminal/src/com/android/terminal/
DTerminalLineView.java68 m.textPaint.setColor(m.run.fg); in onDraw()
DTerminal.java51 int fg = Color.CYAN; field in Terminal.CellRun
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
DThemeComponentOption.java395 ImageView fg = container.findViewById(COLOR_TILES_ICON_IDS[i][0]); in bindPreview() local
396 fg.setImageDrawable(icon); in bindPreview()
/packages/apps/TV/tuner/tests/assets/
Dcapture_kqed.ts3061 …�� 6��hx'��uR�$�����i&DFP���"�:.7�DF@�'�[�sW�}WUt�ۉ��]V\G�Q1���fg�����Y�����RQ��iW�…
13518 …�����������������������������������������G�1y�6 ��Ds��U��ϓ�7��@x9�fg��p@.�>��B '�4����…
30688 ھ5M,��|2�v��y��Hd1Ψ��Fn��a�Ifք`��'Jc�"�WI� 2�����(U�']�Dfg�ɃItE7����'��G�11�7'�y��…
43062 !SԈp�m���]�!����h�-3�b�ӭ�%��H��fg�U�^�E+���R.'����S�v��EK���hP�V'�yn8�y����u��
48468 …�7�����6��p@��������-�]��}g�ۧ��/�{?�Vd9쪋O!6����i��߲��1�w����ґ5�_��ݺfgLq�9?M�?�
54300 …�}��Y[���Z� k�ɀ?��F���1 9�:ͼ~�d�6�PhG���ş4=�h��(�;E���g��6���k��:��5fg�>L˼�����$&��_�2…
82566 …4_���`��D4��?r&��f���?���ǀhD�1�9�����T&@��$c���S�gD6l#�ʦc[�fg�;9>��%l ��'I> Ј��…
85551 �'!�Z�v�P��(XayGr�9-�,@\IX�n�4�G����@pA�� ���(fg(��p�9�)�T� p�Ʌ�0�D<�p8&�Z]…
93161 …�ÙR�<���N�ǁ���D2��FKD���w:GW��v���_�_ �X�?�T�31���k�W1>����Sn��vp-2�fg�T�#��l�)�L����"D2…
105135 …�7!C ��B��ד��@�un���ۉ��*x�,!W���3Ϟ��u�`��΁67A^��uз�s6 &�USū<ȵ���fg�;J����K)���[�����…
[all …]
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar2778 …ޞ���,j9$u����8$u��>�ւz��P,;�G?Ji�`Hn�1���J��)��8��)�_��������݊ȣ�fg��3�z�5e-�O�!�pz����Y…
4234 ���1�$m���+ڥ��D8$}�@8����KH��'8��LI�� 7���fg���8$T���!� �8>��C��<�Ԡ�N��3ޚ� @c�٤! Nbܿ��y�5…
6367 …��H�d�tx������*FQ߆'=�����x��Wh�ϛ��ҷ�C���x��yW'n �H��Y�Ea+�1�k�2V8-fg�o��5œ��N��\�~���n��…
8261 � �H��9�3K@$YJ����Q��!@��r&��M�l�)��$9���| e� ��)�UX�X�Z�l��ޚρ��=qAH{��:��֢fg��G?t�M`��…
8337 …�0i��d�W�*��y��`�q�Ұ���_��:^�tg�����;� #뎿�aXI&͔}˞��^L��ơpH�szVޕ�4�fgq�������7ȹ@���qV�…
16634 �l�=})��7Q��ZR g>�8>�nxSN�fg�\�ưK���bv��?��LFݬ0�����P� 
17161 @�u���O���[˘ъrI��'�5�|Ud$)��}�ܕ�=0;w����W}�A���E�"S�wQM���Ӯ���(T�c�����<c!fgߐ��$�\�_Q�a …
18119 ����=�k��$��~���*�k�y��y��a��#�'�$��ْ�+ĬDC�`�H�_O6��do���n�Yonr$�4�L ڷ��/��fg�!ۮH柤��Z�…