HomeSort by relevance Sort by last modified time
    Searched full:bitmaputil (Results 1 - 7 of 7) sorted by null

  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
BitmapUtilTests.java 23 import com.android.contacts.common.util.BitmapUtil;
29 * Tests for {@link com.android.contacts.common.util.BitmapUtil}.
34 assertEquals(100, BitmapUtil.getSmallerExtentFromBytes(createJpegRawData(100, 100)));
35 assertEquals(100, BitmapUtil.getSmallerExtentFromBytes(createPngRawData(100, 100)));
39 assertEquals(50, BitmapUtil.getSmallerExtentFromBytes(createJpegRawData(200, 50)));
40 assertEquals(50, BitmapUtil.getSmallerExtentFromBytes(createPngRawData(200, 50)));
44 assertEquals(40, BitmapUtil.getSmallerExtentFromBytes(createJpegRawData(40, 150)));
45 assertEquals(40, BitmapUtil.getSmallerExtentFromBytes(createPngRawData(40, 150)));
49 assertEquals(1, BitmapUtil.findOptimalSampleSize(512, 512));
53 assertEquals(1, BitmapUtil.findOptimalSampleSize(512, 1024))
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
BitmapUtil.java 25 public class BitmapUtil {
26 private BitmapUtil() {}
  /packages/apps/UnifiedEmail/src/com/android/mail/photomanager/
BitmapUtil.java 27 public class BitmapUtil {
31 private BitmapUtil() {
LetterTileProvider.java 178 bitmap = BitmapUtil.centerCrop(mDefaultBitmap, d.width, d.height);
PhotoManager.java 784 final Bitmap decoded = BitmapUtil.decodeByteArrayWithCenterCrop(src, w, h);
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/lettertiles/
LetterTileDrawable.java 34 import com.android.contacts.common.util.BitmapUtil;
  /packages/apps/ContactsCommon/src/com/android/contacts/common/
ContactPhotoManager.java 53 import com.android.contacts.common.util.BitmapUtil;
    [all...]

Completed in 92 milliseconds