Home
last modified time | relevance | path

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

/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()
96 PreviewBackground bg = icon.getFolderBackground(); in createDrawableOnUiThread() local
112 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 …]
/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/folder/
DPreviewItemManager.java191 PreviewBackground bg = mIcon.getFolderBackground(); in draw() local
192 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()
DFolderIcon.java580 public void setFolderBackground(PreviewBackground bg) { in setFolderBackground() argument
581 mBackground = bg; in setFolderBackground()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java417 Drawable bg = view.getBackground(); in setChildColor() local
418 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()
/packages/apps/Settings/src/com/android/settings/accessibility/
DFloatingMenuLayerDrawable.java56 final Drawable bg = context.getDrawable(R.drawable.accessibility_button_preview_base); in createLayerDrawable() local
58 new Drawable[]{bg, null}); in createLayerDrawable()
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DThemeOptionPreviewer.java308 ImageView bg = mContentView.findViewById(mColorTileIds[i]); in setColorAndIconsSection() local
309 bg.setImageDrawable(bgShape); in setColorAndIconsSection()
334 GradientDrawable bg = (GradientDrawable) qsb.getBackground(); in setQsbRadius() local
337 bg.setCornerRadii(new float[]{ in setQsbRadius()
/packages/apps/Settings/src/com/android/settings/notification/history/
DNotificationSbnAdapter.java146 Drawable bg = mContext.getDrawable(R.drawable.circle); in loadBackground() local
154 bg.setColorFilter(new PorterDuffColorFilter(color, PorterDuff.Mode.SRC_ATOP)); in loadBackground()
155 return bg; in loadBackground()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java596 DelegatedCellDrawing bg = mDelegatedCellDrawings.get(i); in dispatchDraw() local
597 cellToPoint(bg.mDelegateCellX, bg.mDelegateCellY, mTempLocation); in dispatchDraw()
600 bg.drawOverItem(canvas); in dispatchDraw()
608 public void addDelegatedCellDrawing(DelegatedCellDrawing bg) { in addDelegatedCellDrawing() argument
609 mDelegatedCellDrawings.add(bg); in addDelegatedCellDrawing()
615 public void removeDelegatedCellDrawing(DelegatedCellDrawing bg) { in removeDelegatedCellDrawing() argument
616 mDelegatedCellDrawings.remove(bg); in removeDelegatedCellDrawing()
/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/ThemePicker/src/com/android/customization/model/theme/custom/
DThemeComponentOption.java440 ImageView bg = container.findViewById(COLOR_TILE_IDS[i]); in bindPreview() local
441 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/inputmethods/LatinIME/dictionaries/
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Dhr_wordlist.combined.gz