Searched refs:bm (Results 1 – 16 of 16) sorted by relevance
36 public static Bitmap scaleBitmap(Bitmap bm, int width, int height) { in scaleBitmap() argument37 if (bm == null || (bm.getHeight() == height && bm.getWidth() == width)) { in scaleBitmap()38 return bm; in scaleBitmap()42 if (bm.getHeight() > height) { in scaleBitmap()43 heightScale = (float) height / bm.getHeight(); in scaleBitmap()46 if (bm.getWidth() > width) { in scaleBitmap()47 widthScale = (float) width / bm.getWidth(); in scaleBitmap()50 int scaleWidth = (int) Math.ceil(bm.getWidth() * scale); in scaleBitmap()51 int scaleHeight = (int) Math.ceil(bm.getHeight() * scale); in scaleBitmap()53 Bitmap scaledBm = bm; in scaleBitmap()[all …]
60 public static Bitmap scaleBitmap(Bitmap bm, int maxWidth, int maxHeight) { in scaleBitmap() argument61 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() argument66 Bitmap scaledBitmap = scaleBitmap(bm, maxWidth, maxHeight); in getScaledMutableBitmap()72 private static Rect calculateNewSize(Bitmap bm, int maxWidth, int maxHeight) { in calculateNewSize() argument74 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 …]
417 Bitmap bm = drawable instanceof BitmapDrawable in doGetBitmapInBackground() local420 return bm == null in doGetBitmapInBackground()422 : BitmapUtils.createScaledBitmapInfo(getKey(), bm, mMaxWidth, mMaxHeight); in doGetBitmapInBackground()
151 Mailbox bm = ProviderTestUtils.setupMailbox("b2", a.mId, true, c, Mailbox.TYPE_MAIL); in testGetMailboxType() local154 assertEquals(Mailbox.TYPE_MAIL, Mailbox.getMailboxType(c, bm.mId)); in testGetMailboxType()163 Mailbox bm = ProviderTestUtils.setupMailbox("b2", a.mId, true, c, Mailbox.TYPE_MAIL); in testGetDisplayName() local166 assertEquals("b2", Mailbox.getDisplayName(c, bm.mId)); in testGetDisplayName()175 Mailbox bm = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_MAIL); in testIsRefreshable() local180 assertTrue(Mailbox.isRefreshable(c, bm.mId)); in testIsRefreshable()197 Mailbox bm = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_MAIL); in testCanMoveFrom() local202 assertTrue(bm.canHaveMessagesMoved()); in testCanMoveFrom()
43 Bitmap bm = mRadioManager.getMetadataImage(globalId); in resolve()44 mCache.put(globalId, bm); in resolve()45 return bm; in resolve()
164 Bitmap bm = imageResolver.resolve(albumArtId); in toMediaMetadata() local165 if (bm != null) bld.putBitmap(MediaMetadata.METADATA_KEY_ALBUM_ART, bm); in toMediaMetadata()
140 Bitmap bm = mBitmap; in getOpacity() local141 return (bm == null || bm.hasAlpha() || mPaint.getAlpha() < 255) ? in getOpacity()
47 BackupManager bm = new BackupManager(context); in onReceive() local48 bm.dataChanged(); in onReceive()
205 Bitmap bm = mBitmap; in getOpacity() local206 return (bm == null || bm.hasAlpha() || mPaint.getAlpha() < 255) ? in getOpacity()
65 public void setImageBitmap(@Nullable Bitmap bm) { in setImageBitmap() argument66 super.setImageBitmap(bm); in setImageBitmap()
138 Bitmap bm = thumbnailData.thumbnail; in setThumbnail() local139 bm.prepareToDraw(); in setThumbnail()140 mBitmapShader = new BitmapShader(bm, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP); in setThumbnail()
110 public BandListItem(int bm) { in BandListItem() argument111 mBandMode = bm; in BandListItem()
1107 ���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�Oo,��e�MM�h�F�W�d��sZ�e�Bb�ʕ9;y�Zͅ�2���'�Ѕr8�2��bm�^K(�m-�1�D�r1���R��…[all …]
1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...