Searched refs:bg (Results 1 – 17 of 17) sorted by relevance
99 private static String contrastChange(int colorOld, int colorNew, int bg) { in contrastChange() argument101 ColorUtils.calculateContrast(colorOld, bg), in contrastChange()102 ColorUtils.calculateContrast(colorNew, bg)); in contrastChange()111 private static int ensureTextContrast(int color, int bg) { in ensureTextContrast() argument112 return findContrastColor(color, bg, 4.5); in ensureTextContrast()125 private static int findContrastColor(int fg, int bg, double minRatio) { in findContrastColor() argument126 if (ColorUtils.calculateContrast(fg, bg) >= minRatio) { in findContrastColor()131 ColorUtils.colorToLAB(bg, lab); in findContrastColor()142 if (ColorUtils.calculateContrast(fg, bg) > minRatio) { in findContrastColor()
54 private FolderAdaptiveIcon(Drawable bg, Drawable fg, Drawable badge, Path mask) { in FolderAdaptiveIcon() argument55 super(bg, fg); in FolderAdaptiveIcon()59 mConstantState = new MyConstantState(bg.getConstantState(), fg.getConstantState(), in FolderAdaptiveIcon()108 PreviewBackground bg = icon.getFolderBackground(); in createDrawableOnUiThread() local112 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() argument158 mBg = bg; in MyConstantState()
485 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()
180 PreviewBackground bg = mIcon.getFolderBackground(); in draw() local181 canvas.translate(bg.basePreviewOffsetX, bg.basePreviewOffsetY); in draw()191 canvas.translate(-bg.basePreviewOffsetX, -bg.basePreviewOffsetY); in draw()
484 public void setFolderBackground(PreviewBackground bg) { in setFolderBackground() argument485 mBackground = bg; in setFolderBackground()
175 ImageView bg = card.findViewById(mColorTileIds[i]); in bindBody() local176 bg.setImageDrawable(bgShape); in bindBody()231 GradientDrawable bg = (GradientDrawable) qsb.getBackground(); in bindPreviewContent() local234 bg.setCornerRadii(new float[]{ in bindPreviewContent()
467 ImageView bg = card.findViewById(mColorTileIds[i]); in ThemePreviewAdapter()468 bg.setImageDrawable(bgShape); in ThemePreviewAdapter()
470 PreviewBackground bg = mFolderBackgrounds.get(i); in onDraw() local471 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() local497 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 …]
2362 final PreviewBackground bg = new PreviewBackground();2370 bg.setup(mLauncher, mLauncher, null, cell.getMeasuredWidth(), cell.getPaddingTop());2373 bg.isClipping = false;2377 mFolderCreateBg = bg;
767 int bg = 0xffffffff; in getDeclinedColorFromColor() local769 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()
67 m.bgPaint.setColor(m.run.bg); in onDraw()
52 int bg = Color.DKGRAY; field in Terminal.CellRun
393 ImageView bg = container.findViewById(COLOR_TILE_IDS[i]); in bindPreview() local394 bg.setImageDrawable(bgShape); in bindPreview()
1956 ��~*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;GsC1]���{�[�^�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 …]
2969 �bg�P����̚$ܛF|F�>�`��v�$����AL<[�<12422 …����������������������������������������������������������G1L����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(���`PnvWI�+�V����^E��!�bg�� �0�/�}�@4&�…35789 …4�!��De�eAB�qe�"UTQ����D�t���5G1`�4���e�]`-�^�=���^?�$�g���bg���AӄZO*6��Q�i�`n…59118 …G1�.�}j��{�'2�}h"��.����{�#hA�r�| ?Y�٦>&��n�%�+l����+"bg�J���Kb6��� �O��<…67462 ….�R@ j���CD0Sv�롲:j1�DK�8���4���:B`RC3�Zl��hY�?P��rG�F��z}h��bg�G1��,�&�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��G1B|�.҃� 9�…[all …]
1dictionary=main:hr,locale=hr,description=Hrvatski,date=1393228135, ...
1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...