Searched refs:bg (Results 1 – 14 of 14) 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()96 PreviewBackground bg = icon.getFolderBackground(); in createDrawableOnUiThread() local112 bg.drawShadow(canvas); in createDrawableOnUiThread()113 bg.drawBackgroundStroke(canvas); in createDrawableOnUiThread()122 bg.getClipPath().transform(m, mask); in createDrawableOnUiThread()135 return new FolderAdaptiveIcon(new ColorDrawable(bg.getBgColor()), foreground, badge, mask); in createDrawableOnUiThread()149 MyConstantState(ConstantState bg, ConstantState fg, ConstantState badge, Path mask) { in MyConstantState() argument150 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()
580 public void setFolderBackground(PreviewBackground bg) { in setFolderBackground() argument581 mBackground = bg; in setFolderBackground()
307 ImageView bg = mContentView.findViewById(mColorTileIds[i]); in setColorAndIconsSection() local308 bg.setImageDrawable(bgShape); in setColorAndIconsSection()333 GradientDrawable bg = (GradientDrawable) qsb.getBackground(); in setQsbRadius() local336 bg.setCornerRadii(new float[]{ in setQsbRadius()
496 DelegatedCellDrawing bg = mDelegatedCellDrawings.get(i); in dispatchDraw() local497 cellToPoint(bg.mDelegateCellX, bg.mDelegateCellY, mTempLocation); in dispatchDraw()500 bg.drawOverItem(canvas); in dispatchDraw()508 public void addDelegatedCellDrawing(DelegatedCellDrawing bg) { in addDelegatedCellDrawing() argument509 mDelegatedCellDrawings.add(bg); in addDelegatedCellDrawing()515 public void removeDelegatedCellDrawing(DelegatedCellDrawing bg) { in removeDelegatedCellDrawing() argument516 mDelegatedCellDrawings.remove(bg); in removeDelegatedCellDrawing()
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
417 ImageView bg = container.findViewById(COLOR_TILE_IDS[i]); in bindPreview() local418 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 …]
1dictionary=main:hr,locale=hr,description=Hrvatski,date=1393228135, ...
1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...