Home
last modified time | relevance | path

Searched refs:bm (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DBitmapUtils.java50 public static Bitmap scaleBitmap(Bitmap bm, int width, int height) { in scaleBitmap() argument
51 if (bm == null || (bm.getHeight() == height && bm.getWidth() == width)) { in scaleBitmap()
52 return bm; in scaleBitmap()
56 if (bm.getHeight() > height) { in scaleBitmap()
57 heightScale = (float) height / bm.getHeight(); in scaleBitmap()
60 if (bm.getWidth() > width) { in scaleBitmap()
61 widthScale = (float) width / bm.getWidth(); in scaleBitmap()
64 int scaleWidth = (int) Math.ceil(bm.getWidth() * scale); in scaleBitmap()
65 int scaleHeight = (int) Math.ceil(bm.getHeight() * scale); in scaleBitmap()
67 Bitmap scaledBm = bm; in scaleBitmap()
[all …]
/packages/apps/TV/src/com/android/tv/util/images/
DBitmapUtils.java60 public static Bitmap scaleBitmap(Bitmap bm, int maxWidth, int maxHeight) { in scaleBitmap() argument
61 Rect rect = calculateNewSize(bm, maxWidth, maxHeight); in scaleBitmap()
62 return Bitmap.createScaledBitmap(bm, rect.right, rect.bottom, false); in scaleBitmap()
65 public static Bitmap getScaledMutableBitmap(Bitmap bm, int maxWidth, int maxHeight) { in getScaledMutableBitmap() argument
66 Bitmap scaledBitmap = scaleBitmap(bm, maxWidth, maxHeight); in getScaledMutableBitmap()
72 private static Rect calculateNewSize(Bitmap bm, int maxWidth, int maxHeight) { in calculateNewSize() argument
74 final double bmRatio = bm.getHeight() / (double) bm.getWidth(); in calculateNewSize()
78 rect.bottom = Math.round((float) bm.getHeight() * maxWidth / bm.getWidth()); in calculateNewSize()
80 rect.right = Math.round((float) bm.getWidth() * maxHeight / bm.getHeight()); in calculateNewSize()
87 String id, Bitmap bm, int maxWidth, int maxHeight) { in createScaledBitmapInfo() argument
[all …]
DImageLoader.java422 Bitmap bm = in doGetBitmapInBackground() local
426 return bm == null in doGetBitmapInBackground()
428 : BitmapUtils.createScaledBitmapInfo(getKey(), bm, mMaxWidth, mMaxHeight); in doGetBitmapInBackground()
/packages/apps/Car/Radio/src/com/android/car/radio/platform/
DImageMemoryCache.java43 Bitmap bm = mRadioManager.getMetadataImage(globalId); in resolve()
44 mCache.put(globalId, bm); in resolve()
45 return bm; in resolve()
/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/platform/
DProgramInfoExt.java164 Bitmap bm = imageResolver.resolve(albumArtId); in toMediaMetadata() local
165 if (bm != null) bld.putBitmap(MediaMetadata.METADATA_KEY_ALBUM_ART, bm); in toMediaMetadata()
/packages/apps/Gallery2/src/com/android/photos/shims/
DBitmapJobDrawable.java140 Bitmap bm = mBitmap; in getOpacity() local
141 return (bm == null || bm.hasAlpha() || mPaint.getAlpha() < 255) ? in getOpacity()
/packages/providers/CallLogProvider/src/com/android/calllogbackup/
DCallLogChangeReceiver.java47 BackupManager bm = new BackupManager(context); in onReceive() local
48 bm.dataChanged(); in onReceive()
/packages/apps/Gallery2/src/com/android/photos/drawables/
DAutoThumbnailDrawable.java205 Bitmap bm = mBitmap; in getOpacity() local
206 return (bm == null || bm.hasAlpha() || mPaint.getAlpha() < 255) ? in getOpacity()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/widget/
DUriImageView.java65 public void setImageBitmap(@Nullable Bitmap bm) { in setImageBitmap() argument
66 super.setImageBitmap(bm); in setImageBitmap()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DBandMode.java110 public BandListItem(int bm) { in BandListItem() argument
111 mBandMode = bm; in BandListItem()
/packages/services/Telephony/src/com/android/phone/settings/
DBandMode.java127 BandListItem(int bm) { in BandListItem() argument
128 mBandMode = bm; in BandListItem()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DTaskThumbnailView.java143 Bitmap bm = thumbnailData.thumbnail; in setThumbnail() local
144 bm.prepareToDraw(); in setThumbnail()
145 mBitmapShader = new BitmapShader(bm, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP); in setThumbnail()
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar1107 ���I�=� ,��H����Q�j����)ڀ�n���jĬλ�lG>޵4l�u'���F�0&H��$��;vS��J��A(�+��PO��Q�����.Te�n�ڑbm�…
3442 …���v����>�x�2"d ���F3�� 7#�Tdm��CdDs1���s�aQ�"A"F6���x8�O�'��U��8�'�Ա�bm�D��s��ΞT<��s��qԚr�…
4946 …=�(_����5H���Fp�1Q�XpƮ�����ʩo�s�ҳ�3����;�V`�`H��ޞ��s���IXa:�-�ںd�4�bm�+q� ⸟��e���Gl��n…
5353 a��YwS�iV8���)O�`q�zٻR����0�+��Re=����Y$S� s�^l�dR6��F8d�bm���-0kz;�?T�<�Ln ����E)�1@c��[�…
6780 …O'�k[�^�\���%��+�/�2�i����r`á��m2�R��nLK��̒��1�|�3�P�h��&� �/4�����bm��`�m�|�c��L�G=~���8#…
8587 …�p�__oƮE�xg��Ԭ�[>N@ێ�5�N[������7�"������^���ʎ�Y��<�ò���`�9^Y��k�����"bm��ۭm�)Iɕ5�[)�l�<���…
9117 �S��*1�~X��OJ��bm˸FN(&>K�㚉^L�,c�&���������T['��O[���H*�0`�i�a�0������/����8��H8*��…
9813 �����s�n����u+�ɴ��X�����bm��K4�BL�R}�z�����*�A1&�==�y|_�$6D'��ۓVo<��ML��Đ<�����+6��…
10869 …5�7й/n�1�a��[_��9ݜ>��'�P��Zz��b�%�n�d*��Go�S����PR�ȻV�FP�O\�v�Q�P�k����bm�p��#��ZKu�{ĝ&U�8.ϝ�…
10916 …X�css|�eVr�����f�O o,��e�MM�h�F�W�d��sZ��e�Bb�ʕ9;y��Zͅ�2���'�Ѕ�r8�2��bm�^K(�m-�1�D�r1���R��…
[all …]
/packages/apps/TV/tuner/tests/assets/
Dcapture_kqed.ts1151 …���>�И��x01t��<:ÊsB(o�` 6ƪ��XD�s��7i���{9n�F]����_� ��]����Z���bm� ��!�rO�x1+�&gh�D�Y…
18481 [K�bm�6��ֳ�Sn{���Zۍ4ja�ѣFn4hц�4a��F�a�ѣFn4hц�4G�1a��|f�h� ����f�� )������1o8�4�H…
21214 �ƁEx!bm�*� A� {ɜ&Φք��[��
40603 …G�y�Ā�Mn�|[\R��"�x�v�$/կ��LM�i�nVe��8�;ş�@ݦ����O�ѦT�Hg��c����H_���|^bm�6`I���7��'�n�q�Ll…
49090 …�������G�DM����p�/���q}���D�܃�ZPdx(j�Ǩ)č2�� X����`�4�`x���䈡�8P9��bm�����K�$(���:�+}yC�…
56667 �D�Ҿ�|B�@O��`F�M�����V�@bm ��b
72115 …��+z�4����B��!�yZ`��t<Z�C���0����� �$`�B&G�1��}��(�E�(���6֔#���F�bm���WB+�fea��D=uE��…
72388 …����������������������������������G�1�Ĕ���2��`��Wi������F�ūE�|�2bm}�#0����Q��c׌��…
83887 …&bТ<Z(4��ߨT��9�"!h��Ta7�02��%�n��gE��(DFr` �Tà*b�!��������bm�s��wX)v����Ő�{���…
86267 …e�)�`'W�Ј��s���:G��N2I�g5@�]�c�8*���2��o��:��e�^fz;�B������H�c�=bm�M�>�|�˜G@3�����…
[all …]
/packages/inputmethods/LatinIME/dictionaries/
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...