Searched refs:bg (Results 1 – 14 of 14) sorted by relevance
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 p.setColor(bg.getBgColor()); in createDrawableOnUiThread()137 canvas.drawCircle(dragViewSize.x / 2f, dragViewSize.y / 2f, bg.getRadius(), p); in createDrawableOnUiThread()158 MyConstantState(ConstantState bg, ConstantState fg, ConstantState badge, Path mask) { in MyConstantState() argument[all …]
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()
191 PreviewBackground bg = mIcon.getFolderBackground(); in draw() local192 Path clipPath = bg.getClipPath(); in draw()195 PointF firstPageOffset = new PointF(bg.basePreviewOffsetX + mCurrentPageItemsTransX, in draw()196 bg.basePreviewOffsetY); in draw()202 PointF firstPageOffset = new PointF(bg.basePreviewOffsetX + firstPageItemsTransX, in draw()203 bg.basePreviewOffsetY); in draw()
580 public void setFolderBackground(PreviewBackground bg) { in setFolderBackground() argument581 mBackground = bg; in setFolderBackground()
417 Drawable bg = view.getBackground(); in setChildColor() local418 if (bg instanceof GradientDrawable) { in setChildColor()419 GradientDrawable gd = (GradientDrawable) bg.mutate(); in setChildColor()420 int oldColor = ((GradientDrawable) bg).getColor().getDefaultColor(); in setChildColor()422 } else if (bg instanceof ColorDrawable) { in setChildColor()423 ColorDrawable cd = (ColorDrawable) bg.mutate(); in setChildColor()424 int oldColor = ((ColorDrawable) bg).getColor(); in setChildColor()
56 final Drawable bg = context.getDrawable(R.drawable.accessibility_button_preview_base); in createLayerDrawable() local58 new Drawable[]{bg, null}); in createLayerDrawable()
308 ImageView bg = mContentView.findViewById(mColorTileIds[i]); in setColorAndIconsSection() local309 bg.setImageDrawable(bgShape); in setColorAndIconsSection()334 GradientDrawable bg = (GradientDrawable) qsb.getBackground(); in setQsbRadius() local337 bg.setCornerRadii(new float[]{ in setQsbRadius()
146 Drawable bg = mContext.getDrawable(R.drawable.circle); in loadBackground() local154 bg.setColorFilter(new PorterDuffColorFilter(color, PorterDuff.Mode.SRC_ATOP)); in loadBackground()155 return bg; in loadBackground()
596 DelegatedCellDrawing bg = mDelegatedCellDrawings.get(i); in dispatchDraw() local597 cellToPoint(bg.mDelegateCellX, bg.mDelegateCellY, mTempLocation); in dispatchDraw()600 bg.drawOverItem(canvas); in dispatchDraw()608 public void addDelegatedCellDrawing(DelegatedCellDrawing bg) { in addDelegatedCellDrawing() argument609 mDelegatedCellDrawings.add(bg); in addDelegatedCellDrawing()615 public void removeDelegatedCellDrawing(DelegatedCellDrawing bg) { in removeDelegatedCellDrawing() argument616 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()
440 ImageView bg = container.findViewById(COLOR_TILE_IDS[i]); in bindPreview() local441 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:tr,locale=tr,description=Türkçe,date=1414726261, ...